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.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hqmf-model/data_criteria.json +1046 -0
  3. data/lib/hqmf-parser/1.0/data_criteria_oid_xpath.json +91 -0
  4. data/lib/qrda-export/catI-r5/_code.mustache +1 -0
  5. data/lib/qrda-export/catI-r5/_codes.mustache +10 -0
  6. data/lib/qrda-export/catI-r5/_header.mustache +28 -0
  7. data/lib/qrda-export/catI-r5/_measure_section.mustache +59 -0
  8. data/lib/qrda-export/catI-r5/_reporting_period.mustache +23 -0
  9. data/lib/qrda-export/catI-r5/_values.mustache +10 -0
  10. data/lib/qrda-export/catI-r5/qrda1_r5.mustache +137 -0
  11. data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +20 -0
  12. data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +17 -0
  13. data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +80 -0
  14. data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +7 -0
  15. data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +25 -0
  16. data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +7 -0
  17. data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +29 -0
  18. data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +28 -0
  19. data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +28 -0
  20. data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +25 -0
  21. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +29 -0
  22. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +24 -0
  23. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +31 -0
  24. data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +32 -0
  25. data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +31 -0
  26. data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +38 -0
  27. data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +19 -0
  28. data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +29 -0
  29. data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +25 -0
  30. data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +41 -0
  31. data/lib/qrda-export/catI-r5/qrda_templates/immunization_aministered.mustache +29 -0
  32. data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +11 -0
  33. data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +18 -0
  34. data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +25 -0
  35. data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +18 -0
  36. data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +22 -0
  37. data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +35 -0
  38. data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +31 -0
  39. data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +55 -0
  40. data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +39 -0
  41. data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +38 -0
  42. data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +16 -0
  43. data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +25 -0
  44. data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +19 -0
  45. data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +44 -0
  46. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +6 -0
  47. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +1 -0
  48. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +7 -0
  49. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +7 -0
  50. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +11 -0
  51. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +19 -0
  52. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +16 -0
  53. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +3 -0
  54. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +11 -0
  55. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +1 -0
  56. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +8 -0
  57. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +12 -0
  58. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +6 -0
  59. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +21 -0
  60. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +8 -0
  61. data/lib/tasks/hqmf.rake +170 -0
  62. data/lib/util/hqmf_template_oid_map.json +674 -0
  63. data/lib/util/hqmfr2_template_oid_map.json +390 -0
  64. data/lib/util/hqmfr2cql_template_oid_map.json +390 -0
  65. metadata +64 -1
