cqm-reports 1.0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +33 -0
- data/README.md +27 -0
- data/Rakefile +16 -0
- data/lib/cqm_report.rb +77 -0
- data/lib/ext/code.rb +11 -0
- data/lib/ext/data_element.rb +24 -0
- data/lib/html-export/qdm-patient/_header_css.mustache +61 -0
- data/lib/html-export/qdm-patient/_javascript.mustache +52 -0
- data/lib/html-export/qdm-patient/data_element/_data_element.mustache +4 -0
- data/lib/html-export/qdm-patient/data_element/_data_element_codes.mustache +9 -0
- data/lib/html-export/qdm-patient/data_element/_data_element_other_fields.mustache +106 -0
- data/lib/html-export/qdm-patient/data_element/_data_element_times.mustache +44 -0
- data/lib/html-export/qdm-patient/qdm_patient.mustache +73 -0
- data/lib/html-export/qdm-patient/qdm_patient.rb +47 -0
- data/lib/qrda-export/catI-r5/_code.mustache +1 -0
- data/lib/qrda-export/catI-r5/_codes.mustache +10 -0
- data/lib/qrda-export/catI-r5/_header.mustache +28 -0
- data/lib/qrda-export/catI-r5/_measure_section.mustache +59 -0
- data/lib/qrda-export/catI-r5/_reporting_period.mustache +23 -0
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +209 -0
- data/lib/qrda-export/catI-r5/qrda1_r5.rb +220 -0
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +26 -0
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +43 -0
- data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +88 -0
- data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +44 -0
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +40 -0
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +42 -0
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_order.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_recommended.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_performed.mustache +62 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +41 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_order.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_recommended.mustache +37 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +55 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_order.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +50 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_recommended.mustache +21 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_order.mustache +35 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +52 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_recommended.mustache +37 -0
- data/lib/qrda-export/catI-r5/qrda_templates/family_history.mustache +37 -0
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +35 -0
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_order.mustache +46 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_order.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +36 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_recommended.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_order.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_performed.mustache +42 -0
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_recommended.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +32 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +39 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +63 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +70 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_order.mustache +64 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_care_experience.mustache +14 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_clinical_trial_participant.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +32 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_payer.mustache +14 -0
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_order.mustache +30 -0
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +45 -0
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_recommended.mustache +30 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_order.mustache +32 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +64 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_recommended.mustache +34 -0
- data/lib/qrda-export/catI-r5/qrda_templates/provider_care_experience.mustache +15 -0
- data/lib/qrda-export/catI-r5/qrda_templates/provider_characteristic.mustache +15 -0
- data/lib/qrda-export/catI-r5/qrda_templates/substance_recommended.mustache +35 -0
- data/lib/qrda-export/catI-r5/qrda_templates/symptom.mustache +48 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +1 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +8 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +13 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_data_element_codes_as_values.mustache +10 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_days_supplied.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +21 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_facility_location.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_immunization_details.mustache +14 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +36 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_supply_request.mustache +17 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_method.mustache +1 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +1 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +8 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reaction_observation.mustache +9 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +12 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +8 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_status.mustache +8 -0
- data/lib/qrda-export/catIII-r2-1/_continuous_variable_value.mustache +17 -0
- data/lib/qrda-export/catIII-r2-1/_header.mustache +25 -0
- data/lib/qrda-export/catIII-r2-1/_measure_data.mustache +41 -0
- data/lib/qrda-export/catIII-r2-1/_measure_section.mustache +74 -0
- data/lib/qrda-export/catIII-r2-1/_reporting_period.mustache +23 -0
- data/lib/qrda-export/catIII-r2-1/_stratification.mustache +29 -0
- data/lib/qrda-export/catIII-r2-1/_supplemental_data.mustache +28 -0
- data/lib/qrda-export/catIII-r2-1/qrda3_r21.mustache +11 -0
- data/lib/qrda-export/catIII-r2-1/qrda3_r21.rb +127 -0
- data/lib/qrda-export/catIII-r2-1/qrda_header/_author.mustache +25 -0
- data/lib/qrda-export/catIII-r2-1/qrda_header/_custodian.mustache +17 -0
- data/lib/qrda-export/catIII-r2-1/qrda_header/_documentation_of_service_event.mustache +88 -0
- data/lib/qrda-export/catIII-r2-1/qrda_header/_legal_authenticator.mustache +25 -0
- data/lib/qrda-export/helper/aggregate_object_helper.rb +154 -0
- data/lib/qrda-export/helper/cat1_view_helper.rb +81 -0
- data/lib/qrda-export/helper/date_helper.rb +108 -0
- data/lib/qrda-export/helper/frequency_helper.rb +83 -0
- data/lib/qrda-export/helper/patient_view_helper.rb +46 -0
- data/lib/qrda-export/helper/view_helper.rb +28 -0
- data/lib/qrda-import/base-importers/demographics_importer.rb +38 -0
- data/lib/qrda-import/base-importers/section_importer.rb +237 -0
- data/lib/qrda-import/cda_identifier.rb +20 -0
- data/lib/qrda-import/data-element-importers/adverse_event_importer.rb +26 -0
- data/lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb +24 -0
- data/lib/qrda-import/data-element-importers/assessment_order_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +24 -0
- data/lib/qrda-import/data-element-importers/assessment_recommended_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/communication_performed_importer.rb +30 -0
- data/lib/qrda-import/data-element-importers/device_applied_importer.rb +22 -0
- data/lib/qrda-import/data-element-importers/device_order_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/device_recommended_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +24 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +32 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_recommended_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +46 -0
- data/lib/qrda-import/data-element-importers/encounter_recommended_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/family_history_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +23 -0
- data/lib/qrda-import/data-element-importers/immunization_order_importer.rb +27 -0
- data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +23 -0
- data/lib/qrda-import/data-element-importers/intervention_recommended_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +29 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_recommended_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/medication_active_importer.rb +25 -0
- data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +26 -0
- data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +32 -0
- data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +37 -0
- data/lib/qrda-import/data-element-importers/medication_order_importer.rb +36 -0
- data/lib/qrda-import/data-element-importers/patient_care_experience_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/patient_characteristic_clinical_trial_participant_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/patient_characteristic_expired_importer.rb +22 -0
- data/lib/qrda-import/data-element-importers/patient_characteristic_payer_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/physical_exam_order_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +27 -0
- data/lib/qrda-import/data-element-importers/physical_exam_recommended_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +23 -0
- data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +33 -0
- data/lib/qrda-import/data-element-importers/procedure_recommended_importer.rb +23 -0
- data/lib/qrda-import/data-element-importers/provider_care_experience_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/provider_characteristic_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +27 -0
- data/lib/qrda-import/data-element-importers/substance_order_importer.rb +29 -0
- data/lib/qrda-import/data-element-importers/substance_recommended_importer.rb +27 -0
- data/lib/qrda-import/data-element-importers/symptom_importer.rb +21 -0
- data/lib/qrda-import/entry_finder.rb +20 -0
- data/lib/qrda-import/entry_package.rb +16 -0
- data/lib/qrda-import/narrative_reference_handler.rb +33 -0
- data/lib/qrda-import/patient_importer.rb +128 -0
- data/lib/util/code_system_helper.rb +77 -0
- data/lib/util/hqmf_template_helper.rb +52 -0
- data/lib/util/hqmf_template_oid_map.json +654 -0
- data/lib/util/hqmfr2_template_oid_map.json +378 -0
- data/lib/util/hqmfr2cql_template_oid_map.json +390 -0
- data/lib/util/qrda_template_helper.rb +20 -0
- data/lib/util/qrdar5_1_template_oid_map.json +406 -0
- data/lib/util/qrdar5_template_oid_map.json +406 -0
- metadata +344 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
<entry>
|
2
|
+
<!--Medication Order -->
|
3
|
+
<substanceAdministration classCode="SBADM" moodCode="RQO" {{{negation_ind}}}>
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.42" extension="2014-06-09"/>
|
5
|
+
<!-- Medication, Order template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.47" extension="2018-10-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<text>{{description}}</text>
|
9
|
+
<statusCode code="active"/>
|
10
|
+
{{#relevantPeriod}}
|
11
|
+
<!-- QDM Attribute: Relevant Period -->
|
12
|
+
{{{medication_duration_effective_time}}}
|
13
|
+
{{/relevantPeriod}}
|
14
|
+
{{^relevantPeriod}}
|
15
|
+
{{#authorDatetime}}
|
16
|
+
<!-- QDM Attribute: Relevant Period -->
|
17
|
+
{{{medication_duration_author_effective_time}}}
|
18
|
+
{{/authorDatetime}}
|
19
|
+
{{/relevantPeriod}}
|
20
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
21
|
+
<consumable>
|
22
|
+
<manufacturedProduct classCode="MANU">
|
23
|
+
<!-- Medication Information (consolidation) template -->
|
24
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
25
|
+
<id root="{{random_id}}"/>
|
26
|
+
<manufacturedMaterial>
|
27
|
+
<!-- QDM Attribute: Code -->
|
28
|
+
{{> _codes}}
|
29
|
+
</manufacturedMaterial>
|
30
|
+
</manufacturedProduct>
|
31
|
+
</consumable>
|
32
|
+
{{#authorDatetime}}
|
33
|
+
<!-- QDM Attribute: Author dateTime -->
|
34
|
+
{{> qrda_templates/template_partials/_author}}
|
35
|
+
{{/authorDatetime}}
|
36
|
+
{{#setting}}
|
37
|
+
<participant typeCode="LOC">
|
38
|
+
<participantRole>
|
39
|
+
<!-- QDM Attribute: Setting -->
|
40
|
+
<code {{> _code}}/>
|
41
|
+
</participantRole>
|
42
|
+
</participant>
|
43
|
+
{{/setting}}
|
44
|
+
{{#reason}}
|
45
|
+
<!-- QDM Attribute: Reason -->
|
46
|
+
{{> qrda_templates/template_partials/_reason}}
|
47
|
+
{{/reason}}
|
48
|
+
{{#negationRationale}}
|
49
|
+
<!-- QDM Attribute: Negation Rationale -->
|
50
|
+
{{> qrda_templates/template_partials/_reason}}
|
51
|
+
{{/negationRationale}}
|
52
|
+
{{#daysSupplied}}
|
53
|
+
<entryRelationship typeCode="REFR">
|
54
|
+
{{> qrda_templates/template_partials/_days_supplied}}
|
55
|
+
</entryRelationship>
|
56
|
+
{{/daysSupplied}}
|
57
|
+
{{#supply}}
|
58
|
+
<!-- QDM Attribute: Supply -->
|
59
|
+
<entryRelationship typeCode="REFR">
|
60
|
+
{{> qrda_templates/template_partials/_medication_supply_request}}
|
61
|
+
</entryRelationship>
|
62
|
+
{{/supply}}
|
63
|
+
</substanceAdministration>
|
64
|
+
</entry>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Patient Care Experience (V4) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.48" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="77218-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient satisfaction with healthcare delivery"/>
|
7
|
+
<statusCode code="completed"/>
|
8
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
9
|
+
{{#authorDatetime}}
|
10
|
+
<!-- QDM Attribute: Author dateTime -->
|
11
|
+
{{> qrda_templates/template_partials/_author}}
|
12
|
+
{{/authorDatetime}}
|
13
|
+
</observation>
|
14
|
+
</entry>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Patient Characteristic Clinical Trial Participant (V4) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.51" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
|
7
|
+
<statusCode code="active"/>
|
8
|
+
{{#relevantPeriod}}
|
9
|
+
<!-- QDM Attribute: Relevant Period -->
|
10
|
+
{{{relevant_period}}}
|
11
|
+
{{/relevantPeriod}}
|
12
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
13
|
+
{{#reason}}
|
14
|
+
<!-- QDM Attribute: Reason -->
|
15
|
+
{{> qrda_templates/template_partials/_reason}}
|
16
|
+
{{/reason}}
|
17
|
+
</observation>
|
18
|
+
</entry>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- C-CDA R2.1 Deceased Observation (V3) templateId -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.79" extension="2015-08-01" />
|
5
|
+
<!-- Patient Characteristic Expired (V3) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.54" extension="2016-02-01" />
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7ActCode" />
|
9
|
+
<statusCode code="completed" />
|
10
|
+
{{#expiredDatetime}}
|
11
|
+
<!-- QDM Attributes: expiredDatetime -->
|
12
|
+
{{{expired_date_time}}}
|
13
|
+
{{/expiredDatetime}}
|
14
|
+
<value xsi:type="CD" code="419099009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Dead" />
|
15
|
+
{{#cause}}
|
16
|
+
<!-- QDM Attribute: Cause -->
|
17
|
+
<entryRelationship typeCode="CAUS" negationInd="false">
|
18
|
+
<observation classCode="OBS" moodCode="EVN">
|
19
|
+
<!-- C-CDA R2.1 Problem Observation (V3) -->
|
20
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01" />
|
21
|
+
<id root="{{random_id}}"/>
|
22
|
+
<code code="64572001" displayName="Condition" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
|
23
|
+
<translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
|
24
|
+
</code>
|
25
|
+
<statusCode code="completed" />
|
26
|
+
{{{expired_date_time}}}
|
27
|
+
<value {{> _code}} xsi:type="CD"/>
|
28
|
+
</observation>
|
29
|
+
</entryRelationship>
|
30
|
+
{{/cause}}
|
31
|
+
</observation>
|
32
|
+
</entry>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<entry>
|
2
|
+
<!-- Patient Characteristic Payer -->
|
3
|
+
<observation classCode="OBS" moodCode="EVN">
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.55"/>
|
5
|
+
<id root="{{random_id}}"/>
|
6
|
+
<code code="48768-6" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1" displayName="Payment source"/>
|
7
|
+
<statusCode code="completed"/>
|
8
|
+
{{#relevantPeriod}}
|
9
|
+
<!-- QDM Attribute: Relevant Period -->
|
10
|
+
{{{relevant_period}}}
|
11
|
+
{{/relevantPeriod}}
|
12
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
13
|
+
</observation>
|
14
|
+
</entry>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="RQO" {{{negation_ind}}}>
|
3
|
+
<!-- Conforms to C-CDA R2.1 Planned Observation (V2) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
|
+
<!-- Physical Exam Order (V4) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.58" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" displayName="physical examination" codeSystemName="LOINC"/>
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="active"/>
|
11
|
+
<!-- QDM Attribute: Code -->
|
12
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
13
|
+
{{#anatomicalLocationSite}}
|
14
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
15
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
16
|
+
{{/anatomicalLocationSite}}
|
17
|
+
{{#authorDatetime}}
|
18
|
+
<!-- QDM Attribute: Author dateTime -->
|
19
|
+
{{> qrda_templates/template_partials/_author}}
|
20
|
+
{{/authorDatetime}}
|
21
|
+
{{#reason}}
|
22
|
+
<!-- QDM Attribute: Reason -->
|
23
|
+
{{> qrda_templates/template_partials/_reason}}
|
24
|
+
{{/reason}}
|
25
|
+
{{#negationRationale}}
|
26
|
+
<!-- QDM Attribute: Negation Rationale -->
|
27
|
+
{{> qrda_templates/template_partials/_reason}}
|
28
|
+
{{/negationRationale}}
|
29
|
+
</observation>
|
30
|
+
</entry>
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Procedure Activity Procedure (Consolidation) template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.13" extension="2014-06-09"/>
|
5
|
+
<!-- Physical Exam, Performed template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.59" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<!-- QDM Attribute: Code -->
|
9
|
+
{{> _codes}}
|
10
|
+
<text>{{description}}</text>
|
11
|
+
<statusCode code="completed"/>
|
12
|
+
{{#relevantPeriod}}
|
13
|
+
<!-- QDM Attribute: Relevant Period -->
|
14
|
+
{{{relevant_period}}}
|
15
|
+
{{/relevantPeriod}}
|
16
|
+
{{#result}}
|
17
|
+
<!-- QDM Attribute: Result -->
|
18
|
+
{{{result_value}}}
|
19
|
+
{{/result}}
|
20
|
+
{{#method}}
|
21
|
+
<!-- QDM Attribute: Method -->
|
22
|
+
{{> qrda_templates/template_partials/_method}}
|
23
|
+
{{/method}}
|
24
|
+
{{#anatomicalLocationSite}}
|
25
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
26
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
27
|
+
{{/anatomicalLocationSite}}
|
28
|
+
{{#authorDatetime}}
|
29
|
+
<!-- QDM Attribute: Author dateTime -->
|
30
|
+
{{> qrda_templates/template_partials/_author}}
|
31
|
+
{{/authorDatetime}}
|
32
|
+
{{#reason}}
|
33
|
+
<!-- QDM Attribute: Reason -->
|
34
|
+
{{> qrda_templates/template_partials/_reason}}
|
35
|
+
{{/reason}}
|
36
|
+
{{#negationRationale}}
|
37
|
+
<!-- QDM Attribute: Negation Rationale -->
|
38
|
+
{{> qrda_templates/template_partials/_reason}}
|
39
|
+
{{/negationRationale}}
|
40
|
+
{{#components}}
|
41
|
+
<!-- QDM Attribute: Components -->
|
42
|
+
{{> qrda_templates/template_partials/_component}}
|
43
|
+
{{/components}}
|
44
|
+
</observation>
|
45
|
+
</entry>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="INT" {{{negation_ind}}}>
|
3
|
+
<!-- Conforms to C-CDA R2.1 Planned Observation (V2) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
|
+
<!-- Physical Exam Recommeded (V4) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.60" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="29545-1" codeSystem="2.16.840.1.113883.6.1" displayName="physical examination" codeSystemName="LOINC"/>
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="active"/>
|
11
|
+
<!-- QDM Attribute: Code -->
|
12
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
13
|
+
{{#anatomicalLocationSite}}
|
14
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
15
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
16
|
+
{{/anatomicalLocationSite}}
|
17
|
+
{{#authorDatetime}}
|
18
|
+
<!-- QDM Attribute: Author dateTime -->
|
19
|
+
{{> qrda_templates/template_partials/_author}}
|
20
|
+
{{/authorDatetime}}
|
21
|
+
{{#reason}}
|
22
|
+
<!-- QDM Attribute: Reason -->
|
23
|
+
{{> qrda_templates/template_partials/_reason}}
|
24
|
+
{{/reason}}
|
25
|
+
{{#negationRationale}}
|
26
|
+
<!-- QDM Attribute: Negation Rationale -->
|
27
|
+
{{> qrda_templates/template_partials/_reason}}
|
28
|
+
{{/negationRationale}}
|
29
|
+
</observation>
|
30
|
+
</entry>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<entry>
|
2
|
+
<procedure classCode="PROC" moodCode="RQO" {{{negation_ind}}}>
|
3
|
+
<!-- Consolidated Plan of Care Activity Procedure TemplateId (Implied Template) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.41" extension="2014-06-09"/>
|
5
|
+
<!-- QRDA Procedure, Order TemplateId -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.63" extension="2018-10-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
{{> _codes}}
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="active"/>
|
11
|
+
{{#ordinality}}
|
12
|
+
<!-- QDM Attribute: Ordinality -->
|
13
|
+
{{> qrda_templates/template_partials/_ordinality}}
|
14
|
+
{{/ordinality}}
|
15
|
+
{{#anatomicalLocationSite}}
|
16
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
17
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
18
|
+
{{/anatomicalLocationSite}}
|
19
|
+
{{#authorDatetime}}
|
20
|
+
<!-- QDM Attribute: Author dateTime -->
|
21
|
+
{{> qrda_templates/template_partials/_author}}
|
22
|
+
{{/authorDatetime}}
|
23
|
+
{{#reason}}
|
24
|
+
<!-- QDM Attribute: Reason -->
|
25
|
+
{{> qrda_templates/template_partials/_reason}}
|
26
|
+
{{/reason}}
|
27
|
+
{{#negationRationale}}
|
28
|
+
<!-- QDM Attribute: Negation Rationale -->
|
29
|
+
{{> qrda_templates/template_partials/_reason}}
|
30
|
+
{{/negationRationale}}
|
31
|
+
</procedure>
|
32
|
+
</entry>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<entry>
|
2
|
+
<procedure classCode="PROC" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Procedure performed template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.64" extension="2018-10-01"/>
|
5
|
+
<!-- Procedure Activity Procedure-->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
{{> _codes}}
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="completed"/>
|
11
|
+
{{#relevantPeriod}}
|
12
|
+
<!-- QDM Attribute: Relevant Period -->
|
13
|
+
{{{relevant_period}}}
|
14
|
+
{{/relevantPeriod}}
|
15
|
+
{{#ordinality}}
|
16
|
+
<!-- QDM Attribute: Ordinality -->
|
17
|
+
{{> qrda_templates/template_partials/_ordinality}}
|
18
|
+
{{/ordinality}}
|
19
|
+
{{#method}}
|
20
|
+
<!-- QDM Attribute: Method -->
|
21
|
+
{{> qrda_templates/template_partials/_method}}
|
22
|
+
{{/method}}
|
23
|
+
{{#anatomicalLocationSite}}
|
24
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
25
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
26
|
+
{{/anatomicalLocationSite}}
|
27
|
+
{{#authorDatetime}}
|
28
|
+
<!-- QDM Attribute: Author dateTime -->
|
29
|
+
{{> qrda_templates/template_partials/_author}}
|
30
|
+
{{/authorDatetime}}
|
31
|
+
{{#reason}}
|
32
|
+
<!-- QDM Attribute: Reason -->
|
33
|
+
{{> qrda_templates/template_partials/_reason}}
|
34
|
+
{{/reason}}
|
35
|
+
{{#negationRationale}}
|
36
|
+
<!-- QDM Attribute: Negation Rationale -->
|
37
|
+
{{> qrda_templates/template_partials/_reason}}
|
38
|
+
{{/negationRationale}}
|
39
|
+
{{#incisionDatetime}}
|
40
|
+
<entryRelationship typeCode="REFR">
|
41
|
+
<procedure classCode="PROC" moodCode="EVN">
|
42
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.89"/>
|
43
|
+
<id root="1.3.6.1.4.1.115" extension="{{random_id}}"/>
|
44
|
+
<code code="34896006" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="incision"/>
|
45
|
+
<!-- QDM Attribute: Incision Datetime -->
|
46
|
+
{{{incision_datetime}}}
|
47
|
+
</procedure>
|
48
|
+
</entryRelationship>
|
49
|
+
{{/incisionDatetime}}
|
50
|
+
{{#result}}
|
51
|
+
<!-- QDM Attribute: Result -->
|
52
|
+
{{> qrda_templates/template_partials/_results}}
|
53
|
+
{{/result}}
|
54
|
+
{{#status}}
|
55
|
+
<!-- QDM Attribute: Status -->
|
56
|
+
{{> qrda_templates/template_partials/_status}}
|
57
|
+
{{/status}}
|
58
|
+
{{#components}}
|
59
|
+
<!-- QDM Attribute: Components -->
|
60
|
+
{{> qrda_templates/template_partials/_component}}
|
61
|
+
{{/components}}
|
62
|
+
</procedure>
|
63
|
+
</entry>
|
64
|
+
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<entry>
|
2
|
+
<procedure classCode="PROC" moodCode="INT" {{{negation_ind}}}>
|
3
|
+
<!-- Conforms to C-CDA R2.1 Planned Procedure (V2) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.41" extension="2014-06-09"/>
|
5
|
+
<!-- Procedure Recommended (V5) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.65" extension="2018-10-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<!-- QDM Attribute: Code -->
|
9
|
+
{{> _codes}}
|
10
|
+
<text>{{description}}</text>
|
11
|
+
<statusCode code="active"/>
|
12
|
+
{{#ordinality}}
|
13
|
+
<!-- QDM Attribute: Ordinality -->
|
14
|
+
{{> qrda_templates/template_partials/_ordinality}}
|
15
|
+
{{/ordinality}}
|
16
|
+
{{#anatomicalLocationSite}}
|
17
|
+
<!-- QDM Attribute: Anatomical Location Site -->
|
18
|
+
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
19
|
+
{{/anatomicalLocationSite}}
|
20
|
+
{{#authorDatetime}}
|
21
|
+
<!-- QDM Attribute: Author dateTime -->
|
22
|
+
{{> qrda_templates/template_partials/_author}}
|
23
|
+
{{/authorDatetime}}
|
24
|
+
{{#reason}}
|
25
|
+
<!-- QDM Attribute: Reason -->
|
26
|
+
{{> qrda_templates/template_partials/_reason}}
|
27
|
+
{{/reason}}
|
28
|
+
{{#negationRationale}}
|
29
|
+
<!-- QDM Attribute: Negation Rationale -->
|
30
|
+
{{> qrda_templates/template_partials/_reason}}
|
31
|
+
{{/negationRationale}}
|
32
|
+
</procedure>
|
33
|
+
</entry>
|
34
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Provider Care Experience (V4) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.67" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="77219-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Provider satisfaction with healthcare delivery"/>
|
7
|
+
<statusCode code="completed" />
|
8
|
+
<!-- QDM Attribute: Code -->
|
9
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
10
|
+
{{#authorDatetime}}
|
11
|
+
<!-- QDM Attribute: Author dateTime -->
|
12
|
+
{{> qrda_templates/template_partials/_author}}
|
13
|
+
{{/authorDatetime}}
|
14
|
+
</observation>
|
15
|
+
</entry>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Provider Characteristic Observation Assertion (V3) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.114" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7ActCode" />
|
7
|
+
<statusCode code="completed" />
|
8
|
+
<!-- Provider Characteristic -->
|
9
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
10
|
+
{{#authorDatetime}}
|
11
|
+
<!-- QDM Attribute: Author dateTime -->
|
12
|
+
{{> qrda_templates/template_partials/_author}}
|
13
|
+
{{/authorDatetime}}
|
14
|
+
</observation>
|
15
|
+
</entry>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<entry>
|
2
|
+
<substanceAdministration classCode="SBADM" moodCode="INT" {{{negation_ind}}}>
|
3
|
+
<!-- Conforms to C-CDA R2.1 Planned Medication Activity (V2) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.42" extension="2014-06-09"/>
|
5
|
+
<!-- Substance Recommended (V4) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.75" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<statusCode code="active"/>
|
9
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
10
|
+
<consumable>
|
11
|
+
<manufacturedProduct classCode="MANU">
|
12
|
+
<!-- Medication Information (consolidation) template -->
|
13
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
14
|
+
<id root="{{random_id}}"/>
|
15
|
+
<manufacturedMaterial>
|
16
|
+
<!-- QDM Attribute: Code -->
|
17
|
+
{{> _codes}}
|
18
|
+
</manufacturedMaterial>
|
19
|
+
</manufacturedProduct>
|
20
|
+
</consumable>
|
21
|
+
{{#authorDatetime}}
|
22
|
+
<!-- QDM Attribute: Author dateTime -->
|
23
|
+
{{> qrda_templates/template_partials/_author}}
|
24
|
+
{{/authorDatetime}}
|
25
|
+
{{#reason}}
|
26
|
+
<!-- QDM Attribute: Reason -->
|
27
|
+
{{> qrda_templates/template_partials/_reason}}
|
28
|
+
{{/reason}}
|
29
|
+
{{#negationRationale}}
|
30
|
+
<!-- QDM Attribute: Negation Rationale -->
|
31
|
+
{{> qrda_templates/template_partials/_reason}}
|
32
|
+
{{/negationRationale}}
|
33
|
+
</substanceAdministration>
|
34
|
+
</entry>
|
35
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="EVN">
|
3
|
+
<!-- Conforms to C-CDA 2.1 Problem Concern Act (V3) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/>
|
5
|
+
<!-- Symptom Concern Act (V3) -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.138" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/>
|
9
|
+
{{#prevalencePeriod}}
|
10
|
+
{{#completed_prevalence_period}}
|
11
|
+
<statusCode code="completed" />
|
12
|
+
{{/completed_prevalence_period}}
|
13
|
+
{{^completed_prevalence_period}}
|
14
|
+
<statusCode code="active" />
|
15
|
+
{{/completed_prevalence_period}}
|
16
|
+
{{{prevalence_period}}}
|
17
|
+
{{/prevalencePeriod}}
|
18
|
+
<entryRelationship typeCode="SUBJ">
|
19
|
+
<observation classCode="OBS" moodCode="EVN">
|
20
|
+
<!-- Conforms to C-CDA R2.1 Problem Observation (V3) -->
|
21
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/>
|
22
|
+
<!-- Symptom (V2) -->
|
23
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.136" extension="2017-08-01"/>
|
24
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
25
|
+
<code code="75325-1" codeSystem="2.16.840.1.113883.6.1">
|
26
|
+
<translation code="418799008" displayName="Symptom" codeSystem="2.16.840.1.113883.6.96"/>
|
27
|
+
</code>
|
28
|
+
{{#prevalencePeriod}}
|
29
|
+
{{#completed_prevalence_period}}
|
30
|
+
<statusCode code="completed" />
|
31
|
+
{{/completed_prevalence_period}}
|
32
|
+
{{^completed_prevalence_period}}
|
33
|
+
<statusCode code="active" />
|
34
|
+
{{/completed_prevalence_period}}
|
35
|
+
<!-- QDM Attribute: Prevalence Period -->
|
36
|
+
{{{prevalence_period}}}
|
37
|
+
{{/prevalencePeriod}}
|
38
|
+
<!-- QDM Attribute: Code -->
|
39
|
+
{{> qrda_templates/template_partials/_data_element_codes_as_values}}
|
40
|
+
{{#severity}}
|
41
|
+
<!-- QDM Attribute: Severity -->
|
42
|
+
{{> qrda_templates/template_partials/_severity}}
|
43
|
+
{{/severity}}
|
44
|
+
</observation>
|
45
|
+
</entryRelationship>
|
46
|
+
</act>
|
47
|
+
</entry>
|
48
|
+
|
data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<targetSiteCode {{> _code}}/>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<author>
|
2
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.155" extension="2017-08-01"/>
|
3
|
+
{{#authorDatetime}}
|
4
|
+
{{{author_time}}}
|
5
|
+
{{/authorDatetime}}
|
6
|
+
<assignedAuthor>
|
7
|
+
{{#display_author_dispenser_id?}}
|
8
|
+
{{#dispenserId}}
|
9
|
+
{{{id_or_null_flavor}}}
|
10
|
+
{{/dispenserId}}
|
11
|
+
{{^dispenserId}}
|
12
|
+
<id nullFlavor="NA"/>
|
13
|
+
{{/dispenserId}}
|
14
|
+
{{/display_author_dispenser_id?}}
|
15
|
+
{{^display_author_dispenser_id?}}
|
16
|
+
{{#display_author_prescriber_id?}}
|
17
|
+
{{#prescriberId}}
|
18
|
+
{{{id_or_null_flavor}}}
|
19
|
+
{{/prescriberId}}
|
20
|
+
{{^prescriberId}}
|
21
|
+
<id nullFlavor="NA"/>
|
22
|
+
{{/prescriberId}}
|
23
|
+
{{/display_author_prescriber_id?}}
|
24
|
+
{{^display_author_prescriber_id?}}
|
25
|
+
<id nullFlavor="NA"/>
|
26
|
+
{{/display_author_prescriber_id?}}
|
27
|
+
{{/display_author_dispenser_id?}}
|
28
|
+
</assignedAuthor>
|
29
|
+
</author>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<entryRelationship typeCode="REFR">
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Component -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.149" extension="2017-08-01" />
|
5
|
+
<id root="{{random_id}}"/>
|
6
|
+
{{#code}}
|
7
|
+
<!-- QDM Attribute: Code -->
|
8
|
+
<code {{> _code}}/>
|
9
|
+
{{/code}}
|
10
|
+
<!-- QDM Attribute: Result -->
|
11
|
+
{{{result_value}}}
|
12
|
+
</observation>
|
13
|
+
</entryRelationship>
|
data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_data_element_codes_as_values.mustache
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
{{#multiple_codes?}}
|
2
|
+
<value xsi:type="CD" {{{primary_code_and_codesystem}}}>
|
3
|
+
{{{translation_codes_and_codesystem_list}}}
|
4
|
+
</value>
|
5
|
+
{{/multiple_codes?}}
|
6
|
+
{{^multiple_codes?}}
|
7
|
+
{{#dataElementCodes}}
|
8
|
+
<value xsi:type="CD" {{> _code}}/>
|
9
|
+
{{/dataElementCodes}}
|
10
|
+
{{/multiple_codes?}}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<entryRelationship typeCode="REFR">
|
2
|
+
<act classCode="ACT" moodCode="EVN">
|
3
|
+
<templateId extension="2015-08-01" root="2.16.840.1.113883.10.20.22.4.80"/>
|
4
|
+
<code code="29308-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Diagnosis"/>
|
5
|
+
<entryRelationship typeCode="SUBJ">
|
6
|
+
<observation classCode="OBS" moodCode="EVN">
|
7
|
+
<!-- Problem observation template -->
|
8
|
+
<templateId extension="2015-08-01" root="2.16.840.1.113883.10.20.22.4.4"/>
|
9
|
+
<id root="{{random_id}}"/>
|
10
|
+
<code code="29308-4" codeSystem="2.16.840.1.113883.6.1">
|
11
|
+
<translation code="282291009" codeSystem="2.16.840.1.113883.6.96"/>
|
12
|
+
</code>
|
13
|
+
<statusCode code="completed"/>
|
14
|
+
{{#relevantPeriod}}
|
15
|
+
{{{relevant_period}}}
|
16
|
+
{{/relevantPeriod}}
|
17
|
+
<value {{> _code}} xsi:type="CD"/>
|
18
|
+
</observation>
|
19
|
+
</entryRelationship>
|
20
|
+
</act>
|
21
|
+
</entryRelationship>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<participant typeCode="LOC">
|
2
|
+
<!-- Facility Location template -->
|
3
|
+
<templateId extension="2017-08-01" root="2.16.840.1.113883.10.20.24.3.100"/>
|
4
|
+
<!-- QDM Attribute: Location Period -->
|
5
|
+
<time>
|
6
|
+
{{{facility_period}}}
|
7
|
+
</time>
|
8
|
+
<participantRole classCode="SDLOC">
|
9
|
+
{{#code}}
|
10
|
+
<code {{> _code}}/>
|
11
|
+
{{/code}}
|
12
|
+
<addr>
|
13
|
+
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
14
|
+
<city>Bedford</city>
|
15
|
+
<state>MA</state>
|
16
|
+
<postalCode>01730</postalCode>
|
17
|
+
<country>US</country>
|
18
|
+
</addr>
|
19
|
+
<telecom use="WP" value="tel:(781)271-3000"/>
|
20
|
+
<playingEntity classCode="PLC">
|
21
|
+
<name>Cypress Test Deck</name>
|
22
|
+
</playingEntity>
|
23
|
+
</participantRole>
|
24
|
+
</participant>
|