cqm-parsers 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hqmf-model/data_criteria.json +1046 -0
- data/lib/hqmf-parser/1.0/data_criteria_oid_xpath.json +91 -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/_values.mustache +10 -0
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +137 -0
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +20 -0
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +17 -0
- data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +80 -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 +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +28 -0
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +28 -0
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +32 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +41 -0
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_aministered.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +22 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +35 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +55 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +39 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +16 -0
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +44 -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 +7 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +16 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +3 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +11 -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/_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 +21 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +8 -0
- data/lib/tasks/hqmf.rake +170 -0
- data/lib/util/hqmf_template_oid_map.json +674 -0
- data/lib/util/hqmfr2_template_oid_map.json +390 -0
- data/lib/util/hqmfr2cql_template_oid_map.json +390 -0
- metadata +64 -1
@@ -0,0 +1,29 @@
|
|
1
|
+
<entry>
|
2
|
+
<substanceAdministration classCode="SBADM" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Immunization Activity template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2014-06-09"/>
|
5
|
+
<!-- Immunization, Administered template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.140" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
|
9
|
+
<statusCode code="completed"/>
|
10
|
+
{{#authorDatetime}}
|
11
|
+
{{{author_effective_time}}}
|
12
|
+
{{/authorDatetime}}
|
13
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
14
|
+
<consumable>
|
15
|
+
<manufacturedProduct classCode="MANU">
|
16
|
+
<!-- Immunization Information (consolidation) template -->
|
17
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
|
18
|
+
<id root="{{random_id}}"/>
|
19
|
+
<manufacturedMaterial>
|
20
|
+
{{> _codes}}
|
21
|
+
<lotNumberText>1</lotNumberText>
|
22
|
+
</manufacturedMaterial>
|
23
|
+
</manufacturedProduct>
|
24
|
+
</consumable>
|
25
|
+
{{#negationRationale}}
|
26
|
+
{{> qrda_templates/template_partials/_reason}}
|
27
|
+
{{/negationRationale}}
|
28
|
+
</substanceAdministration>
|
29
|
+
</entry>
|
@@ -0,0 +1,11 @@
|
|
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
|
+
{{{insurance_provider_period}}}
|
9
|
+
<value xsi:type="CD" {{{insurance_provider_code_and_code_system}}} sdtc:valueSet="2.16.840.1.114222.4.11.3591"/>
|
10
|
+
</observation>
|
11
|
+
</entry>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
3
|
+
<!-- Plan of Care Activity Act template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.39" extension="2014-06-09"/>
|
5
|
+
<!-- Intervention Order template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.31" extension="2017-08-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
|
+
{{#authorDatetime}}
|
12
|
+
{{> qrda_templates/template_partials/_author}}
|
13
|
+
{{/authorDatetime}}
|
14
|
+
{{#negationRationale}}
|
15
|
+
{{> qrda_templates/template_partials/_reason}}
|
16
|
+
{{/negationRationale}}
|
17
|
+
</act>
|
18
|
+
</entry>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Consolidation CDA: Procedure Activity Act template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.12" extension="2014-06-09"/>
|
5
|
+
<!-- Intervention Performed Template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.32" extension="2017-08-01"/>
|
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
|
+
{{{relevant_period}}}
|
13
|
+
{{/relevantPeriod}}
|
14
|
+
{{#authorDatetime}}
|
15
|
+
{{> qrda_templates/template_partials/_author}}
|
16
|
+
{{/authorDatetime}}
|
17
|
+
{{#negationRationale}}
|
18
|
+
{{> qrda_templates/template_partials/_reason}}
|
19
|
+
{{/negationRationale}}
|
20
|
+
{{#result}}
|
21
|
+
{{> qrda_templates/template_partials/_results}}
|
22
|
+
{{/result}}
|
23
|
+
|
24
|
+
</act>
|
25
|
+
</entry>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="RQO" {{{negation_ind}}}>
|
3
|
+
<!-- Consolidation Plan of Care Activity Observation -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
|
+
<!-- Lab Test Order -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.37" extension="2017-08-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
|
+
{{#authorDatetime}}
|
12
|
+
{{> qrda_templates/template_partials/_author}}
|
13
|
+
{{/authorDatetime}}
|
14
|
+
{{#negationRationale}}
|
15
|
+
{{> qrda_templates/template_partials/_reason}}
|
16
|
+
{{/negationRationale}}
|
17
|
+
</observation>
|
18
|
+
</entry>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Lab test performed -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.38" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
{{> _codes}}
|
7
|
+
<text>{{description}}</text>
|
8
|
+
<statusCode code="completed"/>
|
9
|
+
{{#relevantPeriod}}
|
10
|
+
{{{relevant_period}}}
|
11
|
+
{{/relevantPeriod}}
|
12
|
+
{{#authorDatetime}}
|
13
|
+
{{> qrda_templates/template_partials/_author}}
|
14
|
+
{{/authorDatetime}}
|
15
|
+
{{#negationRationale}}
|
16
|
+
{{> qrda_templates/template_partials/_reason}}
|
17
|
+
{{/negationRationale}}
|
18
|
+
{{#result}}
|
19
|
+
{{> qrda_templates/template_partials/_results}}
|
20
|
+
{{/result}}
|
21
|
+
</observation>
|
22
|
+
</entry>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<entry>
|
2
|
+
<substanceAdministration classCode="SBADM" moodCode="EVN">
|
3
|
+
<!-- Medication Activity (consolidation) template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
5
|
+
<!-- Medication, Active template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.41" extension="2017-08-01"/>
|
7
|
+
|
8
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="active"/>
|
11
|
+
{{#relevantPeriod}}
|
12
|
+
{{{medication_duration_effective_time}}}
|
13
|
+
{{/relevantPeriod}}
|
14
|
+
{{#frequency}}
|
15
|
+
{{> qrda_templates/template_partials/_medication_frequency}}
|
16
|
+
{{/frequency}}
|
17
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
18
|
+
|
19
|
+
<consumable>
|
20
|
+
<manufacturedProduct classCode="MANU">
|
21
|
+
<!-- Medication Information (consolidation) template -->
|
22
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
23
|
+
<id root="{{random_id}}"/>
|
24
|
+
<manufacturedMaterial>
|
25
|
+
{{> _codes}}
|
26
|
+
</manufacturedMaterial>
|
27
|
+
<manufacturerOrganization>
|
28
|
+
<name>Medication Factory Inc.</name>
|
29
|
+
</manufacturerOrganization>
|
30
|
+
</manufacturedProduct>
|
31
|
+
</consumable>
|
32
|
+
|
33
|
+
</substanceAdministration>
|
34
|
+
|
35
|
+
</entry>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<entry>
|
2
|
+
<substanceAdministration classCode="SBADM" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Medication Activity (consolidation) template -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
5
|
+
<!-- Medication, Administered template -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.42" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
|
9
|
+
<statusCode code="completed"/>
|
10
|
+
{{#relevantPeriod}}
|
11
|
+
{{{medication_duration_effective_time}}}
|
12
|
+
{{/relevantPeriod}}
|
13
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
14
|
+
<consumable>
|
15
|
+
<manufacturedProduct classCode="MANU">
|
16
|
+
<!-- Medication Information (consolidation) template -->
|
17
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
18
|
+
<id root="{{random_id}}"/>
|
19
|
+
<manufacturedMaterial>
|
20
|
+
{{> _codes}}
|
21
|
+
</manufacturedMaterial>
|
22
|
+
</manufacturedProduct>
|
23
|
+
</consumable>
|
24
|
+
{{#authorDatetime}}
|
25
|
+
{{> qrda_templates/template_partials/_author_participation}}
|
26
|
+
{{/authorDatetime}}
|
27
|
+
{{#negationRationale}}
|
28
|
+
{{> qrda_templates/template_partials/_reason}}
|
29
|
+
{{/negationRationale}}
|
30
|
+
</substanceAdministration>
|
31
|
+
</entry>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
3
|
+
<!-- Discharge Medication Entry -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.105" extension="2016-02-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="75311-1"
|
7
|
+
codeSystem="2.16.840.1.113883.6.1"
|
8
|
+
codeSystemName="LOINC"
|
9
|
+
displayName="Discharge medications"/>
|
10
|
+
<statusCode code="active"/>
|
11
|
+
<entryRelationship typeCode="SUBJ">
|
12
|
+
<substanceAdministration moodCode="EVN" classCode="SBADM">
|
13
|
+
<!-- Medication Activity (consolidation) template -->
|
14
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
15
|
+
<!-- Medication, Active template -->
|
16
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.41" extension="2016-02-01"/>
|
17
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
18
|
+
<text>{{description}}</text>
|
19
|
+
<statusCode code="active"/>
|
20
|
+
{{#relevantPeriod}}
|
21
|
+
{{{medication_duration_effective_time}}}
|
22
|
+
{{/relevantPeriod}}
|
23
|
+
{{^relevantPeriod}}
|
24
|
+
{{#authorDatetime}}
|
25
|
+
{{{author_effective_time}}}
|
26
|
+
{{/authorDatetime}}
|
27
|
+
{{/relevantPeriod}}
|
28
|
+
{{#frequency}}
|
29
|
+
{> qrda_templates/template_partials/_medication_frequency}}
|
30
|
+
{{/frequency}}
|
31
|
+
{{> qrda_templates/template_partials/_medication_details}}
|
32
|
+
|
33
|
+
<consumable>
|
34
|
+
<manufacturedProduct classCode="MANU">
|
35
|
+
<!-- Medication Information (consolidation) template -->
|
36
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
37
|
+
<id root="{{random_id}}"/>
|
38
|
+
<manufacturedMaterial>
|
39
|
+
{{> _codes}}
|
40
|
+
</manufacturedMaterial>
|
41
|
+
<manufacturerOrganization>
|
42
|
+
<name>Medication Factory Inc.</name>
|
43
|
+
</manufacturerOrganization>
|
44
|
+
</manufacturedProduct>
|
45
|
+
</consumable>
|
46
|
+
{{#authorDatetime}}
|
47
|
+
{{> qrda_templates/template_partials/_author_participation}}
|
48
|
+
{{/authorDatetime}}
|
49
|
+
</substanceAdministration>
|
50
|
+
</entryRelationship>
|
51
|
+
{{#negationRationale}}
|
52
|
+
{{> qrda_templates/template_partials/_reason}}
|
53
|
+
{{/negationRationale}}
|
54
|
+
</act>
|
55
|
+
</entry>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Medication Dispensed Act -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.139" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="supply" codeSystemName="ActClass"/>
|
7
|
+
<entryRelationship typeCode="SUBJ">
|
8
|
+
<!--Medication dispensed -->
|
9
|
+
<supply classCode="SPLY" moodCode="EVN">
|
10
|
+
<!-- Medication Dispensed template -->
|
11
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.45" extension="2017-08-01"/>
|
12
|
+
<!-- Medication Dispense template -->
|
13
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.18" extension="2014-06-09"/>
|
14
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
15
|
+
<text>{{description}}</text>
|
16
|
+
<statusCode code="completed"/>
|
17
|
+
{{#relevantPeriod}}
|
18
|
+
{{{medication_duration_effective_time}}}
|
19
|
+
{{/relevantPeriod}}
|
20
|
+
<product>
|
21
|
+
<manufacturedProduct classCode="MANU">
|
22
|
+
<!-- Medication Information (consolidation) template -->
|
23
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
|
24
|
+
<id root="{{random_id}}"/>
|
25
|
+
<manufacturedMaterial>
|
26
|
+
{{> _codes}}
|
27
|
+
</manufacturedMaterial>
|
28
|
+
</manufacturedProduct>
|
29
|
+
</product>
|
30
|
+
{{#authorDatetime}}
|
31
|
+
{{> qrda_templates/template_partials/_author}}
|
32
|
+
{{/authorDatetime}}
|
33
|
+
</supply>
|
34
|
+
</entryRelationship>
|
35
|
+
{{#negationRationale}}
|
36
|
+
{{> qrda_templates/template_partials/_reason}}
|
37
|
+
{{/negationRationale}}
|
38
|
+
</act>
|
39
|
+
</entry>
|
@@ -0,0 +1,38 @@
|
|
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="2017-08-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
|
+
{{{medication_duration_effective_time}}}
|
12
|
+
{{/relevantPeriod}}
|
13
|
+
{{#negated}}
|
14
|
+
<effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
|
15
|
+
<period nullFlavor="NA"/>
|
16
|
+
</effectiveTime>
|
17
|
+
{{/negated}}
|
18
|
+
{{#frequency}}
|
19
|
+
{{> qrda_templates/template_partials/_medication_frequency}}
|
20
|
+
{{/frequency}}
|
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
|
+
{{> _codes}}
|
28
|
+
</manufacturedMaterial>
|
29
|
+
</manufacturedProduct>
|
30
|
+
</consumable>
|
31
|
+
{{#authorDatetime}}
|
32
|
+
{{> qrda_templates/template_partials/_author}}
|
33
|
+
{{/authorDatetime}}
|
34
|
+
{{#negationRationale}}
|
35
|
+
{{> qrda_templates/template_partials/_reason}}
|
36
|
+
{{/negationRationale}}
|
37
|
+
</substanceAdministration>
|
38
|
+
</entry>
|
@@ -0,0 +1,16 @@
|
|
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
|
+
<!-- QDM Attributes: Date and Time -->
|
11
|
+
{{#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
|
+
</observation>
|
16
|
+
</entry>
|
@@ -0,0 +1,25 @@
|
|
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
|
+
{{> _codes}}
|
9
|
+
<text>{{description}}</text>
|
10
|
+
<statusCode code="completed"/>
|
11
|
+
{{#relevantPeriod}}
|
12
|
+
{{{relevant_period}}}
|
13
|
+
{{/relevantPeriod}}
|
14
|
+
{{{result_value}}}
|
15
|
+
{{#authorDatetime}}
|
16
|
+
{{> qrda_templates/template_partials/_author}}
|
17
|
+
{{/authorDatetime}}
|
18
|
+
{{#negationRationale}}
|
19
|
+
{{> qrda_templates/template_partials/_reason}}
|
20
|
+
{{/negationRationale}}
|
21
|
+
{{#components}}
|
22
|
+
{{> qrda_templates/template_partials/_component}}
|
23
|
+
{{/components}}
|
24
|
+
</observation>
|
25
|
+
</entry>
|
@@ -0,0 +1,19 @@
|
|
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="2017-08-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
|
+
<!-- Attribute: datetime -->
|
12
|
+
{{#authorDatetime}}
|
13
|
+
{{> qrda_templates/template_partials/_author}}
|
14
|
+
{{/authorDatetime}}
|
15
|
+
{{#negationRationale}}
|
16
|
+
{{> qrda_templates/template_partials/_reason}}
|
17
|
+
{{/negationRationale}}
|
18
|
+
</procedure>
|
19
|
+
</entry>
|
@@ -0,0 +1,44 @@
|
|
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="2017-08-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
|
+
{{{relevant_period}}}
|
13
|
+
{{/relevantPeriod}}
|
14
|
+
{{#ordinality}}
|
15
|
+
{{> qrda_templates/template_partials/_ordinality}}
|
16
|
+
{{/ordinality}}
|
17
|
+
{{#authorDatetime}}
|
18
|
+
{{> qrda_templates/template_partials/_author}}
|
19
|
+
{{/authorDatetime}}
|
20
|
+
{{#negationRationale}}
|
21
|
+
{{> qrda_templates/template_partials/_reason}}
|
22
|
+
{{/negationRationale}}
|
23
|
+
{{#incisionDatetime}}
|
24
|
+
<entryRelationship typeCode="REFR">
|
25
|
+
<procedure classCode="PROC" moodCode="EVN">
|
26
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.89"/>
|
27
|
+
<id root="1.3.6.1.4.1.115" extension="{{random_id}}"/>
|
28
|
+
<code code="34896006"
|
29
|
+
codeSystem="2.16.840.1.113883.6.96"
|
30
|
+
codeSystemName="SNOMED CT"
|
31
|
+
displayName="incision"/>
|
32
|
+
{{{incision_datetime}}}
|
33
|
+
</procedure>
|
34
|
+
</entryRelationship>
|
35
|
+
{{/incisionDatetime}}
|
36
|
+
{{#result}}
|
37
|
+
{{> qrda_templates/template_partials/_results}}
|
38
|
+
{{/result}}
|
39
|
+
{{#components}}
|
40
|
+
{{> qrda_templates/template_partials/_component}}
|
41
|
+
{{/components}}
|
42
|
+
</procedure>
|
43
|
+
</entry>
|
44
|
+
|