cqm-parsers 0.2.3 → 3.1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +8 -4
  3. data/README.md +57 -5
  4. data/Rakefile +1 -0
  5. data/lib/{hqmf-parser.rb → cqm-parsers.rb} +13 -45
  6. data/lib/ext/data_element.rb +1 -1
  7. data/lib/hqmf-parser/2.0/document.rb +1 -1
  8. data/lib/hqmf-parser/2.0/population_criteria.rb +1 -1
  9. data/lib/hqmf-parser/cql/document_helpers/doc_population_helper.rb +11 -6
  10. data/lib/measure-loader/cql_loader.rb +165 -0
  11. data/lib/measure-loader/elm_dependency_finder.rb +72 -0
  12. data/lib/measure-loader/elm_parser.rb +67 -0
  13. data/lib/measure-loader/exceptions.rb +10 -0
  14. data/lib/measure-loader/helpers.rb +11 -0
  15. data/lib/measure-loader/hqmf_measure_loader.rb +170 -0
  16. data/lib/measure-loader/mat_measure_files.rb +138 -0
  17. data/lib/measure-loader/source_data_criteria_loader.rb +75 -0
  18. data/lib/measure-loader/value_set_helpers.rb +68 -0
  19. data/lib/measure-loader/vsac_value_set_loader.rb +97 -0
  20. data/lib/tasks/hqmf.rake +1 -1
  21. data/lib/util/util.rb +23 -0
  22. data/lib/util/vsac_api.rb +166 -103
  23. metadata +60 -127
  24. data/lib/ext/code.rb +0 -10
  25. data/lib/qrda-export/catI-r5/_code.mustache +0 -1
  26. data/lib/qrda-export/catI-r5/_codes.mustache +0 -10
  27. data/lib/qrda-export/catI-r5/_header.mustache +0 -28
  28. data/lib/qrda-export/catI-r5/_measure_section.mustache +0 -59
  29. data/lib/qrda-export/catI-r5/_reporting_period.mustache +0 -23
  30. data/lib/qrda-export/catI-r5/_values.mustache +0 -10
  31. data/lib/qrda-export/catI-r5/qrda1_r5.mustache +0 -137
  32. data/lib/qrda-export/catI-r5/qrda1_r5.rb +0 -125
  33. data/lib/qrda-export/catI-r5/qrda_header/_author.mustache +0 -24
  34. data/lib/qrda-export/catI-r5/qrda_header/_custodian.mustache +0 -43
  35. data/lib/qrda-export/catI-r5/qrda_header/_documentation_of_service_event.mustache +0 -82
  36. data/lib/qrda-export/catI-r5/qrda_header/_information_recipient.mustache +0 -7
  37. data/lib/qrda-export/catI-r5/qrda_header/_legal_authenticator.mustache +0 -25
  38. data/lib/qrda-export/catI-r5/qrda_header/_participant.mustache +0 -7
  39. data/lib/qrda-export/catI-r5/qrda_header/_record_target.mustache +0 -28
  40. data/lib/qrda-export/catI-r5/qrda_templates/adverse_event.mustache +0 -28
  41. data/lib/qrda-export/catI-r5/qrda_templates/allergy_intolerance.mustache +0 -28
  42. data/lib/qrda-export/catI-r5/qrda_templates/assessment_performed.mustache +0 -25
  43. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_patient_to_provider.mustache +0 -29
  44. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_patient.mustache +0 -24
  45. data/lib/qrda-export/catI-r5/qrda_templates/communication_from_provider_to_provider.mustache +0 -31
  46. data/lib/qrda-export/catI-r5/qrda_templates/device_applied.mustache +0 -32
  47. data/lib/qrda-export/catI-r5/qrda_templates/device_ordered.mustache +0 -31
  48. data/lib/qrda-export/catI-r5/qrda_templates/diagnosis.mustache +0 -38
  49. data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_ordered.mustache +0 -19
  50. data/lib/qrda-export/catI-r5/qrda_templates/diagnostic_study_performed.mustache +0 -32
  51. data/lib/qrda-export/catI-r5/qrda_templates/encounter_ordered.mustache +0 -24
  52. data/lib/qrda-export/catI-r5/qrda_templates/encounter_performed.mustache +0 -40
  53. data/lib/qrda-export/catI-r5/qrda_templates/immunization_administered.mustache +0 -29
  54. data/lib/qrda-export/catI-r5/qrda_templates/insurance_provider.mustache +0 -11
  55. data/lib/qrda-export/catI-r5/qrda_templates/intervention_ordered.mustache +0 -18
  56. data/lib/qrda-export/catI-r5/qrda_templates/intervention_performed.mustache +0 -25
  57. data/lib/qrda-export/catI-r5/qrda_templates/lab_test_ordered.mustache +0 -18
  58. data/lib/qrda-export/catI-r5/qrda_templates/lab_test_performed.mustache +0 -22
  59. data/lib/qrda-export/catI-r5/qrda_templates/medication_active.mustache +0 -35
  60. data/lib/qrda-export/catI-r5/qrda_templates/medication_administered.mustache +0 -31
  61. data/lib/qrda-export/catI-r5/qrda_templates/medication_discharge.mustache +0 -55
  62. data/lib/qrda-export/catI-r5/qrda_templates/medication_dispensed.mustache +0 -39
  63. data/lib/qrda-export/catI-r5/qrda_templates/medication_ordered.mustache +0 -38
  64. data/lib/qrda-export/catI-r5/qrda_templates/patient_characteristic_expired.mustache +0 -16
  65. data/lib/qrda-export/catI-r5/qrda_templates/physical_exam_performed.mustache +0 -25
  66. data/lib/qrda-export/catI-r5/qrda_templates/procedure_ordered.mustache +0 -19
  67. data/lib/qrda-export/catI-r5/qrda_templates/procedure_performed.mustache +0 -44
  68. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_admission_source.mustache +0 -6
  69. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_anatomical_location_site.mustache +0 -1
  70. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author.mustache +0 -7
  71. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_author_participation.mustache +0 -7
  72. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_component.mustache +0 -11
  73. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_diagnosis.mustache +0 -19
  74. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_encounter_facility_location.mustache +0 -16
  75. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_mediation_frequency.mustache +0 -3
  76. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_medication_details.mustache +0 -11
  77. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_ordinality.mustache +0 -1
  78. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_principal_diagnosis.mustache +0 -8
  79. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_reason.mustache +0 -12
  80. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_related_to.mustache +0 -6
  81. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_results.mustache +0 -19
  82. data/lib/qrda-export/catI-r5/qrda_templates/template_partials/_severity.mustache +0 -8
  83. data/lib/qrda-export/helper/cat_1_view_helper.rb +0 -146
  84. data/lib/qrda-export/helper/code_system_helper.rb +0 -77
  85. data/lib/qrda-export/helper/date_helper.rb +0 -89
  86. data/lib/qrda-import/base-importers/demographics_importer.rb +0 -49
  87. data/lib/qrda-import/base-importers/medication_importer.rb +0 -23
  88. data/lib/qrda-import/base-importers/section_importer.rb +0 -196
  89. data/lib/qrda-import/cda_identifier.rb +0 -19
  90. data/lib/qrda-import/data-element-importers/adverse_event_importer.rb +0 -24
  91. data/lib/qrda-import/data-element-importers/allergy_intolerance_importer.rb +0 -22
  92. data/lib/qrda-import/data-element-importers/assessment_performed_importer.rb +0 -24
  93. data/lib/qrda-import/data-element-importers/communication_from_patient_to_provider_importer.rb +0 -20
  94. data/lib/qrda-import/data-element-importers/communication_from_provider_to_patient_importer.rb +0 -20
  95. data/lib/qrda-import/data-element-importers/communication_from_provider_to_provider_importer.rb +0 -22
  96. data/lib/qrda-import/data-element-importers/device_applied_importer.rb +0 -24
  97. data/lib/qrda-import/data-element-importers/device_order_importer.rb +0 -19
  98. data/lib/qrda-import/data-element-importers/diagnosis_importer.rb +0 -24
  99. data/lib/qrda-import/data-element-importers/diagnostic_study_order_importer.rb +0 -21
  100. data/lib/qrda-import/data-element-importers/diagnostic_study_performed_importer.rb +0 -31
  101. data/lib/qrda-import/data-element-importers/encounter_order_importer.rb +0 -21
  102. data/lib/qrda-import/data-element-importers/encounter_performed_importer.rb +0 -42
  103. data/lib/qrda-import/data-element-importers/immunization_administered_importer.rb +0 -18
  104. data/lib/qrda-import/data-element-importers/intervention_order_importer.rb +0 -19
  105. data/lib/qrda-import/data-element-importers/intervention_performed_importer.rb +0 -23
  106. data/lib/qrda-import/data-element-importers/laboratory_test_order_importer.rb +0 -21
  107. data/lib/qrda-import/data-element-importers/laboratory_test_performed_importer.rb +0 -29
  108. data/lib/qrda-import/data-element-importers/medication_active_importer.rb +0 -17
  109. data/lib/qrda-import/data-element-importers/medication_administered_importer.rb +0 -17
  110. data/lib/qrda-import/data-element-importers/medication_discharge_importer.rb +0 -19
  111. data/lib/qrda-import/data-element-importers/medication_dispensed_importer.rb +0 -19
  112. data/lib/qrda-import/data-element-importers/medication_order_importer.rb +0 -16
  113. data/lib/qrda-import/data-element-importers/patient_characteristic_expired.rb +0 -22
  114. data/lib/qrda-import/data-element-importers/physical_exam_performed_importer.rb +0 -27
  115. data/lib/qrda-import/data-element-importers/procedure_order_importer.rb +0 -27
  116. data/lib/qrda-import/data-element-importers/procedure_performed_importer.rb +0 -35
  117. data/lib/qrda-import/data-element-importers/substance_administered_importer.rb +0 -17
  118. data/lib/qrda-import/entry_finder.rb +0 -20
  119. data/lib/qrda-import/entry_package.rb +0 -16
  120. data/lib/qrda-import/narrative_reference_handler.rb +0 -33
  121. data/lib/qrda-import/patient_importer.rb +0 -111
