forked from rdingwell/measures
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework measure 0014 antid immune globlin to use generated properties
- Loading branch information
Showing
15 changed files
with
251 additions
and
1,527 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
fixtures/measures/0014_antid_immune/patients/denominator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"first": "Belatrix", | ||
"last": "Bloggs", | ||
"gender": "F", | ||
"birthdate": 631152000, // Time.gm(1990, 1, 1) | ||
"measures": { | ||
"0014": { | ||
"delivery_live_births_diagnosis_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1) | ||
"delivery_live_births_procedure_procedure_performed": [1275350400], | ||
"estimated_date_of_conception_patient_characteristic": [1251763200], // Time.gm(2009, 9, 1) | ||
"prenatal_visit_encounter": [1257033600], // Time.gm(2009, 11, 1) | ||
"d_rh_negative_diagnosis_active": [1257033600], | ||
"primigravida_diagnosis_active": [1257033600], | ||
"rh_status_mother_laboratory_test_result": [ | ||
{ | ||
"date": 1257033600, | ||
"value": false | ||
} | ||
] | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
fixtures/measures/0014_antid_immune/patients/denominator1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"first": "Felicity", | ||
"last": "Bloggs", | ||
"gender": "F", | ||
"birthdate": 631152000, // Time.gm(1990, 1, 1) | ||
"measures": { | ||
"0014": { | ||
"delivery_live_births_diagnosis_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1) | ||
"delivery_live_births_procedure_procedure_performed": [1275350400], | ||
"estimated_date_of_conception_patient_characteristic": [1251763200], // Time.gm(2009, 9, 1) | ||
"prenatal_visit_encounter": [1257033600], // Time.gm(2009, 11, 1) | ||
"d_rh_negative_diagnosis_active": [1257033600], | ||
"primigravida_diagnosis_active": [1257033600], | ||
"rh_status_mother_laboratory_test_result": [ | ||
{ | ||
"date": 1257033600, | ||
"value": false | ||
} | ||
], | ||
"anti_d_immune_globulin_medication_administered": [1266883200] // 25 weeks after conception - out of bounds 26-30 weeks required | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
fixtures/measures/0014_antid_immune/patients/exclusion.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"first": "Betty", | ||
"last": "Bloggs", | ||
"gender": "F", | ||
"birthdate": 631152000, // Time.gm(1990, 1, 1) | ||
"measures": { | ||
"0014": { | ||
"delivery_live_births_diagnosis_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1) | ||
"delivery_live_births_procedure_procedure_performed": [1275350400], | ||
"estimated_date_of_conception_patient_characteristic": [1251763200], // Time.gm(2009, 9, 1) | ||
"prenatal_visit_encounter": [1257033600], // Time.gm(2009, 11, 1) | ||
"d_rh_negative_diagnosis_active": [1257033600], | ||
"primigravida_diagnosis_active": [1257033600], | ||
"rh_status_mother_laboratory_test_result": [ | ||
{ | ||
"date": 1257033600, | ||
"value": false | ||
} | ||
], | ||
"patient_reason_medication_not_done": [1257033600] | ||
} | ||
} | ||
} |
File renamed without changes.
23 changes: 23 additions & 0 deletions
23
fixtures/measures/0014_antid_immune/patients/numerator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"first": "Fergie", | ||
"last": "Bloggs", | ||
"gender": "F", | ||
"birthdate": 631152000, // Time.gm(1990, 1, 1) | ||
"measures": { | ||
"0014": { | ||
"delivery_live_births_diagnosis_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1) | ||
"delivery_live_births_procedure_procedure_performed": [1275350400], | ||
"estimated_date_of_conception_patient_characteristic": [1251763200], // Time.gm(2009, 9, 1) | ||
"prenatal_visit_encounter": [1257033600], // Time.gm(2009, 11, 1) | ||
"d_rh_negative_diagnosis_active": [1257033600], | ||
"primigravida_diagnosis_active": [1257033600], | ||
"rh_status_mother_laboratory_test_result": [ | ||
{ | ||
"date": 1257033600, | ||
"value": false | ||
} | ||
], | ||
"anti_d_immune_globulin_medication_administered": [1268092800] // 27 weeks after conception | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"A_1156": { | ||
"value": { | ||
"type": "boolean", | ||
"description": "rh status", | ||
"date_description": "Date of rh status test" | ||
} | ||
}, | ||
"A_1155": { | ||
"value": { | ||
"type": "boolean", | ||
"description": "rh status", | ||
"date_description": "Date of rh status test" | ||
} | ||
} | ||
} | ||
|
124 changes: 124 additions & 0 deletions
124
measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"id": "0014", | ||
"properties": "NQF_Retooled_Measure_0014.xlsx.json", | ||
"name": "Prenatal Care: Anti-D Immune Globulin", | ||
"description": "Percentage of D (Rh) negative, unsensitized patients, regardless of age, who gave birth during a 12‐month period who received anti‐D immune globulin at 26‐30 weeks gestation.", | ||
"category": "Women's Health", | ||
"steward": "AMA", | ||
"parameters": { | ||
"effective_date": { | ||
"description": "Effective end date for measure", | ||
"type": "number", | ||
"format": "utc-sec" | ||
} | ||
}, | ||
"patient": { | ||
"birthdate": { | ||
"description": "Date of birth", | ||
"type": "number", | ||
"standard_category": "characteristic", | ||
"format": "utc-sec", | ||
"codes": [ | ||
{ | ||
"set": "HL7", | ||
"version": "3.0", | ||
"values": [ | ||
"00110" | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"population": { | ||
"and": [ | ||
{ | ||
"category": "Diagnosis active", | ||
"title": "Live birth delivery" | ||
}, | ||
{ | ||
"category": "Procedure", | ||
"title": "Live birth delivery" | ||
} | ||
] | ||
}, | ||
"denominator": { | ||
"and": [ | ||
{ | ||
"or": [ | ||
{ | ||
"category": "Diagnosis active", | ||
"title": "D(Rh) negative, unsensitized" | ||
}, | ||
{ | ||
"and": [ | ||
{ | ||
"category": "Diagnosis active", | ||
"title": "Primagravida" | ||
}, | ||
{ | ||
"category": "Laboratory test result", | ||
"title": "Mother Rh status negative" | ||
} | ||
] | ||
}, | ||
{ | ||
"and": [ | ||
{ | ||
"category": "Diagnosis active", | ||
"title": "Multigravida" | ||
}, | ||
{ | ||
"category": "Laboratory test result", | ||
"title": "Mother Rh status negative" | ||
}, | ||
{ | ||
"category": "Laboratory test result", | ||
"title": "Baby Rh status negative" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"category": "Encounter", | ||
"title": "Prenatal visit" | ||
} | ||
] | ||
}, | ||
"numerator": { | ||
"and": [ | ||
{ | ||
"category": "Patient characteristic", | ||
"title": "Estimated date of conception 0 to 10 months, inclusive, before live birth delivery procedure" | ||
}, | ||
{ | ||
"category": "Medication administered", | ||
"title": "Anti-D immune globulin administered at an estimated date of conception of 26 to 30 weeks, inclusive" | ||
} | ||
] | ||
}, | ||
"exclusions": { | ||
"or": [ | ||
{ | ||
"category": "Medication not done", | ||
"title": "Patient reason" | ||
}, | ||
{ | ||
"category": "Medication not done", | ||
"title": "Medical reason" | ||
}, | ||
{ | ||
"category": "Medication not done", | ||
"title": "System reason" | ||
}, | ||
{ | ||
"category": "Patient characteristic", | ||
"title": "Estimated date of conception <= 10 months" | ||
}, | ||
{ | ||
"category": "Medication not done", | ||
"title": "anti-D immune globulin declined" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.