cqm-reports 3.0.0.pre.alpha.2 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +2 -1
- data/README.md +26 -0
- data/lib/cqm-reports.rb +3 -2
- data/lib/html-export/qdm-patient/data_element/_data_element_other_fields.mustache +129 -5
- data/lib/html-export/qdm-patient/data_element/_data_element_times.mustache +36 -1
- data/lib/html-export/qdm-patient/qdm_patient.rb +39 -5
- data/lib/qrda-export/catI-r5/_header.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +10 -2
- data/lib/qrda-export/catI-r5/qrda1_r5.rb +33 -2
- data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +24 -9
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +8 -8
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +17 -1
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/communication_performed.mustache +12 -13
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/device_order.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/device_recommended.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +9 -9
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_order.mustache +11 -2
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +9 -3
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_recommended.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/family_history.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +22 -7
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_order.mustache +8 -2
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_performed.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +17 -7
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +14 -2
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +27 -16
- data/lib/qrda-export/catI-r5/qrda_templates/medication_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/patient_care_experience.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_order.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +17 -5
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_order.mustache +11 -1
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +21 -5
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_recommended.mustache +11 -1
- data/lib/qrda-export/catI-r5/qrda_templates/program_participation.mustache +21 -0
- data/lib/qrda-export/catI-r5/qrda_templates/provider_care_experience.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/related_person.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/substance_recommended.mustache +7 -1
- data/lib/qrda-export/catI-r5/qrda_templates/symptom.mustache +10 -8
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis_qdm.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity.mustache +12 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_care_partner.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_organization.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_patient.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_practitioner.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_immunization_supply_request.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_supply_request.mustache +12 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_rank.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +8 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_status.mustache +1 -1
- data/lib/qrda-export/helper/cat1_view_helper.rb +2 -0
- data/lib/qrda-export/helper/date_helper.rb +27 -4
- data/lib/qrda-import/base-importers/demographics_importer.rb +3 -3
- data/lib/qrda-import/base-importers/section_importer.rb +48 -5
- data/lib/qrda-import/data-element-importers/adverse_event_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/assessment_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +3 -0
- data/lib/qrda-import/data-element-importers/assessment_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/communication_performed_importer.rb +7 -6
- data/lib/qrda-import/data-element-importers/device_applied_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/device_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/device_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/diagnostic_study_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +3 -0
- data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +7 -3
- data/lib/qrda-import/data-element-importers/encounter_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/family_history_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +3 -1
- data/lib/qrda-import/data-element-importers/immunization_order_importer.rb +4 -3
- data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/intervention_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/laboratory_test_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/medication_active_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +3 -4
- data/lib/qrda-import/data-element-importers/medication_order_importer.rb +2 -2
- data/lib/qrda-import/data-element-importers/patient_care_experience_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/physical_exam_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/physical_exam_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +3 -0
- data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +4 -0
- data/lib/qrda-import/data-element-importers/procedure_recommended_importer.rb +3 -0
- data/lib/qrda-import/data-element-importers/program_participation_importer.rb +21 -0
- data/lib/qrda-import/data-element-importers/provider_care_experience_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/related_person_importer.rb +19 -0
- data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +2 -0
- data/lib/qrda-import/data-element-importers/substance_order_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/substance_recommended_importer.rb +1 -0
- data/lib/qrda-import/data-element-importers/symptom_importer.rb +1 -0
- data/lib/qrda-import/patient_importer.rb +31 -11
- data/lib/util/entity_helper.rb +22 -0
- metadata +19 -9
- data/lib/ext/code.rb +0 -11
- data/lib/ext/data_element.rb +0 -24
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +0 -23
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +0 -8
@@ -4,7 +4,7 @@
|
|
4
4
|
templateId (Implied Template) -->
|
5
5
|
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
6
6
|
<!-- Diagnostic Study, Order template -->
|
7
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.17" extension="
|
7
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.17" extension="2019-12-01"/>
|
8
8
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
9
9
|
{{> _codes}}
|
10
10
|
<text>{{description}}</text>
|
@@ -13,6 +13,12 @@
|
|
13
13
|
<!-- QDM Attribute: Author dateTime -->
|
14
14
|
{{> qrda_templates/template_partials/_author}}
|
15
15
|
{{/authorDatetime}}
|
16
|
+
{{#requester}}
|
17
|
+
<!-- QDM Attribute: Requester -->
|
18
|
+
<participant typeCode="PRF">
|
19
|
+
{{> qrda_templates/template_partials/_entity}}
|
20
|
+
</participant>
|
21
|
+
{{/requester}}
|
16
22
|
{{#reason}}
|
17
23
|
<!-- QDM Attribute: Reason -->
|
18
24
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -4,15 +4,21 @@
|
|
4
4
|
(Implied Template) -->
|
5
5
|
<templateId root="2.16.840.1.113883.10.20.22.4.13" extension="2014-06-09"/>
|
6
6
|
<!-- Diagnostic Study, Performed template -->
|
7
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.18" extension="
|
7
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.18" extension="2019-12-01"/>
|
8
8
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
9
9
|
{{> _codes}}
|
10
10
|
<text>{{description}}</text>
|
11
11
|
<statusCode code="completed"/>
|
12
|
-
{{#
|
13
|
-
<!-- QDM Attribute: Relevant
|
14
|
-
{{{
|
15
|
-
{{/
|
12
|
+
{{#relevantDatetime}}
|
13
|
+
<!-- QDM Attribute: Relevant dateTime -->
|
14
|
+
{{{relevant_date_time_value}}}
|
15
|
+
{{/relevantDatetime}}
|
16
|
+
{{^relevantDatetime}}
|
17
|
+
{{#relevantPeriod}}
|
18
|
+
<!-- QDM Attribute: Relevant Period -->
|
19
|
+
{{{relevant_period}}}
|
20
|
+
{{/relevantPeriod}}
|
21
|
+
{{/relevantDatetime}}
|
16
22
|
<value nullFlavor="NA" xsi:type="CD" />
|
17
23
|
{{#method}}
|
18
24
|
<!-- QDM Attribute: Method -->
|
@@ -26,6 +32,12 @@
|
|
26
32
|
<!-- QDM Attribute: Facility Location -->
|
27
33
|
{{> qrda_templates/template_partials/_facility_location}}
|
28
34
|
{{/facilityLocation}}
|
35
|
+
{{#performer}}
|
36
|
+
<!-- QDM Attribute: Performer -->
|
37
|
+
<participant typeCode="PRF">
|
38
|
+
{{> qrda_templates/template_partials/_entity}}
|
39
|
+
</participant>
|
40
|
+
{{/performer}}
|
29
41
|
{{#reason}}
|
30
42
|
<!-- QDM Attribute: Reason -->
|
31
43
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Conforms to C-CDA R2.1 Planned Observation (V2) -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
5
|
<!-- Diagnostic Study Recommended (V4) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.19" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.19" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
{{> _codes}}
|
9
9
|
<text>{{description}}</text>
|
@@ -13,6 +13,12 @@
|
|
13
13
|
<!-- QDM Attribute: Author dateTime -->
|
14
14
|
{{> qrda_templates/template_partials/_author}}
|
15
15
|
{{/authorDatetime}}
|
16
|
+
{{#requester}}
|
17
|
+
<!-- QDM Attribute: Requester -->
|
18
|
+
<participant typeCode="PRF">
|
19
|
+
{{> qrda_templates/template_partials/_entity}}
|
20
|
+
</participant>
|
21
|
+
{{/requester}}
|
16
22
|
{{#negationRationale}}
|
17
23
|
<!-- QDM Attribute: Negation Rationale -->
|
18
24
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -1,18 +1,21 @@
|
|
1
1
|
<entry>
|
2
2
|
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.132" extension="
|
3
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.132" extension="2019-12-01"/>
|
4
4
|
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" displayName="Encounter" codeSystemName="ActClass"/>
|
5
5
|
<entryRelationship typeCode="SUBJ">
|
6
6
|
<encounter classCode="ENC" moodCode="RQO">
|
7
7
|
<!-- Plan of Care Activity Encounter template -->
|
8
8
|
<templateId root="2.16.840.1.113883.10.20.22.4.40" extension="2014-06-09"/>
|
9
9
|
<!-- Encounter order template -->
|
10
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.22" extension="
|
10
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.22" extension="2019-12-01"/>
|
11
11
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
12
12
|
<!-- QDM Attribute: Code -->
|
13
13
|
{{> _codes}}
|
14
14
|
<text>{{description}}</text>
|
15
15
|
<statusCode code="active"/>
|
16
|
+
{{#priority}}
|
17
|
+
<priorityCode {{> _code}}/>
|
18
|
+
{{/priority}}
|
16
19
|
{{#authorDatetime}}
|
17
20
|
<!-- QDM Attribute: Author dateTime -->
|
18
21
|
{{> qrda_templates/template_partials/_author}}
|
@@ -21,6 +24,12 @@
|
|
21
24
|
<!-- QDM Attribute: Facility Location -->
|
22
25
|
{{> qrda_templates/template_partials/_facility_location}}
|
23
26
|
{{/facilityLocation}}
|
27
|
+
{{#requester}}
|
28
|
+
<!-- QDM Attribute: Requester -->
|
29
|
+
<participant typeCode="PRF">
|
30
|
+
{{> qrda_templates/template_partials/_entity}}
|
31
|
+
</participant>
|
32
|
+
{{/requester}}
|
24
33
|
{{#reason}}
|
25
34
|
<!-- QDM Attribute: Reason -->
|
26
35
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<entry>
|
2
2
|
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
3
|
<!--Encounter performed Act -->
|
4
|
-
<templateId extension="
|
4
|
+
<templateId extension="2019-12-01" root="2.16.840.1.113883.10.20.24.3.133"/>
|
5
5
|
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" codeSystemName="ActClass" displayName="Encounter"/>
|
6
6
|
<entryRelationship typeCode="SUBJ">
|
7
7
|
<encounter classCode="ENC" moodCode="EVN">
|
8
8
|
<!-- Encounter activities template -->
|
9
9
|
<templateId extension="2015-08-01" root="2.16.840.1.113883.10.20.22.4.49"/>
|
10
10
|
<!-- Encounter performed template -->
|
11
|
-
<templateId extension="
|
11
|
+
<templateId extension="2019-12-01" root="2.16.840.1.113883.10.20.24.3.23"/>
|
12
12
|
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
13
13
|
<!-- QDM Attribute: Code -->
|
14
14
|
{{> _codes}}
|
@@ -34,9 +34,15 @@
|
|
34
34
|
<!-- QDM Attribute: Admission Source -->
|
35
35
|
{{> qrda_templates/template_partials/_admission_source}}
|
36
36
|
{{/admissionSource}}
|
37
|
+
{{#participant}}
|
38
|
+
<!-- QDM Attribute: Participant -->
|
39
|
+
<participant typeCode="PRF">
|
40
|
+
{{> qrda_templates/template_partials/_entity}}
|
41
|
+
</participant>
|
42
|
+
{{/participant}}
|
37
43
|
{{#diagnoses}}
|
38
44
|
<!-- QDM Attribute: Diagnoses -->
|
39
|
-
{{> qrda_templates/template_partials/
|
45
|
+
{{> qrda_templates/template_partials/_encounter_diagnosis_qdm}}
|
40
46
|
{{/diagnoses}}
|
41
47
|
</encounter>
|
42
48
|
</entryRelationship>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<entry>
|
2
2
|
<act classCode="ACT" moodCode="INT" {{{negation_ind}}}>
|
3
3
|
<!--Encounter Recommended Act (V2) -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.134" extension="
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.134" extension="2019-12-01"/>
|
5
5
|
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
6
6
|
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" codeSystemName="ActClass" displayName="Encounter"/>
|
7
7
|
<entryRelationship typeCode="SUBJ">
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<!-- Conforms to C-CDA R2.1 Planned Encounter (V2) template -->
|
10
10
|
<templateId root="2.16.840.1.113883.10.20.22.4.40" extension="2014-06-09"/>
|
11
11
|
<!-- Encounter Recommended (V4) template -->
|
12
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.24" extension="
|
12
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.24" extension="2019-12-01"/>
|
13
13
|
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
14
14
|
<!-- QDM Attribute: Code -->
|
15
15
|
{{> _codes}}
|
@@ -23,6 +23,12 @@
|
|
23
23
|
<!-- QDM Attribute: Facility Location -->
|
24
24
|
{{> qrda_templates/template_partials/_facility_location}}
|
25
25
|
{{/facilityLocation}}
|
26
|
+
{{#requester}}
|
27
|
+
<!-- QDM Attribute: Requester -->
|
28
|
+
<participant typeCode="PRF">
|
29
|
+
{{> qrda_templates/template_partials/_entity}}
|
30
|
+
</participant>
|
31
|
+
{{/requester}}
|
26
32
|
{{#reason}}
|
27
33
|
<!-- QDM Attribute: Reason -->
|
28
34
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- C-CDA R2.1 Family History Organizer (V3) -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.45" extension="2015-08-01"/>
|
5
5
|
<!-- Family History Organizer QDM (V4) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.12" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.12" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
<statusCode code="completed" />
|
9
9
|
{{#relationship}}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
<!-- Conforms to C-CDA R2.1 Family History Observation (V3) -->
|
20
20
|
<templateId root="2.16.840.1.113883.10.20.22.4.46" extension="2015-08-01"/>
|
21
21
|
<!-- Family History QDM (V3) -->
|
22
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.112" extension="
|
22
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.112" extension="2019-12-01"/>
|
23
23
|
<id root="1.3.6.1.4.1.115" extension="{{random_id}}"/>
|
24
24
|
<code code="75323-6" displayName="Condition" codeSystemName="LOINC" codeSystem="2.16.840.1.113883.6.1">
|
25
25
|
<translation code="64572001" displayName="Condition" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
|
@@ -31,6 +31,12 @@
|
|
31
31
|
<!-- QDM Attribute: Author dateTime -->
|
32
32
|
{{> qrda_templates/template_partials/_author}}
|
33
33
|
{{/authorDatetime}}
|
34
|
+
{{#recorder}}
|
35
|
+
<!-- QDM Attribute: Recorder -->
|
36
|
+
<participant typeCode="PRF">
|
37
|
+
{{> qrda_templates/template_partials/_entity}}
|
38
|
+
</participant>
|
39
|
+
{{/recorder}}
|
34
40
|
</observation>
|
35
41
|
</component>
|
36
42
|
</organizer>
|
@@ -1,16 +1,21 @@
|
|
1
1
|
<entry>
|
2
|
-
|
2
|
+
{{#negated}}
|
3
|
+
<substanceAdministration classCode="SBADM" moodCode="EVN" {{{negation_ind}}}>
|
4
|
+
{{/negated}}
|
5
|
+
{{^negated}}
|
6
|
+
<substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
|
7
|
+
{{/negated}}
|
3
8
|
<!-- C-CDA R2 Immunization Activity -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.52" extension="
|
9
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
|
5
10
|
<!-- Immunization Administered -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.140" extension="
|
11
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.140" extension="2019-12-01"/>
|
7
12
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
13
|
<code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
|
9
14
|
<statusCode code="completed"/>
|
10
|
-
{{#
|
11
|
-
<!-- QDM Attribute:
|
12
|
-
{{{
|
13
|
-
{{/
|
15
|
+
{{#relevantDatetime}}
|
16
|
+
<!-- QDM Attribute: Relevant dateTime -->
|
17
|
+
{{{relevant_date_time_value}}}
|
18
|
+
{{/relevantDatetime}}
|
14
19
|
{{> qrda_templates/template_partials/_immunization_details}}
|
15
20
|
<consumable>
|
16
21
|
<manufacturedProduct classCode="MANU">
|
@@ -23,6 +28,16 @@
|
|
23
28
|
</manufacturedMaterial>
|
24
29
|
</manufacturedProduct>
|
25
30
|
</consumable>
|
31
|
+
{{#authorDatetime}}
|
32
|
+
<!-- QDM Attribute: Author dateTime -->
|
33
|
+
{{> qrda_templates/template_partials/_author}}
|
34
|
+
{{/authorDatetime}}
|
35
|
+
{{#performer}}
|
36
|
+
<!-- QDM Attribute: Performer -->
|
37
|
+
<participant typeCode="PRF">
|
38
|
+
{{> qrda_templates/template_partials/_entity}}
|
39
|
+
</participant>
|
40
|
+
{{/performer}}
|
26
41
|
{{#reason}}
|
27
42
|
<!-- QDM Attribute: Reason -->
|
28
43
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Conforms to C-CDA R2.1 Planned Immunization Activity -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.120"/>
|
5
5
|
<!-- Immunization Order (V2) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.143" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.143" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
<text>{{description}}</text>
|
9
9
|
<statusCode code="active"/>
|
@@ -28,6 +28,12 @@
|
|
28
28
|
<!-- QDM Attribute: Author dateTime -->
|
29
29
|
{{> qrda_templates/template_partials/_author}}
|
30
30
|
{{/authorDatetime}}
|
31
|
+
{{#requester}}
|
32
|
+
<!-- QDM Attribute: Requester -->
|
33
|
+
<participant typeCode="PRF">
|
34
|
+
{{> qrda_templates/template_partials/_entity}}
|
35
|
+
</participant>
|
36
|
+
{{/requester}}
|
31
37
|
{{#reason}}
|
32
38
|
<!-- QDM Attribute: Reason -->
|
33
39
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -39,7 +45,7 @@
|
|
39
45
|
{{#supply}}
|
40
46
|
<!-- QDM Attribute: Supply -->
|
41
47
|
<entryRelationship typeCode="REFR">
|
42
|
-
{{> qrda_templates/template_partials/
|
48
|
+
{{> qrda_templates/template_partials/_immunization_supply_request}}
|
43
49
|
</entryRelationship>
|
44
50
|
{{/supply}}
|
45
51
|
</substanceAdministration>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Conforms to C-CDA R2 Planned Act (V2) template -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.39" extension="2014-06-09"/>
|
5
5
|
<!-- Intervention Order (V4) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.31" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.31" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
{{> _codes}}
|
9
9
|
<text>{{description}}</text>
|
@@ -12,6 +12,12 @@
|
|
12
12
|
<!-- QDM Attribute: Author dateTime -->
|
13
13
|
{{> qrda_templates/template_partials/_author}}
|
14
14
|
{{/authorDatetime}}
|
15
|
+
{{#requester}}
|
16
|
+
<!-- QDM Attribute: Requester -->
|
17
|
+
<participant typeCode="PRF">
|
18
|
+
{{> qrda_templates/template_partials/_entity}}
|
19
|
+
</participant>
|
20
|
+
{{/requester}}
|
15
21
|
{{#reason}}
|
16
22
|
<!-- QDM Attribute: Reason -->
|
17
23
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,19 +3,31 @@
|
|
3
3
|
<!-- Consolidation CDA: Procedure Activity Act template -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.12" extension="2014-06-09"/>
|
5
5
|
<!-- Intervention Performed Template -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.32" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.32" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
{{> _codes}}
|
9
9
|
<text>{{description}}</text>
|
10
10
|
<statusCode code="completed"/>
|
11
|
-
{{#
|
12
|
-
<!-- QDM Attribute: Relevant
|
13
|
-
{{{
|
14
|
-
{{/
|
11
|
+
{{#relevantDatetime}}
|
12
|
+
<!-- QDM Attribute: Relevant dateTime -->
|
13
|
+
{{{relevant_date_time_value}}}
|
14
|
+
{{/relevantDatetime}}
|
15
|
+
{{^relevantDatetime}}
|
16
|
+
{{#relevantPeriod}}
|
17
|
+
<!-- QDM Attribute: Relevant Period -->
|
18
|
+
{{{relevant_period}}}
|
19
|
+
{{/relevantPeriod}}
|
20
|
+
{{/relevantDatetime}}
|
15
21
|
{{#authorDatetime}}
|
16
22
|
<!-- QDM Attribute: Author dateTime -->
|
17
23
|
{{> qrda_templates/template_partials/_author}}
|
18
24
|
{{/authorDatetime}}
|
25
|
+
{{#performer}}
|
26
|
+
<!-- QDM Attribute: Performer -->
|
27
|
+
<participant typeCode="PRF">
|
28
|
+
{{> qrda_templates/template_partials/_entity}}
|
29
|
+
</participant>
|
30
|
+
{{/performer}}
|
19
31
|
{{#reason}}
|
20
32
|
<!-- QDM Attribute: Reason -->
|
21
33
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Conforms to C-CDA R2.1 Planned Act (V2) template -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.39" extension="2014-06-09"/>
|
5
5
|
<!-- Intervention Recommended (V4) template -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.33" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.33" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
<!-- QDM Attribute: Code -->
|
9
9
|
{{> _codes}}
|
@@ -13,6 +13,12 @@
|
|
13
13
|
<!-- QDM Attribute: Author dateTime -->
|
14
14
|
{{> qrda_templates/template_partials/_author}}
|
15
15
|
{{/authorDatetime}}
|
16
|
+
{{#requester}}
|
17
|
+
<!-- QDM Attribute: Requester -->
|
18
|
+
<participant typeCode="PRF">
|
19
|
+
{{> qrda_templates/template_partials/_entity}}
|
20
|
+
</participant>
|
21
|
+
{{/requester}}
|
16
22
|
{{#reason}}
|
17
23
|
<!-- QDM Attribute: Reason -->
|
18
24
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Consolidation Plan of Care Activity Observation -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
5
|
<!-- Laboratory Test, Order (V4) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.37" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.37" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
{{> _codes}}
|
9
9
|
<text>{{description}}</text>
|
@@ -12,6 +12,12 @@
|
|
12
12
|
<!-- QDM Attribute: Author dateTime -->
|
13
13
|
{{> qrda_templates/template_partials/_author}}
|
14
14
|
{{/authorDatetime}}
|
15
|
+
{{#requester}}
|
16
|
+
<!-- QDM Attribute: Requester -->
|
17
|
+
<participant typeCode="PRF">
|
18
|
+
{{> qrda_templates/template_partials/_entity}}
|
19
|
+
</participant>
|
20
|
+
{{/requester}}
|
15
21
|
{{#reason}}
|
16
22
|
<!-- QDM Attribute: Reason -->
|
17
23
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -1,15 +1,21 @@
|
|
1
1
|
<entry>
|
2
2
|
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
3
3
|
<!-- Laboratory Test Performed (V4) -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.38" extension="
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.38" extension="2019-12-01"/>
|
5
5
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
6
|
{{> _codes}}
|
7
7
|
<text>{{description}}</text>
|
8
8
|
<statusCode code="completed"/>
|
9
|
-
{{#
|
10
|
-
<!-- QDM Attribute: Relevant
|
11
|
-
{{{
|
12
|
-
{{/
|
9
|
+
{{#relevantDatetime}}
|
10
|
+
<!-- QDM Attribute: Relevant dateTime -->
|
11
|
+
{{{relevant_date_time_value}}}
|
12
|
+
{{/relevantDatetime}}
|
13
|
+
{{^relevantDatetime}}
|
14
|
+
{{#relevantPeriod}}
|
15
|
+
<!-- QDM Attribute: Relevant Period -->
|
16
|
+
{{{relevant_period}}}
|
17
|
+
{{/relevantPeriod}}
|
18
|
+
{{/relevantDatetime}}
|
13
19
|
{{#method}}
|
14
20
|
<!-- QDM Attribute: Method -->
|
15
21
|
{{> qrda_templates/template_partials/_method}}
|
@@ -18,6 +24,12 @@
|
|
18
24
|
<!-- QDM Attribute: Author dateTime -->
|
19
25
|
{{> qrda_templates/template_partials/_author}}
|
20
26
|
{{/authorDatetime}}
|
27
|
+
{{#performer}}
|
28
|
+
<!-- QDM Attribute: Performer -->
|
29
|
+
<participant typeCode="PRF">
|
30
|
+
{{> qrda_templates/template_partials/_entity}}
|
31
|
+
</participant>
|
32
|
+
{{/performer}}
|
21
33
|
{{#reason}}
|
22
34
|
<!-- QDM Attribute: Reason -->
|
23
35
|
{{> qrda_templates/template_partials/_reason}}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<!-- Conforms to C-CDA R2.1 Planned Observation (V2) -->
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
5
5
|
<!-- Laboratory Test, Recommended (V4) -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.39" extension="
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.39" extension="2019-12-01"/>
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
8
|
<!-- QDM Attribute: Code -->
|
9
9
|
{{> _codes}}
|
@@ -13,6 +13,12 @@
|
|
13
13
|
<!-- QDM Attribute: Author dateTime -->
|
14
14
|
{{> qrda_templates/template_partials/_author}}
|
15
15
|
{{/authorDatetime}}
|
16
|
+
{{#requester}}
|
17
|
+
<!-- QDM Attribute: Requester -->
|
18
|
+
<participant typeCode="PRF">
|
19
|
+
{{> qrda_templates/template_partials/_entity}}
|
20
|
+
</participant>
|
21
|
+
{{/requester}}
|
16
22
|
{{#reason}}
|
17
23
|
<!-- QDM Attribute: Reason -->
|
18
24
|
{{> qrda_templates/template_partials/_reason}}
|