@@ -1,10 +0,0 @@
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?}}
@@ -1,137 +0,0 @@
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="2018-02-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_administered}}
74
- {{> qrda_templates/immunization_administered}}
75
- {{/immunization_administered}}
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>
@@ -1,125 +0,0 @@
1
- require 'mustache'
2
- class Qrda1R5 < Mustache
3
- include Qrda::Export::Helper::DateHelper
4
- include Qrda::Export::Helper::Cat1ViewHelper
5
-
6
- self.template_path = __dir__
7
-
8
- def initialize(patient, measures, options = {})
9
- @patient = patient
10
- @measures = measures
11
- @provider = options[:provider]
12
- @performance_period_start = options[:start_time]
13
- @performance_period_end = options[:end_time]
14
- @submission_program = options[:submission_program]
15
- @insurance_provider = JSON.parse(@patient.extendedData.insurance_providers) if @patient.extendedData && @patient.extendedData['insurance_providers']
16
- end
17
-
18
- def adverse_event
19
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('adverse_event', '') }).to_json)
20
- end
21
-
22
- def allergy_intolerance
23
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('allergy_intolerance', '') }).to_json)
24
- end
25
-
26
- def assessment_performed
27
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('assessment', 'performed') }).to_json)
28
- end
29
-
30
- def communication_from_patient_to_provider
31
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('communication_from_patient_to_provider', '') }).to_json)
32
- end
33
-
34
- def communication_from_provider_to_patient
35
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('communication_from_provider_to_patient', '') }).to_json)
36
- end
37
-
38
- def communication_from_provider_to_provider
39
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('communication_from_provider_to_provider', '') }).to_json)
40
- end
41
-
42
- def diagnosis
43
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('diagnosis', '') }).to_json)
44
- end
45
-
46
- def device_ordered
47
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('device', 'ordered') }).to_json)
48
- end
49
-
50
- def device_applied
51
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('device', 'applied') }).to_json)
52
- end
53
-
54
- def diagnostic_study_ordered
55
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('diagnostic_study', 'ordered') }).to_json)
56
- end
57
-
58
- def diagnostic_study_performed
59
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('diagnostic_study', 'performed') }).to_json)
60
- end
61
-
62
- def encounter_ordered
63
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('encounter', 'ordered') }).to_json)
64
- end
65
-
66
- def encounter_performed
67
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('encounter', 'performed') }).to_json)
68
- end
69
-
70
- def immunization_administered
71
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('immunization', 'administered') }).to_json)
72
- end
73
-
74
- def intervention_ordered
75
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('intervention', 'ordered') }).to_json)
76
- end
77
-
78
- def intervention_performed
79
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('intervention', 'performed') }).to_json)
80
- end
81
-
82
- def lab_test_performed
83
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('laboratory_test', 'performed') }).to_json)
84
- end
85
-
86
- def lab_test_ordered
87
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('laboratory_test', 'ordered') }).to_json)
88
- end
89
-
90
- def medication_active
91
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('medication', 'active') }).to_json)
92
- end
93
-
94
- def medication_administered
95
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('medication', 'administered') + HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('substance', 'administered') }).to_json)
96
- end
97
-
98
- def medication_discharge
99
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('medication', 'discharge') }).to_json)
100
- end
101
-
102
- def medication_dispensed
103
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('medication', 'dispensed') }).to_json)
104
- end
105
-
106
- def medication_ordered
107
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('medication', 'ordered') }).to_json)
108
- end
109
-
110
- def patient_characteristic_expired
111
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('patient_characteristic_expired', '') }).to_json)
112
- end
113
-
114
- def physical_exam_performed
115
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('physical_exam', 'performed') }).to_json)
116
- end
117
-
118
- def procedure_ordered
119
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('procedure', 'ordered') }).to_json)
120
- end
121
-
122
- def procedure_performed
123
- JSON.parse(@patient.dataElements.where(hqmfOid: { '$in' => HQMF::Util::HQMFTemplateHelper.get_all_hqmf_oids('procedure', 'performed') }).to_json)
124
- end
125
- end
@@ -1,24 +0,0 @@
1
- <author>
2
- <time value="{{{current_time}}}"/>
3
- <assignedAuthor>
4
- <!-- NPI -->
5
- {{#provider}}
6
- <id extension="{{{provider_npi}}}" root="2.16.840.1.113883.4.6"/>
7
- {{/provider}}
8
- {{^provider}}
9
- <id extension="1982671962" root="2.16.840.1.113883.4.6"/>
10
- {{/provider}}
11
- <addr>
12
- <streetAddressLine>202 Burlington Rd.</streetAddressLine>
13
- <city>Bedford</city>
14
- <state>MA</state>
15
- <postalCode>01730</postalCode>
16
- <country>US</country>
17
- </addr>
18
- <telecom use="WP" value="tel:(781)271-3000"/>
19
- <assignedAuthoringDevice>
20
- <manufacturerModelName>Cypress</manufacturerModelName>
21
- <softwareName>Cypress</softwareName>
22
- </assignedAuthoringDevice>
23
- </assignedAuthor>
24
- </author>
@@ -1,43 +0,0 @@
1
- {{#provider}}
2
- <custodian>
3
- <assignedCustodian>
4
- <representedCustodianOrganization>
5
- {{#provider_ccn}}
6
- <id extension="{{{provider_ccn}}}" root="2.16.840.1.113883.4.336"/>
7
- {{/provider_ccn}}
8
- {{^provider_ccn}}
9
- <id extension="800890" root="2.16.840.1.113883.4.336"/>
10
- {{/provider_ccn}}
11
- <name>Cypress Test Deck</name>
12
- <telecom use="WP" value="tel:(781)271-3000"/>
13
- {{#provider_addresses}}
14
- <addr use="HP">
15
- <streetAddressLine>{{{provider_street}}}</streetAddressLine>
16
- <city>{{{city}}}</city>
17
- <state>{{{state}}}</state>
18
- <postalCode>{{{zip}}}</postalCode>
19
- <country>{{{country}}}</country>
20
- </addr>
21
- {{/provider_addresses}}
22
- </representedCustodianOrganization>
23
- </assignedCustodian>
24
- </custodian>
25
- {{/provider}}
26
- {{^provider}}
27
- <custodian>
28
- <assignedCustodian>
29
- <representedCustodianOrganization>
30
- <id extension="800890" root="2.16.840.1.113883.4.336"/>
31
- <name>Cypress Test Deck</name>
32
- <telecom use="WP" value="tel:(781)271-3000"/>
33
- <addr>
34
- <streetAddressLine>202 Burlington Rd.</streetAddressLine>
35
- <city>Bedford</city>
36
- <state>MA</state>
37
- <postalCode>01730</postalCode>
38
- <country>US</country>
39
- </addr>
40
- </representedCustodianOrganization>
41
- </assignedCustodian>
42
- </custodian>
43
- {{/provider}}
@@ -1,82 +0,0 @@
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
- {{#provider_ccn}}
18
- <id extension="{{{provider_ccn}}}" root="2.16.840.1.113883.4.336"/>
19
- {{/provider_ccn}}
20
- <code code="{{{provider_type_code}}}" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
21
- {{#provider_addresses}}
22
- <addr use="HP">
23
- <streetAddressLine>{{{provider_street}}}</streetAddressLine>
24
- <city>{{{city}}}</city>
25
- <state>{{{state}}}</state>
26
- <postalCode>{{{zip}}}</postalCode>
27
- <country>{{{country}}}</country>
28
- </addr>
29
- {{/provider_addresses}}
30
- <assignedPerson>
31
- <name>
32
- <given>{{{given_name}}}</given>
33
- <family>{{{family_name}}}</family>
34
- </name>
35
- </assignedPerson>
36
- <representedOrganization>
37
- <id extension="{{{provider_tin}}}" root="2.16.840.1.113883.4.2"/>
38
- {{#provider_addresses}}
39
- <addr use="HP">
40
- <streetAddressLine>{{{provider_street}}}</streetAddressLine>
41
- <city>{{{city}}}</city>
42
- <state>{{{state}}}</state>
43
- <postalCode>{{{zip}}}</postalCode>
44
- <country>{{{country}}}</country>
45
- </addr>
46
- {{/provider_addresses}}
47
- </representedOrganization>
48
- </assignedEntity>
49
- {{/provider}}
50
- {{^provider}}
51
- <assignedEntity>
52
- <id extension="1982671962" root="2.16.840.1.113883.4.6"/>
53
- <id extension="463132" root="2.16.840.1.113883.4.336"/>
54
- <code code="282N00000X" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
55
- <addr use="HP">
56
- <streetAddressLine>16432 Jayme Viaduct Manor</streetAddressLine>
57
- <city>Clairland</city>
58
- <state>MS</state>
59
- <postalCode>38796</postalCode>
60
- <country>US</country>
61
- </addr>
62
- <assignedPerson>
63
- <name>
64
- <given>Daryl</given>
65
- <family>Carroll</family>
66
- </name>
67
- </assignedPerson>
68
- <representedOrganization>
69
- <id extension="695939209" root="2.16.840.1.113883.4.2"/>
70
- <addr use="HP">
71
- <streetAddressLine>16432 Jayme Viaduct Manor</streetAddressLine>
72
- <city>Clairland</city>
73
- <state>MS</state>
74
- <postalCode>38796</postalCode>
75
- <country>US</country>
76
- </addr>
77
- </representedOrganization>
78
- </assignedEntity>
79
- {{/provider}}
80
- </performer>
81
- </serviceEvent>
82
- </documentationOf>
@@ -1,7 +0,0 @@
1
- {{#submission_program}}
2
- <informationRecipient>
3
- <intendedRecipient>
4
- <id extension="{{submission_program}}" root="2.16.840.1.113883.3.249.7"/>
5
- </intendedRecipient>
6
- </informationRecipient>
7
- {{/submission_program}}
@@ -1,25 +0,0 @@
1
- <legalAuthenticator>
2
- <time value="{{{current_time}}}"/>
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>