cqm-parsers 0.2.2 → 3.0.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 +7 -3
- data/README.md +57 -5
- data/Rakefile +1 -0
- data/lib/{hqmf-parser.rb → cqm-parsers.rb} +13 -45
- data/lib/ext/data_element.rb +1 -1
- data/lib/hqmf-parser/2.0/document.rb +1 -1
- data/lib/hqmf-parser/2.0/population_criteria.rb +1 -1
- data/lib/hqmf-parser/cql/document_helpers/doc_population_helper.rb +11 -6
- data/lib/measure-loader/cql_loader.rb +165 -0
- data/lib/measure-loader/elm_dependency_finder.rb +72 -0
- data/lib/measure-loader/elm_parser.rb +67 -0
- data/lib/measure-loader/exceptions.rb +10 -0
- data/lib/measure-loader/helpers.rb +11 -0
- data/lib/measure-loader/hqmf_measure_loader.rb +170 -0
- data/lib/measure-loader/mat_measure_files.rb +138 -0
- data/lib/measure-loader/source_data_criteria_loader.rb +75 -0
- data/lib/measure-loader/value_set_helpers.rb +68 -0
- data/lib/measure-loader/vsac_value_set_loader.rb +97 -0
- data/lib/tasks/hqmf.rake +1 -1
- data/lib/util/util.rb +23 -0
- data/lib/util/vsac_api.rb +166 -103
- metadata +49 -116
- data/lib/ext/code.rb +0 -10
- data/lib/qrda-export/catI-r5/_code.mustache +0 -1
- data/lib/qrda-export/catI-r5/_codes.mustache +0 -10
- data/lib/qrda-export/catI-r5/_header.mustache +0 -28
- data/lib/qrda-export/catI-r5/_measure_section.mustache +0 -59
- data/lib/qrda-export/catI-r5/_reporting_period.mustache +0 -23
- data/lib/qrda-export/catI-r5/_values.mustache +0 -10
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +0 -137
- data/lib/qrda-export/catI-r5/qrda1_r5.rb +0 -125
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +0 -43
- data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +0 -82
- data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +0 -28
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +0 -29
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +0 -32
- data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +0 -38
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +0 -29
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +0 -24
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +0 -40
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +0 -29
- data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +0 -18
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +0 -18
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +0 -22
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +0 -35
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +0 -31
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +0 -55
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +0 -39
- data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +0 -38
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +0 -16
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +0 -25
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +0 -44
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +0 -6
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +0 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +0 -7
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +0 -19
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +0 -16
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +0 -3
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +0 -11
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +0 -1
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +0 -8
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +0 -12
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +0 -6
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +0 -21
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +0 -8
- data/lib/qrda-export/helper/cat_1_view_helper.rb +0 -142
- data/lib/qrda-export/helper/code_system_helper.rb +0 -77
- data/lib/qrda-export/helper/date_helper.rb +0 -85
- data/lib/qrda-import/base-importers/demographics_importer.rb +0 -43
- data/lib/qrda-import/base-importers/medication_importer.rb +0 -23
- data/lib/qrda-import/base-importers/section_importer.rb +0 -196
- data/lib/qrda-import/cda_identifier.rb +0 -19
- data/lib/qrda-import/data-element-importers/adverse_event_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb +0 -22
- data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/communication_from_patient_to_provider_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/communication_from_provider_to_patient_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/communication_from_provider_to_provider_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/device_applied_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/device_order_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +0 -24
- data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +0 -31
- data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +0 -42
- data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +0 -18
- data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +0 -23
- data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +0 -21
- data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +0 -29
- data/lib/qrda-import/data-element-importers/medication_active_importer.rb +0 -17
- data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +0 -17
- data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +0 -19
- data/lib/qrda-import/data-element-importers/medication_order_importer.rb +0 -16
- data/lib/qrda-import/data-element-importers/patient_characteristic_expired.rb +0 -22
- data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +0 -27
- data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +0 -27
- data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +0 -35
- data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +0 -16
- data/lib/qrda-import/entry_finder.rb +0 -20
- data/lib/qrda-import/entry_package.rb +0 -16
- data/lib/qrda-import/narrative_reference_handler.rb +0 -33
- data/lib/qrda-import/patient_importer.rb +0 -111
@@ -1,24 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.3" extension="2017-08-01"/>
|
4
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
5
|
-
{{> _codes}}
|
6
|
-
<text>{{description}}</text>
|
7
|
-
<statusCode code="completed"/>
|
8
|
-
{{#authorDatetime}}
|
9
|
-
{{> qrda_templates/template_partials/_author}}
|
10
|
-
{{/authorDatetime}}
|
11
|
-
<participant typeCode="AUT">
|
12
|
-
<participantRole classCode="ASSIGNED">
|
13
|
-
<code code="158965000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Medical Practitioner"/>
|
14
|
-
</participantRole>
|
15
|
-
</participant>
|
16
|
-
|
17
|
-
<participant typeCode="IRCP">
|
18
|
-
<participantRole classCode="PAT"/>
|
19
|
-
</participant>
|
20
|
-
{{#negationRationale}}
|
21
|
-
{{> qrda_templates/template_partials/_reason}}
|
22
|
-
{{/negationRationale}}
|
23
|
-
</act>
|
24
|
-
</entry>
|
data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
|
-
<!-- Communication from provider to provider -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.4" 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
|
-
{{#authorDatetime}}
|
10
|
-
{{> qrda_templates/template_partials/_author}}
|
11
|
-
{{/authorDatetime}}
|
12
|
-
<participant typeCode="AUT">
|
13
|
-
<participantRole classCode="ASSIGNED">
|
14
|
-
<code code="158965000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Medical Practitioner"/>
|
15
|
-
</participantRole>
|
16
|
-
</participant>
|
17
|
-
|
18
|
-
<participant typeCode="IRCP">
|
19
|
-
<participantRole classCode="ASSIGNED">
|
20
|
-
<code code="158965000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Medical Practitioner"/>
|
21
|
-
</participantRole>
|
22
|
-
</participant>
|
23
|
-
{{#negationRationale}}
|
24
|
-
{{> qrda_templates/template_partials/_reason}}
|
25
|
-
{{/negationRationale}}
|
26
|
-
<!-- Fulfills-->
|
27
|
-
{{#relatedTo}}
|
28
|
-
{{> qrda_templates/template_partials/_related_to}}
|
29
|
-
{{/relatedTo}}
|
30
|
-
</act>
|
31
|
-
</entry>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<procedure classCode="PROC" moodCode="EVN" {{{negation_ind}}}>
|
3
|
-
<!-- Procedure Activity Procedure -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/>
|
5
|
-
<!-- Device Applied -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.7" extension="2017-08-01"/>
|
7
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
-
<code code="360030002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="application of device"/>
|
9
|
-
<text>{{description}}</text>
|
10
|
-
<statusCode code="completed"/>
|
11
|
-
{{#relevantPeriod}}
|
12
|
-
{{{relevant_period}}}
|
13
|
-
{{/relevantPeriod}}
|
14
|
-
{{#anatomicalLocationSite}}
|
15
|
-
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
16
|
-
{{/anatomicalLocationSite}}
|
17
|
-
{{#authorDatetime}}
|
18
|
-
{{> qrda_templates/template_partials/_author}}
|
19
|
-
{{/authorDatetime}}
|
20
|
-
<participant typeCode="DEV">
|
21
|
-
<participantRole classCode="MANU">
|
22
|
-
<playingDevice classCode="DEV">
|
23
|
-
{{> _codes}}
|
24
|
-
</playingDevice>
|
25
|
-
</participantRole>
|
26
|
-
</participant>
|
27
|
-
{{#negationRationale}}
|
28
|
-
{{> qrda_templates/template_partials/_reason}}
|
29
|
-
{{/negationRationale}}
|
30
|
-
</procedure>
|
31
|
-
</entry>
|
32
|
-
|
@@ -1,31 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.130" extension="2017-08-01"/>
|
4
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
5
|
-
<code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="Supply" codeSystemName="ActClass"/>
|
6
|
-
<entryRelationship typeCode="SUBJ">
|
7
|
-
<supply classCode="SPLY" moodCode="RQO">
|
8
|
-
<!-- Plan of Care Activity Supply -->
|
9
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.43" extension="2014-06-09"/>
|
10
|
-
<!-- Device, Order -->
|
11
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.9" extension="2017-08-01"/>
|
12
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
13
|
-
<text>{{description}}</text>
|
14
|
-
<statusCode code="active"/>
|
15
|
-
{{#authorDatetime}}
|
16
|
-
{{> qrda_templates/template_partials/_author}}
|
17
|
-
{{/authorDatetime}}
|
18
|
-
<participant typeCode="DEV">
|
19
|
-
<participantRole classCode="MANU">
|
20
|
-
<playingDevice classCode="DEV">
|
21
|
-
{{> _codes}}
|
22
|
-
</playingDevice>
|
23
|
-
</participantRole>
|
24
|
-
</participant>
|
25
|
-
{{#negationRationale}}
|
26
|
-
{{> qrda_templates/template_partials/_reason}}
|
27
|
-
{{/negationRationale}}
|
28
|
-
</supply>
|
29
|
-
</entryRelationship>
|
30
|
-
</act>
|
31
|
-
</entry>
|
@@ -1,38 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="EVN">
|
3
|
-
<!-- Conforms to C-CDA 2.1 Problem Concern Act (V3) -->
|
4
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01" />
|
5
|
-
<!-- Diagnosis Concern Act -->
|
6
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.137" extension="2017-08-01"/>
|
7
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
-
<code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern" />
|
9
|
-
{{#completed_prevalence_period}}
|
10
|
-
<statusCode code="completed" />
|
11
|
-
{{/completed_prevalence_period}}
|
12
|
-
{{^completed_prevalence_period}}
|
13
|
-
<statusCode code="active" />
|
14
|
-
{{/completed_prevalence_period}}
|
15
|
-
{{{prevalence_period}}}
|
16
|
-
<entryRelationship typeCode="SUBJ">
|
17
|
-
<observation classCode="OBS" moodCode="EVN">
|
18
|
-
<!-- Conforms to C-CDA R2.1 Problem Observation (V3) -->
|
19
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01" />
|
20
|
-
<!-- Diagnosis template -->
|
21
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.135" extension="2017-08-01" />
|
22
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
23
|
-
<code code="29308-4" codeSystem="2.16.840.1.113883.6.1">
|
24
|
-
<translation code="282291009" codeSystem="2.16.840.1.113883.6.96"/>
|
25
|
-
</code>
|
26
|
-
<statusCode code="completed" />
|
27
|
-
{{{prevalence_period}}}
|
28
|
-
{{> _values}}
|
29
|
-
{{#anatomicalLocationSite}}
|
30
|
-
{{> qrda_templates/template_partials/_anatomical_location_site}}
|
31
|
-
{{/anatomicalLocationSite}}
|
32
|
-
{{#severity}}
|
33
|
-
{{> qrda_templates/template_partials/_severity}}
|
34
|
-
{{/severity}}
|
35
|
-
</observation>
|
36
|
-
</entryRelationship>
|
37
|
-
</act>
|
38
|
-
</entry>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<observation classCode="OBS" moodCode="RQO" {{{negation_ind}}}>
|
3
|
-
<!-- Consolidated Plan of Care Activity Observation
|
4
|
-
templateId (Implied Template) -->
|
5
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.44" extension="2014-06-09"/>
|
6
|
-
<!-- Diagnostic Study, Order template -->
|
7
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.17" extension="2017-08-01"/>
|
8
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
9
|
-
{{> _codes}}
|
10
|
-
<text>{{description}}</text>
|
11
|
-
<statusCode code="active"/>
|
12
|
-
{{#authorDatetime}}
|
13
|
-
{{> qrda_templates/template_partials/_author}}
|
14
|
-
{{/authorDatetime}}
|
15
|
-
{{#negationRationale}}
|
16
|
-
{{> qrda_templates/template_partials/_reason}}
|
17
|
-
{{/negationRationale}}
|
18
|
-
</observation>
|
19
|
-
</entry>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
3
|
-
<!-- Consolidated Procedure Activity Observation templateId
|
4
|
-
(Implied Template) -->
|
5
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.13" extension="2014-06-09"/>
|
6
|
-
<!-- Diagnostic Study, Performed template -->
|
7
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.18" extension="2017-08-01"/>
|
8
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
9
|
-
{{> _codes}}
|
10
|
-
<text>{{description}}</text>
|
11
|
-
<statusCode code="completed"/>
|
12
|
-
{{#relevantPeriod}}
|
13
|
-
{{{relevant_period}}}
|
14
|
-
{{/relevantPeriod}}
|
15
|
-
<value nullFlavor="NA" xsi:type="CD" />
|
16
|
-
{{#authorDatetime}}
|
17
|
-
{{> qrda_templates/template_partials/_author}}
|
18
|
-
{{/authorDatetime}}
|
19
|
-
{{#negationRationale}}
|
20
|
-
{{> qrda_templates/template_partials/_reason}}
|
21
|
-
{{/negationRationale}}
|
22
|
-
{{#result}}
|
23
|
-
{{> qrda_templates/template_partials/_results}}
|
24
|
-
{{/result}}
|
25
|
-
{{#components}}
|
26
|
-
{{> qrda_templates/template_partials/_component}}
|
27
|
-
{{/components}}
|
28
|
-
</observation>
|
29
|
-
</entry>
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="RQO" {{{negation_ind}}}>
|
3
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.132" extension="2017-08-01"/>
|
4
|
-
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" displayName="Encounter" codeSystemName="ActClass"/>
|
5
|
-
<entryRelationship typeCode="SUBJ">
|
6
|
-
<encounter classCode="ENC" moodCode="RQO">
|
7
|
-
<!-- Plan of Care Activity Encounter template -->
|
8
|
-
<templateId root="2.16.840.1.113883.10.20.22.4.40" extension="2014-06-09"/>
|
9
|
-
<!-- Encounter order template -->
|
10
|
-
<templateId root="2.16.840.1.113883.10.20.24.3.22" extension="2017-08-01"/>
|
11
|
-
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
12
|
-
{{> _codes}}
|
13
|
-
<text>{{description}}</text>
|
14
|
-
<statusCode code="active"/>
|
15
|
-
{{#authorDatetime}}
|
16
|
-
{{> qrda_templates/template_partials/_author}}
|
17
|
-
{{/authorDatetime}}
|
18
|
-
{{#negationRationale}}
|
19
|
-
{{> qrda_templates/template_partials/_reason}}
|
20
|
-
{{/negationRationale}}
|
21
|
-
</encounter>
|
22
|
-
</entryRelationship>
|
23
|
-
</act>
|
24
|
-
</entry>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
<entry>
|
2
|
-
<act classCode="ACT" moodCode="EVN">
|
3
|
-
<!--Encounter performed Act -->
|
4
|
-
<templateId extension="2017-08-01" root="2.16.840.1.113883.10.20.24.3.133"/>
|
5
|
-
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" codeSystemName="ActClass" displayName="Encounter"/>
|
6
|
-
<entryRelationship typeCode="SUBJ">
|
7
|
-
<encounter classCode="ENC" moodCode="EVN">
|
8
|
-
<!-- Encounter activities template -->
|
9
|
-
<templateId extension="2015-08-01" root="2.16.840.1.113883.10.20.22.4.49"/>
|
10
|
-
<!-- Encounter performed template -->
|
11
|
-
<templateId extension="2017-08-01" root="2.16.840.1.113883.10.20.24.3.23"/>
|
12
|
-
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
13
|
-
{{> _codes}}
|
14
|
-
<text>{{description}}</text>
|
15
|
-
<statusCode code="completed"/>
|
16
|
-
{{#relevantPeriod}}
|
17
|
-
{{{relevant_period}}}
|
18
|
-
{{/relevantPeriod}}
|
19
|
-
{{#dischargeDisposition}}
|
20
|
-
<sdtc:dischargeDispositionCode {{> _code}}/>
|
21
|
-
{{/dischargeDisposition}}
|
22
|
-
{{#authorDatetime}}
|
23
|
-
{{> qrda_templates/template_partials/_author}}
|
24
|
-
{{/authorDatetime}}
|
25
|
-
{{#facilityLocations}}
|
26
|
-
{{> qrda_templates/template_partials/_encounter_facility_location}}
|
27
|
-
{{/facilityLocations}}
|
28
|
-
{{#admissionSource}}
|
29
|
-
{{> qrda_templates/template_partials/_admission_source}}
|
30
|
-
{{/admissionSource}}
|
31
|
-
{{#principalDiagnosis}}
|
32
|
-
{{> qrda_templates/template_partials/_principal_diagnosis}}
|
33
|
-
{{/principalDiagnosis}}
|
34
|
-
{{#diagnoses}}
|
35
|
-
{{> qrda_templates/template_partials/_encounter_diagnosis}}
|
36
|
-
{{/diagnoses}}
|
37
|
-
</encounter>
|
38
|
-
</entryRelationship>
|
39
|
-
</act>
|
40
|
-
</entry>
|
@@ -1,29 +0,0 @@
|
|
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>
|
@@ -1,11 +0,0 @@
|
|
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>
|
@@ -1,18 +0,0 @@
|
|
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>
|
@@ -1,25 +0,0 @@
|
|
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>
|
@@ -1,18 +0,0 @@
|
|
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>
|
@@ -1,22 +0,0 @@
|
|
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>
|
@@ -1,35 +0,0 @@
|
|
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>
|