cqm-reports 3.1.10 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/cqm-reports.rb +1 -2
- data/lib/html-export/qdm-patient/data_element/_data_element_other_fields.mustache +10 -0
- data/lib/html-export/qdm-patient/qdm_patient.rb +7 -7
- data/lib/qrda-export/catI-r5/_header.mustache +2 -1
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +2 -5
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +7 -3
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/communication_performed.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/device_order.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/device_recommended.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +9 -1
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_order.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +11 -7
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_recommended.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/family_history.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +5 -1
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_performed.mustache +3 -3
- data/lib/qrda-export/catI-r5/qrda_templates/laboratory_test_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +2 -4
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/medication_order.mustache +5 -1
- data/lib/qrda-export/catI-r5/qrda_templates/patient_care_experience.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +3 -3
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_order.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +5 -1
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/program_participation.mustache +1 -7
- data/lib/qrda-export/catI-r5/qrda_templates/provider_care_experience.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/substance_recommended.mustache +1 -1
- data/lib/qrda-export/catI-r5/qrda_templates/symptom.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_class.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis_qdm.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity.mustache +3 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_location.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_entity_organization.mustache +2 -2
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_interpretation.mustache +1 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_continuous_variable_value.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_header.mustache +1 -5
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_measure_data.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_measure_section.mustache +3 -3
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_reporting_period.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_stratification.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/_supplemental_data.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1/qrda3_r21.mustache → catIII/qrda3.mustache} +0 -0
- data/lib/qrda-export/{catIII-r2-1/qrda3_r21.rb → catIII/qrda3.rb} +1 -1
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_author.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_custodian.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_documentation_of_service_event.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_information_recipient.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_legal_authenticator.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_participant_ehr.mustache +0 -0
- data/lib/qrda-export/{catIII-r2-1 → catIII}/qrda_header/_participant_location.mustache +0 -0
- data/lib/qrda-import/base-importers/section_importer.rb +53 -35
- 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 +2 -1
- data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +6 -1
- data/lib/qrda-import/data-element-importers/assessment_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/communication_performed_importer.rb +4 -2
- data/lib/qrda-import/data-element-importers/device_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/device_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +6 -1
- data/lib/qrda-import/data-element-importers/diagnostic_study_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +6 -1
- data/lib/qrda-import/data-element-importers/encounter_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/family_history_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/immunization_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +4 -1
- data/lib/qrda-import/data-element-importers/intervention_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +4 -1
- data/lib/qrda-import/data-element-importers/laboratory_test_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/medication_active_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +5 -3
- data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +4 -2
- data/lib/qrda-import/data-element-importers/medication_order_importer.rb +4 -1
- data/lib/qrda-import/data-element-importers/patient_care_experience_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/physical_exam_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +4 -1
- data/lib/qrda-import/data-element-importers/physical_exam_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +4 -1
- data/lib/qrda-import/data-element-importers/procedure_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/program_participation_importer.rb +0 -1
- data/lib/qrda-import/data-element-importers/provider_care_experience_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/substance_recommended_importer.rb +2 -1
- data/lib/qrda-import/data-element-importers/symptom_importer.rb +2 -1
- data/lib/qrda-import/patient_importer.rb +0 -1
- data/lib/util/entity_helper.rb +4 -0
- metadata +28 -27
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +0 -44
- data/lib/qrda-import/data-element-importers/device_applied_importer.rb +0 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cda8f93792d0efa4c3e4347bd922e32396791952a09ea37d35b2e00daa3284bf
|
|
4
|
+
data.tar.gz: 062b473dc79d294fa478b50c132c090ad0e4305679d7e834abce9f6f2ca0e0a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e67430b3bcb829fc2561a6afb33b2621e727d21fdb388663de0b9d145bed201c39ab5e42385676c918897f88164e13644a869bdd04f23c0a2d64c179a99f5455
|
|
7
|
+
data.tar.gz: ebfb491113755df26743265723641db1775ce7d53642e455c0d50a91d512974eb53bcd1f0c111284e80641cf5917e7b875f9be6877fd5728ebae9d00fd93d0e3
|
data/Gemfile
CHANGED
data/lib/cqm-reports.rb
CHANGED
|
@@ -17,7 +17,7 @@ require_relative 'qrda-export/helper/cat1_view_helper.rb'
|
|
|
17
17
|
require_relative 'html-export/qdm-patient/qdm_patient.rb'
|
|
18
18
|
|
|
19
19
|
require_relative 'qrda-export/catI-r5/qrda1_r5.rb'
|
|
20
|
-
require_relative 'qrda-export/catIII
|
|
20
|
+
require_relative 'qrda-export/catIII/qrda3.rb'
|
|
21
21
|
|
|
22
22
|
require_relative 'qrda-import/cda_identifier.rb'
|
|
23
23
|
require_relative 'qrda-import/narrative_reference_handler.rb'
|
|
@@ -36,7 +36,6 @@ require_relative 'qrda-import/data-element-importers/diagnosis_importer.rb'
|
|
|
36
36
|
require_relative 'qrda-import/data-element-importers/diagnostic_study_order_importer.rb'
|
|
37
37
|
require_relative 'qrda-import/data-element-importers/diagnostic_study_performed_importer.rb'
|
|
38
38
|
require_relative 'qrda-import/data-element-importers/diagnostic_study_recommended_importer.rb'
|
|
39
|
-
require_relative 'qrda-import/data-element-importers/device_applied_importer.rb'
|
|
40
39
|
require_relative 'qrda-import/data-element-importers/device_order_importer.rb'
|
|
41
40
|
require_relative 'qrda-import/data-element-importers/device_recommended_importer.rb'
|
|
42
41
|
require_relative 'qrda-import/data-element-importers/encounter_order_importer.rb'
|
|
@@ -25,6 +25,11 @@
|
|
|
25
25
|
<div class="div-table-head--no-border"><span class="criteria-heading">Category:</span> {{{code_code_system_string}}}</div>
|
|
26
26
|
</div>
|
|
27
27
|
{{/category}}
|
|
28
|
+
{{#clazz}}
|
|
29
|
+
<div class="div-head-row">
|
|
30
|
+
<div class="div-table-head--no-border"><span class="criteria-heading">Class:</span> {{{code_code_system_string}}}</div>
|
|
31
|
+
</div>
|
|
32
|
+
{{/clazz}}
|
|
28
33
|
{{#components}}
|
|
29
34
|
{{#code}}
|
|
30
35
|
<div class="div-head-row">
|
|
@@ -82,6 +87,11 @@
|
|
|
82
87
|
<div class="div-table-head--no-border"><span class="criteria-heading">Identifier:</span> {{{identifier_string}}}</div>
|
|
83
88
|
</div>
|
|
84
89
|
{{/identifier}}
|
|
90
|
+
{{#interpretation}}
|
|
91
|
+
<div class="div-head-row">
|
|
92
|
+
<div class="div-table-head--no-border"><span class="criteria-heading">Interpretation:</span> {{{code_code_system_string}}}</div>
|
|
93
|
+
</div>
|
|
94
|
+
{{/interpretation}}
|
|
85
95
|
{{#lengthOfStay}}
|
|
86
96
|
<div class="div-head-row">
|
|
87
97
|
<div class="div-table-head--no-border"><span class="criteria-heading">Length Of Stay:</span> {{{unit_string}}}</div>
|
|
@@ -33,10 +33,7 @@ class QdmPatient < Mustache
|
|
|
33
33
|
end
|
|
34
34
|
|
|
35
35
|
def patient_telecoms
|
|
36
|
-
@patient_telecoms ||= [CQM::Telecom.new(
|
|
37
|
-
use: 'HP',
|
|
38
|
-
value: '555-555-2003'
|
|
39
|
-
)]
|
|
36
|
+
@patient_telecoms ||= [CQM::Telecom.new(use: 'HP', value: '555-555-2003')]
|
|
40
37
|
# create formatted telecoms
|
|
41
38
|
@patient_telecoms.map { |telecom| "(#{telecom['use']}) #{telecom['value']}" }.join("<br>")
|
|
42
39
|
end
|
|
@@ -65,7 +62,10 @@ class QdmPatient < Mustache
|
|
|
65
62
|
</br> Care Partner Relationship: #{code_for_element(self['relationship'])}"
|
|
66
63
|
elsif organization_entity?
|
|
67
64
|
"</br> Organization: #{identifier_for_element(self['identifier'])}
|
|
68
|
-
</br> Organization Type: #{code_for_element(self['
|
|
65
|
+
</br> Organization Type: #{code_for_element(self['organizationType'])}"
|
|
66
|
+
elsif location_entity?
|
|
67
|
+
"</br> Location: #{identifier_for_element(self['identifier'])}
|
|
68
|
+
</br> Location Type: #{code_for_element(self['locationType'])}"
|
|
69
69
|
elsif patient_entity?
|
|
70
70
|
"</br> Patient: #{identifier_for_element(self['identifier'])}"
|
|
71
71
|
elsif practitioner_entity?
|
|
@@ -83,7 +83,7 @@ class QdmPatient < Mustache
|
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
def identifier_for_element(identifier)
|
|
86
|
-
|
|
86
|
+
"#{identifier['value']} (#{identifier['namingSystem']})"
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def code_code_system_string
|
|
@@ -91,7 +91,7 @@ class QdmPatient < Mustache
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
def code_for_element(element)
|
|
94
|
-
|
|
94
|
+
"#{element['code']} (#{HQMF::Util::CodeSystemHelper.code_system_for(element['system'])})#{code_description(element)}"
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
def code_system_name
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
<!-- QRDA templateId -->
|
|
7
7
|
<templateId root="2.16.840.1.113883.10.20.24.1.1" extension="2017-08-01"/>
|
|
8
8
|
<!-- QDM-based QRDA templateId -->
|
|
9
|
-
<templateId root="2.16.840.1.113883.10.20.24.1.2" extension="
|
|
9
|
+
<templateId root="2.16.840.1.113883.10.20.24.1.2" extension="2021-08-01"/>
|
|
10
10
|
<!-- CMS QRDA templateId -->
|
|
11
|
+
<!-- TODO: THIS will also change -->
|
|
11
12
|
<templateId root="2.16.840.1.113883.10.20.24.1.3" extension="2020-02-01"/>
|
|
12
13
|
<!-- This is the globally unique identifier for this QRDA document -->
|
|
13
14
|
<id root="{{random_id}}"/>
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
<!-- This is the templateId for Patient Data section -->
|
|
13
13
|
<templateId root="2.16.840.1.113883.10.20.17.2.4"/>
|
|
14
14
|
<!-- This is the templateId for Patient Data QDM section -->
|
|
15
|
-
<templateId extension="
|
|
15
|
+
<templateId extension="2021-08-01" root="2.16.840.1.113883.10.20.24.2.1"/>
|
|
16
|
+
<!-- TODO: This will also change -->
|
|
16
17
|
<templateId extension="2020-02-01" root="2.16.840.1.113883.10.20.24.2.1.1"/>
|
|
17
18
|
<code code="55188-7" codeSystem="2.16.840.1.113883.6.1"/>
|
|
18
19
|
<title>Patient Data</title>
|
|
@@ -46,10 +47,6 @@
|
|
|
46
47
|
{{> qrda_templates/diagnosis}}
|
|
47
48
|
{{/diagnosis}}
|
|
48
49
|
|
|
49
|
-
{{#device_applied}}
|
|
50
|
-
{{> qrda_templates/device_applied}}
|
|
51
|
-
{{/device_applied}}
|
|
52
|
-
|
|
53
50
|
{{#device_order}}
|
|
54
51
|
{{> qrda_templates/device_order}}
|
|
55
52
|
{{/device_order}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<observation classCode="OBS" moodCode="EVN">
|
|
3
3
|
<!-- Adverse Event -->
|
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.146" extension="
|
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.146" extension="2021-08-01"/>
|
|
5
5
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
6
6
|
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
|
|
7
7
|
<statusCode code="completed"/>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Conforms to C-CDA R2.1 Substance or Device Allergy - Intolerance Observation (V2) -->
|
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.24.3.90" extension="2014-06-09"/>
|
|
5
5
|
<!-- Allergy Intolerance -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.147" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.147" extension="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
|
|
9
9
|
<statusCode code="completed" />
|
|
@@ -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
|
<!-- Assessment Order -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.158" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.158" extension="2021-08-01" />
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<!-- QDM Attribute: Code -->
|
|
9
9
|
{{> _codes}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
|
3
3
|
<!-- Assessment Performed -->
|
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.144" extension="
|
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.144" extension="2021-08-01" />
|
|
5
5
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
6
6
|
{{> _codes}}
|
|
7
7
|
<text>{{description}}</text>
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
<!-- QDM Attribute: Result -->
|
|
12
12
|
{{{result_value}}}
|
|
13
13
|
{{/result}}
|
|
14
|
+
{{#interpretation}}
|
|
15
|
+
<!-- QDM Attribute: Interpretation -->
|
|
16
|
+
{{> qrda_templates/template_partials/_interpretation}}
|
|
17
|
+
{{/interpretation}}
|
|
14
18
|
{{#method}}
|
|
15
19
|
<!-- QDM Attribute: Method -->
|
|
16
20
|
{{> qrda_templates/template_partials/_method}}
|
|
@@ -38,8 +42,8 @@
|
|
|
38
42
|
{{> qrda_templates/template_partials/_component}}
|
|
39
43
|
{{/components}}
|
|
40
44
|
{{#relatedTo}}
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
<!-- QDM Attribute: Related To -->
|
|
46
|
+
{{> qrda_templates/template_partials/_related_to}}
|
|
43
47
|
{{/relatedTo}}
|
|
44
48
|
</observation>
|
|
45
49
|
</entry>
|
|
@@ -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
|
<!-- Assessment Recommended (V2) -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.145" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.145" extension="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<!-- QDM Attribute: Code -->
|
|
9
9
|
{{> _codes}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.156" extension="
|
|
3
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.156" extension="2021-08-01"/>
|
|
4
4
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
5
5
|
{{#category}}
|
|
6
6
|
<!-- QDM Attribute: Category -->
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.130" extension="
|
|
3
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.130" extension="2021-08-01"/>
|
|
4
4
|
<code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="Supply" codeSystemName="ActClass"/>
|
|
5
5
|
<entryRelationship typeCode="SUBJ">
|
|
6
6
|
<supply classCode="SPLY" moodCode="RQO">
|
|
7
7
|
<!-- Plan of Care Activity Supply -->
|
|
8
8
|
<templateId root="2.16.840.1.113883.10.20.22.4.43" extension="2014-06-09"/>
|
|
9
9
|
<!-- Device, Order -->
|
|
10
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.9" extension="
|
|
10
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.9" extension="2021-08-01"/>
|
|
11
11
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
12
12
|
<text>{{description}}</text>
|
|
13
13
|
<statusCode code="active"/>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<act classCode="ACT" moodCode="INT" {{{negation_ind}}}>
|
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.131" extension="
|
|
3
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.131" extension="2021-08-01"/>
|
|
4
4
|
<code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="Supply" codeSystemName="ActClass"/>
|
|
5
5
|
<entryRelationship typeCode="SUBJ">
|
|
6
6
|
<supply classCode="SPLY" moodCode="INT">
|
|
7
7
|
<!-- C-CDA R2.1 : Planned Supply (V2) -->
|
|
8
8
|
<templateId root="2.16.840.1.113883.10.20.22.4.43" extension="2014-06-09"/>
|
|
9
9
|
<!-- Device Recommended (V4) -->
|
|
10
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.10" extension="
|
|
10
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.10" extension="2021-08-01"/>
|
|
11
11
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
12
12
|
<text>{{description}}</text>
|
|
13
13
|
<statusCode code="active"/>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Conforms to C-CDA 2.1 Problem Concern Act (V3) -->
|
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01" />
|
|
5
5
|
<!-- Diagnosis Concern Act -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.137" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.137" extension="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern" />
|
|
9
9
|
{{#prevalencePeriod}}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<!-- Conforms to C-CDA R2.1 Problem Observation (V3) -->
|
|
21
21
|
<templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01" />
|
|
22
22
|
<!-- Diagnosis template -->
|
|
23
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.135" extension="
|
|
23
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.135" extension="2021-08-01" />
|
|
24
24
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
25
25
|
<code code="29308-4" codeSystem="2.16.840.1.113883.6.1">
|
|
26
26
|
<translation code="282291009" codeSystem="2.16.840.1.113883.6.96"/>
|
|
@@ -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="2021-08-01"/>
|
|
8
8
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
9
9
|
{{> _codes}}
|
|
10
10
|
<text>{{description}}</text>
|
|
@@ -4,13 +4,17 @@
|
|
|
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="2021-08-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
12
|
{{{relevant_date_period_or_null_flavor}}}
|
|
13
13
|
<value nullFlavor="NA" xsi:type="CD" />
|
|
14
|
+
{{#interpretation}}
|
|
15
|
+
<!-- QDM Attribute: Interpretation -->
|
|
16
|
+
{{> qrda_templates/template_partials/_interpretation}}
|
|
17
|
+
{{/interpretation}}
|
|
14
18
|
{{#method}}
|
|
15
19
|
<!-- QDM Attribute: Method -->
|
|
16
20
|
{{> qrda_templates/template_partials/_method}}
|
|
@@ -49,5 +53,9 @@
|
|
|
49
53
|
<!-- QDM Attribute: Components -->
|
|
50
54
|
{{> qrda_templates/template_partials/_component}}
|
|
51
55
|
{{/components}}
|
|
56
|
+
{{#relatedTo}}
|
|
57
|
+
<!-- QDM Attribute: relatedTo -->
|
|
58
|
+
{{> qrda_templates/template_partials/_related_to}}
|
|
59
|
+
{{/relatedTo}}
|
|
52
60
|
</observation>
|
|
53
61
|
</entry>
|
|
@@ -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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
{{> _codes}}
|
|
9
9
|
<text>{{description}}</text>
|
|
@@ -1,13 +1,13 @@
|
|
|
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="2021-08-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="2021-08-01"/>
|
|
11
11
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
12
12
|
<!-- QDM Attribute: Code -->
|
|
13
13
|
{{> _codes}}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<entry>
|
|
2
|
-
<act classCode="ACT" moodCode="EVN"
|
|
2
|
+
<act classCode="ACT" moodCode="EVN">
|
|
3
3
|
<!--Encounter performed Act -->
|
|
4
|
-
<templateId extension="
|
|
4
|
+
<templateId extension="2021-08-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="2021-08-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}}
|
|
@@ -40,15 +40,19 @@
|
|
|
40
40
|
{{> qrda_templates/template_partials/_entity}}
|
|
41
41
|
</participant>
|
|
42
42
|
{{/participant}}
|
|
43
|
+
{{#clazz}}
|
|
44
|
+
<!-- QDM Attribute: Class -->
|
|
45
|
+
{{> qrda_templates/template_partials/_encounter_class}}
|
|
46
|
+
{{/clazz}}
|
|
43
47
|
{{#diagnoses}}
|
|
44
48
|
<!-- QDM Attribute: Diagnoses -->
|
|
45
49
|
{{> qrda_templates/template_partials/_encounter_diagnosis_qdm}}
|
|
46
50
|
{{/diagnoses}}
|
|
51
|
+
{{#relatedTo}}
|
|
52
|
+
<!-- QDM Attribute: relatedTo -->
|
|
53
|
+
{{> qrda_templates/template_partials/_related_to}}
|
|
54
|
+
{{/relatedTo}}
|
|
47
55
|
</encounter>
|
|
48
56
|
</entryRelationship>
|
|
49
|
-
{{#negationRationale}}
|
|
50
|
-
<!-- QDM Attribute: Negation Rationale -->
|
|
51
|
-
{{> qrda_templates/template_partials/_reason}}
|
|
52
|
-
{{/negationRationale}}
|
|
53
57
|
</act>
|
|
54
58
|
</entry>
|
|
@@ -1,14 +1,14 @@
|
|
|
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="2021-08-01"/>
|
|
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="INT">
|
|
8
8
|
<!-- Conforms to C-CDA R2.1 Planned Encounter (V2) template -->
|
|
9
9
|
<templateId root="2.16.840.1.113883.10.20.22.4.40" extension="2014-06-09"/>
|
|
10
10
|
<!-- Encounter Recommended (V4) template -->
|
|
11
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.24" extension="
|
|
11
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.24" extension="2021-08-01"/>
|
|
12
12
|
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
|
13
13
|
<!-- QDM Attribute: Code -->
|
|
14
14
|
{{> _codes}}
|
|
@@ -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="2021-08-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="2021-08-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"/>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<!-- C-CDA R2 Immunization Activity -->
|
|
9
9
|
<templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
|
|
10
10
|
<!-- Immunization Administered -->
|
|
11
|
-
<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="2021-08-01"/>
|
|
12
12
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
13
13
|
<code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
|
|
14
14
|
<statusCode code="completed"/>
|
|
@@ -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="2021-08-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"/>
|
|
@@ -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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
{{> _codes}}
|
|
9
9
|
<text>{{description}}</text>
|
|
@@ -3,7 +3,7 @@
|
|
|
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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
{{> _codes}}
|
|
9
9
|
<text>{{description}}</text>
|
|
@@ -35,5 +35,9 @@
|
|
|
35
35
|
<!-- QDM Attribute: Status -->
|
|
36
36
|
{{> qrda_templates/template_partials/_status}}
|
|
37
37
|
{{/status}}
|
|
38
|
+
{{#relatedTo}}
|
|
39
|
+
<!-- QDM Attribute: relatedTo -->
|
|
40
|
+
{{> qrda_templates/template_partials/_related_to}}
|
|
41
|
+
{{/relatedTo}}
|
|
38
42
|
</act>
|
|
39
43
|
</entry>
|
|
@@ -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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<!-- QDM Attribute: Code -->
|
|
9
9
|
{{> _codes}}
|
|
@@ -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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
{{> _codes}}
|
|
9
9
|
<text>{{description}}</text>
|
|
@@ -1,7 +1,7 @@
|
|
|
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="2021-08-01"/>
|
|
5
5
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
6
6
|
{{> _codes}}
|
|
7
7
|
<text>{{description}}</text>
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
<!-- QDM Attribute: Components -->
|
|
42
42
|
{{> qrda_templates/template_partials/_component}}
|
|
43
43
|
{{/components}}
|
|
44
|
-
{{#
|
|
44
|
+
{{#relatedTo}}
|
|
45
45
|
<!-- QDM Attribute: relatedTo -->
|
|
46
46
|
{{> qrda_templates/template_partials/_related_to}}
|
|
47
|
-
{{/
|
|
47
|
+
{{/relatedTo}}
|
|
48
48
|
</observation>
|
|
49
49
|
</entry>
|
|
@@ -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="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<!-- QDM Attribute: Code -->
|
|
9
9
|
{{> _codes}}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Medication Activity (consolidation) template -->
|
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
|
5
5
|
<!-- Medication, Active template -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.41" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.41" extension="2021-08-01"/>
|
|
7
7
|
|
|
8
8
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
9
9
|
<text>{{description}}</text>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- Medication Activity (consolidation) template -->
|
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
|
5
5
|
<!-- Medication, Administered template -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.42" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.42" extension="2021-08-01"/>
|
|
7
7
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
8
8
|
<code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
|
|
9
9
|
<statusCode code="completed"/>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
|
3
3
|
<!-- Discharge Medication Entry -->
|
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.105" extension="
|
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.105" extension="2021-08-01"/>
|
|
5
5
|
<code code="75311-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Discharge medications"/>
|
|
6
6
|
<statusCode code="active"/>
|
|
7
7
|
{{#prescriber}}
|
|
@@ -20,8 +20,6 @@
|
|
|
20
20
|
<substanceAdministration moodCode="EVN" classCode="SBADM">
|
|
21
21
|
<!-- Medication Activity (consolidation) template -->
|
|
22
22
|
<templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
|
|
23
|
-
<!-- Medication, Active template -->
|
|
24
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.41" extension="2019-12-01"/>
|
|
25
23
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
26
24
|
<text>{{description}}</text>
|
|
27
25
|
<statusCode code="active"/>
|
|
@@ -44,7 +42,7 @@
|
|
|
44
42
|
</manufacturedProduct>
|
|
45
43
|
</consumable>
|
|
46
44
|
{{#authorDatetime}}
|
|
47
|
-
{{> qrda_templates/template_partials/
|
|
45
|
+
{{> qrda_templates/template_partials/_author}}
|
|
48
46
|
{{/authorDatetime}}
|
|
49
47
|
</substanceAdministration>
|
|
50
48
|
</entryRelationship>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<entry>
|
|
2
2
|
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
|
3
3
|
<!-- Medication Dispensed Act -->
|
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.139" extension="
|
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.139" extension="2021-08-01"/>
|
|
5
5
|
<code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="supply" codeSystemName="ActClass"/>
|
|
6
6
|
<entryRelationship typeCode="SUBJ">
|
|
7
7
|
<!--Medication dispensed -->
|
|
8
8
|
<supply classCode="SPLY" moodCode="EVN">
|
|
9
9
|
<!-- Medication Dispensed template -->
|
|
10
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.45" extension="
|
|
10
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.45" extension="2021-08-01"/>
|
|
11
11
|
<!-- Medication Dispense template -->
|
|
12
12
|
<templateId root="2.16.840.1.113883.10.20.22.4.18" extension="2014-06-09"/>
|
|
13
13
|
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<substanceAdministration classCode="SBADM" moodCode="RQO" {{{negation_ind}}}>
|
|
4
4
|
<templateId root="2.16.840.1.113883.10.20.22.4.42" extension="2014-06-09"/>
|
|
5
5
|
<!-- Medication, Order template -->
|
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.47" extension="
|
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.47" extension="2021-08-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"/>
|
|
@@ -66,5 +66,9 @@
|
|
|
66
66
|
{{> qrda_templates/template_partials/_medication_supply_request}}
|
|
67
67
|
</entryRelationship>
|
|
68
68
|
{{/supply}}
|
|
69
|
+
{{#relatedTo}}
|
|
70
|
+
<!-- QDM Attribute: relatedTo -->
|
|
71
|
+
{{> qrda_templates/template_partials/_related_to}}
|
|
72
|
+
{{/relatedTo}}
|
|
69
73
|
</substanceAdministration>
|
|
70
74
|
</entry>
|