Skip to content

Commit

Permalink
Rework measure 0014 antid immune globlin to use generated properties
Browse files Browse the repository at this point in the history
  • Loading branch information
hadleynet committed Feb 23, 2011
1 parent 78a858a commit cfef977
Show file tree
Hide file tree
Showing 15 changed files with 251 additions and 1,527 deletions.
22 changes: 0 additions & 22 deletions fixtures/measures/0014/patients/denominator.json

This file was deleted.

23 changes: 0 additions & 23 deletions fixtures/measures/0014/patients/denominator1.json

This file was deleted.

23 changes: 0 additions & 23 deletions fixtures/measures/0014/patients/exclusion.json

This file was deleted.

23 changes: 0 additions & 23 deletions fixtures/measures/0014/patients/numerator.json

This file was deleted.

22 changes: 22 additions & 0 deletions fixtures/measures/0014_antid_immune/patients/denominator.json
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 fixtures/measures/0014_antid_immune/patients/denominator1.json
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 fixtures/measures/0014_antid_immune/patients/exclusion.json
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]
}
}
}
23 changes: 23 additions & 0 deletions fixtures/measures/0014_antid_immune/patients/numerator.json
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
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
}
}
File renamed without changes.
17 changes: 17 additions & 0 deletions measure_props/NQF_Retooled_Measure_0014.xlsx.json.patch
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"
}
}
}

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"
}
]
}
}
Loading

0 comments on commit cfef977

Please sign in to comment.