@@ -0,0 +1,91 @@
1
+ {
2
+ "patient_characteristic":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
3
+ "patient_characteristic_birthdate":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
4
+ "patient_characteristic_clinical_trial_participant":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
5
+ "patient_characteristic_gender":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
6
+ "patient_characteristic_ethnicity":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
7
+ "patient_characteristic_expired":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
8
+ "patient_characteristic_payer":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
9
+ "patient_characteristic_race":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
10
+ "encounter":{"oid_xpath":"cda:act/cda:sourceOf/cda:encounter/cda:code/@code"},
11
+ "encounter_active":{"oid_xpath":"cda:act/cda:sourceOf/cda:encounter/cda:code/@code"},
12
+ "encounter_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:encounter/cda:code/@code"},
13
+ "encounter_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:encounter/cda:code/@code"},
14
+ "encounter_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:encounter/cda:code/@code"},
15
+ "procedure_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
16
+ "procedure_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
17
+ "procedure_result":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
18
+ "procedure_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
19
+ "procedure_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
20
+ "procedure_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
21
+ "diagnosis_active":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
22
+ "diagnosis_resolved":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
23
+ "diagnosis_family_history":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
24
+ "diagnosis_inactive":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
25
+ "diagnosis_risk_of":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
26
+ "diagnostic_study_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
27
+ "diagnostic_study_result":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
28
+ "diagnostic_study_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
29
+ "diagnostic_study_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
30
+ "diagnostic_study_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
31
+ "medication_discharge":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
32
+ "medication_dispensed":{"oid_xpath":"cda:act/cda:sourceOf/cda:supply/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
33
+ "medication_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
34
+ "medication_active":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
35
+ "medication_administered":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
36
+ "medication_adverse_effects":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
37
+ "medication_allergy":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
38
+ "medication_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
39
+ "physical_exam":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
40
+ "physical_exam":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
41
+ "physical_exam_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
42
+ "physical_exam_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
43
+ "physical_exam_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
44
+ "laboratory_test":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
45
+ "laboratory_test_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
46
+ "laboratory_test_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
47
+ "laboratory_test_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
48
+ "laboratory_test_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
49
+ "laboratory_test_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
50
+ "care_goal":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:value/@code"},
51
+ "communication_from_patient_to_provider":{"oid_xpath":"cda:act/cda:sourceOf/cda:act/cda:code/@code"},
52
+ "communication_from_provider_to_patient":{"oid_xpath":"cda:act/cda:sourceOf/cda:act/cda:code/@code"},
53
+ "communication_from_provider_to_provider":{"oid_xpath":"cda:act/cda:sourceOf/cda:act/cda:code/@code"},
54
+ "device_applied":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:participant/cda:roleParticipant/cda:playingDevice/cda:code/@code"},
55
+ "device_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
56
+ "device_allergy":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
57
+ "device_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
58
+ "device_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:supply/cda:participant/cda:roleParticipant/cda:playingDevice/cda:code/@code"},
59
+ "device_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:supply/cda:participant/cda:roleParticipant/cda:playingDevice/cda:code/@code"},
60
+ "substance_administered":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
61
+ "substance_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
62
+ "substance_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
63
+ "substance_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
64
+ "substance_allergy":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
65
+ "substance_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:substanceAdministration/cda:participant/cda:roleParticipant/cda:playingMaterial/cda:code/@code"},
66
+ "intervention_adverse_event":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
67
+ "intervention_intolerance":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:sourceOf/cda:procedure/cda:code/@code"},
68
+ "intervention_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
69
+ "intervention_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
70
+ "intervention_result":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
71
+ "intervention_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:procedure/cda:code/@code"},
72
+ "symptom_active":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
73
+ "symptom_assessed":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
74
+ "symptom_inactive":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
75
+ "symptom_resolved":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
76
+ "functional_status":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
77
+ "functional_status_performed":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
78
+ "functional_status_ordered":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
79
+ "functional_status_recommended":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
80
+ "functional_status_result":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
81
+ "risk_category_assessment":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
82
+ "provider_care_experience":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
83
+ "patient_care_experience":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
84
+ "preference_provider":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
85
+ "preference_patient":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
86
+ "system_characteristic":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:code/@code"},
87
+ "provider_characteristic":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:code/@code"},
88
+ "provider_characteristic":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:code/@code"},
89
+ "transfer_from":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:code/@code"},
90
+ "transfer_to":{"oid_xpath":"cda:act/cda:sourceOf/cda:observation/cda:participant/cda:roleParticipant/cda:code/@code"}
91
+ }
@@ -0,0 +1 @@
1
+ {{{code_and_codesystem}}}
@@ -0,0 +1,10 @@
1
+ {{#multiple_codes?}}
2
+ <code {{{primary_code_and_codesystem}}}>
3
+ {{{translation_codes_and_codesystem_list}}}
4
+ </code>
5
+ {{/multiple_codes?}}
6
+ {{^multiple_codes?}}
7
+ {{#dataElementCodes}}
8
+ <code {{> _code}}/>
9
+ {{/dataElementCodes}}
10
+ {{/multiple_codes?}}
@@ -0,0 +1,28 @@
1
+ <!-- QRDA Header -->
2
+ <realmCode code="US"/>
3
+ <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
4
+ <!-- US Realm Header Template Id -->
5
+ <templateId root="2.16.840.1.113883.10.20.22.1.1" extension="2015-08-01"/>
6
+ <!-- QRDA templateId -->
7
+ <templateId root="2.16.840.1.113883.10.20.24.1.1" extension="2016-02-01"/>
8
+ <!-- QDM-based QRDA templateId -->
9
+ <templateId root="2.16.840.1.113883.10.20.24.1.2" extension="2016-02-01"/>
10
+ <!-- CMS QRDA templateId -->
11
+ <templateId root="2.16.840.1.113883.10.20.24.1.3" extension="2017-07-01" />
12
+ <!-- This is the globally unique identifier for this QRDA document -->
13
+ <id root="{{random_id}}"/>
14
+ <!-- QRDA document type code -->
15
+ <code code="55182-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Quality Measure Report"/>
16
+ <title>QRDA Incidence Report</title>
17
+ <!-- This is the document creation time -->
18
+ <effectiveTime value="20180524170839"/>
19
+ <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
20
+ <languageCode code="en"/>
21
+ <!-- reported patient -->
22
+ {{> qrda_header/_record_target}}
23
+ {{> qrda_header/_author}}
24
+ {{> qrda_header/_custodian}}
25
+ {{> qrda_header/_information_recipient}}
26
+ {{> qrda_header/_legal_authenticator}}
27
+ {{> qrda_header/_participant}}
28
+ {{> qrda_header/_documentation_of_service_event}}
@@ -0,0 +1,59 @@
1
+ <component>
2
+ <section>
3
+ <!--
4
+ *****************************************************************
5
+ Measure Section
6
+ *****************************************************************
7
+ -->
8
+ <!-- This is the templateId for Measure Section -->
9
+ <templateId root="2.16.840.1.113883.10.20.24.2.2"/>
10
+ <!-- This is the templateId for Measure Section QDM -->
11
+ <templateId root="2.16.840.1.113883.10.20.24.2.3"/>
12
+ <!-- This is the LOINC code for "Measure document". This stays the same for all measure section required by QRDA standard -->
13
+ <code code="55186-1" codeSystem="2.16.840.1.113883.6.1"/>
14
+ <title>Measure Section</title>
15
+ <text>
16
+ <table border="1" width="100%">
17
+ <thead>
18
+ <tr>
19
+ <th>eMeasure Title</th>
20
+ <th>Version specific identifier</th>
21
+ </tr>
22
+ </thead>
23
+ <tbody>
24
+ {{#measures}}
25
+ <tr>
26
+ <td>{{description}}</td>
27
+ <td>{{hqmf_id}}</td>
28
+ <td/>
29
+ </tr>
30
+ {{/measures}}
31
+ </tbody>
32
+ </table>
33
+ </text>
34
+ <!-- 1..* Organizers, each containing a reference to an eMeasure -->
35
+ {{#measures}}
36
+ <entry>
37
+ <organizer classCode="CLUSTER" moodCode="EVN">
38
+ <!-- This is the templateId for Measure Reference -->
39
+ <templateId root="2.16.840.1.113883.10.20.24.3.98"/>
40
+ <!-- This is the templateId for eMeasure Reference QDM -->
41
+ <templateId root="2.16.840.1.113883.10.20.24.3.97"/>
42
+ <id extension="{{random_id}}" root="1.3.6.1.4.1.115"/>
43
+ <statusCode code="completed"/>
44
+ <!-- Containing isBranch external references -->
45
+ <reference typeCode="REFR">
46
+ <externalDocument classCode="DOC" moodCode="EVN">
47
+ <!-- SHALL: This is the version specific identifier for eMeasure: QualityMeasureDocument/id it is a GUID-->
48
+ <id extension="{{hqmf_id}}" root="2.16.840.1.113883.4.738"/>
49
+ <!-- SHOULD This is the title of the eMeasure -->
50
+ <text>{{description}}</text>
51
+ <!-- SHOULD: setId is the eMeasure version neutral id -->
52
+ <setId root="{{hqmf_set_id}}"/>
53
+ </externalDocument>
54
+ </reference>
55
+ </organizer>
56
+ </entry>
57
+ {{/measures}}
58
+ </section>
59
+ </component>
@@ -0,0 +1,23 @@
1
+ <component>
2
+ <section>
3
+ <!-- This is the templateId for Reporting Parameters section -->
4
+ <templateId root="2.16.840.1.113883.10.20.17.2.1"/>
5
+ <templateId extension="2016-03-01" root="2.16.840.1.113883.10.20.17.2.1.1"/>
6
+ <code code="55187-9" codeSystem="2.16.840.1.113883.6.1"/>
7
+ <title>Reporting Parameters</title>
8
+ <text></text>
9
+ <entry typeCode="DRIV">
10
+ <act classCode="ACT" moodCode="EVN">
11
+ <!-- This is the templateId for Reporting Parameteres Act -->
12
+ <templateId root="2.16.840.1.113883.10.20.17.3.8"/>
13
+ <templateId extension="2016-03-01" root="2.16.840.1.113883.10.20.17.3.8.1"/>
14
+ <id extension="{{random_id}}" root="1.3.6.1.4.1.115"/>
15
+ <code code="252116004" codeSystem="2.16.840.1.113883.6.96" displayName="Observation Parameters"/>
16
+ <effectiveTime>
17
+ <low value="{{{performance_period_start}}}"/>
18
+ <high value="{{{performance_period_end}}}"/>
19
+ </effectiveTime>
20
+ </act>
21
+ </entry>
22
+ </section>
23
+ </component>
@@ -0,0 +1,10 @@
1
+ {{#multiple_codes?}}
2
+ <value xsi:type="CD" {{{primary_code_and_codesystem}}}>
3
+ {{{translation_codes_and_codesystem_list}}}
4
+ </value>
5
+ {{/multiple_codes?}}
6
+ {{^multiple_codes?}}
7
+ {{#dataElementCodes}}
8
+ <value xsi:type="CD" {{> _code}}/>
9
+ {{/dataElementCodes}}
10
+ {{/multiple_codes?}}
@@ -0,0 +1,137 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc">
3
+
4
+ {{> _header}}
5
+
6
+ <component>
7
+ <structuredBody>
8
+ {{> _measure_section}}
9
+ {{> _reporting_period}}
10
+ <component>
11
+ <section>
12
+ <!-- This is the templateId for Patient Data section -->
13
+ <templateId root="2.16.840.1.113883.10.20.17.2.4"/>
14
+ <!-- This is the templateId for Patient Data QDM section -->
15
+ <templateId extension="2017-08-01" root="2.16.840.1.113883.10.20.24.2.1"/>
16
+ <templateId extension="2017-07-01" root="2.16.840.1.113883.10.20.24.2.1.1"/>
17
+ <code code="55188-7" codeSystem="2.16.840.1.113883.6.1"/>
18
+ <title>Patient Data</title>
19
+ <text/>
20
+
21
+ {{#adverse_event}}
22
+ {{> qrda_templates/adverse_event}}
23
+ {{/adverse_event}}
24
+
25
+ {{#allergy_intolerance}}
26
+ {{> qrda_templates/allergy_intolerance}}
27
+ {{/allergy_intolerance}}
28
+
29
+ {{#assessment_performed}}
30
+ {{> qrda_templates/assessment_performed}}
31
+ {{/assessment_performed}}
32
+
33
+ {{#communication_from_patient_to_provider}}
34
+ {{> qrda_templates/communication_from_patient_to_provider}}
35
+ {{/communication_from_patient_to_provider}}
36
+
37
+ {{#communication_from_provider_to_provider}}
38
+ {{> qrda_templates/communication_from_provider_to_provider}}
39
+ {{/communication_from_provider_to_provider}}
40
+
41
+ {{#communication_from_provider_to_patient}}
42
+ {{> qrda_templates/communication_from_provider_to_patient}}
43
+ {{/communication_from_provider_to_patient}}
44
+
45
+ {{#diagnosis}}
46
+ {{> qrda_templates/diagnosis}}
47
+ {{/diagnosis}}
48
+
49
+ {{#device_ordered}}
50
+ {{> qrda_templates/device_ordered}}
51
+ {{/device_ordered}}
52
+
53
+ {{#device_applied}}
54
+ {{> qrda_templates/device_applied}}
55
+ {{/device_applied}}
56
+
57
+ {{#diagnostic_study_ordered}}
58
+ {{> qrda_templates/diagnostic_study_ordered}}
59
+ {{/diagnostic_study_ordered}}
60
+
61
+ {{#diagnostic_study_performed}}
62
+ {{> qrda_templates/diagnostic_study_performed}}
63
+ {{/diagnostic_study_performed}}
64
+
65
+ {{#encounter_ordered}}
66
+ {{> qrda_templates/encounter_ordered}}
67
+ {{/encounter_ordered}}
68
+
69
+ {{#encounter_performed}}
70
+ {{> qrda_templates/encounter_performed}}
71
+ {{/encounter_performed}}
72
+
73
+ {{#immunization_aministered}}
74
+ {{> qrda_templates/immunization_aministered}}
75
+ {{/immunization_aministered}}
76
+
77
+ {{#intervention_ordered}}
78
+ {{> qrda_templates/intervention_ordered}}
79
+ {{/intervention_ordered}}
80
+
81
+ {{#intervention_performed}}
82
+ {{> qrda_templates/intervention_performed}}
83
+ {{/intervention_performed}}
84
+
85
+ {{#lab_test_performed}}
86
+ {{> qrda_templates/lab_test_performed}}
87
+ {{/lab_test_performed}}
88
+
89
+ {{#lab_test_ordered}}
90
+ {{> qrda_templates/lab_test_ordered}}
91
+ {{/lab_test_ordered}}
92
+
93
+ {{#medication_active}}
94
+ {{> qrda_templates/medication_active}}
95
+ {{/medication_active}}
96
+
97
+ {{#medication_administered}}
98
+ {{> qrda_templates/medication_administered}}
99
+ {{/medication_administered}}
100
+
101
+ {{#medication_discharge}}
102
+ {{> qrda_templates/medication_discharge}}
103
+ {{/medication_discharge}}
104
+
105
+ {{#medication_dispensed}}
106
+ {{> qrda_templates/medication_dispensed}}
107
+ {{/medication_dispensed}}
108
+
109
+ {{#medication_ordered}}
110
+ {{> qrda_templates/medication_ordered}}
111
+ {{/medication_ordered}}
112
+
113
+ {{#patient_characteristic_expired}}
114
+ {{> qrda_templates/patient_characteristic_expired}}
115
+ {{/patient_characteristic_expired}}
116
+
117
+ {{#physical_exam_performed}}
118
+ {{> qrda_templates/physical_exam_performed}}
119
+ {{/physical_exam_performed}}
120
+
121
+ {{#procedure_ordered}}
122
+ {{> qrda_templates/procedure_ordered}}
123
+ {{/procedure_ordered}}
124
+
125
+ {{#procedure_performed}}
126
+ {{> qrda_templates/procedure_performed}}
127
+ {{/procedure_performed}}
128
+
129
+ {{#insurance_provider}}
130
+ {{> qrda_templates/insurance_provider}}
131
+ {{/insurance_provider}}
132
+
133
+ </section>
134
+ </component>
135
+ </structuredBody>
136
+ </component>
137
+ </ClinicalDocument>
@@ -0,0 +1,20 @@
1
+ <author>
2
+ <time value="20180524170839"/>
3
+ <assignedAuthor>
4
+ <!-- id extension="Cypress" root="2.16.840.1.113883.19.5"/ -->
5
+ <!-- NPI -->
6
+ <id extension="1982671962" root="2.16.840.1.113883.4.6"/>
7
+ <addr>
8
+ <streetAddressLine>202 Burlington Rd.</streetAddressLine>
9
+ <city>Bedford</city>
10
+ <state>MA</state>
11
+ <postalCode>01730</postalCode>
12
+ <country>US</country>
13
+ </addr>
14
+ <telecom use="WP" value="tel:(781)271-3000"/>
15
+ <assignedAuthoringDevice>
16
+ <manufacturerModelName>Cypress</manufacturerModelName>
17
+ <softwareName>Cypress</softwareName>
18
+ </assignedAuthoringDevice>
19
+ </assignedAuthor>
20
+ </author>
@@ -0,0 +1,17 @@
1
+ <custodian>
2
+ <assignedCustodian>
3
+ <representedCustodianOrganization>
4
+ <!-- HQR Only -->
5
+ <id extension="800890" root="2.16.840.1.113883.4.336"/>
6
+ <name>Cypress Test Deck</name>
7
+ <telecom use="WP" value="tel:(781)271-3000"/>
8
+ <addr>
9
+ <streetAddressLine>202 Burlington Rd.</streetAddressLine>
10
+ <city>Bedford</city>
11
+ <state>MA</state>
12
+ <postalCode>01730</postalCode>
13
+ <country>US</country>
14
+ </addr>
15
+ </representedCustodianOrganization>
16
+ </assignedCustodian>
17
+ </custodian>
@@ -0,0 +1,80 @@
1
+ <documentationOf typeCode="DOC">
2
+ <serviceEvent classCode="PCPR">
3
+ <!-- care provision -->
4
+ <effectiveTime>
5
+ <low nullFlavor="UNK"/>
6
+ <high nullFlavor="UNK"/>
7
+ </effectiveTime>
8
+ <!-- You can include multiple performers, each with an NPI, TIN, CCN. -->
9
+ <performer typeCode="PRF">
10
+ <time>
11
+ <low nullFlavor="UNK"/>
12
+ <high nullFlavor="UNK"/>
13
+ </time>
14
+ {{#provider}}
15
+ <assignedEntity>
16
+ <id extension="{{{provider_npi}}}" root="2.16.840.1.113883.4.6"/>
17
+ <id extension="{{{provider_ccn}}}" root="2.16.840.1.113883.4.336"/>
18
+ <code code="{{{provider_type_code}}}" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
19
+ {{#provider_addresses}}
20
+ <addr use="HP">
21
+ <streetAddressLine>{{{provider_street}}}</streetAddressLine>
22
+ <city>{{{city}}}</city>
23
+ <state>{{{state}}}</state>
24
+ <postalCode>{{{zip}}}</postalCode>
25
+ <country>{{{country}}}</country>
26
+ </addr>
27
+ {{/provider_addresses}}
28
+ <assignedPerson>
29
+ <name>
30
+ <given>{{{given_name}}}</given>
31
+ <family>{{{family_name}}}</family>
32
+ </name>
33
+ </assignedPerson>
34
+ <representedOrganization>
35
+ <id extension="{{{provider_tin}}}" root="2.16.840.1.113883.4.2"/>
36
+ {{#provider_addresses}}
37
+ <addr use="HP">
38
+ <streetAddressLine>{{{provider_street}}}</streetAddressLine>
39
+ <city>{{{city}}}</city>
40
+ <state>{{{state}}}</state>
41
+ <postalCode>{{{zip}}}</postalCode>
42
+ <country>{{{country}}}</country>
43
+ </addr>
44
+ {{/provider_addresses}}
45
+ </representedOrganization>
46
+ </assignedEntity>
47
+ {{/provider}}
48
+ {{^provider}}
49
+ <assignedEntity>
50
+ <id extension="1982671962" root="2.16.840.1.113883.4.6"/>
51
+ <id extension="463132" root="2.16.840.1.113883.4.336"/>
52
+ <code code="282N00000X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
53
+ <addr use="HP">
54
+ <streetAddressLine>16432 Jayme Viaduct Manor</streetAddressLine>
55
+ <city>Clairland</city>
56
+ <state>MS</state>
57
+ <postalCode>38796</postalCode>
58
+ <country>US</country>
59
+ </addr>
60
+ <assignedPerson>
61
+ <name>
62
+ <given>Daryl</given>
63
+ <family>Carroll</family>
64
+ </name>
65
+ </assignedPerson>
66
+ <representedOrganization>
67
+ <id extension="695939209" root="2.16.840.1.113883.4.2"/>
68
+ <addr use="HP">
69
+ <streetAddressLine>16432 Jayme Viaduct Manor</streetAddressLine>
70
+ <city>Clairland</city>
71
+ <state>MS</state>
72
+ <postalCode>38796</postalCode>
73
+ <country>US</country>
74
+ </addr>
75
+ </representedOrganization>
76
+ </assignedEntity>
77
+ {{/provider}}
78
+ </performer>
79
+ </serviceEvent>
80
+ </documentationOf>