test/fixtures/patients/larry_vanderman.json in hqmf2js-1.3.0 vs test/fixtures/patients/larry_vanderman.json in hqmf2js-1.4.0

- old
+ new

@@ -1,655 +1,574 @@ { - "addresses": null, - "allergies": [], - "birthdate": 160117200, - "care_goals": [ - { - "codes": { - "CPT": [ - "97804" - ], - "HCPCS": [ - "S9470" - ], - "ICD-9-CM": [ - "V65.3" - ], - "SNOMED-CT": [ - "305849009" - ] - }, - "description": "follow-up plan_BMI management", - "time": 1283313600 - } - ], - "conditions": [ - { - "codes": { - "ICD-10-CM": [ - "E11.9" - ], - "ICD-9-CM": [ - "250" - ], - "SNOMED-CT": [ - "73211009" - ] - }, - "description": "diabetes", - "status": "active", - "time": 1270094400 - }, - { - "codes": { - "ICD-10-CM": [ - "J45" - ], - "ICD-9-CM": [ - "493.92" - ], - "SNOMED-CT": [ - "195979001" - ] - }, - "description": "Asthma", - "status": "active", - "time": 1270094400 - }, - { - "codes": { - "ICD-10-CM": [ - "I10" - ], - "ICD-9-CM": [ - "401.9" - ], - "SNOMED-CT": [ - "59621000" - ] - }, - "description": "Hypertension", - "status": "active", - "time": 1270094400 - }, - { - "codes": { - "SNOMED-CT": [ - "370202007" - ] - }, - "description": "Asthma Daytime Symptoms Quantified", - "time": 1270094400 - }, - { - "codes": { - "SNOMED-CT": [ - "370205009" - ] - }, - "description": "Asthma Nighttime Symptoms Quantified", - "time": 1270094400 - } - ], - "encounters": [ - { - "codes": { - "CPT": [ - "99213" - ], - "ICD-9-CM": [ - "V70.0" - ] - }, - "description": "Encounter Outpatient", - "facility": { - "name": "Outpatient Clinic", - "start_time": 1290166000, - "end_time": 1291166000, - "code": { - "code": "bar", - "code_system": "SNOMED-CT" - } - }, - "end_time": 1291266000 - }, - { - "codes": { - "CPT": [ - "99241" - ] - }, - "description": "Encounter Office & Outpatient Consult", - "time": 1283313600 - }, - { - "codes": { - "CPT": [ - "99213" - ], - "ICD-9-CM": [ - "V70.0" - ] - }, - "description": "Encounter Outpatient", - "time": 1277265600 - }, - { - "codes": { - "CPT": [ - "99241" - ] - }, - "description": "Encounter Office & Outpatient Consult", - "time": 1270094400 - } - ], - "ethnicity": "Not Hispanic or Latino", - "first": "Larry", - "gender": "M", - "immunizations": [], - "languages": null, - "last": "Vanderman", - "medical_equipment": [], - "medications": [ - { - "codes": { - "RxNorm": [ - "847207" - ] - }, - "description": "Insulin", - "time": 1278475200, - "administrationTiming" : {"period": {"unit": "h", "value": 8 }}, - "fulfillmentHistory": [ - {"dispenseDate": 1278475200, "quantityDispensed" : {"value" :"15"}} - ] - }, - { - "codes": { - "RxNorm": [ - "617314" - ] - }, - "description": "Lipid Lowering Therapy", - "time": 1277265600 - }, - { - "codes": { - "RxNorm": [ - "858828" - ] - }, - "description": "Antihypertensive combinations", - "time": 1277265600 - }, - { - "codes": { - "RxNorm": [ - "318142" - ] - }, - "description": "Long acting inhaled beta 2 agonist", - "time": 1277265600 - }, - { - "codes": { - "RxNorm": [ - "630208" - ] - }, - "description": "Short acting beta 2 agonist", - "time": 1277265600 - } - ], - "procedures": [ - { - "codes": { - "SNOMED-CT": [ - "401191002" - ] - }, - "description": "Foot Exam", - "time": 1291266000, - "incisionTime": 1112587200, - "values": [ - { - "scalar": "Normal", - "units": null - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "401191002" - ] - }, - "description": "Foot Exam", - "time": 1283313600, - "values": [ - { - "scalar": "Normal", - "units": null - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "401191002" - ] - }, - "description": "Foot Exam", - "time": 1277265600, - "values": [ - { - "scalar": "Normal", - "units": null - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "401191002" - ] - }, - "description": "Foot Exam", - "time": 1270094400, - "values": [ - { - "scalar": "Normal", - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "97802" - ], - "HCPCS": [ - "S9470" - ], - "ICD-10-CM": [ - "Z00.8" - ], - "ICD-9-CM": [ - "V65.3" - ] - }, - "description": "counseling for nutrition", - "time": 1277265600 - }, - { - "codes": { - "HCPCS": [ - "S9451" - ], - "ICD-10-CM": [ - "Z71.3" - ], - "ICD-9-CM": [ - "V65.41" - ] - }, - "description": "counseling for physical activity", - "time": 1277265600 - }, - { - "codes": { - "CPT": [ - "92012" - ], - "HCPCS": [ - "S0621" - ], - "ICD-9-CM": [ - "95.03" - ], - "SNOMED-CT": [ - "390735007" - ] - }, - "description": "eye exam", - "time": 1278388800 - } - ], - "race": "Black or African American", - "results": [ - { - "codes": { - "CPT": [ - "83036" - ], - "LOINC": [ - "4548-4" - ], - "SNOMED-CT": [ - "43396009" - ] - }, - "description": "HbA1c test", - "time": 1285992000, - "values": [ - { - "scalar": 9.5, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "83036" - ], - "LOINC": [ - "4548-4" - ], - "SNOMED-CT": [ - "43396009" - ] - }, - "description": "HbA1c test", - "time": 1283313600, - "values": [ - { - "scalar": 9.2, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "83036" - ], - "LOINC": [ - "4548-4" - ], - "SNOMED-CT": [ - "43396009" - ] - }, - "description": "HbA1c test", - "time": 1277265600, - "values": [ - { - "scalar": 8.9, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "83721" - ], - "LOINC": [ - "2089-1" - ], - "SNOMED-CT": [ - "113079009" - ] - }, - "description": "LDL", - "time": 1277265600, - "values": [ - { - "scalar": 115, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "83701" - ], - "LOINC": [ - "14646-4" - ], - "SNOMED-CT": [ - "28036006" - ] - }, - "description": "High Density Lipoprotein (HDL)", - "time": 1277265600, - "values": [ - { - "scalar": 51, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "82465" - ], - "LOINC": [ - "2093-3" - ], - "SNOMED-CT": [ - "121868005" - ] - }, - "description": "Total Cholesterol", - "time": 1277265600, - "values": [ - { - "scalar": 186, - "units": null - } - ] - }, - { - "codes": { - "CPT": [ - "84478" - ], - "LOINC": [ - "12951-0" - ], - "SNOMED-CT": [ - "14740000" - ] - }, - "description": "Triglycerides", - "time": 1277265600, - "values": [ - { - "scalar": 143, - "units": null - } - ] - } - ], - "social_history": [ - { - "codes": { - "SNOMED-CT": [ - "160618006" - ] - }, - "description": "Tobacco Non-User", - "time": 1270094400 - } - ], - "vital_signs": [ - { - "codes": { - "SNOMED-CT": [ - "271649006" - ] - }, - "description": "Systolic Blood Pressure", - "time": 1291266000, - "values": [ - { - "scalar": 142, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271650006" - ] - }, - "description": "Diastolic Blood Pressure", - "time": 1291266000, - "values": [ - { - "scalar": 92, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271649006" - ] - }, - "description": "Systolic Blood Pressure", - "time": 1283313600, - "values": [ - { - "scalar": 138, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271650006" - ] - }, - "description": "Diastolic Blood Pressure", - "time": 1283313600, - "values": [ - { - "scalar": 88, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271649006" - ] - }, - "description": "Systolic Blood Pressure", - "time": 1277265600, - "values": [ - { - "scalar": 138, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271650006" - ] - }, - "description": "Diastolic Blood Pressure", - "time": 1277265600, - "values": [ - { - "scalar": 86, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271649006" - ] - }, - "description": "Systolic Blood Pressure", - "time": 1270094400, - "values": [ - { - "scalar": 136, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "SNOMED-CT": [ - "271650006" - ] - }, - "description": "Diastolic Blood Pressure", - "time": 1270094400, - "values": [ - { - "scalar": 84, - "units": "mm[Hg]" - } - ] - }, - { - "codes": { - "LOINC": [ - "39156-5" - ], - "SNOMED-CT": [ - "60621009" - ] - }, - "description": "BMI", - "time": 1285992000, - "values": [ - { - "scalar": 30.84591836734694, - "units": null - } - ] - }, - { - "codes": { - "LOINC": [ - "39156-5" - ], - "SNOMED-CT": [ - "60621009" - ] - }, - "description": "BMI", - "time": 1283313600, - "values": [ - { - "scalar": 30.27204081632653, - "units": null - } - ] - }, - { - "codes": { - "LOINC": [ - "39156-5" - ], - "SNOMED-CT": [ - "60621009" - ] - }, - "description": "BMI", - "time": 1277265600, - "values": [ - { - "scalar": 31.56326530612245, - "units": null - } - ] - } - ] -} + "addresses": null, + "allergies": [], + "birthdate": 160117200, + "care_goals": [{ + "codes": { + "CPT": [ + "97804" + ], + "HCPCS": [ + "S9470" + ], + "ICD-9-CM": [ + "V65.3" + ], + "SNOMED-CT": [ + "305849009" + ] + }, + "description": "follow-up plan_BMI management", + "time": 1283313600 + }], + "conditions": [{ + "codes": { + "ICD-10-CM": [ + "E11.9" + ], + "ICD-9-CM": [ + "250" + ], + "SNOMED-CT": [ + "73211009" + ] + }, + "description": "diabetes", + "status": "active", + "time": 1270094400 + }, { + "codes": { + "ICD-10-CM": [ + "J45" + ], + "ICD-9-CM": [ + "493.92" + ], + "SNOMED-CT": [ + "195979001" + ] + }, + "description": "Asthma", + "status": "active", + "time": 1270094400 + }, { + "codes": { + "ICD-10-CM": [ + "I10" + ], + "ICD-9-CM": [ + "401.9" + ], + "SNOMED-CT": [ + "59621000" + ] + }, + "description": "Hypertension", + "status": "active", + "time": 1270094400 + }, { + "codes": { + "SNOMED-CT": [ + "370202007" + ] + }, + "description": "Asthma Daytime Symptoms Quantified", + "time": 1270094400 + }, { + "codes": { + "SNOMED-CT": [ + "370205009" + ] + }, + "description": "Asthma Nighttime Symptoms Quantified", + "time": 1270094400 + }], + "encounters": [{ + "codes": { + "CPT": [ + "99213" + ], + "ICD-9-CM": [ + "V70.0" + ] + }, + "description": "Encounter Outpatient", + "facility": { + "name": "Outpatient Clinic", + "start_time": 1290166000, + "end_time": 1291166000, + "code": { + "code": "bar", + "code_system": "SNOMED-CT" + } + }, + "end_time": 1291266000 + }, { + "codes": { + "CPT": [ + "99241" + ] + }, + "description": "Encounter Office & Outpatient Consult", + "time": 1283313600 + }, { + "codes": { + "CPT": [ + "99213" + ], + "ICD-9-CM": [ + "V70.0" + ] + }, + "description": "Encounter Outpatient", + "time": 1277265600 + }, { + "codes": { + "CPT": [ + "99241" + ] + }, + "description": "Encounter Office & Outpatient Consult", + "time": 1270094400 + }], + "ethnicity": "Not Hispanic or Latino", + "first": "Larry", + "gender": "M", + "immunizations": [], + "languages": null, + "last": "Vanderman", + "medical_equipment": [], + "medications": [{ + "codes": { + "RxNorm": [ + "847207" + ] + }, + "dose": { + "unit": "mg", + "value": "1" + }, + "description": "Insulin", + "time": 1278475200, + "administrationTiming": { + "period": { + "unit": "h", + "value": 8 + } + }, + "fulfillmentHistory": [{ + "dispenseDate": 1278475200, + "quantityDispensed": { + "value": "15" + } + }] + }, { + "codes": { + "RxNorm": [ + "617314" + ] + }, + "description": "Lipid Lowering Therapy", + "time": 1277265600 + }, { + "codes": { + "RxNorm": [ + "858828" + ] + }, + "description": "Antihypertensive combinations", + "time": 1277265600 + }, { + "codes": { + "RxNorm": [ + "318142" + ] + }, + "description": "Long acting inhaled beta 2 agonist", + "time": 1277265600 + }, { + "codes": { + "RxNorm": [ + "630208" + ] + }, + "description": "Short acting beta 2 agonist", + "time": 1277265600 + }], + "procedures": [{ + "codes": { + "SNOMED-CT": [ + "401191002" + ] + }, + "description": "Foot Exam", + "time": 1291266000, + "incisionTime": 1112587200, + "values": [{ + "scalar": "Normal", + "units": null + }] + }, { + "codes": { + "SNOMED-CT": [ + "401191002" + ] + }, + "description": "Foot Exam", + "time": 1283313600, + "values": [{ + "scalar": "Normal", + "units": null + }] + }, { + "codes": { + "SNOMED-CT": [ + "401191002" + ] + }, + "description": "Foot Exam", + "time": 1277265600, + "values": [{ + "scalar": "Normal", + "units": null + }] + }, { + "codes": { + "SNOMED-CT": [ + "401191002" + ] + }, + "description": "Foot Exam", + "time": 1270094400, + "values": [{ + "scalar": "Normal", + "units": null + }] + }, { + "codes": { + "CPT": [ + "97802" + ], + "HCPCS": [ + "S9470" + ], + "ICD-10-CM": [ + "Z00.8" + ], + "ICD-9-CM": [ + "V65.3" + ] + }, + "description": "counseling for nutrition", + "time": 1277265600 + }, { + "codes": { + "HCPCS": [ + "S9451" + ], + "ICD-10-CM": [ + "Z71.3" + ], + "ICD-9-CM": [ + "V65.41" + ] + }, + "description": "counseling for physical activity", + "time": 1277265600 + }, { + "codes": { + "CPT": [ + "92012" + ], + "HCPCS": [ + "S0621" + ], + "ICD-9-CM": [ + "95.03" + ], + "SNOMED-CT": [ + "390735007" + ] + }, + "description": "eye exam", + "time": 1278388800 + }], + "race": "Black or African American", + "results": [{ + "codes": { + "CPT": [ + "83036" + ], + "LOINC": [ + "4548-4" + ], + "SNOMED-CT": [ + "43396009" + ] + }, + "description": "HbA1c test", + "time": 1285992000, + "values": [{ + "scalar": 9.5, + "units": null + }] + }, { + "codes": { + "CPT": [ + "83036" + ], + "LOINC": [ + "4548-4" + ], + "SNOMED-CT": [ + "43396009" + ] + }, + "description": "HbA1c test", + "time": 1283313600, + "values": [{ + "scalar": 9.2, + "units": null + }] + }, { + "codes": { + "CPT": [ + "83036" + ], + "LOINC": [ + "4548-4" + ], + "SNOMED-CT": [ + "43396009" + ] + }, + "description": "HbA1c test", + "time": 1277265600, + "values": [{ + "scalar": 8.9, + "units": null + }] + }, { + "codes": { + "CPT": [ + "83721" + ], + "LOINC": [ + "2089-1" + ], + "SNOMED-CT": [ + "113079009" + ] + }, + "description": "LDL", + "time": 1277265600, + "values": [{ + "scalar": 115, + "units": null + }] + }, { + "codes": { + "CPT": [ + "83701" + ], + "LOINC": [ + "14646-4" + ], + "SNOMED-CT": [ + "28036006" + ] + }, + "description": "High Density Lipoprotein (HDL)", + "time": 1277265600, + "values": [{ + "scalar": 51, + "units": null + }] + }, { + "codes": { + "CPT": [ + "82465" + ], + "LOINC": [ + "2093-3" + ], + "SNOMED-CT": [ + "121868005" + ] + }, + "description": "Total Cholesterol", + "time": 1277265600, + "values": [{ + "scalar": 186, + "units": null + }] + }, { + "codes": { + "CPT": [ + "84478" + ], + "LOINC": [ + "12951-0" + ], + "SNOMED-CT": [ + "14740000" + ] + }, + "description": "Triglycerides", + "time": 1277265600, + "values": [{ + "scalar": 143, + "units": null + }] + }], + "social_history": [{ + "codes": { + "SNOMED-CT": [ + "160618006" + ] + }, + "description": "Tobacco Non-User", + "time": 1270094400 + }], + "vital_signs": [{ + "codes": { + "SNOMED-CT": [ + "271649006" + ] + }, + "description": "Systolic Blood Pressure", + "time": 1291266000, + "values": [{ + "scalar": 142, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271650006" + ] + }, + "description": "Diastolic Blood Pressure", + "time": 1291266000, + "values": [{ + "scalar": 92, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271649006" + ] + }, + "description": "Systolic Blood Pressure", + "time": 1283313600, + "values": [{ + "scalar": 138, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271650006" + ] + }, + "description": "Diastolic Blood Pressure", + "time": 1283313600, + "values": [{ + "scalar": 88, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271649006" + ] + }, + "description": "Systolic Blood Pressure", + "time": 1277265600, + "values": [{ + "scalar": 138, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271650006" + ] + }, + "description": "Diastolic Blood Pressure", + "time": 1277265600, + "values": [{ + "scalar": 86, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271649006" + ] + }, + "description": "Systolic Blood Pressure", + "time": 1270094400, + "values": [{ + "scalar": 136, + "units": "mm[Hg]" + }] + }, { + "codes": { + "SNOMED-CT": [ + "271650006" + ] + }, + "description": "Diastolic Blood Pressure", + "time": 1270094400, + "values": [{ + "scalar": 84, + "units": "mm[Hg]" + }] + }, { + "codes": { + "LOINC": [ + "39156-5" + ], + "SNOMED-CT": [ + "60621009" + ] + }, + "description": "BMI", + "time": 1285992000, + "values": [{ + "scalar": 30.84591836734694, + "units": null + }] + }, { + "codes": { + "LOINC": [ + "39156-5" + ], + "SNOMED-CT": [ + "60621009" + ] + }, + "description": "BMI", + "time": 1283313600, + "values": [{ + "scalar": 30.27204081632653, + "units": null + }] + }, { + "codes": { + "LOINC": [ + "39156-5" + ], + "SNOMED-CT": [ + "60621009" + ] + }, + "description": "BMI", + "time": 1277265600, + "values": [{ + "scalar": 31.56326530612245, + "units": null + }] + }] +} \ No newline at end of file