From cfef977c60da7f62e0c0748a0933e44e9353cc4b Mon Sep 17 00:00:00 2001 From: Marc Hadley Date: Wed, 23 Feb 2011 14:43:08 -0500 Subject: [PATCH] Rework measure 0014 antid immune globlin to use generated properties --- .../measures/0014/patients/denominator.json | 22 - .../measures/0014/patients/denominator1.json | 23 - .../measures/0014/patients/exclusion.json | 23 - .../measures/0014/patients/numerator.json | 23 - .../patients/denominator.json | 22 + .../patients/denominator1.json | 23 + .../0014_antid_immune/patients/exclusion.json | 23 + .../patients/not_population.json | 0 .../0014_antid_immune/patients/numerator.json | 23 + .../patients/population.json | 4 +- .../{0014 => 0014_antid_immune}/result.json | 0 .../NQF_Retooled_Measure_0014.xlsx.json.patch | 17 + ...4_NQF_Prenatal_Anti-D_Immune_Globulin.json | 124 ++ ...014_NQF_Prenatal_Anti-D_immune_Globulin.js | 34 +- ...4_NQF_Prenatal_Anti-D_Immune_Globulin.json | 1417 ----------------- 15 files changed, 251 insertions(+), 1527 deletions(-) delete mode 100644 fixtures/measures/0014/patients/denominator.json delete mode 100644 fixtures/measures/0014/patients/denominator1.json delete mode 100644 fixtures/measures/0014/patients/exclusion.json delete mode 100644 fixtures/measures/0014/patients/numerator.json create mode 100644 fixtures/measures/0014_antid_immune/patients/denominator.json create mode 100644 fixtures/measures/0014_antid_immune/patients/denominator1.json create mode 100644 fixtures/measures/0014_antid_immune/patients/exclusion.json rename fixtures/measures/{0014 => 0014_antid_immune}/patients/not_population.json (100%) create mode 100644 fixtures/measures/0014_antid_immune/patients/numerator.json rename fixtures/measures/{0014 => 0014_antid_immune}/patients/population.json (52%) rename fixtures/measures/{0014 => 0014_antid_immune}/result.json (100%) create mode 100644 measure_props/NQF_Retooled_Measure_0014.xlsx.json.patch create mode 100644 measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json rename {stage/0014 => measures/0014_antid_immune}/0014_NQF_Prenatal_Anti-D_immune_Globulin.js (51%) delete mode 100644 stage/0014/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json diff --git a/fixtures/measures/0014/patients/denominator.json b/fixtures/measures/0014/patients/denominator.json deleted file mode 100644 index a87687e..0000000 --- a/fixtures/measures/0014/patients/denominator.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "first": "Belatrix", - "last": "Bloggs", - "gender": "F", - "birthdate": 631152000, // Time.gm(1990, 1, 1) - "measures": { - "0014": { - "delivery_live_births_diagnosis": [1275350400], // Time.gm(2010, 6, 1) - "delivery_live_births_procedure": [1275350400], - "estimated_date_of_conception": [1251763200], // Time.gm(2009, 9, 1) - "prenatal_visit": [1257033600], // Time.gm(2009, 11, 1) - "drh_negative": [1257033600], - "primigravida": [1257033600], - "rh_status_mother": [ - { - "date": 1257033600, - "value": false - } - ] - } - } -} \ No newline at end of file diff --git a/fixtures/measures/0014/patients/denominator1.json b/fixtures/measures/0014/patients/denominator1.json deleted file mode 100644 index 82b1eb3..0000000 --- a/fixtures/measures/0014/patients/denominator1.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "first": "Felicity", - "last": "Bloggs", - "gender": "F", - "birthdate": 631152000, // Time.gm(1990, 1, 1) - "measures": { - "0014": { - "delivery_live_births_diagnosis": [1275350400], // Time.gm(2010, 6, 1) - "delivery_live_births_procedure": [1275350400], - "estimated_date_of_conception": [1251763200], // Time.gm(2009, 9, 1) - "prenatal_visit": [1257033600], // Time.gm(2009, 11, 1) - "drh_negative": [1257033600], - "primigravida": [1257033600], - "rh_status_mother": [ - { - "date": 1257033600, - "value": false - } - ], - "anti_d_immune_globulin": [1266883200] // 25 weeks after conception - out of bounds 26-30 weeks required - } - } -} \ No newline at end of file diff --git a/fixtures/measures/0014/patients/exclusion.json b/fixtures/measures/0014/patients/exclusion.json deleted file mode 100644 index 1245fa4..0000000 --- a/fixtures/measures/0014/patients/exclusion.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "first": "Betty", - "last": "Bloggs", - "gender": "F", - "birthdate": 631152000, // Time.gm(1990, 1, 1) - "measures": { - "0014": { - "delivery_live_births_diagnosis": [1275350400], // Time.gm(2010, 6, 1) - "delivery_live_births_procedure": [1275350400], - "estimated_date_of_conception": [1251763200], // Time.gm(2009, 9, 1) - "prenatal_visit": [1257033600], // Time.gm(2009, 11, 1) - "drh_negative": [1257033600], - "primigravida": [1257033600], - "rh_status_mother": [ - { - "date": 1257033600, - "value": false - } - ], - "patient_reason": [1257033600] - } - } -} \ No newline at end of file diff --git a/fixtures/measures/0014/patients/numerator.json b/fixtures/measures/0014/patients/numerator.json deleted file mode 100644 index 59f0b9f..0000000 --- a/fixtures/measures/0014/patients/numerator.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "first": "Fergie", - "last": "Bloggs", - "gender": "F", - "birthdate": 631152000, // Time.gm(1990, 1, 1) - "measures": { - "0014": { - "delivery_live_births_diagnosis": [1275350400], // Time.gm(2010, 6, 1) - "delivery_live_births_procedure": [1275350400], - "estimated_date_of_conception": [1251763200], // Time.gm(2009, 9, 1) - "prenatal_visit": [1257033600], // Time.gm(2009, 11, 1) - "drh_negative": [1257033600], - "primigravida": [1257033600], - "rh_status_mother": [ - { - "date": 1257033600, - "value": false - } - ], - "anti_d_immune_globulin": [1268092800] // 27 weeks after conception - } - } -} \ No newline at end of file diff --git a/fixtures/measures/0014_antid_immune/patients/denominator.json b/fixtures/measures/0014_antid_immune/patients/denominator.json new file mode 100644 index 0000000..2bc9e83 --- /dev/null +++ b/fixtures/measures/0014_antid_immune/patients/denominator.json @@ -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 + } + ] + } + } +} \ No newline at end of file diff --git a/fixtures/measures/0014_antid_immune/patients/denominator1.json b/fixtures/measures/0014_antid_immune/patients/denominator1.json new file mode 100644 index 0000000..b169ed6 --- /dev/null +++ b/fixtures/measures/0014_antid_immune/patients/denominator1.json @@ -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 + } + } +} \ No newline at end of file diff --git a/fixtures/measures/0014_antid_immune/patients/exclusion.json b/fixtures/measures/0014_antid_immune/patients/exclusion.json new file mode 100644 index 0000000..f62696b --- /dev/null +++ b/fixtures/measures/0014_antid_immune/patients/exclusion.json @@ -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] + } + } +} \ No newline at end of file diff --git a/fixtures/measures/0014/patients/not_population.json b/fixtures/measures/0014_antid_immune/patients/not_population.json similarity index 100% rename from fixtures/measures/0014/patients/not_population.json rename to fixtures/measures/0014_antid_immune/patients/not_population.json diff --git a/fixtures/measures/0014_antid_immune/patients/numerator.json b/fixtures/measures/0014_antid_immune/patients/numerator.json new file mode 100644 index 0000000..a63cd22 --- /dev/null +++ b/fixtures/measures/0014_antid_immune/patients/numerator.json @@ -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 + } + } +} \ No newline at end of file diff --git a/fixtures/measures/0014/patients/population.json b/fixtures/measures/0014_antid_immune/patients/population.json similarity index 52% rename from fixtures/measures/0014/patients/population.json rename to fixtures/measures/0014_antid_immune/patients/population.json index 4499530..220682d 100644 --- a/fixtures/measures/0014/patients/population.json +++ b/fixtures/measures/0014_antid_immune/patients/population.json @@ -5,8 +5,8 @@ "birthdate": 631152000, // Time.gm(1990, 1, 1) "measures": { "0014": { - "delivery_live_births_diagnosis": [1275350400], // Time.gm(2010, 6, 1) - "delivery_live_births_procedure": [1275350400] + "delivery_live_births_diagnosis_diagnosis_active": [1275350400], // Time.gm(2010, 6, 1) + "delivery_live_births_procedure_procedure_performed": [1275350400] } } } \ No newline at end of file diff --git a/fixtures/measures/0014/result.json b/fixtures/measures/0014_antid_immune/result.json similarity index 100% rename from fixtures/measures/0014/result.json rename to fixtures/measures/0014_antid_immune/result.json diff --git a/measure_props/NQF_Retooled_Measure_0014.xlsx.json.patch b/measure_props/NQF_Retooled_Measure_0014.xlsx.json.patch new file mode 100644 index 0000000..611214b --- /dev/null +++ b/measure_props/NQF_Retooled_Measure_0014.xlsx.json.patch @@ -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" + } + } +} + diff --git a/measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json b/measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json new file mode 100644 index 0000000..3ffbcd7 --- /dev/null +++ b/measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json @@ -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" + } + ] + } +} \ No newline at end of file diff --git a/stage/0014/0014_NQF_Prenatal_Anti-D_immune_Globulin.js b/measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_immune_Globulin.js similarity index 51% rename from stage/0014/0014_NQF_Prenatal_Anti-D_immune_Globulin.js rename to measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_immune_Globulin.js index 8e3c271..c5e86d8 100644 --- a/stage/0014/0014_NQF_Prenatal_Anti-D_immune_Globulin.js +++ b/measures/0014_antid_immune/0014_NQF_Prenatal_Anti-D_immune_Globulin.js @@ -12,40 +12,40 @@ function () { var earliest_encounter = effective_date - year; var population = function() { - live_birth_diagnosis = inRange(measure.delivery_live_births_diagnosis, earliest_encounter, effective_date); - live_birth_procedure = inRange(measure.delivery_live_births_procedure, earliest_encounter, effective_date); + live_birth_diagnosis = inRange(measure.delivery_live_births_diagnosis_diagnosis_active, earliest_encounter, effective_date); + live_birth_procedure = inRange(measure.delivery_live_births_procedure_procedure_performed, earliest_encounter, effective_date); return live_birth_diagnosis && live_birth_procedure; } var denominator = function() { - if (!measure.estimated_date_of_conception) + if (!measure.estimated_date_of_conception_patient_characteristic) return false; - estimated_conception = _.max(measure.estimated_date_of_conception); - prenatal_encounter = inRange(measure.prenatal_visit, estimated_conception, effective_date); - drh_neg_diagnosis = inRange(measure.drh_negative, earliest_encounter, effective_date); - primigravida = inRange(measure.primigravida, earliest_encounter, effective_date); - multigravida = inRange(measure.multigravida, earliest_encounter, effective_date); - rh_status_mother = minValueInDateRange(measure.rh_status_mother, earliest_encounter, effective_date, false) - rh_status_baby = minValueInDateRange(measure.rh_status_mother, earliest_encounter, effective_date, false) + estimated_conception = _.max(measure.estimated_date_of_conception_patient_characteristic); + prenatal_encounter = inRange(measure.prenatal_visit_encounter, estimated_conception, effective_date); + drh_neg_diagnosis = inRange(measure.d_rh_negative_diagnosis_active, earliest_encounter, effective_date); + primigravida = inRange(measure.primigravida_diagnosis_active, earliest_encounter, effective_date); + multigravida = inRange(measure.multigravida_diagnosis_active, earliest_encounter, effective_date); + rh_status_mother = minValueInDateRange(measure.rh_status_mother_laboratory_test_result, earliest_encounter, effective_date, false) + rh_status_baby = minValueInDateRange(measure.rh_status_baby_laboratory_test_result, earliest_encounter, effective_date, false) return prenatal_encounter && drh_neg_diagnosis && ( (primigravida && !rh_status_mother) || (multigravida && !rh_status_mother && !rh_status_baby)); } var numerator = function() { - estimated_conception = _.max(measure.estimated_date_of_conception); - estimated_conception_within_ten_months = actionFollowingSomething(estimated_conception, measure.delivery_live_births_procedure, 304*day); + estimated_conception = _.max(measure.estimated_date_of_conception_patient_characteristic); + estimated_conception_within_ten_months = actionFollowingSomething(estimated_conception, measure.delivery_live_births_procedure_procedure_performed, 304*day); - antid_admin_within_30_weeks = actionFollowingSomething(estimated_conception, measure.anti_d_immune_globulin, 30*7*day); - antid_admin_within_26_weeks = actionFollowingSomething(estimated_conception, measure.anti_d_immune_globulin, 26*7*day); + antid_admin_within_30_weeks = actionFollowingSomething(estimated_conception, measure.anti_d_immune_globulin_medication_administered, 30*7*day); + antid_admin_within_26_weeks = actionFollowingSomething(estimated_conception, measure.anti_d_immune_globulin_medication_administered, 26*7*day); return estimated_conception_within_ten_months && antid_admin_within_30_weeks && !antid_admin_within_26_weeks; } var exclusion = function() { - medical_reason = inRange(measure.medical_reason, earliest_encounter, effective_date); - patient_reason = inRange(measure.patient_reason, earliest_encounter, effective_date); - system_reason = inRange(measure.system_reason, earliest_encounter, effective_date); + medical_reason = inRange(measure.medical_reason_medication_not_done, earliest_encounter, effective_date); + patient_reason = inRange(measure.patient_reason_medication_not_done, earliest_encounter, effective_date); + system_reason = inRange(measure.system_reason_medication_not_done, earliest_encounter, effective_date); return system_reason || medical_reason || patient_reason; } diff --git a/stage/0014/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json b/stage/0014/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json deleted file mode 100644 index 95cb3e9..0000000 --- a/stage/0014/0014_NQF_Prenatal_Anti-D_Immune_Globulin.json +++ /dev/null @@ -1,1417 +0,0 @@ -{ - "id": "0014", - "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" - ] - } - ] - } - }, - "measure": { - "anti_d_immune_globulin": { - "description": "anti-d_immune_globulin", - "standard_concept_id": "A_c161", - "qds_data_types": [ - "medication_administered" - ], - "standard_category": "medication", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "RxNorm", - "version": "12/2009", - "standard_concept": "anti-d_immune_globulin", - "standard_concept_id": "A_c161", - "values": [ - "205066", - "247769", - "351100", - "406388", - "562566", - "616759", - "731378", - "731381" - ] - } - ] - }, - "anti_d_immune_globulin_declined": { - "description": "anti-d_immune_globulin_declined", - "standard_concept_id": "A_c479", - "qds_data_types": [ - "medication_not_done" - ], - "standard_category": "negation_rationale", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "07/09", - "standard_concept": "anti-d_immune_globulin_declined", - "standard_concept_id": "A_c479", - "values": [ - "408786004" - ] - } - ] - }, - "estimated_date_of_conception": { - "description": "estimated_date_of_conception", - "standard_concept_id": "A_c517", - "qds_data_types": [ - "patient_characteristic" - ], - "standard_category": "characteristic", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "07/09", - "standard_concept": "estimated_date_of_conception", - "standard_concept_id": "A_c517", - "values": [ - "248986005" - ] - } - ] - }, - "medical_reason": { - "description": "medical_reason", - "standard_concept_id": "A_c313", - "qds_data_types": [ - "medication_not_done" - ], - "standard_category": "negation_rationale", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "HL7", - "version": "3.0", - "standard_concept": "medical_reason", - "standard_concept_id": "A_c313", - "values": [ - "21703", - "21704", - "21738", - "21745", - "21747", - "21815", - "21990", - "22259", - "22261", - "22855" - ] - } - ] - }, - "multigravida": { - "description": "multigravida", - "standard_concept_id": "A_c335", - "qds_data_types": [ - "diagnosis_active" - ], - "standard_category": "diagnosis_condition_problem", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "07/09", - "standard_concept": "multigravida", - "standard_concept_id": "A_c335", - "values": [ - "102876002", - "127365008", - "127366009", - "127367000", - "127368005", - "127369002", - "127370001", - "127371002", - "127372009", - "127373004", - "127374005", - "17618008", - "443460007", - "6867004", - "80856001", - "82634006" - ] - } - ] - }, - "patient_reason": { - "description": "patient_reason", - "standard_concept_id": "A_c311", - "qds_data_types": [ - "medication_not_done" - ], - "standard_category": "negation_rationale", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "HL7", - "version": "3.0", - "standard_concept": "patient_reason", - "standard_concept_id": "A_c311", - "values": [ - "14880", - "15985", - "19729", - "21708", - "21710", - "21741", - "21743", - "21746", - "22260", - "22851" - ] - } - ] - }, - "primigravida": { - "description": "primigravida", - "standard_concept_id": "A_c334", - "qds_data_types": [ - "diagnosis_active" - ], - "standard_category": "diagnosis_condition_problem", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "2008-01-31", - "standard_concept": "primigravida", - "standard_concept_id": "A_c334", - "values": [ - "127364007", - "199719009", - "29399001" - ] - } - ] - }, - "rh_status_baby": { - "description": "rh_status_baby", - "standard_concept_id": "A_c337", - "qds_data_types": [ - "laboratory_test_result" - ], - "standard_category": "laboratory_test", - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "Rh Status", - "type": "boolean" - }, - "date": { - "description": "Date of result", - "type": "number", - "format": "utc-sec" - } - } - }, - "codes": [ - { - "set": "LOINC", - "version": "2.27, Released: July 07, 2009", - "standard_concept": "rh_status_baby", - "standard_concept_id": "A_c337", - "values": [ - "10331-7", - "1314-4", - "14906-2", - "14907-0", - "14908-8", - "17531-5", - "34961-3" - ] - } - ] - }, - "rh_status_mother": { - "description": "rh_status_mother", - "standard_concept_id": "A_c336", - "qds_data_types": [ - "laboratory_test_result" - ], - "standard_category": "laboratory_test", - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "description": "Rh Status", - "type": "boolean" - }, - "date": { - "description": "Date of result", - "type": "number", - "format": "utc-sec" - } - } - }, - "codes": [ - { - "set": "LOINC", - "version": "2.27, Released: July 07, 2009", - "standard_concept": "rh_status_mother", - "standard_concept_id": "A_c336", - "values": [ - "10331-7", - "1314-4", - "14906-2", - "14907-0", - "14908-8", - "17531-5", - "34961-3" - ] - } - ] - }, - "system_reason": { - "description": "system_reason", - "standard_concept_id": "A_c310", - "qds_data_types": [ - "medication_not_done" - ], - "standard_category": "negation_rationale", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "HL7", - "version": "3.0", - "standard_concept": "system_reason", - "standard_concept_id": "A_c310", - "values": [ - "19730", - "19731", - "19733", - "19734", - "19735", - "19736", - "19987", - "19988", - "19989", - "19990", - "21408", - "21493", - "21568", - "21706", - "21707", - "21709", - "21728", - "21729", - "21730", - "21731", - "21732", - "21733", - "21734", - "21735", - "21744", - "22023", - "22024", - "22165", - "22166", - "22167", - "22168", - "22169", - "22857", - "22858", - "22859", - "22865", - "22866", - "22867", - "22907", - "22909", - "22911", - "22912", - "22913" - ] - } - ] - }, - "drh_negative": { - "description": "d(rh)_negative", - "standard_concept_id": "A_c159", - "qds_data_types": [ - "diagnosis_active" - ], - "standard_category": "diagnosis_condition_problem", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "July 2010", - "standard_concept": "d(rh)_negative", - "standard_concept_id": "A_c536", - "values": [ - "165746003", - "278148006", - "278152006", - "278153001", - "278154007", - "428309004" - ] - }, - { - "set": "ICD-10-CM", - "version": "2010", - "standard_concept": "d(rh)_negative", - "standard_concept_id": "A_c537", - "values": [ - "036.0130", - "036.0131", - "036.0132", - "036.0133", - "036.0134", - "036.0135", - "036.0139", - "O36.0120", - "O36.0121", - "O36.0122", - "O36.0123", - "O36.0124", - "O36.0125", - "O36.0129" - ] - }, - { - "set": "ICD-9-CM", - "version": "2010", - "standard_concept": "d(rh)_negative", - "standard_concept_id": "A_c538", - "values": [ - "656.10", - "656.11" - ] - } - ] - }, - "delivery_live_births_diagnosis": { - "description": "delivery_live_births-diagnosis", - "standard_concept_id": "A_c394", - "qds_data_types": [ - "diagnosis_active" - ], - "standard_category": "diagnosis_condition_problem", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "SNOMED-CT", - "version": "07/09", - "standard_concept": "delivery_live_births-diagnosis", - "standard_concept_id": "A_c442", - "values": [ - "102500002", - "102501003", - "102502005", - "102503000", - "102879009", - "112071002", - "112075006", - "118185001", - "118215003", - "118216002", - "13859001", - "15898009", - "169826009", - "169828005", - "169831006", - "169836001", - "169961004", - "17333005", - "199314001", - "199317008", - "199321001", - "199325005", - "199329004", - "199330009", - "199331008", - "199334000", - "199714004", - "199718001", - "200129000", - "200130005", - "200133007", - "200134001", - "200138003", - "200141007", - "200142000", - "200144004", - "200145003", - "200146002", - "200147006", - "200148001", - "200149009", - "200150009", - "200151008", - "200154000", - "20236002", - "20272009", - "21127004", - "21243004", - "23667007", - "237313003", - "24146004", - "249032005", - "249037004", - "249141002", - "249145006", - "249161008", - "249162001", - "249195007", - "267278005", - "271368004", - "271369007", - "271370008", - "271373005", - "273984003", - "274124007", - "274125008", - "274127000", - "274128005", - "274129002", - "278094007", - "278095008", - "278096009", - "28030000", - "281050002", - "281052005", - "282020008", - "288209009", - "288210004", - "288265000", - "288266004", - "289210008", - "289216002", - "289217006", - "289218001", - "289222006", - "289223001", - "289224007", - "289226009", - "289227000", - "289228005", - "289229002", - "289230007", - "289231006", - "289232004", - "289233009", - "289234003", - "289235002", - "289236001", - "289237005", - "289238000", - "289242002", - "289247008", - "289253008", - "289256000", - "289257009", - "289258004", - "289259007", - "289261003", - "289574008", - "289699001", - "289740006", - "289762006", - "289763001", - "29997008", - "302080006", - "302253005", - "302254004", - "309469004", - "35874009", - "364738009", - "366327005", - "366328000", - "366329008", - "38250004", - "390959009", - "42783002", - "42857002", - "45384004", - "45757002", - "47574003", - "48782003", - "4886009", - "49550006", - "50758004", - "52483005", - "55466006", - "58289000", - "59403008", - "6383007", - "6893006", - "71096001", - "7888004", - "8333008", - "86803008", - "90306000", - "9343003" - ] - }, - { - "set": "ICD-9-CM", - "version": "2009", - "standard_concept": "delivery_live_births-diagnosis", - "standard_concept_id": "A_c87", - "values": [ - "641.01", - "641.11", - "641.21", - "641.31", - "641.81", - "641.91", - "642.01", - "642.02", - "642.11", - "642.12", - "642.21", - "642.22", - "642.31", - "642.32", - "642.41", - "642.42", - "642.51", - "642.52", - "642.61", - "642.62", - "642.71", - "642.72", - "642.91", - "642.92", - "643.21", - "643.81", - "644.21", - "645.11", - "645.21", - "646.01", - "646.11", - "646.12", - "646.21", - "646.22", - "646.31", - "646.41", - "646.42", - "646.71", - "646.91", - "647.01", - "647.02", - "647.11", - "647.12", - "647.21", - "647.22", - "647.31", - "647.32", - "647.41", - "647.42", - "647.51", - "647.52", - "647.61", - "647.62", - "647.81", - "647.82", - "647.91", - "647.92", - "648.01", - "648.02", - "648.11", - "648.12", - "648.21", - "648.22", - "648.31", - "648.32", - "648.41", - "648.42", - "648.51", - "648.52", - "648.61", - "648.62", - "648.71", - "648.72", - "648.81", - "648.82", - "648.91", - "648.92", - "649.01", - "649.02", - "649.11", - "649.12", - "649.21", - "649.22", - "649.31", - "649.32", - "649.41", - "649.42", - "649.51", - "649.61", - "649.62", - "65.621", - "651.01", - "651.11", - "651.21", - "651.31", - "651.41", - "651.51", - "651.61", - "651.71", - "651.81", - "651.91", - "652.01", - "652.11", - "652.21", - "652.31", - "652.41", - "652.51", - "652.61", - "652.71", - "652.81", - "652.91", - "653.01", - "653.11", - "653.21", - "653.31", - "653.41", - "653.51", - "653.61", - "653.71", - "653.81", - "653.91", - "654.01", - "654.02", - "654.11", - "654.12", - "654.31", - "654.32", - "654.41", - "654.42", - "654.51", - "654.52", - "654.61", - "654.62", - "654.71", - "654.72", - "654.81", - "654.82", - "654.91", - "654.92", - "655.01", - "655.11", - "655.21", - "655.31", - "655.41", - "655.51", - "655.61", - "655.71", - "655.81", - "655.91", - "656.01", - "656.11", - "656.31", - "656.51", - "656.61", - "656.71", - "656.81", - "656.91", - "657.01", - "658.01", - "658.11", - "658.21", - "658.31", - "658.41", - "658.81", - "658.91", - "659.01", - "659.11", - "659.21", - "659.31", - "659.41", - "659.51", - "659.61", - "659.71", - "659.81", - "659.91", - "660.01", - "660.11", - "660.21", - "660.31", - "660.41", - "660.51", - "660.61", - "660.71", - "660.81", - "660.91", - "661.01", - "661.11", - "661.21", - "661.31", - "661.41", - "661.91", - "662.01", - "662.11", - "662.21", - "662.31", - "663.01", - "663.11", - "663.21", - "663.31", - "663.41", - "663.51", - "663.61", - "663.81", - "663.91", - "664.01", - "664.11", - "664.21", - "664.31", - "664.41", - "664.51", - "664.61", - "664.81", - "664.91", - "665.01", - "665.11", - "665.31", - "665.41", - "665.51", - "665.61", - "665.71", - "665.72", - "665.81", - "665.91", - "665.92", - "666.02", - "666.12", - "666.22", - "666.32", - "667.02", - "667.12", - "668.01", - "668.02", - "668.11", - "668.12", - "668.21", - "668.22", - "668.81", - "668.82", - "668.91", - "668.92", - "669.01", - "669.02", - "669.11", - "669.12", - "669.21", - "669.22", - "669.32", - "669.41", - "669.42", - "669.51", - "669.61", - "669.71", - "669.81", - "669.82", - "669.91", - "669.92" - ] - }, - { - "set": "ICD-10-CM", - "version": "2010", - "standard_concept": "delivery_live_births-diagnosis", - "standard_concept_id": "A_c88", - "values": [ - "E07", - "F10", - "I10", - "N96", - "O10.2", - "O10.21", - "O10.211", - "O10.212", - "O10.213", - "O10.219", - "O10.41", - "O10.412", - "O10.413", - "O10.419", - "O13", - "O14", - "O14.00", - "O14.02", - "O14.03", - "O15", - "O15.0", - "O15.00", - "O15.02", - "O15.03", - "O16", - "O16.1", - "O16.2", - "O16.3", - "O16.9", - "O21.2", - "O21.8", - "O24", - "O26", - "O26.0", - "O26.5", - "O26.6", - "O26.82", - "O26.83", - "O26.84", - "O26.85", - "O30", - "O30.0", - "O30.1", - "O30.2", - "O30.9", - "O31.0", - "O31.2", - "O31.20", - "O31.3", - "O32", - "O32.1", - "O32.2", - "O32.3", - "O32.4", - "O33", - "O33.0", - "O33.1", - "O33.2", - "O33.4", - "O33.5", - "O33.6", - "O33.7", - "O33.8", - "O33.9", - "O34.0", - "O34.1", - "O34.3", - "O34.4", - "O34.5", - "O34.52", - "O34.59", - "O34.6", - "O34.7", - "O34.8", - "O35", - "O35.1", - "O35.2", - "O35.3", - "O35.5", - "O35.6", - "O35.8", - "O36.0", - "O36.1", - "O36.5", - "O36.6", - "O36.81", - "O41", - "O43.1", - "O43.8", - "O44", - "O44.1", - "O45", - "O45.01", - "O45.011", - "O45.012", - "O45.013", - "O46", - "O48.0", - "O48.1", - "O60.10", - "O61", - "O61.1", - "O61.8", - "O61.9", - "O62.0", - "O62.1", - "O62.2", - "O62.3", - "O62.4", - "O62.9", - "O63.0", - "O63.1", - "O63.2", - "O63.9", - "O64.0", - "O64.4", - "O64.9", - "O65", - "O65.8", - "O66.0", - "O66.1", - "O66.4", - "O66.5", - "O66.8", - "O66.9", - "O69.0", - "O69.1", - "O69.2", - "O69.3", - "O69.4", - "O69.5", - "O69.8", - "O69.9", - "O70.0", - "O70.1", - "O70.2", - "O70.3", - "O70.9", - "O71", - "O71.1", - "O71.3", - "O71.4", - "O71.5", - "O71.7", - "O71.8", - "O71.9", - "O72.0", - "O72.1", - "O72.2", - "O72.3", - "O73", - "O73.1", - "O74", - "O74.1", - "O74.2", - "O74.3", - "O74.8", - "O74.9", - "O75.0", - "O75.1", - "O75.2", - "O75.3", - "O75.5", - "O77", - "O90.4", - "O90.8", - "O90.89", - "O98", - "O98.01", - "O98.1", - "O98.2", - "O98.211", - "O98.212", - "O98.213", - "O98.219", - "O98.3", - "O98.31", - "O98.8", - "O99", - "O99.32", - "O99.33", - "O99.4", - "O99.81", - "O99.810", - "O99.814", - "O99.815", - "P01.1", - "P01.2", - "P01.3", - "P02.1", - "P03.2", - "P03.3", - "P03.4", - "P03.9", - "P29", - "P29.8", - "P39.2" - ] - } - ] - }, - "delivery_live_births_procedure": { - "description": "delivery_live_births-procedure", - "standard_concept_id": "A_c393", - "qds_data_types": [ - "procedure_performed" - ], - "standard_category": "procedure", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "CPT", - "version": "2010", - "standard_concept": "delivery_live_births-procedure", - "standard_concept_id": "A_c112", - "values": [ - "59400", - "59409", - "59410", - "59425", - "59426", - "59510", - "59514", - "59515", - "59610", - "59612", - "59614", - "59618", - "59620", - "59622" - ] - }, - { - "set": "SNOMED-CT", - "version": "7/2009", - "standard_concept": "delivery_live_births-procedure", - "standard_concept_id": "A_c89", - "values": [ - "10745001", - "14119008", - "15413009", - "164817009", - "169224002", - "169225001", - "169228004", - "169229007", - "169230002", - "169235007", - "169668007", - "169669004", - "169670003", - "177152009", - "177154005", - "177157003", - "177158008", - "177161009", - "177162002", - "177164001", - "177167008", - "177168003", - "177170007", - "177171006", - "177173009", - "177174003", - "177175002", - "177176001", - "177177005", - "177179008", - "177180006", - "177181005", - "177184002", - "177185001", - "177188004", - "177203002", - "177204008", - "177205009", - "177212000", - "17860005", - "1807002", - "182619004", - "18489003", - "18625004", - "19390001", - "21623001", - "22633006", - "2321005", - "236973005", - "236974004", - "236975003", - "236976002", - "236978001", - "236980007", - "236981006", - "236982004", - "236983009", - "236984003", - "236991000", - "236992007", - "236994008", - "237311001", - "241491007", - "241493005", - "241494004", - "25296001", - "25828002", - "26313002", - "265639000", - "268445003", - "271442007", - "275168001", - "275169009", - "28542003", - "287976008", - "287977004", - "288193006", - "288194000", - "28860009", - "29613008", - "302382009", - "302383004", - "302384005", - "30476003", - "306727001", - "307813007", - "315308008", - "31998007", - "33807004", - "359940006", - "359943008", - "384729004", - "38479009", - "386622003", - "386637004", - "387711001", - "40219000", - "40704000", - "40792007", - "408814002", - "408815001", - "408819007", - "414880004", - "416055001", - "417121007", - "418090003", - "425551008", - "426295007", - "426840007", - "427623005", - "430063002", - "430064008", - "432246004", - "433153009", - "4504004", - "45718005", - "46972000", - "48204000", - "5191001", - "54973000", - "55052008", - "5556001", - "56620000", - "58705005", - "61027002", - "61586001", - "62508004", - "62688006", - "63407004", - "65243006", - "66201006", - "69162008", - "69422002", - "69621003", - "71166009", - "72492007", - "75928003", - "79966006", - "85403009", - "85548006", - "86599005", - "89346004", - "89849000", - "90438006" - ] - } - ] - }, - "prenatal_visit": { - "description": "prenatal_visit", - "standard_concept_id": "A_c396", - "qds_data_types": [ - "encounter" - ], - "standard_category": "encounter", - "type": "array", - "items": { - "type": "number", - "format": "utc-sec" - }, - "codes": [ - { - "set": "ICD-10-CM", - "version": "2010", - "standard_concept": "prenatal_visit", - "standard_concept_id": "A_c328", - "values": [ - "Z34 ", - "Z34.0 ", - "Z34.8 ", - "Z34.9 " - ] - }, - { - "set": "SNOMED-CT", - "version": "July 2009", - "standard_concept": "prenatal_visit", - "standard_concept_id": "A_c338", - "values": [ - "424441002", - "424619006" - ] - }, - { - "set": "ICD-9-CM", - "version": "2010", - "standard_concept": "prenatal_visit", - "standard_concept_id": "A_c466", - "values": [ - "V22.0", - "V22.1", - "V22.2" - ] - } - ] - } - }, - "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" - } - ] - } -} \ No newline at end of file