cqm-parsers 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hqmf-model/data_criteria.json +1046 -0
- data/lib/hqmf-parser/1.0/data_criteria_oid_xpath.json +91 -0
- data/lib/qrda-export/catI-r5/_code.mustache +1 -0
- data/lib/qrda-export/catI-r5/_codes.mustache +10 -0
- data/lib/qrda-export/catI-r5/_header.mustache +28 -0
- data/lib/qrda-export/catI-r5/_measure_section.mustache +59 -0
- data/lib/qrda-export/catI-r5/_reporting_period.mustache +23 -0
- data/lib/qrda-export/catI-r5/_values.mustache +10 -0
- data/lib/qrda-export/catI-r5/qrda1_r5.mustache +137 -0
- data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +20 -0
- data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +17 -0
- data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +80 -0
- data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +28 -0
- data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +28 -0
- data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +24 -0
- data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +32 -0
- data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +41 -0
- data/lib/qrda-export/catI-r5/qrda_templates/immunization_aministered.mustache +29 -0
- data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +18 -0
- data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +22 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +35 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +31 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +55 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +39 -0
- data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +38 -0
- data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +16 -0
- data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +25 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +44 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +1 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +7 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +19 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +16 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +3 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +11 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +1 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +8 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +12 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +6 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +21 -0
- data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +8 -0
- data/lib/tasks/hqmf.rake +170 -0
- data/lib/util/hqmf_template_oid_map.json +674 -0
- data/lib/util/hqmfr2_template_oid_map.json +390 -0
- data/lib/util/hqmfr2cql_template_oid_map.json +390 -0
- metadata +64 -1
@@ -0,0 +1,25 @@
|
|
1
|
+
<legalAuthenticator>
|
2
|
+
<time value="20180524170839"/>
|
3
|
+
<signatureCode code="S"/>
|
4
|
+
<assignedEntity>
|
5
|
+
<id root="bc01a5d1-3a34-4286-82cc-43eb04c972a7"/>
|
6
|
+
<addr>
|
7
|
+
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
8
|
+
<city>Bedford</city>
|
9
|
+
<state>MA</state>
|
10
|
+
<postalCode>01730</postalCode>
|
11
|
+
<country>US</country>
|
12
|
+
</addr>
|
13
|
+
<telecom use="WP" value="tel:(781)271-3000"/>
|
14
|
+
<assignedPerson>
|
15
|
+
<name>
|
16
|
+
<given>Henry</given>
|
17
|
+
<family>Seven</family>
|
18
|
+
</name>
|
19
|
+
</assignedPerson>
|
20
|
+
<representedOrganization>
|
21
|
+
<id root="2.16.840.1.113883.19.5"/>
|
22
|
+
<name>Cypress</name>
|
23
|
+
</representedOrganization>
|
24
|
+
</assignedEntity>
|
25
|
+
</legalAuthenticator>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<participant typeCode="DEV">
|
2
|
+
<associatedEntity classCode="RGPR">
|
3
|
+
<!-- CMS EHR Certification Number (formerly known as Office of the
|
4
|
+
National Coordinator Certification Number) -->
|
5
|
+
<id extension="123456789" root="2.16.840.1.113883.3.2074.1"/>
|
6
|
+
</associatedEntity>
|
7
|
+
</participant>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<recordTarget>
|
2
|
+
<patientRole>
|
3
|
+
<id extension="{{mrn}}" root="Bonnie"/>
|
4
|
+
<id extension="{{mrn}}" root="1.3.6.1.4.1.115" />
|
5
|
+
<addr use="HP">
|
6
|
+
<streetAddressLine>202 Burlington Rd.</streetAddressLine>
|
7
|
+
<city>Bedford</city>
|
8
|
+
<state>MA</state>
|
9
|
+
<postalCode>01730</postalCode>
|
10
|
+
<country>US</country>
|
11
|
+
</addr>
|
12
|
+
<telecom use="WP" value="tel:+1-781-271-3000"/>
|
13
|
+
<patient>
|
14
|
+
<name>
|
15
|
+
<given>{{{given_name}}}</given>
|
16
|
+
<family>{{family_name}}</family>
|
17
|
+
</name>
|
18
|
+
<administrativeGenderCode code="{{{gender}}}" codeSystem="2.16.840.1.113883.5.1" codeSystemName="HL7 AdministrativeGender"/>
|
19
|
+
<birthTime value="{{{birthdate}}}"/>
|
20
|
+
<raceCode code="{{{race}}}" displayName="Black or African American" codeSystemName="CDC Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238"/>
|
21
|
+
<ethnicGroupCode code="{{{ethnic_group}}}" displayName="Not Hispanic or Latino" codeSystemName="CDC Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238"/>
|
22
|
+
<languageCommunication>
|
23
|
+
<templateId root="2.16.840.1.113883.3.88.11.83.2" assigningAuthorityName="HITSP/C83"/>
|
24
|
+
<templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.1" assigningAuthorityName="IHE/PCC"/>
|
25
|
+
<languageCode code="eng"/>
|
26
|
+
</languageCommunication>
|
27
|
+
</patient>
|
28
|
+
</patientRole>
|
29
|
+
</recordTarget>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Adverse Event -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.146" extension="2017-08-01"/>
|
5
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
6
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
|
7
|
+
<statusCode code="completed"/>
|
8
|
+
{{#relevantPeriod}}
|
9
|
+
{{{relevant_period}}}
|
10
|
+
{{/relevantPeriod}}
|
11
|
+
<value xsi:type="CD"
|
12
|
+
code="281647001"
|
13
|
+
displayName="Adverse reaction"
|
14
|
+
codeSystem="2.16.840.1.113883.6.96"
|
15
|
+
codeSystemName="SNOMED CT"/>
|
16
|
+
{{#authorDatetime}}
|
17
|
+
{{> qrda_templates/template_partials/_author}}
|
18
|
+
{{/authorDatetime}}
|
19
|
+
<entryRelationship typeCode="CAUS" inversionInd="true">
|
20
|
+
<observation classCode="OBS" moodCode="EVN">
|
21
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.148" extension="2017-08-01" />
|
22
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" />
|
23
|
+
<statusCode code="completed" />
|
24
|
+
{{> _values}}
|
25
|
+
</observation>
|
26
|
+
</entryRelationship>
|
27
|
+
</observation>
|
28
|
+
</entry>
|
@@ -0,0 +1,28 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN">
|
3
|
+
<!-- Conforms to C-CDA R2.1 Substance or Device Allergy - Intolerance Observation (V2) -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.90" extension="2014-06-09"/>
|
5
|
+
<!-- Allergy Intolerance -->
|
6
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.147" extension="2017-08-01"/>
|
7
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
8
|
+
<code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
|
9
|
+
<statusCode code="completed"/>
|
10
|
+
{{{prevalence_period}}}
|
11
|
+
<value xsi:type="CD"
|
12
|
+
code="419199007"
|
13
|
+
displayName="Allergy to substance"
|
14
|
+
codeSystem="2.16.840.1.113883.6.96"
|
15
|
+
codeSystemName="SNOMED CT"/>
|
16
|
+
{{#authorDatetime}}
|
17
|
+
{{> qrda_templates/template_partials/_author}}
|
18
|
+
{{/authorDatetime}}
|
19
|
+
<participant typeCode="CSM">
|
20
|
+
<participantRole classCode="MANU">
|
21
|
+
<playingEntity classCode="MMAT">
|
22
|
+
{{> _codes}}
|
23
|
+
<name>{{description}}</name>
|
24
|
+
</playingEntity>
|
25
|
+
</participantRole>
|
26
|
+
</participant>
|
27
|
+
</observation>
|
28
|
+
</entry>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<entry>
|
2
|
+
<observation classCode="OBS" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Assessment Performed -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.144" 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
|
+
{{#result}}
|
16
|
+
{{> qrda_templates/template_partials/_results}}
|
17
|
+
{{/result}}
|
18
|
+
{{#negationRationale}}
|
19
|
+
{{> qrda_templates/template_partials/_reason}}
|
20
|
+
{{/negationRationale}}
|
21
|
+
{{#components}}
|
22
|
+
{{> qrda_templates/template_partials/_component}}
|
23
|
+
{{/components}}
|
24
|
+
</observation>
|
25
|
+
</entry>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<entry>
|
2
|
+
<act classCode="ACT" moodCode="EVN" {{{negation_ind}}}>
|
3
|
+
<!-- Communication from patient to provider -->
|
4
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.2" 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="PAT">
|
14
|
+
<code code="116154003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Patient"/>
|
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
|
+
|
24
|
+
{{#negationRationale}}
|
25
|
+
{{> qrda_templates/template_partials/_reason}}
|
26
|
+
{{/negationRationale}}
|
27
|
+
|
28
|
+
</act>
|
29
|
+
</entry>
|
@@ -0,0 +1,24 @@
|
|
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>
|
@@ -0,0 +1,31 @@
|
|
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>
|
@@ -0,0 +1,32 @@
|
|
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
|
+
|
@@ -0,0 +1,31 @@
|
|
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
|
+
</supply>
|
26
|
+
</entryRelationship>
|
27
|
+
{{#negationRationale}}
|
28
|
+
{{> qrda_templates/template_partials/_reason}}
|
29
|
+
{{/negationRationale}}
|
30
|
+
</act>
|
31
|
+
</entry>
|
@@ -0,0 +1,38 @@
|
|
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>
|
@@ -0,0 +1,19 @@
|
|
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>
|
@@ -0,0 +1,29 @@
|
|
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>
|
@@ -0,0 +1,25 @@
|
|
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
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
5
|
+
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" displayName="Encounter" codeSystemName="ActClass"/>
|
6
|
+
<entryRelationship typeCode="SUBJ">
|
7
|
+
<encounter classCode="ENC" moodCode="RQO">
|
8
|
+
<!-- Plan of Care Activity Encounter template -->
|
9
|
+
<templateId root="2.16.840.1.113883.10.20.22.4.40" extension="2014-06-09"/>
|
10
|
+
<!-- Encounter order template -->
|
11
|
+
<templateId root="2.16.840.1.113883.10.20.24.3.22" extension="2017-08-01"/>
|
12
|
+
<id root="1.3.6.1.4.1.115" extension="{{object_id}}"/>
|
13
|
+
{{> _codes}}
|
14
|
+
<text>{{description}}</text>
|
15
|
+
<statusCode code="active"/>
|
16
|
+
{{#authorDatetime}}
|
17
|
+
{{> qrda_templates/template_partials/_author}}
|
18
|
+
{{/authorDatetime}}
|
19
|
+
</encounter>
|
20
|
+
</entryRelationship>
|
21
|
+
{{#negationRationale}}
|
22
|
+
{{> qrda_templates/template_partials/_reason}}
|
23
|
+
{{/negationRationale}}
|
24
|
+
</act>
|
25
|
+
</entry>
|
@@ -0,0 +1,41 @@
|
|
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
|
+
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
6
|
+
<code code="ENC" codeSystem="2.16.840.1.113883.5.6" codeSystemName="ActClass" displayName="Encounter"/>
|
7
|
+
<entryRelationship typeCode="SUBJ">
|
8
|
+
<encounter classCode="ENC" moodCode="EVN">
|
9
|
+
<!-- Encounter activities template -->
|
10
|
+
<templateId extension="2015-08-01" root="2.16.840.1.113883.10.20.22.4.49"/>
|
11
|
+
<!-- Encounter performed template -->
|
12
|
+
<templateId extension="2017-08-01" root="2.16.840.1.113883.10.20.24.3.23"/>
|
13
|
+
<id extension="{{object_id}}" root="1.3.6.1.4.1.115"/>
|
14
|
+
{{> _codes}}
|
15
|
+
<text>{{description}}</text>
|
16
|
+
<statusCode code="completed"/>
|
17
|
+
{{#relevantPeriod}}
|
18
|
+
{{{relevant_period}}}
|
19
|
+
{{/relevantPeriod}}
|
20
|
+
{{#dischargeDisposition}}
|
21
|
+
<sdtc:dischargeDispositionCode {{> _code}}/>
|
22
|
+
{{/dischargeDisposition}}
|
23
|
+
{{#authorDatetime}}
|
24
|
+
{{> qrda_templates/template_partials/_author}}
|
25
|
+
{{/authorDatetime}}
|
26
|
+
{{#facilityLocations}}
|
27
|
+
{{> qrda_templates/template_partials/_encounter_facility_location}}
|
28
|
+
{{/facilityLocations}}
|
29
|
+
{{#admissionSource}}
|
30
|
+
{{> qrda_templates/template_partials/_admission_source}}
|
31
|
+
{{/admissionSource}}
|
32
|
+
{{#principalDiagnosis}}
|
33
|
+
{{> qrda_templates/template_partials/_principal_diagnosis}}
|
34
|
+
{{/principalDiagnosis}}
|
35
|
+
{{#diagnoses}}
|
36
|
+
{{> qrda_templates/template_partials/_encounter_diagnosis}}
|
37
|
+
{{/diagnoses}}
|
38
|
+
</encounter>
|
39
|
+
</entryRelationship>
|
40
|
+
</act>
|
41
|
+
</entry>
|