-
Notifications
You must be signed in to change notification settings - Fork 0
Add FamilyIncomeEnum to demographics schema #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Added comprehensive family income valueset with standard U.S. health survey brackets - Includes income ranges from <$10,000 to $150,000+ as specified in ACS/BRFSS/NHANES/NIH CDEs - Added "Prefer not to answer" and "Don't know" options for survey completeness - Follows LinkML conventions with CamelCase enum name and UPPER_CASE permissible values - Includes metadata about year-versioning and granularity considerations - Referenced authoritative sources: CDC BRFSS, Census ACS, NIH NHANES Co-authored-by: madanucd <madanucd@users.noreply.github.com> 🤖 Generated with [Claude Code](https://claude.ai/code)
|
I'll analyze this and get back to you. |
|
Claude finished @cmungall's task —— View job Code Review Complete ✅I've reviewed the PR that adds Todo List:
Code Quality AssessmentOverall: This is a well-structured addition that follows LinkML conventions and project guidelines. Strengths:
Issues and Recommendations❌ Critical: Missing Ontology MappingsIssue: Per CLAUDE.md guidelines, the enum lacks Example from other enums in the file: MARRIED:
description: A current marriage contract is active
meaning: HL7:marital-status#M # ← Missing for FamilyIncomeEnumRecommendation: Add ontology mappings using established vocabularies like SNOMED, LOINC, or HL7
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new FamilyIncomeEnum valueset to the demographics schema, providing standardized income bracket ranges for U.S. health surveys. The enum includes 10 income ranges from less than $10,000 to $150,000+, along with "Prefer not to answer" and "Don't know" response options. The implementation references authoritative sources (CDC BRFSS, Census ACS, NIH NHANES) and includes helpful comments about year-specificity and granularity considerations.
Key Changes:
- Added
family_incomeslot definition to demographics schema - Created comprehensive
FamilyIncomeEnumwith 12 permissible values covering standard U.S. health survey income brackets - Included metadata documenting source, year-versioning considerations, and granularity guidance
| FamilyIncomeEnum: | ||
| description: Annual household income ranges commonly used in U.S. health surveys (ACS, BRFSS, NHANES, NIH CDEs) | ||
| comments: | ||
| - Income brackets are derived from commonly used ranges in U.S. health surveys | ||
| - Values should be considered year-specific as income brackets shift with inflation | ||
| - This represents a standard granularity level; coarser bins may be needed for some applications | ||
| source: https://www.cdc.gov/brfss/ https://www.census.gov/programs-surveys/acs/ https://www.cdc.gov/nchs/nhanes/ |
Copilot
AI
Dec 13, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new FamilyIncomeEnum is missing several required metadata fields that all other enums in this file have. Please add the following fields after line 291:
- title: A human-readable title for the enum (e.g., "Family Income")
- status: Should be "DRAFT" to match other enums in this file
- contributors: List of contributors (should include your ORCID and/or github reference like other enums)
- instantiates: Should be "valuesets_meta:ValueSetEnumDefinitionWithSource" to match other enums
These fields are present in all other enums in demographics.yaml (EducationLevel, MaritalStatus, EmploymentStatus, HousingStatus, GenderIdentity, OmbRaceCategory, OmbEthnicityCategory) and should be included for consistency.

Add comprehensive family income valueset for U.S. health surveys
Closes #27
Summary
FamilyIncomeEnumto demographics schema with income brackets commonly used in ACS/BRFSS/NHANES/NIH CDEsTest Plan
just validateto ensure schema compliancejust siteto verify documentation generationGenerated with Claude Code