health-data-standards 3.6.1 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -2
- data/Rakefile +2 -1
- data/lib/health-data-standards.rb +22 -1
- data/lib/health-data-standards/export/cat_1.rb +25 -6
- data/lib/health-data-standards/export/cat_1_r2.rb +8 -2
- data/lib/health-data-standards/export/cat_3.rb +8 -7
- data/lib/health-data-standards/export/exceptions.rb +13 -0
- data/lib/health-data-standards/export/helper/cat1_view_helper.rb +17 -11
- data/lib/health-data-standards/export/helper/html_view_helper.rb +13 -7
- data/lib/health-data-standards/export/helper/scooped_view_helper.rb +68 -25
- data/lib/health-data-standards/export/html.rb +9 -4
- data/lib/health-data-standards/export/qrda/entry_template_resolver.rb +29 -11
- data/lib/health-data-standards/export/qrda/hqmf-qrda-oids.json +89 -5
- data/lib/health-data-standards/export/rendering_context.rb +2 -2
- data/lib/health-data-standards/export/template_helper.rb +7 -2
- data/lib/health-data-standards/export/view_helper.rb +107 -39
- data/lib/health-data-standards/import/bulk_record_importer.rb +8 -5
- data/lib/health-data-standards/import/bundle/importer.rb +21 -14
- data/lib/health-data-standards/import/c32/care_goal_importer.rb +1 -1
- data/lib/health-data-standards/import/c32/immunization_importer.rb +1 -1
- data/lib/health-data-standards/import/cat1/clinical_trial_participant_importer.rb +20 -0
- data/lib/health-data-standards/import/cat1/device_order_importer.rb +20 -0
- data/lib/health-data-standards/import/cat1/diagnosis_active_importer.rb +4 -9
- data/lib/health-data-standards/import/cat1/diagnosis_importer.rb +15 -0
- data/lib/health-data-standards/import/cat1/diagnosis_inactive_importer.rb +1 -1
- data/lib/health-data-standards/import/cat1/diagnostic_study_order_importer.rb +6 -0
- data/lib/health-data-standards/import/cat1/encounter_order_act_importer.rb +19 -0
- data/lib/health-data-standards/import/cat1/encounter_performed_act_importer.rb +19 -0
- data/lib/health-data-standards/import/cat1/encounter_performed_importer.rb +16 -0
- data/lib/health-data-standards/import/cat1/immunization_administered_importer.rb +14 -0
- data/lib/health-data-standards/import/cat1/medication_dispensed_act_importer.rb +18 -0
- data/lib/health-data-standards/import/cat1/patient_importer.rb +44 -17
- data/lib/health-data-standards/import/cat1/procedure_order_importer.rb +4 -4
- data/lib/health-data-standards/import/cat1/procedure_performed_importer.rb +1 -0
- data/lib/health-data-standards/import/cat1/transfer_from_act_importer.rb +18 -0
- data/lib/health-data-standards/import/cat1/transfer_from_importer.rb +24 -0
- data/lib/health-data-standards/import/cat1/transfer_to_act_importer.rb +18 -0
- data/lib/health-data-standards/import/cat1/transfer_to_importer.rb +23 -0
- data/lib/health-data-standards/import/cda/allergy_importer.rb +1 -1
- data/lib/health-data-standards/import/cda/communication_importer.rb +55 -0
- data/lib/health-data-standards/import/cda/condition_importer.rb +17 -1
- data/lib/health-data-standards/import/cda/encounter_importer.rb +23 -21
- data/lib/health-data-standards/import/cda/medical_equipment_importer.rb +1 -0
- data/lib/health-data-standards/import/cda/medication_importer.rb +14 -4
- data/lib/health-data-standards/import/cda/procedure_importer.rb +4 -4
- data/lib/health-data-standards/import/cda/result_importer.rb +1 -1
- data/lib/health-data-standards/import/cda/section_importer.rb +59 -18
- data/lib/health-data-standards/models/assessment.rb +3 -0
- data/lib/health-data-standards/models/care_experience.rb +2 -0
- data/lib/health-data-standards/models/care_goal.rb +4 -0
- data/lib/health-data-standards/models/communication.rb +3 -0
- data/lib/health-data-standards/models/condition.rb +12 -9
- data/lib/health-data-standards/models/cqm/bundle.rb +2 -1
- data/lib/health-data-standards/models/cqm/measure.rb +2 -1
- data/lib/health-data-standards/models/cqm/patient_cache.rb +7 -3
- data/lib/health-data-standards/models/cqm/query_cache.rb +2 -0
- data/lib/health-data-standards/models/encounter.rb +14 -1
- data/lib/health-data-standards/models/encounter_principal_diagnosis.rb +36 -0
- data/lib/health-data-standards/models/entry.rb +5 -1
- data/lib/health-data-standards/models/family_history.rb +4 -0
- data/lib/health-data-standards/models/immunization.rb +1 -0
- data/lib/health-data-standards/models/lab_result.rb +10 -1
- data/lib/health-data-standards/models/medical_equipment.rb +2 -1
- data/lib/health-data-standards/models/medication.rb +19 -2
- data/lib/health-data-standards/models/patient_preference.rb +5 -0
- data/lib/health-data-standards/models/procedure.rb +16 -3
- data/lib/health-data-standards/models/provider.rb +17 -1
- data/lib/health-data-standards/models/provider_preference.rb +5 -0
- data/lib/health-data-standards/models/record.rb +8 -9
- data/lib/health-data-standards/models/reference.rb +1 -1
- data/lib/health-data-standards/models/svs/value_set.rb +28 -10
- data/lib/health-data-standards/models/transfer.rb +6 -1
- data/lib/health-data-standards/tasks/bundle.rake +5 -3
- data/lib/health-data-standards/util/hqmf_template_helper.rb +20 -14
- data/lib/health-data-standards/util/hqmfr2_template_oid_map.json +382 -0
- data/lib/health-data-standards/util/nlm_helper.rb +14 -0
- data/lib/health-data-standards/util/vs_api.rb +72 -54
- data/lib/health-data-standards/validate/measure_validator.rb +8 -3
- data/lib/health-data-standards/validate/performance_rate_validator.rb +1 -1
- data/lib/health-data-standards/validate/qrda_qdm_template_validator.rb +253 -0
- data/lib/health-data-standards/validate/reported_result_extractor.rb +5 -1
- data/lib/health-data-standards/validate/schematron_validator.rb +6 -0
- data/lib/health-data-standards/validate/validators.rb +49 -1
- data/lib/hqmf-generator/document.xml.erb +6 -5
- data/lib/hqmf-generator/field.xml.erb +1 -0
- data/lib/hqmf-generator/hqmf-generator.rb +85 -41
- data/lib/hqmf-generator/subset.xml.erb +15 -0
- data/lib/hqmf-generator/temporal_relationship.xml.erb +8 -3
- data/lib/hqmf-generator/temporal_relationship_attribute.xml.erb +10 -0
- data/lib/hqmf-generator/value.xml.erb +2 -2
- data/lib/hqmf-model/data_criteria.json +88 -17
- data/lib/hqmf-model/data_criteria.rb +144 -72
- data/lib/hqmf-model/population_criteria.rb +20 -18
- data/lib/hqmf-model/precondition.rb +6 -3
- data/lib/hqmf-model/types.rb +1 -1
- data/lib/hqmf-parser.rb +9 -0
- data/lib/hqmf-parser/1.0/utilities.rb +1 -1
- data/lib/hqmf-parser/2.0/data_criteria.rb +293 -319
- data/lib/hqmf-parser/2.0/data_criteria_helpers/dc_base_extract.rb +80 -0
- data/lib/hqmf-parser/2.0/data_criteria_helpers/dc_definition_from_template_or_type_extract.rb +201 -0
- data/lib/hqmf-parser/2.0/data_criteria_helpers/dc_post_processing.rb +85 -0
- data/lib/hqmf-parser/2.0/data_criteria_helpers/dc_specific_occurrences_and_source_data_criteria_extract.rb +117 -0
- data/lib/hqmf-parser/2.0/document.rb +246 -222
- data/lib/hqmf-parser/2.0/document_helpers/doc_population_helper.rb +175 -0
- data/lib/hqmf-parser/2.0/document_helpers/doc_utilities.rb +131 -0
- data/lib/hqmf-parser/2.0/field_value_helper.rb +251 -0
- data/lib/hqmf-parser/2.0/population_criteria.rb +101 -32
- data/lib/hqmf-parser/2.0/precondition.rb +61 -35
- data/lib/hqmf-parser/2.0/source_data_criteria_helper.rb +112 -0
- data/lib/hqmf-parser/2.0/types.rb +253 -73
- data/lib/hqmf-parser/2.0/utilities.rb +27 -12
- data/lib/hqmf-parser/2.0/value_set_helper.rb +101 -0
- data/lib/hqmf-parser/converter/pass1/data_criteria_converter.rb +6 -1
- data/lib/hqmf-parser/converter/pass1/population_criteria_converter.rb +34 -30
- data/lib/hqmf-parser/parser.rb +5 -5
- data/resources/schematron/qrda/cat_1/{CDAR2_QRDA_I_R1_D3_2015MAY_Schematron.sch → HL7_CDAR2_QRDA_Category_I_2_12_16.sch} +4692 -4675
- data/resources/schematron/qrda/cat_1_r3_1/HL7 QRDA Category I STU 3.1.sch +3573 -0
- data/resources/schematron/qrda/cat_1_r3_1/HL7 QRDA Category III STU 1.1.sch +464 -0
- data/resources/schematron/qrda/cat_1_r3_1/QRDA Category I STU Release 3.1.sch +5394 -0
- data/resources/schematron/qrda/cat_1_r3_1/voc.xml +1229 -0
- data/resources/schematron/qrda/cat_1_r4/HL7 QRDA Category I STU 4.sch +3526 -0
- data/resources/schematron/qrda/cat_1_r4/voc.xml +1186 -0
- data/resources/schematron/qrda/cat_3_r1_1/HL7 QRDA Category III STU 1.1.sch +528 -0
- data/resources/schematron/qrda/cat_3_r1_1/voc.xml +8 -0
- data/resources/schematron/qrda/cat_3_r2/HL7 QRDA Category III STU 2.sch +677 -0
- data/resources/schematron/qrda/cat_3_r2/voc.xml +1186 -0
- data/resources/schematron/qrda/cat_3_r2_1/HL7 QRDA Category III STU 2.1.sch +678 -0
- data/resources/schematron/qrda/cat_3_r2_1/voc.xml +1186 -0
- data/templates/c32/_medical_equipment.c32.erb +1 -1
- data/templates/c32/_vital_signs.c32.erb +1 -1
- data/templates/cat1/{_2.16.840.1.113883.10.20.22.4.85.cat1.erb → r2/_2.16.840.1.113883.10.20.22.4.85.cat1.erb} +1 -1
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.1.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.1.cat1.erb} +3 -3
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.101.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.101.cat1.erb} +1 -1
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.103.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.103.cat1.erb} +9 -5
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.105.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.105.cat1.erb} +18 -10
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.11.cat1.erb +88 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.12.cat1.erb +50 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.13.cat1.erb +54 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.135.cat1.erb +70 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.136.cat1.erb +52 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.14.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.14.cat1.erb} +24 -6
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.140.cat1.erb +39 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.18.cat1.erb +25 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.2.cat1.erb +29 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.20.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb} +4 -4
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.22.cat1.erb +22 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.23.cat1.erb +114 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.26.cat1.erb +20 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.28.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.28.cat1.erb} +2 -2
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.3.cat1.erb +25 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.32.cat1.erb +20 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.34.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.34.cat1.erb} +6 -6
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +22 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.38.cat1.erb +20 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.4.cat1.erb +29 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.40.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.40.cat1.erb} +3 -3
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.41.cat1.erb +46 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.42.cat1.erb +38 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.43.cat1.erb +24 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.44.cat1.erb +25 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.45.cat1.erb +26 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.46.cat1.erb +30 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +47 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +14 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.54.cat1.erb +32 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.55.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.55.cat1.erb} +0 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.57.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.59.cat1.erb +22 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.62.cat1.erb +36 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.63.cat1.erb +21 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.64.cat1.erb +52 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.66.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.66.cat1.erb} +6 -6
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.69.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.7.cat1.erb +33 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.76.cat1.erb → r2/_2.16.840.1.113883.10.20.24.3.76.cat1.erb} +5 -3
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.82.cat1.erb +23 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.9.cat1.erb +64 -0
- data/templates/cat1/r2/_2.16.840.1.113883.10.20.28.3.6.cat1.erb +17 -0
- data/templates/cat1/{_address.cat1.erb → r2/_address.cat1.erb} +0 -0
- data/templates/cat1/{_author.cat1.erb → r2/_author.cat1.erb} +0 -0
- data/templates/cat1/r2/_fulfills.cat1.erb +14 -0
- data/templates/cat1/{_id.cat1.erb → r2/_id.cat1.erb} +0 -0
- data/templates/cat1/{_measures.cat1.erb → r2/_measures.cat1.erb} +1 -1
- data/templates/cat1/{_medication_details.cat1.erb → r2/_medication_details.cat1.erb} +3 -2
- data/templates/cat1/r2/_medication_dispense.cat1.erb +22 -0
- data/templates/cat1/{_ordinality.cat1.erb → r2/_ordinality.cat1.erb} +0 -0
- data/templates/cat1/{_organization.cat1.erb → r2/_organization.cat1.erb} +0 -0
- data/templates/cat1/{_patient_data.cat1.erb → r2/_patient_data.cat1.erb} +4 -1
- data/templates/cat1/r2/_patient_data_r3_1.cat1.erb +17 -0
- data/templates/cat1/r2/_providers.cat1.erb +76 -0
- data/templates/cat1/r2/_reason.cat1.erb +45 -0
- data/templates/cat1/{_record_target.cat1.erb → r2/_record_target.cat1.erb} +3 -0
- data/templates/cat1/r2/_reporting_parameters.cat1.erb +31 -0
- data/templates/cat1/{_result_value.cat1.erb → r2/_result_value.cat1.erb} +1 -1
- data/templates/cat1/{_telecom.cat1.erb → r2/_telecom.cat1.erb} +0 -0
- data/templates/cat1/{show.cat1.erb → r2/show.cat1.erb} +52 -5
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.1.cat1.erb +14 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.103.cat1.erb +17 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.105.cat1.erb +68 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.11.cat1.erb +58 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.12.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.12.cat1.erb} +4 -5
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.13.cat1.erb +39 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.14.cat1.erb +39 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +23 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.18.cat1.erb +25 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.2.cat1.erb +29 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.22.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.22.cat1.erb} +6 -5
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.23.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.23.cat1.erb} +26 -30
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.26.cat1.erb +20 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.3.cat1.erb +25 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +23 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.32.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.32.cat1.erb} +4 -4
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +22 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.38.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.38.cat1.erb} +3 -3
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.4.cat1.erb +29 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.41.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.41.cat1.erb} +8 -10
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.42.cat1.erb +38 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.43.cat1.erb +24 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.44.cat1.erb +25 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.45.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.45.cat1.erb} +5 -5
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.46.cat1.erb +30 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +47 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +14 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.54.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.54.cat1.erb} +4 -4
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.55.cat1.erb +18 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.57.cat1.erb +23 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.59.cat1.erb +22 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.62.cat1.erb +36 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.63.cat1.erb → r3/_2.16.840.1.113883.10.20.24.3.63.cat1.erb} +6 -8
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.64.cat1.erb +51 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.69.cat1.erb +23 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.7.cat1.erb +33 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.76.cat1.erb +19 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.81.cat1.erb +24 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.82.cat1.erb +24 -0
- data/templates/cat1/r3/_2.16.840.1.113883.10.20.24.3.9.cat1.erb +57 -0
- data/templates/cat1/r3/_address.cat1.erb +9 -0
- data/templates/{cat3/_author.cat3.erb → cat1/r3/_author.cat1.erb} +0 -0
- data/templates/cat1/{_fulfills.cat1.erb → r3/_fulfills.cat1.erb} +0 -0
- data/templates/{cat3/_id.cat3.erb → cat1/r3/_id.cat1.erb} +0 -0
- data/templates/cat1/r3/_measures.cat1.erb +93 -0
- data/templates/cat1/r3/_medication_details.cat1.erb +16 -0
- data/templates/cat1/{_medication_dispense.cat1.erb → r3/_medication_dispense.cat1.erb} +3 -3
- data/templates/cat1/r3/_ordinality.cat1.erb +10 -0
- data/templates/cat1/r3/_organization.cat1.erb +9 -0
- data/templates/cat1/r3/_patient_data.cat1.erb +17 -0
- data/templates/cat1/r3/_providers.cat1.erb +76 -0
- data/templates/cat1/r3/_reason.cat1.erb +34 -0
- data/templates/cat1/r3/_record_target.cat1.erb +56 -0
- data/templates/cat1/r3/_reporting_parameters.cat1.erb +31 -0
- data/templates/cat1/r3/_result_value.cat1.erb +28 -0
- data/templates/{cat3/_telecom.cat3.erb → cat1/r3/_telecom.cat1.erb} +0 -0
- data/templates/cat1/r3/show.cat1.erb +183 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.1.cat1.erb +14 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.103.cat1.erb +17 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.105.cat1.erb +68 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.12.cat1.erb +53 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.135.cat1.erb +71 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.136.cat1.erb +52 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.140.cat1.erb +39 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +23 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.18.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb} +3 -3
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.2.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.2.cat1.erb} +2 -2
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.22.cat1.erb +30 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.23.cat1.erb +116 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.26.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.26.cat1.erb} +4 -2
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.3.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.3.cat1.erb} +2 -2
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +24 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.32.cat1.erb +21 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +22 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.38.cat1.erb +21 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.4.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.4.cat1.erb} +2 -2
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.41.cat1.erb +45 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.42.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb} +4 -4
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.43.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.43.cat1.erb} +3 -3
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.44.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.44.cat1.erb} +3 -3
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.45.cat1.erb +35 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.46.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.46.cat1.erb} +4 -4
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +47 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +14 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb +32 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.55.cat1.erb +18 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.57.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.57.cat1.erb} +3 -3
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.59.cat1.erb +22 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.62.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.62.cat1.erb} +5 -5
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.63.cat1.erb +21 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.64.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.64.cat1.erb} +7 -7
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.69.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb} +2 -2
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.7.cat1.erb → r3_1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb} +12 -9
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.81.cat1.erb +33 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.82.cat1.erb +33 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.9.cat1.erb +41 -0
- data/templates/cat1/r3_1/_2.16.840.1.113883.10.20.28.3.6.cat1.erb +17 -0
- data/templates/cat1/r3_1/_address.cat1.erb +9 -0
- data/templates/cat1/r3_1/_author.cat1.erb +28 -0
- data/templates/cat1/r3_1/_fulfills.cat1.erb +14 -0
- data/templates/cat1/r3_1/_id.cat1.erb +1 -0
- data/templates/cat1/r3_1/_measures.cat1.erb +93 -0
- data/templates/cat1/r3_1/_medication_details.cat1.erb +16 -0
- data/templates/cat1/r3_1/_medication_dispense.cat1.erb +22 -0
- data/templates/cat1/r3_1/_ordinality.cat1.erb +10 -0
- data/templates/cat1/r3_1/_organization.cat1.erb +9 -0
- data/templates/cat1/r3_1/_patient_data.cat1.erb +17 -0
- data/templates/cat1/r3_1/_providers.cat1.erb +76 -0
- data/templates/cat1/r3_1/_reason.cat1.erb +34 -0
- data/templates/cat1/r3_1/_record_target.cat1.erb +56 -0
- data/templates/cat1/r3_1/_reporting_parameters.cat1.erb +31 -0
- data/templates/cat1/r3_1/_result_value.cat1.erb +28 -0
- data/templates/cat1/r3_1/_telecom.cat1.erb +1 -0
- data/templates/cat1/r3_1/show.cat1.erb +183 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.1.cat1.erb +14 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.103.cat1.erb +17 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.105.cat1.erb +68 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.12.cat1.erb +53 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.135.cat1.erb +75 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.136.cat1.erb +52 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.140.cat1.erb +39 -0
- data/templates/cat1/{_2.16.840.1.113883.10.20.24.3.59.cat1.erb → r4/_2.16.840.1.113883.10.20.24.3.144.cat1.erb} +6 -6
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.145.cat1.erb +24 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +23 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.18.cat1.erb +25 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.2.cat1.erb +29 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.22.cat1.erb +30 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.23.cat1.erb +116 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.3.cat1.erb +25 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +24 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.32.cat1.erb +21 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +22 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.38.cat1.erb +21 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.4.cat1.erb +29 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.41.cat1.erb +45 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.42.cat1.erb +38 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.43.cat1.erb +24 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.44.cat1.erb +25 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.45.cat1.erb +35 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.46.cat1.erb +30 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +47 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +14 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb +32 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.55.cat1.erb +18 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.57.cat1.erb +23 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.59.cat1.erb +22 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.62.cat1.erb +36 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.63.cat1.erb +21 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.64.cat1.erb +52 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.7.cat1.erb +33 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.81.cat1.erb +33 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.82.cat1.erb +33 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.9.cat1.erb +41 -0
- data/templates/cat1/r4/_2.16.840.1.113883.10.20.28.3.6.cat1.erb +17 -0
- data/templates/cat1/r4/_address.cat1.erb +7 -0
- data/templates/cat1/r4/_author.cat1.erb +28 -0
- data/templates/cat1/r4/_fulfills.cat1.erb +14 -0
- data/templates/cat1/r4/_id.cat1.erb +1 -0
- data/templates/cat1/r4/_measures.cat1.erb +93 -0
- data/templates/cat1/r4/_medication_details.cat1.erb +16 -0
- data/templates/cat1/r4/_medication_dispense.cat1.erb +22 -0
- data/templates/cat1/r4/_ordinality.cat1.erb +10 -0
- data/templates/cat1/r4/_organization.cat1.erb +9 -0
- data/templates/cat1/r4/_patient_data.cat1.erb +17 -0
- data/templates/cat1/r4/_providers.cat1.erb +76 -0
- data/templates/cat1/r4/_reason.cat1.erb +34 -0
- data/templates/cat1/r4/_record_target.cat1.erb +54 -0
- data/templates/cat1/r4/_reporting_parameters.cat1.erb +31 -0
- data/templates/cat1/r4/_result_value.cat1.erb +28 -0
- data/templates/cat1/r4/_telecom.cat1.erb +1 -0
- data/templates/cat1/r4/show.cat1.erb +192 -0
- data/templates/cat3/{_address.cat3.erb → r1/_address.cat3.erb} +0 -0
- data/templates/cat3/r1/_author.cat3.erb +28 -0
- data/templates/cat3/{_continuous_variable_value.cat3.erb → r1/_continuous_variable_value.cat3.erb} +0 -0
- data/templates/cat3/r1/_id.cat3.erb +1 -0
- data/templates/cat3/{_measure_data.cat3.erb → r1/_measure_data.cat3.erb} +7 -6
- data/templates/cat3/{_organization.cat3.erb → r1/_organization.cat3.erb} +0 -0
- data/templates/cat3/{_performance_rate.cat3.erb → r1/_performance_rate.cat3.erb} +1 -3
- data/templates/cat3/{_providers.cat3.erb → r1/_providers.cat3.erb} +0 -0
- data/templates/cat3/{_reporting_parameters.cat3.erb → r1/_reporting_parameters.cat3.erb} +0 -0
- data/templates/cat3/{_supplemental_data.cat3.erb → r1/_supplemental_data.cat3.erb} +2 -0
- data/templates/cat3/r1/_telecom.cat3.erb +1 -0
- data/templates/cat3/{show.cat3.erb → r1/show.cat3.erb} +5 -5
- data/templates/cat3/r1_1/_address.cat3.erb +9 -0
- data/templates/cat3/r1_1/_author.cat3.erb +28 -0
- data/templates/cat3/r1_1/_continuous_variable_value.cat3.erb +20 -0
- data/templates/cat3/r1_1/_id.cat3.erb +1 -0
- data/templates/cat3/r1_1/_measure_data.cat3.erb +136 -0
- data/templates/cat3/r1_1/_organization.cat3.erb +6 -0
- data/templates/cat3/r1_1/_performance_rate.cat3.erb +18 -0
- data/templates/{cat1/_providers.cat1.erb → cat3/r1_1/_providers.cat3.erb} +18 -18
- data/templates/{cat1/_reporting_parameters.cat1.erb → cat3/r1_1/_reporting_parameters.cat3.erb} +5 -1
- data/templates/cat3/r1_1/_supplemental_data.cat3.erb +38 -0
- data/templates/cat3/r1_1/_telecom.cat3.erb +1 -0
- data/templates/cat3/r1_1/show.cat3.erb +150 -0
- data/templates/cat3/r2/_address.cat3.erb +9 -0
- data/templates/cat3/r2/_author.cat3.erb +28 -0
- data/templates/cat3/r2/_continuous_variable_value.cat3.erb +20 -0
- data/templates/cat3/r2/_id.cat3.erb +1 -0
- data/templates/cat3/r2/_measure_data.cat3.erb +136 -0
- data/templates/cat3/r2/_organization.cat3.erb +6 -0
- data/templates/cat3/r2/_performance_rate.cat3.erb +19 -0
- data/templates/cat3/r2/_providers.cat3.erb +57 -0
- data/templates/cat3/r2/_reporting_parameters.cat3.erb +29 -0
- data/templates/cat3/r2/_supplemental_data.cat3.erb +38 -0
- data/templates/cat3/r2/_telecom.cat3.erb +1 -0
- data/templates/cat3/r2/show.cat3.erb +150 -0
- data/templates/cat3/r2_1/_address.cat3.erb +9 -0
- data/templates/cat3/r2_1/_author.cat3.erb +28 -0
- data/templates/cat3/r2_1/_continuous_variable_value.cat3.erb +20 -0
- data/templates/cat3/r2_1/_id.cat3.erb +1 -0
- data/templates/cat3/r2_1/_measure_data.cat3.erb +136 -0
- data/templates/cat3/r2_1/_organization.cat3.erb +6 -0
- data/templates/cat3/r2_1/_performance_rate.cat3.erb +19 -0
- data/templates/cat3/r2_1/_providers.cat3.erb +57 -0
- data/templates/cat3/r2_1/_reporting_parameters.cat3.erb +20 -0
- data/templates/cat3/r2_1/_reporting_parameters_act.cat3.erb +10 -0
- data/templates/cat3/r2_1/_supplemental_data.cat3.erb +38 -0
- data/templates/cat3/r2_1/_telecom.cat3.erb +1 -0
- data/templates/cat3/r2_1/show.cat3.erb +153 -0
- data/templates/ccda/_medical_equipment.ccda.erb +1 -1
- data/templates/ccda/_social_history.ccda.erb +2 -2
- data/templates/ccda/_vital_signs.ccda.erb +1 -1
- data/templates/html/_entries_by_section.html.erb +1 -1
- metadata +425 -153
- data/lib/health-data-standards/import/cat1/procedure_importer.rb +0 -42
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.11.cat1.erb +0 -55
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.13.cat1.erb +0 -38
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.17.cat1.erb +0 -22
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.31.cat1.erb +0 -22
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.37.cat1.erb +0 -20
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.47.cat1.erb +0 -27
- data/templates/cat1/_2.16.840.1.113883.10.20.24.3.51.cat1.erb +0 -13
- data/templates/cat1/_reason.cat1.erb +0 -23
@@ -5,5 +5,10 @@ class Transfer
|
|
5
5
|
|
6
6
|
field :time, type: Integer
|
7
7
|
|
8
|
-
embedded_in :encounter, class_name: "Encounter"
|
8
|
+
embedded_in :encounter, class_name: "Encounter", inverse_of: nil
|
9
|
+
|
10
|
+
def shift_dates(date_diff)
|
11
|
+
self.time = (self.time.nil?) ? nil : self.time + date_diff
|
12
|
+
end
|
13
|
+
|
9
14
|
end
|
@@ -26,12 +26,15 @@ namespace :bundle do
|
|
26
26
|
options
|
27
27
|
nlm_user - the nlm username to authenticate to the server - will prompt is not supplied
|
28
28
|
nlm_passwd - the nlm password for authenticating to the server - will prompt if not supplied
|
29
|
-
version - the version of the bundle to download
|
29
|
+
version - the version of the bundle to download - this must be supplied
|
30
30
|
|
31
31
|
example usage:
|
32
32
|
rake bundle:download nlm_name=username nlm_passwd=password version=2.1.0-latest
|
33
33
|
}
|
34
34
|
task :download => :environment do
|
35
|
+
bundle_version = ENV.fetch("version") do
|
36
|
+
raise ArgumentError.new("Required argument 'version' was not supplied")
|
37
|
+
end
|
35
38
|
nlm_user = ENV["nlm_user"]
|
36
39
|
nlm_passwd = ENV["nlm_pass"]
|
37
40
|
measures_dir = File.join(Dir.pwd, "bundles")
|
@@ -45,12 +48,11 @@ namespace :bundle do
|
|
45
48
|
q.readline = true }
|
46
49
|
end
|
47
50
|
|
48
|
-
bundle_version = ENV["version"] || "latest"
|
49
51
|
@bundle_name = "bundle-#{bundle_version}.zip"
|
50
52
|
|
51
53
|
puts "Downloading and saving #{@bundle_name} to #{measures_dir}"
|
52
54
|
# Pull down the list of bundles and download the version we're looking for
|
53
|
-
bundle_uri = "https://
|
55
|
+
bundle_uri = "https://cypressdemo.healthit.gov/measure_bundles/#{@bundle_name}"
|
54
56
|
bundle = nil
|
55
57
|
|
56
58
|
tries = 0
|
@@ -2,23 +2,31 @@ module HealthDataStandards
|
|
2
2
|
module Util
|
3
3
|
# General helpers for working with codes and code systems
|
4
4
|
class HQMFTemplateHelper
|
5
|
-
|
6
|
-
def self.definition_for_template_id(template_id)
|
7
|
-
template_id_map[template_id]
|
5
|
+
|
6
|
+
def self.definition_for_template_id(template_id, version="r1")
|
7
|
+
template_id_map(version)[template_id]
|
8
8
|
end
|
9
|
-
|
10
|
-
def self.template_id_map
|
9
|
+
|
10
|
+
def self.template_id_map(version)
|
11
11
|
if @id_map.blank?
|
12
|
-
|
13
|
-
|
12
|
+
@id_map = {
|
13
|
+
'r1' => JSON.parse(File.read(File.expand_path('../hqmf_template_oid_map.json', __FILE__))),
|
14
|
+
'r2' => JSON.parse(File.read(File.expand_path('../hqmfr2_template_oid_map.json', __FILE__)))
|
15
|
+
}
|
14
16
|
end
|
15
|
-
@id_map
|
17
|
+
@id_map[version]
|
16
18
|
end
|
17
19
|
|
18
|
-
def self.template_id_by_definition_and_status(definition, status, negation=false)
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
def self.template_id_by_definition_and_status(definition, status, negation=false, version="r1")
|
21
|
+
case version
|
22
|
+
when "r1"
|
23
|
+
kv_pair = template_id_map(version).find {|k, v| v['definition'] == definition &&
|
24
|
+
v['status'] == status &&
|
25
|
+
v['negation'] == negation}
|
26
|
+
when "r2"
|
27
|
+
kv_pair = template_id_map(version).find {|k, v| v['definition'] == definition &&
|
28
|
+
v['status'] == status}
|
29
|
+
end
|
22
30
|
if kv_pair
|
23
31
|
kv_pair.first
|
24
32
|
else
|
@@ -28,5 +36,3 @@ module HealthDataStandards
|
|
28
36
|
end
|
29
37
|
end
|
30
38
|
end
|
31
|
-
|
32
|
-
|
@@ -0,0 +1,382 @@
|
|
1
|
+
{
|
2
|
+
"2.16.840.1.113883.10.20.28.3.53":{
|
3
|
+
"definition":"patient_characteristic",
|
4
|
+
"status":"",
|
5
|
+
"negation":false},
|
6
|
+
"2.16.840.1.113883.10.20.28.3.54":{
|
7
|
+
"definition":"patient_characteristic_birthdate",
|
8
|
+
"status":"",
|
9
|
+
"negation":false},
|
10
|
+
"2.16.840.1.113883.10.20.28.3.6":{
|
11
|
+
"definition":"patient_characteristic",
|
12
|
+
"status":"clinical_trial_participant",
|
13
|
+
"negation":false},
|
14
|
+
"2.16.840.1.113883.10.20.28.3.55":{
|
15
|
+
"definition":"patient_characteristic_gender",
|
16
|
+
"status":"",
|
17
|
+
"negation":false},
|
18
|
+
"2.16.840.1.113883.10.20.28.3.56":{
|
19
|
+
"definition":"patient_characteristic_ethnicity",
|
20
|
+
"status":"",
|
21
|
+
"negation":false},
|
22
|
+
"2.16.840.1.113883.10.20.28.3.57":{
|
23
|
+
"definition":"patient_characteristic_expired",
|
24
|
+
"status":"",
|
25
|
+
"negation":false},
|
26
|
+
"2.16.840.1.113883.10.20.28.3.58":{
|
27
|
+
"definition":"patient_characteristic_payer",
|
28
|
+
"status":"",
|
29
|
+
"negation":false},
|
30
|
+
"2.16.840.1.113883.10.20.28.3.59":{
|
31
|
+
"definition":"patient_characteristic_race",
|
32
|
+
"status":"",
|
33
|
+
"negation":false},
|
34
|
+
"2.16.840.1.113883.3.560.1.4":{
|
35
|
+
"definition":"encounter",
|
36
|
+
"status":"",
|
37
|
+
"negation":false},
|
38
|
+
"2.16.840.1.113883.10.20.28.3.26":{
|
39
|
+
"definition":"encounter",
|
40
|
+
"status":"active",
|
41
|
+
"negation":false},
|
42
|
+
"2.16.840.1.113883.10.20.28.3.5":{
|
43
|
+
"definition":"encounter",
|
44
|
+
"status":"performed",
|
45
|
+
"negation":false},
|
46
|
+
"2.16.840.1.113883.10.20.28.3.27":{
|
47
|
+
"definition":"encounter",
|
48
|
+
"status":"ordered",
|
49
|
+
"negation":false},
|
50
|
+
"2.16.840.1.113883.10.20.28.3.28":{
|
51
|
+
"definition":"encounter",
|
52
|
+
"status":"recommended",
|
53
|
+
"negation":false},
|
54
|
+
"2.16.840.1.113883.10.20.28.3.67":{
|
55
|
+
"definition":"procedure",
|
56
|
+
"status":"performed",
|
57
|
+
"negation":false},
|
58
|
+
"2.16.840.1.113883.10.20.28.3.66":{
|
59
|
+
"definition":"procedure",
|
60
|
+
"status":"ordered",
|
61
|
+
"negation":false},
|
62
|
+
"2.16.840.1.113883.10.20.28.3.69":{
|
63
|
+
"definition":"procedure_result",
|
64
|
+
"status":"",
|
65
|
+
"negation":false},
|
66
|
+
"2.16.840.1.113883.10.20.28.3.64":{
|
67
|
+
"definition":"procedure_adverse_event",
|
68
|
+
"status":"",
|
69
|
+
"negation":false},
|
70
|
+
"2.16.840.1.113883.10.20.28.3.65":{
|
71
|
+
"definition":"procedure_intolerance",
|
72
|
+
"status":"",
|
73
|
+
"negation":false},
|
74
|
+
"2.16.840.1.113883.10.20.28.3.68":{
|
75
|
+
"definition":"procedure",
|
76
|
+
"status":"recommended",
|
77
|
+
"negation":false},
|
78
|
+
"2.16.840.1.113883.10.20.28.3.1":{
|
79
|
+
"definition":"diagnosis",
|
80
|
+
"status":"active",
|
81
|
+
"negation":false},
|
82
|
+
"2.16.840.1.113883.10.20.28.3.19":{
|
83
|
+
"definition":"diagnosis",
|
84
|
+
"status":"resolved",
|
85
|
+
"negation":false},
|
86
|
+
"2.16.840.1.113883.10.20.28.3.17":{
|
87
|
+
"definition":"diagnosis",
|
88
|
+
"status":"family_history",
|
89
|
+
"negation":false},
|
90
|
+
"2.16.840.1.113883.10.20.28.3.18":{
|
91
|
+
"definition":"diagnosis",
|
92
|
+
"status":"inactive",
|
93
|
+
"negation":false},
|
94
|
+
"2.16.840.1.113883.10.20.28.3.110":{
|
95
|
+
"definition":"diagnosis",
|
96
|
+
"status":"",
|
97
|
+
"negation":false},
|
98
|
+
"2.16.840.1.113883.10.20.28.3.111":{
|
99
|
+
"definition":"family_history",
|
100
|
+
"status":"",
|
101
|
+
"negation":false},
|
102
|
+
"2.16.840.1.113883.10.20.28.3.23":{
|
103
|
+
"definition":"diagnostic_study",
|
104
|
+
"status":"performed",
|
105
|
+
"negation":false},
|
106
|
+
"2.16.840.1.113883.10.20.28.3.25":{
|
107
|
+
"definition":"diagnostic_study_result",
|
108
|
+
"status":"",
|
109
|
+
"negation":false},
|
110
|
+
"2.16.840.1.113883.10.20.28.3.20":{
|
111
|
+
"definition":"diagnostic_study_adverse_event",
|
112
|
+
"status":"",
|
113
|
+
"negation":false},
|
114
|
+
"2.16.840.1.113883.10.20.28.3.21":{
|
115
|
+
"definition":"diagnostic_study_intolerance",
|
116
|
+
"status":"",
|
117
|
+
"negation":false},
|
118
|
+
"2.16.840.1.113883.10.20.28.3.22":{
|
119
|
+
"definition":"diagnostic_study",
|
120
|
+
"status":"ordered",
|
121
|
+
"negation":false},
|
122
|
+
"2.16.840.1.113883.10.20.28.3.23":{
|
123
|
+
"definition":"diagnostic_study",
|
124
|
+
"status":"performed",
|
125
|
+
"negation":true},
|
126
|
+
"2.16.840.1.113883.10.20.28.3.24":{
|
127
|
+
"definition":"diagnostic_study",
|
128
|
+
"status":"recommended",
|
129
|
+
"negation":true},
|
130
|
+
"2.16.840.1.113883.10.20.28.3.49":{
|
131
|
+
"definition":"medication",
|
132
|
+
"status":"dispensed",
|
133
|
+
"negation":false},
|
134
|
+
"2.16.840.1.113883.10.20.28.3.51":{
|
135
|
+
"definition":"medication",
|
136
|
+
"status":"ordered",
|
137
|
+
"negation":false},
|
138
|
+
"2.16.840.1.113883.10.20.28.3.48":{
|
139
|
+
"definition":"medication",
|
140
|
+
"status":"discharge",
|
141
|
+
"negation":false},
|
142
|
+
"2.16.840.1.113883.10.20.28.3.44":{
|
143
|
+
"definition":"medication",
|
144
|
+
"status":"active",
|
145
|
+
"negation":false},
|
146
|
+
"2.16.840.1.113883.10.20.28.3.45":{
|
147
|
+
"definition":"medication",
|
148
|
+
"status":"administered",
|
149
|
+
"negation":false},
|
150
|
+
"2.16.840.1.113883.10.20.28.3.46":{
|
151
|
+
"definition":"medication_adverse_effects",
|
152
|
+
"status":"",
|
153
|
+
"negation":false},
|
154
|
+
"2.16.840.1.113883.10.20.28.3.47":{
|
155
|
+
"definition":"medication_allergy",
|
156
|
+
"status":"",
|
157
|
+
"negation":false},
|
158
|
+
"2.16.840.1.113883.10.20.28.3.50":{
|
159
|
+
"definition":"medication_intolerance",
|
160
|
+
"status":"",
|
161
|
+
"negation":false},
|
162
|
+
"2.16.840.1.113883.10.20.28.3.112":{
|
163
|
+
"definition":"immunization",
|
164
|
+
"status":"administered",
|
165
|
+
"negation":false},
|
166
|
+
"2.16.840.1.113883.10.20.28.3.113":{
|
167
|
+
"definition":"immunization",
|
168
|
+
"status":"order",
|
169
|
+
"negation":false},
|
170
|
+
"2.16.840.1.113883.10.20.28.3.114":{
|
171
|
+
"definition":"immunization",
|
172
|
+
"status":"allergy",
|
173
|
+
"negation":false},
|
174
|
+
"2.16.840.1.113883.10.20.28.3.115":{
|
175
|
+
"definition":"immunization",
|
176
|
+
"status":"intolerance",
|
177
|
+
"negation":false},
|
178
|
+
"2.16.840.1.113883.10.20.28.3.60":{
|
179
|
+
"definition":"physical_exam",
|
180
|
+
"status":"",
|
181
|
+
"negation":false},
|
182
|
+
"2.16.840.1.113883.10.20.28.3.61":{
|
183
|
+
"definition":"physical_exam",
|
184
|
+
"status":"ordered",
|
185
|
+
"negation":false},
|
186
|
+
"2.16.840.1.113883.10.20.28.3.62":{
|
187
|
+
"definition":"physical_exam",
|
188
|
+
"status":"performed",
|
189
|
+
"negation":false},
|
190
|
+
"22.16.840.1.113883.10.20.28.3.63":{
|
191
|
+
"definition":"physical_exam",
|
192
|
+
"status":"recommended",
|
193
|
+
"negation":false},
|
194
|
+
"2.16.840.1.113883.10.20.28.3.4":{
|
195
|
+
"definition":"laboratory_test",
|
196
|
+
"status":"",
|
197
|
+
"negation":false},
|
198
|
+
"2.16.840.1.113883.10.20.28.3.42":{
|
199
|
+
"definition":"laboratory_test",
|
200
|
+
"status":"performed",
|
201
|
+
"negation":false},
|
202
|
+
"2.16.840.1.113883.10.20.28.3.39":{
|
203
|
+
"definition":"laboratory_test_adverse_event",
|
204
|
+
"status":"",
|
205
|
+
"negation":false},
|
206
|
+
"2.16.840.1.113883.10.20.28.3.40":{
|
207
|
+
"definition":"laboratory_test_intolerance",
|
208
|
+
"status":"",
|
209
|
+
"negation":false},
|
210
|
+
"2.16.840.1.113883.10.20.28.3.41":{
|
211
|
+
"definition":"laboratory_test",
|
212
|
+
"status":"ordered",
|
213
|
+
"negation":false},
|
214
|
+
"2.16.840.1.113883.10.20.28.3.43":{
|
215
|
+
"definition":"laboratory_test",
|
216
|
+
"status":"recommended",
|
217
|
+
"negation":false},
|
218
|
+
"2.16.840.1.113883.10.20.28.3.7":{
|
219
|
+
"definition":"care_goal",
|
220
|
+
"status":"",
|
221
|
+
"negation":false},
|
222
|
+
"2.16.840.1.113883.10.20.28.3.8":{
|
223
|
+
"definition":"communication_from_patient_to_provider",
|
224
|
+
"status":"",
|
225
|
+
"negation":false},
|
226
|
+
"2.16.840.1.113883.10.20.28.3.9":{
|
227
|
+
"definition":"communication_from_provider_to_patient",
|
228
|
+
"status":"",
|
229
|
+
"negation":false},
|
230
|
+
"2.16.840.1.113883.10.20.28.3.10":{
|
231
|
+
"definition":"communication_from_provider_to_provider",
|
232
|
+
"status":"",
|
233
|
+
"negation":false},
|
234
|
+
"2.16.840.1.113883.10.20.28.3.13":{
|
235
|
+
"definition":"device",
|
236
|
+
"status":"applied",
|
237
|
+
"negation":false},
|
238
|
+
"2.16.840.1.113883.10.20.28.3.11":{
|
239
|
+
"definition":"device_adverse_event",
|
240
|
+
"status":"",
|
241
|
+
"negation":false},
|
242
|
+
"2.16.840.1.113883.10.20.28.3.12":{
|
243
|
+
"definition":"device_allergy",
|
244
|
+
"status":"",
|
245
|
+
"negation":false},
|
246
|
+
"2.16.840.1.113883.10.20.28.3.14":{
|
247
|
+
"definition":"device_intolerance",
|
248
|
+
"status":"",
|
249
|
+
"negation":false},
|
250
|
+
"2.16.840.1.113883.10.20.28.3.15":{
|
251
|
+
"definition":"device",
|
252
|
+
"status":"ordered",
|
253
|
+
"negation":false},
|
254
|
+
"2.16.840.1.113883.10.20.28.3.16":{
|
255
|
+
"definition":"device",
|
256
|
+
"status":"recommended",
|
257
|
+
"negation":false},
|
258
|
+
"2.16.840.1.113883.10.20.28.3.73":{
|
259
|
+
"definition":"substance",
|
260
|
+
"status":"administered",
|
261
|
+
"negation":false},
|
262
|
+
"2.16.840.1.113883.10.20.28.3.77":{
|
263
|
+
"definition":"substance",
|
264
|
+
"status":"ordered",
|
265
|
+
"negation":false},
|
266
|
+
"2.16.840.1.113883.10.20.28.3.46.74":{
|
267
|
+
"definition":"substance_adverse_event",
|
268
|
+
"status":"",
|
269
|
+
"negation":false},
|
270
|
+
"2.16.840.1.113883.10.20.28.3.76":{
|
271
|
+
"definition":"substance_intolerance",
|
272
|
+
"status":"",
|
273
|
+
"negation":false},
|
274
|
+
"2.16.840.1.113883.10.20.28.3.75":{
|
275
|
+
"definition":"substance_allergy",
|
276
|
+
"status":"",
|
277
|
+
"negation":false},
|
278
|
+
"2.16.840.1.113883.10.20.28.3.78":{
|
279
|
+
"definition":"substance",
|
280
|
+
"status":"recommended",
|
281
|
+
"negation":false},
|
282
|
+
"2.16.840.1.113883.10.20.28.3.33":{
|
283
|
+
"definition":"intervention_adverse_event",
|
284
|
+
"status":"",
|
285
|
+
"negation":false},
|
286
|
+
"2.16.840.1.113883.10.20.28.3.34":{
|
287
|
+
"definition":"intervention_intolerance",
|
288
|
+
"status":"",
|
289
|
+
"negation":false},
|
290
|
+
"2.16.840.1.113883.10.20.28.3.35":{
|
291
|
+
"definition":"intervention",
|
292
|
+
"status":"ordered",
|
293
|
+
"negation":false},
|
294
|
+
"2.16.840.1.113883.10.20.28.3.36":{
|
295
|
+
"definition":"intervention",
|
296
|
+
"status":"performed",
|
297
|
+
"negation":false},
|
298
|
+
"2.16.840.1.113883.10.20.28.3.38":{
|
299
|
+
"definition":"intervention_result",
|
300
|
+
"status":"",
|
301
|
+
"negation":false},
|
302
|
+
"2.16.840.1.113883.10.20.28.3.37":{
|
303
|
+
"definition":"intervention",
|
304
|
+
"status":"recommended",
|
305
|
+
"negation":false},
|
306
|
+
"2.16.840.1.113883.10.20.28.3.79":{
|
307
|
+
"definition":"symptom",
|
308
|
+
"status":"active",
|
309
|
+
"negation":false},
|
310
|
+
"2.16.840.1.113883.10.20.28.3.80":{
|
311
|
+
"definition":"symptom",
|
312
|
+
"status":"assessed",
|
313
|
+
"negation":false},
|
314
|
+
"2.16.840.1.113883.10.20.28.3.81":{
|
315
|
+
"definition":"symptom",
|
316
|
+
"status":"inactive",
|
317
|
+
"negation":false},
|
318
|
+
"2.16.840.1.113883.10.20.28.3.82":{
|
319
|
+
"definition":"symptom",
|
320
|
+
"status":"resolved",
|
321
|
+
"negation":false},
|
322
|
+
"2.16.840.1.113883.10.20.28.3.116":{
|
323
|
+
"definition":"symptom",
|
324
|
+
"status":"",
|
325
|
+
"negation":false},
|
326
|
+
"2.16.840.1.113883.10.20.28.3.30":{
|
327
|
+
"definition":"functional_status",
|
328
|
+
"status":"performed",
|
329
|
+
"negation":false},
|
330
|
+
"2.16.840.1.113883.10.20.28.3.29":{
|
331
|
+
"definition":"functional_status",
|
332
|
+
"status":"ordered",
|
333
|
+
"negation":false},
|
334
|
+
"2.16.840.1.113883.10.20.28.3.31":{
|
335
|
+
"definition":"functional_status",
|
336
|
+
"status":"recommended",
|
337
|
+
"negation":false},
|
338
|
+
"2.16.840.1.113883.10.20.28.3.32":{
|
339
|
+
"definition":"functional_status_result",
|
340
|
+
"status":"",
|
341
|
+
"negation":false},
|
342
|
+
"2.16.840.1.113883.10.20.28.3.72":{
|
343
|
+
"definition":"risk_category_assessment",
|
344
|
+
"status":"",
|
345
|
+
"negation":false},
|
346
|
+
"2.16.840.1.113883.10.20.28.3.70":{
|
347
|
+
"definition":"provider_care_experience",
|
348
|
+
"status":"",
|
349
|
+
"negation":false},
|
350
|
+
"2.16.840.1.113883.10.20.28.3.52":{
|
351
|
+
"definition":"patient_care_experience",
|
352
|
+
"status":"",
|
353
|
+
"negation":false},
|
354
|
+
"2.16.840.1.113883.10.20.28.3.87":{
|
355
|
+
"definition":"preference_provider",
|
356
|
+
"status":"",
|
357
|
+
"negation":false},
|
358
|
+
"2.16.840.1.113883.10.20.28.3.86":{
|
359
|
+
"definition":"preference_patient",
|
360
|
+
"status":"",
|
361
|
+
"negation":false},
|
362
|
+
"2.16.840.1.113883.10.20.28.3.71":{
|
363
|
+
"definition":"provider_characteristic",
|
364
|
+
"status":"",
|
365
|
+
"negation":false},
|
366
|
+
"2.16.840.1.113883.10.20.28.3.84":{
|
367
|
+
"definition":"transfer_from",
|
368
|
+
"status":"",
|
369
|
+
"negation":false},
|
370
|
+
"2.16.840.1.113883.10.20.28.3.85":{
|
371
|
+
"definition":"transfer_to",
|
372
|
+
"status":"",
|
373
|
+
"negation":false},
|
374
|
+
"2.16.840.1.113883.10.20.28.3.117":{
|
375
|
+
"definition":"assessment",
|
376
|
+
"status":"performed",
|
377
|
+
"negation":false},
|
378
|
+
"2.16.840.1.113883.10.20.28.3.118":{
|
379
|
+
"definition":"assessment",
|
380
|
+
"status":"recommended",
|
381
|
+
"negation":false}
|
382
|
+
}
|