plan_executor 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (337) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +44 -0
  3. data/.simplecov +16 -0
  4. data/.travis.yml +13 -0
  5. data/Gemfile +26 -0
  6. data/Gemfile.lock +197 -0
  7. data/LICENSE +201 -0
  8. data/README.md +126 -0
  9. data/Rakefile +25 -0
  10. data/fixtures/daf/conformance-daf-query-responder.xml +1471 -0
  11. data/fixtures/diagnostic_order/do-100.xml +64 -0
  12. data/fixtures/diagnostic_order/do-200.xml +121 -0
  13. data/fixtures/diagnostic_order/do-300.xml +91 -0
  14. data/fixtures/diagnostic_order/do-400.xml +88 -0
  15. data/fixtures/diagnostic_report/dr-100.xml +96 -0
  16. data/fixtures/diagnostic_report/dr-200.xml +125 -0
  17. data/fixtures/diagnostic_report/dr-300.xml +132 -0
  18. data/fixtures/diagnostic_report/dr-400.xml +121 -0
  19. data/fixtures/financial/claim-example-average.xml +168 -0
  20. data/fixtures/financial/claim-example-simple.xml +67 -0
  21. data/fixtures/observation/obs-100.xml +58 -0
  22. data/fixtures/observation/obs-101.xml +58 -0
  23. data/fixtures/observation/obs-200.xml +125 -0
  24. data/fixtures/observation/obs-300.xml +106 -0
  25. data/fixtures/observation/obs-301.xml +106 -0
  26. data/fixtures/observation/obs-302.xml +106 -0
  27. data/fixtures/observation/obs-303.xml +106 -0
  28. data/fixtures/observation/obs-304.xml +106 -0
  29. data/fixtures/observation/obs-400.xml +87 -0
  30. data/fixtures/observation/obs-401.xml +95 -0
  31. data/fixtures/observation/obs-402.xml +95 -0
  32. data/fixtures/observation/obs-403.xml +84 -0
  33. data/fixtures/observation/obs-404.xml +84 -0
  34. data/fixtures/observation/obs-405.xml +83 -0
  35. data/fixtures/observation/obs-406.xml +83 -0
  36. data/fixtures/observation/obs-407.xml +70 -0
  37. data/fixtures/observation/obs-408.xml +84 -0
  38. data/fixtures/observation/obs-uslab-example5.xml +102 -0
  39. data/fixtures/order/order-100.xml +61 -0
  40. data/fixtures/order/order-200.xml +61 -0
  41. data/fixtures/order/order-300.xml +61 -0
  42. data/fixtures/order/order-400.xml +61 -0
  43. data/fixtures/order_response/ordresp-100.xml +79 -0
  44. data/fixtures/order_response/ordresp-110.xml +79 -0
  45. data/fixtures/order_response/ordresp-200.xml +79 -0
  46. data/fixtures/order_response/ordresp-210.xml +79 -0
  47. data/fixtures/order_response/ordresp-300.xml +79 -0
  48. data/fixtures/order_response/ordresp-310.xml +79 -0
  49. data/fixtures/order_response/ordresp-400.xml +79 -0
  50. data/fixtures/order_response/ordresp-410.xml +79 -0
  51. data/fixtures/organization/org-uslab-example3.xml +49 -0
  52. data/fixtures/patient/patient-example-updated.xml +140 -0
  53. data/fixtures/patient/patient-example-us-extensions(us01).xml +81 -0
  54. data/fixtures/patient/patient-example.xml +132 -0
  55. data/fixtures/patient/patient-format-example.xml +101 -0
  56. data/fixtures/patient/patient-minimal.xml +9 -0
  57. data/fixtures/patient/patient-uslab-example1.xml +44 -0
  58. data/fixtures/practitioner/pract-uslab-example1.xml +18 -0
  59. data/fixtures/practitioner/pract-uslab-example3.xml +36 -0
  60. data/fixtures/record/condition-example-f201-fever.xml +63 -0
  61. data/fixtures/record/condition-example-f205-infection.xml +20 -0
  62. data/fixtures/record/diagnosticreport-example-f201-brainct.xml +18 -0
  63. data/fixtures/record/encounter-example-f201-20130404.xml +17 -0
  64. data/fixtures/record/encounter-example-f202-20130128.xml +17 -0
  65. data/fixtures/record/observation-example-f202-temperature.xml +60 -0
  66. data/fixtures/record/organization-example-f201-aumc.xml +5 -0
  67. data/fixtures/record/organization-example-f203-bumc.xml +5 -0
  68. data/fixtures/record/patient-example-f201-roel.xml +16 -0
  69. data/fixtures/record/practitioner-example-f201-ab.xml +14 -0
  70. data/fixtures/record/procedure-example-f201-tpf.xml +23 -0
  71. data/fixtures/scheduling/appointment-simple.xml +24 -0
  72. data/fixtures/scheduling/appointmentresponse-patient-simple.xml +12 -0
  73. data/fixtures/scheduling/appointmentresponse-practitioner-simple.xml +12 -0
  74. data/fixtures/scheduling/practitioner-simple.xml +10 -0
  75. data/fixtures/scheduling/schedule-simple.xml +12 -0
  76. data/fixtures/scheduling/slot-simple.xml +10 -0
  77. data/fixtures/specimen/spec-100.xml +65 -0
  78. data/fixtures/specimen/spec-400.xml +70 -0
  79. data/fixtures/specimen/spec-uslab-example1.xml +82 -0
  80. data/fixtures/validation/observation.profile.xml +2045 -0
  81. data/fixtures/validation/observations/observation-example(example).xml +50 -0
  82. data/lib/FHIR_structure.json +529 -0
  83. data/lib/daf_resource_generator.rb +94 -0
  84. data/lib/data/fhir_structure.rb +8 -0
  85. data/lib/data/resources.rb +138 -0
  86. data/lib/executor.rb +56 -0
  87. data/lib/ext/client.rb +27 -0
  88. data/lib/ext/client_reply.rb +19 -0
  89. data/lib/plan_executor.rb +31 -0
  90. data/lib/resource_generator.rb +656 -0
  91. data/lib/tasks/tasks.rake +329 -0
  92. data/lib/tasks/templates/summary.html.erb +163 -0
  93. data/lib/test_result.rb +69 -0
  94. data/lib/tests/assertions.rb +261 -0
  95. data/lib/tests/base_test.rb +117 -0
  96. data/lib/tests/suites/argonaut_resprint_1_test.rb +260 -0
  97. data/lib/tests/suites/argonaut_resprint_2_test.rb +369 -0
  98. data/lib/tests/suites/argonaut_resprint_3_test.rb +309 -0
  99. data/lib/tests/suites/argonaut_sprint_1_test.rb +187 -0
  100. data/lib/tests/suites/argonaut_sprint_2_test.rb +115 -0
  101. data/lib/tests/suites/argonaut_sprint_3_test.rb +208 -0
  102. data/lib/tests/suites/argonaut_sprint_4_test.rb +335 -0
  103. data/lib/tests/suites/argonaut_sprint_5_test.rb +196 -0
  104. data/lib/tests/suites/argonaut_sprint_6_test.rb +243 -0
  105. data/lib/tests/suites/argonaut_sprint_7_test.rb +161 -0
  106. data/lib/tests/suites/base_suite.rb +116 -0
  107. data/lib/tests/suites/connectathon_audit_track.rb +354 -0
  108. data/lib/tests/suites/connectathon_fetch_patient_record.rb +443 -0
  109. data/lib/tests/suites/connectathon_financial_track.rb +380 -0
  110. data/lib/tests/suites/connectathon_lab_order_track.rb +239 -0
  111. data/lib/tests/suites/connectathon_patient_track.rb +364 -0
  112. data/lib/tests/suites/connectathon_profile_validation.rb +101 -0
  113. data/lib/tests/suites/connectathon_scheduling_track.rb +266 -0
  114. data/lib/tests/suites/connectathon_terminology_track.rb +242 -0
  115. data/lib/tests/suites/daf_profiles_test.rb +431 -0
  116. data/lib/tests/suites/format_test.rb +453 -0
  117. data/lib/tests/suites/history_test.rb +311 -0
  118. data/lib/tests/suites/read_test.rb +104 -0
  119. data/lib/tests/suites/resource_test.rb +553 -0
  120. data/lib/tests/suites/search_test.rb +219 -0
  121. data/lib/tests/suites/search_test_robust.rb +172 -0
  122. data/lib/tests/suites/sprinkler_search_test.rb +660 -0
  123. data/lib/tests/suites/suite_engine.rb +114 -0
  124. data/lib/tests/suites/transaction_test.rb +571 -0
  125. data/lib/tests/testscripts/base_testscript.rb +480 -0
  126. data/lib/tests/testscripts/testscript_engine.rb +81 -0
  127. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-json.xml +348 -0
  128. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-xml.xml +348 -0
  129. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-json.xml +420 -0
  130. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-xml.xml +420 -0
  131. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/README.html +68 -0
  132. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-json.xml +352 -0
  133. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-xml.xml +352 -0
  134. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-json.xml +421 -0
  135. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-xml.xml +421 -0
  136. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/conformance/PatientConformance.xml +34 -0
  137. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers-min.json +45 -0
  138. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers-min.xml +26 -0
  139. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers.json +100 -0
  140. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-PeterChalmers.xml +102 -0
  141. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers-min.json +53 -0
  142. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers-min.xml +30 -0
  143. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers.json +108 -0
  144. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-create-bonus-PeterChalmers.xml +108 -0
  145. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers-min.json +45 -0
  146. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers-min.xml +26 -0
  147. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers.json +100 -0
  148. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-PeterChalmers.xml +102 -0
  149. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers-min.json +53 -0
  150. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers-min.xml +30 -0
  151. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers.json +108 -0
  152. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus1-PeterChalmers.xml +107 -0
  153. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers-min.json +53 -0
  154. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers-min.xml +31 -0
  155. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers.json +108 -0
  156. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/_reference/resources/patient-update-bonus2-PeterChalmers.xml +106 -0
  157. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/C-CDA_R2-1_CCD-ussg.xml +3414 -0
  158. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A1-empty-on-instance.xml +9 -0
  159. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A2-empty-by-ref.xml +15 -0
  160. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A3-empty-by-identifier.xml +13 -0
  161. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A4-empty-by-contained.xml +15 -0
  162. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B1-CCDA-on-instance.xml +15 -0
  163. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B2-CCDA-by-ref.xml +21 -0
  164. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B3-CCDA-by-identifier.xml +19 -0
  165. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B4-CCDA-by-contained.xml +21 -0
  166. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaire-sdc-profile-example-ussg-fht.xml +3905 -0
  167. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-CCDA.xml +190 -0
  168. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-empty.xml +177 -0
  169. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/track11-sdc-prepop-xml.xml +142 -0
  170. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite1-expand-client-id.xml +925 -0
  171. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite2-expand-filter-client-id.xml +930 -0
  172. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite1-expand-server-id.xml +953 -0
  173. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite2-expand-filter-server-id.xml +958 -0
  174. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-loinc-lookup-xml.xml +224 -0
  175. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-snomed-lookup-xml.xml +224 -0
  176. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/README.html +85 -0
  177. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Translate/track2-ts-suite6-translate-xml.xml +224 -0
  178. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite3-validate-code-client-id.xml +1807 -0
  179. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite4-validate-code-client-id.xml +714 -0
  180. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite3-validate-code-server-id.xml +1835 -0
  181. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite4-validate-code-server-id.xml +742 -0
  182. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ConceptMapSuite6Conformance.xml +11 -0
  183. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite1Conformance.xml +17 -0
  184. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite2Conformance.xml +17 -0
  185. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite3Conformance.xml +14 -0
  186. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite4Conformance.xml +14 -0
  187. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite5Conformance.xml +11 -0
  188. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-a.xml +11 -0
  189. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-b.xml +11 -0
  190. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-a.xml +13 -0
  191. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-b.xml +13 -0
  192. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-a.xml +15 -0
  193. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-b.xml +15 -0
  194. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-2.xml +10 -0
  195. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-3.xml +11 -0
  196. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-2.xml +10 -0
  197. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-3.xml +11 -0
  198. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-2.xml +14 -0
  199. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-3.xml +15 -0
  200. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-expand-min.xml +47 -0
  201. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-filter-min.xml +23 -0
  202. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-expand-min.xml +132 -0
  203. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-filter-min.xml +38 -0
  204. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-expand-min.xml +252 -0
  205. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-filter-min.xml +58 -0
  206. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-expand-min.xml +57 -0
  207. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-filter-min.xml +28 -0
  208. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-expand-min.xml +347 -0
  209. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-filter-min.xml +33 -0
  210. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-expand-min.xml +637 -0
  211. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-filter-min.xml +33 -0
  212. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-3-filter-min.xml +58 -0
  213. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-loinc-min.xml +11 -0
  214. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-snomed-min.xml +11 -0
  215. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-invalid-min.xml +10 -0
  216. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-valid-min.xml +7 -0
  217. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-invalid-min.xml +10 -0
  218. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-valid-min.xml +7 -0
  219. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/translate-conceptmap-min.xml +17 -0
  220. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-1.xml +55 -0
  221. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-2.xml +122 -0
  222. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-3.xml +222 -0
  223. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-4.xml +65 -0
  224. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-1.xml +31 -0
  225. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-2.xml +31 -0
  226. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-3.xml +31 -0
  227. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/translate-conceptmap-case-1.xml +145 -0
  228. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/conformance/DecisionSupportServiceModule-Evaluate.xml +17 -0
  229. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-request-payload.xml +26 -0
  230. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-min-payload.xml +7 -0
  231. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-payload.xml +332 -0
  232. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-request-payload.xml +28 -0
  233. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-min-payload.xml +7 -0
  234. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-payload.xml +20 -0
  235. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-request-payload.xml +28 -0
  236. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-min-payload.xml +7 -0
  237. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-payload.xml +332 -0
  238. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-request-payload.xml +28 -0
  239. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-min-payload.xml +7 -0
  240. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-payload.xml +8 -0
  241. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-request-payload.xml +176 -0
  242. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload-min.xml +32 -0
  243. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload.xml +80 -0
  244. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-cdc-immunization.xml +290 -0
  245. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-gao-profile.xml +110 -0
  246. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/Client_Assigned_Id/TestScript_FHIR-Genomics.xml +170 -0
  247. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-1.xml +31 -0
  248. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-2.xml +31 -0
  249. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Actors.png +0 -0
  250. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder100-xml.xml +590 -0
  251. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder200-xml.xml +587 -0
  252. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder300-xml.xml +612 -0
  253. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder400-xml.xml +635 -0
  254. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Peer-to-Peer/track7-laborder100-peer2peer-xml.xml +752 -0
  255. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Thumbs.db +0 -0
  256. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/LabOrderLabReport-CreateDeleteReadUpdate.xml +187 -0
  257. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/html.xslt +45 -0
  258. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100-update.xml +64 -0
  259. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100.xml +64 -0
  260. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200-update.xml +121 -0
  261. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200.xml +121 -0
  262. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300-update.xml +91 -0
  263. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300.xml +91 -0
  264. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-400-update.xml +88 -0
  265. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-400.xml +88 -0
  266. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-100.xml +96 -0
  267. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-200.xml +125 -0
  268. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-300.xml +132 -0
  269. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-400.xml +121 -0
  270. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-100.xml +58 -0
  271. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-101.xml +58 -0
  272. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-200.xml +125 -0
  273. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-300.xml +106 -0
  274. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-301.xml +106 -0
  275. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-302.xml +106 -0
  276. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-303.xml +106 -0
  277. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-304.xml +106 -0
  278. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-400.xml +87 -0
  279. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-401.xml +95 -0
  280. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-402.xml +95 -0
  281. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-403.xml +84 -0
  282. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-404.xml +84 -0
  283. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-405.xml +83 -0
  284. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-406.xml +83 -0
  285. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-407.xml +70 -0
  286. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-408.xml +84 -0
  287. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-uslab-example5.xml +102 -0
  288. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-100.xml +61 -0
  289. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-200.xml +61 -0
  290. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-300.xml +61 -0
  291. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-400.xml +61 -0
  292. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-100.xml +79 -0
  293. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-110.xml +79 -0
  294. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-200.xml +79 -0
  295. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-210.xml +79 -0
  296. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-300.xml +79 -0
  297. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-310.xml +79 -0
  298. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-400.xml +79 -0
  299. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-410.xml +79 -0
  300. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Organization/org-uslab-example3.xml +49 -0
  301. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Patient/patient-uslab-example1.xml +44 -0
  302. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example1.xml +18 -0
  303. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example3.xml +36 -0
  304. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/Thumbs.db +0 -0
  305. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-100.xml +65 -0
  306. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-400.xml +70 -0
  307. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-uslab-example1.xml +82 -0
  308. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 1 Document.txt +122 -0
  309. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 2 Document.txt +103 -0
  310. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 3 Document.txt +201 -0
  311. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 4 Document.txt +310 -0
  312. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/MedicationStatementCreate.xml +11 -0
  313. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/PatientSearchType.xml +15 -0
  314. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-create.json +39 -0
  315. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-patch.json +3 -0
  316. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json-if-match.xml +321 -0
  317. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json.xml +303 -0
  318. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-peer2peer-patient-json.xml +235 -0
  319. data/plan_executor.gemspec +14 -0
  320. data/test/fixtures/diagnostic_bundle.xml +51 -0
  321. data/test/fixtures/lab_results_bundle.xml +49 -0
  322. data/test/fixtures/observation_bundle.json +61 -0
  323. data/test/fixtures/testscript-example.xml +202 -0
  324. data/test/fixtures/testscript-history.xml +143 -0
  325. data/test/fixtures/testscript-readtest.xml +272 -0
  326. data/test/fixtures/testscript-search.xml +282 -0
  327. data/test/fixtures/testscript-update.xml +147 -0
  328. data/test/fixtures/vital_signs_bundle.xml +117 -0
  329. data/test/test_helper.rb +8 -0
  330. data/test/unit/argonaut_sprint6_test.rb +31 -0
  331. data/test/unit/argonaut_sprint7_test.rb +21 -0
  332. data/test/unit/basic_test.rb +27 -0
  333. data/test/unit/fetch_patient_record_test.rb +357 -0
  334. data/test/unit/financial_test.rb +41 -0
  335. data/test/unit/fixtures_test.rb +45 -0
  336. data/test/unit/metadata_test.rb +33 -0
  337. metadata +394 -0
@@ -0,0 +1,3414 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <?xml-stylesheet type="text/xsl" href="CDA.xsl"?>
3
+ <!--
4
+ Title: Continuity of Care Document (CCD)
5
+ Filename: C-CDA_R2.1_CCD.xml
6
+ Created by: Lantana Consulting Group, LLC
7
+ Updated: C-CDA R2.1 editing team
8
+
9
+ $LastChangedDate: 2015-8-11 11:25:09 -0400 (Wed, 11 Aug 2015) $
10
+ 2016-01-08: Minor updates applied to align with existing FHIR patient
11
+
12
+ ********************************************************
13
+ Disclaimer: This sample file contains representative data elements to represent a Continuity of Care Document (CCD).
14
+ The file depicts a fictional character's health data. Any resemblance to a real person is coincidental.
15
+ To illustrate as many data elements as possible, the clinical scenario may not be plausible.
16
+ The data in this sample file is not intended to represent real patients, people or clinical events.
17
+ This sample is designed to be used in conjunction with the C-CDA Clinical Notes Implementation Guide.
18
+ ********************************************************
19
+
20
+ -->
21
+ <ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:voc="urn:hl7-org:v3/voc" xmlns:sdtc="urn:hl7-org:sdtc">
22
+ <realmCode code="US"/>
23
+ <typeId extension="POCD_HD000040" root="2.16.840.1.113883.1.3"/>
24
+ <!-- CCD template ID-->
25
+ <templateId root="2.16.840.1.113883.10.20.22.1.2" extension="2015-08-01"/>
26
+ <templateId root="2.16.840.1.113883.10.20.22.1.2"/>
27
+ <!-- Globally unique identifier for the document -->
28
+ <id extension="TT988" root="2.16.840.1.113883.19.5.99999.1"/>
29
+ <code code="34133-9" displayName="Summarization of Episode Note" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
30
+ <!-- Title of this document -->
31
+ <title>Patient Chart Summary</title>
32
+ <effectiveTime value="201308151030-0800"/>
33
+ <confidentialityCode code="N" displayName="normal" codeSystem="2.16.840.1.113883.5.25" codeSystemName="Confidentiality"/>
34
+ <languageCode code="en-US"/>
35
+ <setId extension="sTT988" root="2.16.840.1.113883.19.5.99999.19"/>
36
+ <!-- Version of this document -->
37
+ <versionNumber value="1"/>
38
+ <recordTarget>
39
+ <patientRole>
40
+ <id extension="444222222" root="2.16.840.1.113883.4.1"/>
41
+ <!-- Example Social Security Number using the actual SSN OID. -->
42
+ <addr use="HP">
43
+ <!-- HP is "primary home" from codeSystem 2.16.840.1.113883.5.1119 -->
44
+ <streetAddressLine>2222 Home Street</streetAddressLine>
45
+ <city>Beaverton</city>
46
+ <state>OR</state>
47
+ <postalCode>97867</postalCode>
48
+ <country>US</country>
49
+ <!-- US is "United States" from ISO 3166-1 Country Codes: 1.0.3166.1 -->
50
+ </addr>
51
+ <telecom value="tel:+1(555)555-2003" use="HP"/>
52
+ <!-- HP is "primary home" from HL7 AddressUse 2.16.840.1.113883.5.1119 -->
53
+ <patient>
54
+ <name use="L">
55
+ <given>Eve</given>
56
+ <!-- The "SP" is "Spouse" from HL7 Code System EntityNamePartQualifier 2.16.840.1.113883.5.43 -->
57
+ <family qualifier="SP">Everywoman</family>
58
+ </name>
59
+ <administrativeGenderCode code="F" displayName="Female" codeSystem="2.16.840.1.113883.5.1" codeSystemName="AdministrativeGender"/>
60
+ <!-- Date of birth need only be precise to the day -->
61
+ <birthTime value="19730531"/>
62
+ <maritalStatusCode code="M" displayName="Married" codeSystem="2.16.840.1.113883.5.2" codeSystemName="MaritalStatusCode"/>
63
+ <religiousAffiliationCode code="1013" displayName="Christian (non-Catholic, non-specific)" codeSystem="2.16.840.1.113883.5.1076" codeSystemName="HL7 Religious Affiliation"/>
64
+ <!-- CDC Race and Ethnicity code set contains the five minimum race and ethnicity
65
+ categories defined by OMB Standards -->
66
+ <raceCode code="2106-3" displayName="White" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>
67
+ <!-- The raceCode extension is only used if raceCode is valued -->
68
+ <sdtc:raceCode code="2076-8" displayName="Hawaiian or Other Pacific Islander" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>
69
+ <ethnicGroupCode code="2186-5" displayName="Not Hispanic or Latino" codeSystem="2.16.840.1.113883.6.238" codeSystemName="Race &amp; Ethnicity - CDC"/>
70
+ <guardian>
71
+ <code code="POWATT" displayName="Power of Attorney" codeSystem="2.16.840.1.113883.1.11.19830" codeSystemName="ResponsibleParty"/>
72
+ <addr use="HP">
73
+ <streetAddressLine>2222 Home Street</streetAddressLine>
74
+ <city>Beaverton</city>
75
+ <state>OR</state>
76
+ <postalCode>97867</postalCode>
77
+ <country>US</country>
78
+ </addr>
79
+ <telecom value="tel:+1(555)555-2008" use="MC"/>
80
+ <guardianPerson>
81
+ <name>
82
+ <given>Boris</given>
83
+ <given qualifier="CL">Bo</given>
84
+ <family>Betterhalf</family>
85
+ </name>
86
+ </guardianPerson>
87
+ </guardian>
88
+ <birthplace>
89
+ <place>
90
+ <addr>
91
+ <streetAddressLine>4444 Home Street</streetAddressLine>
92
+ <city>Beaverton</city>
93
+ <state>OR</state>
94
+ <postalCode>97867</postalCode>
95
+ <country>US</country>
96
+ </addr>
97
+ </place>
98
+ </birthplace>
99
+ <languageCommunication>
100
+ <languageCode code="en"/>
101
+ <!-- "en" is ISO 639-1 alpha-2 code for "English" -->
102
+ <modeCode code="ESP" displayName="Expressed spoken" codeSystem="2.16.840.1.113883.5.60" codeSystemName="LanguageAbilityMode"/>
103
+ <proficiencyLevelCode code="G" displayName="Good" codeSystem="2.16.840.1.113883.5.61" codeSystemName="LanguageAbilityProficiency"/>
104
+ <!-- Patient's preferred language -->
105
+ <preferenceInd value="true"/>
106
+ </languageCommunication>
107
+ </patient>
108
+ <providerOrganization>
109
+ <id extension="219BX" root="2.16.840.1.113883.4.6"/>
110
+ <name>The DoctorsTogether Physician Group</name>
111
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
112
+ <addr>
113
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
114
+ <city>Portland</city>
115
+ <state>OR</state>
116
+ <postalCode>99123</postalCode>
117
+ <country>US</country>
118
+ </addr>
119
+ </providerOrganization>
120
+ </patientRole>
121
+ </recordTarget>
122
+ <!-- The author represents the person who provides the content in the document -->
123
+ <author>
124
+ <time value="201308151030-0800"/>
125
+ <assignedAuthor>
126
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
127
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
128
+ <addr>
129
+ <streetAddressLine>1004 Healthcare Drive </streetAddressLine>
130
+ <city>Portland</city>
131
+ <state>OR</state>
132
+ <postalCode>99123</postalCode>
133
+ <country>US</country>
134
+ </addr>
135
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
136
+ <assignedPerson>
137
+ <name>
138
+ <given>Patricia</given>
139
+ <given qualifier="CL">Patty</given>
140
+ <family>Primary</family>
141
+ <suffix qualifier="AC">M.D.</suffix>
142
+ </name>
143
+ </assignedPerson>
144
+ </assignedAuthor>
145
+ </author>
146
+ <!-- The dataEnterer transferred the content created by the author into the document -->
147
+ <dataEnterer>
148
+ <assignedEntity>
149
+ <id extension="333777777" root="2.16.840.1.113883.4.6"/>
150
+ <addr>
151
+ <streetAddressLine>1007 Healthcare Drive</streetAddressLine>
152
+ <city>Portland</city>
153
+ <state>OR</state>
154
+ <postalCode>99123</postalCode>
155
+ <country>US</country>
156
+ </addr>
157
+ <telecom use="WP" value="tel:+1(555)555-1050"/>
158
+ <assignedPerson>
159
+ <name>
160
+ <given>Ellen</given>
161
+ <family>Enter</family>
162
+ </name>
163
+ </assignedPerson>
164
+ </assignedEntity>
165
+ </dataEnterer>
166
+ <!-- The informant represents any sources of information for document content -->
167
+ <informant>
168
+ <assignedEntity>
169
+ <id extension="888888888" root="2.16.840.1.113883.4.6"/>
170
+ <addr>
171
+ <streetAddressLine>1007 Healthcare Drive</streetAddressLine>
172
+ <city>Portland</city>
173
+ <state>OR</state>
174
+ <postalCode>99123</postalCode>
175
+ <country>US</country>
176
+ </addr>
177
+ <telecom use="WP" value="tel:+1(555)555-1003"/>
178
+ <assignedPerson>
179
+ <name>
180
+ <given>Harold</given>
181
+ <family>Hippocrates</family>
182
+ <suffix qualifier="AC">M.D.</suffix>
183
+ </name>
184
+ </assignedPerson>
185
+ <representedOrganization>
186
+ <name>The DoctorsApart Physician Group</name>
187
+ </representedOrganization>
188
+ </assignedEntity>
189
+ </informant>
190
+ <informant>
191
+ <assignedEntity>
192
+ <id extension="222223333" root="2.16.840.1.113883.4.6"/>
193
+ <addr>
194
+ <streetAddressLine>1025 Health Drive</streetAddressLine>
195
+ <city>Portland</city>
196
+ <state>OR</state>
197
+ <postalCode>99123</postalCode>
198
+ <country>US</country>
199
+ </addr>
200
+ <telecom use="WP" value="tel:+1(555)555-1025"/>
201
+ <assignedPerson>
202
+ <name>
203
+ <given>Ramsey</given>
204
+ <family>Reaction</family>
205
+ <suffix qualifier="AC">M.D.</suffix>
206
+ </name>
207
+ </assignedPerson>
208
+ <representedOrganization>
209
+ <name>The DoctorsApart Physician Group</name>
210
+ </representedOrganization>
211
+ </assignedEntity>
212
+ </informant>
213
+ <informant>
214
+ <assignedEntity>
215
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
216
+ <addr>
217
+ <streetAddressLine>1017 Health Drive</streetAddressLine>
218
+ <city>Portland</city>
219
+ <state>OR</state>
220
+ <postalCode>99123</postalCode>
221
+ <country>US</country>
222
+ </addr>
223
+ <telecom use="WP" value="tel:+1(555)555-1017"/>
224
+ <assignedPerson>
225
+ <name>
226
+ <given>William</given>
227
+ <given qualifier="CL">Bill</given>
228
+ <family>Beaker</family>
229
+ </name>
230
+ </assignedPerson>
231
+ <representedOrganization>
232
+ <name>Good Health Laboratory</name>
233
+ </representedOrganization>
234
+ </assignedEntity>
235
+ </informant>
236
+ <informant>
237
+ <assignedEntity>
238
+ <id extension="333222222" root="2.16.840.1.113883.4.6"/>
239
+ <addr>
240
+ <streetAddressLine>1016 Health Drive</streetAddressLine>
241
+ <city>Portland</city>
242
+ <state>OR</state>
243
+ <postalCode>99123</postalCode>
244
+ <country>US</country>
245
+ </addr>
246
+ <telecom use="WP" value="tel:+1(555)555-1016"/>
247
+ <assignedPerson>
248
+ <name>
249
+ <given>Susan</given>
250
+ <family>Script</family>
251
+ <suffix qualifier="AC">Pharm.D.</suffix>
252
+ </name>
253
+ </assignedPerson>
254
+ <representedOrganization>
255
+ <name>People's Pharmacy</name>
256
+ </representedOrganization>
257
+ </assignedEntity>
258
+ </informant>
259
+ <informant>
260
+ <assignedEntity>
261
+ <id extension="222334444" root="2.16.840.1.113883.4.6"/>
262
+ <addr>
263
+ <streetAddressLine>1027 Health Drive</streetAddressLine>
264
+ <city>Portland</city>
265
+ <state>OR</state>
266
+ <postalCode>99123</postalCode>
267
+ <country>US</country>
268
+ </addr>
269
+ <telecom use="WP" value="tel:+1(555)555-1027"/>
270
+ <assignedPerson>
271
+ <name>
272
+ <given>Patrick</given>
273
+ <family>Pump</family>
274
+ <suffix qualifier="AC">M.D.</suffix>
275
+ </name>
276
+ </assignedPerson>
277
+ <representedOrganization>
278
+ <name>The DoctorsApart Physician Group</name>
279
+ </representedOrganization>
280
+ </assignedEntity>
281
+ </informant>
282
+ <informant>
283
+ <relatedEntity classCode="PRS">
284
+ <!-- classCode "PRS" represents a person with personal relationship with the patient -->
285
+ <code code="SPS" displayName="SPOUSE" codeSystem="2.16.840.1.113883.1.11.19563" codeSystemName="Personal Relationship Role Type Value Set"/>
286
+ <relatedPerson>
287
+ <name>
288
+ <given>Boris</given>
289
+ <given qualifier="CL">Bo</given>
290
+ <family>Betterhalf</family>
291
+ </name>
292
+ </relatedPerson>
293
+ </relatedEntity>
294
+ </informant>
295
+ <!-- The custodian represents the organization charged with maintaining the original source document -->
296
+ <custodian>
297
+ <assignedCustodian>
298
+ <representedCustodianOrganization>
299
+ <id extension="321CX" root="2.16.840.1.113883.4.6"/>
300
+ <name>Good Health HIE</name>
301
+ <telecom use="WP" value="tel:+1(555)555-1009"/>
302
+ <addr use="WP">
303
+ <streetAddressLine>1009 Healthcare Drive </streetAddressLine>
304
+ <city>Portland</city>
305
+ <state>OR</state>
306
+ <postalCode>99123</postalCode>
307
+ <country>US</country>
308
+ </addr>
309
+ </representedCustodianOrganization>
310
+ </assignedCustodian>
311
+ </custodian>
312
+ <!-- The informationRecipient represents the intended recipient of the document -->
313
+ <informationRecipient>
314
+ <intendedRecipient>
315
+ <informationRecipient>
316
+ <name>
317
+ <given>Sara</given>
318
+ <family>Specialize</family>
319
+ <suffix qualifier="AC">M.D.</suffix>
320
+ </name>
321
+ </informationRecipient>
322
+ <receivedOrganization>
323
+ <name>The DoctorsApart Physician Group</name>
324
+ </receivedOrganization>
325
+ </intendedRecipient>
326
+ </informationRecipient>
327
+ <!-- The legalAuthenticator represents the individual who is responsible for the document -->
328
+ <legalAuthenticator>
329
+ <time value="20130815223615-0800"/>
330
+ <signatureCode code="S"/>
331
+ <assignedEntity>
332
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
333
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
334
+ <addr>
335
+ <streetAddressLine>1004 Healthcare Drive </streetAddressLine>
336
+ <city>Portland</city>
337
+ <state>OR</state>
338
+ <postalCode>99123</postalCode>
339
+ <country>US</country>
340
+ </addr>
341
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
342
+ <assignedPerson>
343
+ <name>
344
+ <given>Patricia</given>
345
+ <given qualifier="CL">Patty</given>
346
+ <family>Primary</family>
347
+ <suffix qualifier="AC">M.D.</suffix>
348
+ </name>
349
+ </assignedPerson>
350
+ </assignedEntity>
351
+ </legalAuthenticator>
352
+ <!-- The authenticator represents the individual attesting to the accuracy of information in the document-->
353
+ <authenticator>
354
+ <time value="20130815221545-0800"/>
355
+ <signatureCode code="S"/>
356
+ <assignedEntity>
357
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
358
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
359
+ <addr>
360
+ <streetAddressLine>1004 Healthcare Drive </streetAddressLine>
361
+ <city>Portland</city>
362
+ <state>OR</state>
363
+ <postalCode>99123</postalCode>
364
+ <country>US</country>
365
+ </addr>
366
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
367
+ <assignedPerson>
368
+ <name>
369
+ <given>Patricia</given>
370
+ <given qualifier="CL">Patty</given>
371
+ <family>Primary</family>
372
+ <suffix qualifier="AC">M.D.</suffix>
373
+ </name>
374
+ </assignedPerson>
375
+ </assignedEntity>
376
+ </authenticator>
377
+ <!-- The participant represents supporting entities -->
378
+ <participant typeCode="IND">
379
+ <!-- typeCode "IND" represents an individual -->
380
+ <associatedEntity classCode="NOK">
381
+ <!-- classCode "NOK" represents the patient's next of kin-->
382
+ <addr use="HP">
383
+ <streetAddressLine>2222 Home Street</streetAddressLine>
384
+ <city>Beaverton</city>
385
+ <state>OR</state>
386
+ <postalCode>97867</postalCode>
387
+ <country>US</country>
388
+ </addr>
389
+ <telecom value="tel:+1(555)555-2008" use="MC"/>
390
+ <associatedPerson>
391
+ <name>
392
+ <given>Boris</given>
393
+ <given qualifier="CL">Bo</given>
394
+ <family>Betterhalf</family>
395
+ </name>
396
+ </associatedPerson>
397
+ </associatedEntity>
398
+ </participant>
399
+ <!-- Entities playing multiple roles are recorded in multiple participants -->
400
+ <participant typeCode="IND">
401
+ <associatedEntity classCode="ECON">
402
+ <!-- classCode "ECON" represents an emergency contact -->
403
+ <addr use="HP">
404
+ <streetAddressLine>2222 Home Street</streetAddressLine>
405
+ <city>Beaverton</city>
406
+ <state>OR</state>
407
+ <postalCode>97867</postalCode>
408
+ <country>US</country>
409
+ </addr>
410
+ <telecom value="tel:+1(555)555-2008" use="MC"/>
411
+ <associatedPerson>
412
+ <name>
413
+ <given>Boris</given>
414
+ <given qualifier="CL">Bo</given>
415
+ <family>Betterhalf</family>
416
+ </name>
417
+ </associatedPerson>
418
+ </associatedEntity>
419
+ </participant>
420
+ <documentationOf>
421
+ <serviceEvent classCode="PCPR">
422
+ <!-- The effectiveTime reflects the provision of care summarized in the document.
423
+ In this scenario, the provision of care summarized is the lifetime for the patient -->
424
+ <effectiveTime>
425
+ <low value="19750501"/>
426
+ <!-- The low value represents when the summarized provision of care began.
427
+ In this scenario, the patient's date of birth -->
428
+ <high value="20130815"/>
429
+ <!-- The high value represents when the summarized provision of care being ended.
430
+ In this scenario, when chart summary was created -->
431
+ </effectiveTime>
432
+ <performer typeCode="PRF">
433
+ <functionCode code="PCP" codeSystem="2.16.840.1.113883.5.88" codeSystemName="ParticipationFunction" displayName="Primary Care Provider">
434
+ <originalText>Primary Care Provider</originalText>
435
+ </functionCode>
436
+ <assignedEntity>
437
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
438
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
439
+ <addr>
440
+ <streetAddressLine>1004 Healthcare Drive </streetAddressLine>
441
+ <city>Portland</city>
442
+ <state>OR</state>
443
+ <postalCode>99123</postalCode>
444
+ <country>US</country>
445
+ </addr>
446
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
447
+ <assignedPerson>
448
+ <name>
449
+ <given>Patricia</given>
450
+ <given qualifier="CL">Patty</given>
451
+ <family>Primary</family>
452
+ <suffix qualifier="AC">M.D.</suffix>
453
+ </name>
454
+ </assignedPerson>
455
+ <representedOrganization>
456
+ <id extension="219BX" root="1.2.16.840.1.113883.4.6"/>
457
+ <name>The DoctorsTogether Physician Group</name>
458
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
459
+ <addr>
460
+ <streetAddressLine>1004 Health Drive</streetAddressLine>
461
+ <city>Portland</city>
462
+ <state>OR</state>
463
+ <postalCode>99123</postalCode>
464
+ <country>US</country>
465
+ </addr>
466
+ </representedOrganization>
467
+ </assignedEntity>
468
+ </performer>
469
+ </serviceEvent>
470
+ </documentationOf>
471
+ <!-- ******************************************************** CDA Body ******************************************************** -->
472
+ <component>
473
+ <structuredBody>
474
+ <!-- ************* ADVANCE DIRECTIVES *************** -->
475
+ <component>
476
+ <section>
477
+ <!-- *** Advance Directives section with entries required *** -->
478
+ <templateId root="2.16.840.1.113883.10.20.22.2.21" extension="2015-08-01"/>
479
+ <templateId root="2.16.840.1.113883.10.20.22.2.21"/>
480
+ <code code="42348-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
481
+ <title>ADVANCE DIRECTIVES</title>
482
+ <text>
483
+ <table border="1" width="100%">
484
+ <thead>
485
+ <tr>
486
+ <th>Directive</th>
487
+ <th>Description</th>
488
+ <th>Verification</th>
489
+ <th>Supporting Document(s)</th>
490
+ </tr>
491
+ </thead>
492
+ <tbody>
493
+ <tr>
494
+ <td>Resuscitation status</td>
495
+ <td ID="AD1">Do not resuscitate</td>
496
+ <td>Dr. Patricia Primary, Feb 19, 2011</td>
497
+ <td>
498
+ <linkHtml href="AdvanceDirective.b50b7910.pdf">Advance directive</linkHtml>
499
+ </td>
500
+ </tr>
501
+ </tbody>
502
+ </table>
503
+ </text>
504
+ <entry>
505
+ <!-- *** Advance Directive Organizer (V2) template -->
506
+ <organizer classCode="CLUSTER" moodCode="EVN">
507
+ <templateId root="2.16.840.1.113883.10.20.22.4.108" extension="2015-08-01"/>
508
+ <templateId root="2.16.840.1.113883.10.20.22.4.108"/>
509
+ <id root="af6ebdf2-d996-11e2-a5b8-f23c91aec05e"/>
510
+ <code code="45473-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="advance directive - living will"/>
511
+ <statusCode code="completed"/>
512
+ <author>
513
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
514
+ <time value="201308011235-0800"/>
515
+ <assignedAuthor>
516
+ <id root="20cf14fb-b65c-4c8c-a54d-b0cca834c18c"/>
517
+ <code code="163W00000X" displayName="Registered nurse" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
518
+ <assignedPerson>
519
+ <name>
520
+ <given>Nurse</given>
521
+ <family>Nightingale</family>
522
+ <suffix>RN</suffix>
523
+ </name>
524
+ </assignedPerson>
525
+ <representedOrganization classCode="ORG">
526
+ <id root="2.16.840.1.113883.19.5"/>
527
+ <name>Good Health Hospital</name>
528
+ </representedOrganization>
529
+ </assignedAuthor>
530
+ </author>
531
+ <component>
532
+ <!-- ** Advance Directive Observation (V3) ** -->
533
+ <observation classCode="OBS" moodCode="EVN">
534
+ <templateId root="2.16.840.1.113883.10.20.22.4.48" extension="2015-08-01"/>
535
+ <templateId root="2.16.840.1.113883.10.20.22.4.48"/>
536
+ <id root="9b54c3c9-1673-49c7-aef9-b037ed72ed27"/>
537
+ <code code="304251008" displayName="Resuscitation" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
538
+ <translation code="75320-2" displayName="Advance directive" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
539
+ </code>
540
+ <statusCode code="completed"/>
541
+ <effectiveTime>
542
+ <low value="20110219"/>
543
+ <high nullFlavor="NA"/>
544
+ </effectiveTime>
545
+ <value xsi:type="CD" code="304253006" displayName="Do not resuscitate" codeSystem="2.16.840.1.113883.6.96"/>
546
+ <author>
547
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
548
+ <time value="201308011235-0800"/>
549
+ <assignedAuthor>
550
+ <id root="20cf14fb-b65c-4c8c-a54d-b0cca834c18c"/>
551
+ <code code="163W00000X" displayName="Registered nurse" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
552
+ <assignedPerson>
553
+ <name>
554
+ <given>Nurse</given>
555
+ <family>Nightingale</family>
556
+ <suffix>RN</suffix>
557
+ </name>
558
+ </assignedPerson>
559
+ <representedOrganization classCode="ORG">
560
+ <id root="2.16.840.1.113883.19.5"/>
561
+ <name>Good Health Hospital</name>
562
+ </representedOrganization>
563
+ </assignedAuthor>
564
+ </author>
565
+ <participant typeCode="VRF">
566
+ <templateId root="2.16.840.1.113883.10.20.1.58"/>
567
+ <time value="201102019"/>
568
+ <participantRole>
569
+ <id root="20cf14fb-b65c-4c8c-a54d-b0cca834c18c"/>
570
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
571
+ <playingEntity>
572
+ <name>
573
+ <prefix>Dr.</prefix>
574
+ <family>Patricia</family>
575
+ <given>Primary</given>
576
+ </name>
577
+ </playingEntity>
578
+ </participantRole>
579
+ </participant>
580
+ <participant typeCode="CST">
581
+ <participantRole classCode="AGNT">
582
+ <addr>
583
+ <streetAddressLine>1004 Health Drive</streetAddressLine>
584
+ <city>Portland</city>
585
+ <state>OR</state>
586
+ <postalCode>99123</postalCode>
587
+ <country>US</country>
588
+ </addr>
589
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
590
+ <playingEntity>
591
+ <name>
592
+ <prefix>Dr.</prefix>
593
+ <family>Patricia</family>
594
+ <given>Primary</given>
595
+ </name>
596
+ </playingEntity>
597
+ </participantRole>
598
+ </participant>
599
+ <reference typeCode="REFR">
600
+ <seperatableInd value="false"/>
601
+ <externalDocument>
602
+ <id root="b50b7910-7ffb-4f4c-bbe4-177ed68cbbf3"/>
603
+ <text mediaType="application/pdf">
604
+ <reference value="AdvanceDirective.b50b7910.pdf"/>
605
+ </text>
606
+ </externalDocument>
607
+ </reference>
608
+ </observation>
609
+ </component>
610
+ </organizer>
611
+ </entry>
612
+ </section>
613
+ </component>
614
+ <!-- ***************** ALLERGIES *************** -->
615
+ <component>
616
+ <section>
617
+ <!-- *** Allergies and Intolerances Section (entries required) (V3) *** -->
618
+ <templateId root="2.16.840.1.113883.10.20.22.2.6.1" extension="2015-08-01"/>
619
+ <templateId root="2.16.840.1.113883.10.20.22.2.6.1"/>
620
+ <code code="48765-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
621
+ <title>ALLERGIES AND ADVERSE REACTIONS</title>
622
+ <text>
623
+ <table border="1" width="100%">
624
+ <thead>
625
+ <tr>
626
+ <th>Substance</th>
627
+ <th>Reaction</th>
628
+ </tr>
629
+ </thead>
630
+ <tbody>
631
+ <tr>
632
+ <td ID="substance1">Penicillin</td>
633
+ <td ID="reaction1">Nausea</td>
634
+ </tr>
635
+ <tr>
636
+ <td ID="substance2">Codeine</td>
637
+ <td ID="reaction2">Wheezing</td>
638
+ </tr>
639
+ </tbody>
640
+ </table>
641
+ </text>
642
+ <entry typeCode="DRIV">
643
+ <act classCode="ACT" moodCode="EVN">
644
+ <!-- ** Allergy Concern Act (V3) ** -->
645
+ <templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/>
646
+ <!--Critical Change-->
647
+ <templateId root="2.16.840.1.113883.10.20.22.4.30"/>
648
+ <id root="36e3e930-7b14-11db-9fe1-0800200c9a66"/>
649
+ <code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
650
+ <!-- The statusCode represents the need to continue tracking the allergy -->
651
+ <!-- This is of ongoing concern to the provider -->
652
+ <statusCode code="active"/>
653
+ <effectiveTime>
654
+ <!-- The low value represents when the allergy was first recorded in the patient's chart -->
655
+ <!-- Concern was documented on May 1, 1998 -->
656
+ <low value="199805011145-0800"/>
657
+ </effectiveTime>
658
+ <author typeCode="AUT">
659
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
660
+ <!-- Same as Concern effectiveTime/low -->
661
+ <time value="199805011145-0800"/>
662
+ <assignedAuthor>
663
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
664
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
665
+ </assignedAuthor>
666
+ </author>
667
+ <entryRelationship typeCode="SUBJ">
668
+ <observation classCode="OBS" moodCode="EVN">
669
+ <!-- ** Allergy observation (V2) ** -->
670
+ <templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/>
671
+ <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
672
+ <id root="4adc1020-7b14-11db-9fe1-0800200c9a66"/>
673
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
674
+ <text>
675
+ <reference value="#allergytype1"/>
676
+ </text>
677
+ <!-- Observation statusCode represents the status of the act of observing -->
678
+ <statusCode code="completed"/>
679
+ <effectiveTime>
680
+ <!-- The low value reflects the date of onset of the allergy -->
681
+ <!-- Based on patient symptoms, presumed onset is May 1, 1998 -->
682
+ <low value="19980501"/>
683
+ <!-- The high value reflects when the allergy was known to be resolved (and will generally be absent) -->
684
+ </effectiveTime>
685
+ <value xsi:type="CD" code="419199007" displayName="Allergy to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
686
+ <author typeCode="AUT">
687
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
688
+ <time value="199805011145-0800"/>
689
+ <assignedAuthor>
690
+ <id extension="222223333" root="2.16.840.1.113883.4.6"/>
691
+ <code code="207KA0200X" displayName="Allergy" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
692
+ </assignedAuthor>
693
+ </author>
694
+ <participant typeCode="CSM">
695
+ <participantRole classCode="MANU">
696
+ <playingEntity classCode="MMAT">
697
+ <code code="70618" displayName="Penicillin" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
698
+ </playingEntity>
699
+ </participantRole>
700
+ </participant>
701
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
702
+ <observation classCode="OBS" moodCode="EVN">
703
+ <!-- ** Severity Observation (V2)** -->
704
+ <!-- When the Severity Observation is associated directly with an allergy it characterizes the allergy.
705
+ When the Severity Observation is associated with a Reaction Observation it characterizes a Reaction. -->
706
+ <templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/>
707
+ <templateId root="2.16.840.1.113883.10.20.22.4.8"/>
708
+ <code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
709
+ <text>
710
+ <reference value="#allergyseverity1"/>
711
+ </text>
712
+ <statusCode code="completed"/>
713
+ <value xsi:type="CD" code="371924009" displayName="Moderate to severe" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
714
+ </observation>
715
+ </entryRelationship>
716
+ <entryRelationship typeCode="MFST" inversionInd="true">
717
+ <observation classCode="OBS" moodCode="EVN">
718
+ <!-- ** Reaction Observation (V2) ** -->
719
+ <templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/>
720
+ <templateId root="2.16.840.1.113883.10.20.22.4.9"/>
721
+ <id root="4adc1020-7b14-11db-9fe1-0800200c9a64"/>
722
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
723
+ <text>
724
+ <reference value="#reaction1"/>
725
+ </text>
726
+ <statusCode code="completed"/>
727
+ <effectiveTime>
728
+ <low value="200802260805-0800"/>
729
+ <high value="200802281205-0800"/>
730
+ </effectiveTime>
731
+ <value xsi:type="CD" code="422587007" codeSystem="2.16.840.1.113883.6.96" displayName="Nausea"/>
732
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
733
+ <observation classCode="OBS" moodCode="EVN">
734
+ <!-- ** Severity observation ** -->
735
+ <!-- When the Severity Observation is associated directly with an allergy it characterizes the allergy.
736
+ When the Severity Observation is associated with a Reaction Observation it characterizes a Reaction. -->
737
+ <templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/>
738
+ <templateId root="2.16.840.1.113883.10.20.22.4.8"/>
739
+ <code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
740
+ <statusCode code="completed"/>
741
+ <value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
742
+ </observation>
743
+ </entryRelationship>
744
+ </observation>
745
+ </entryRelationship>
746
+ </observation>
747
+ </entryRelationship>
748
+ </act>
749
+ </entry>
750
+ <entry typeCode="DRIV">
751
+ <act classCode="ACT" moodCode="EVN">
752
+ <!-- ** Allergy concern act ** -->
753
+ <templateId root="2.16.840.1.113883.10.20.22.4.30" extension="2015-08-01"/>
754
+ <!--Critical Change-->
755
+ <templateId root="2.16.840.1.113883.10.20.22.4.30"/>
756
+ <id root="b03805bd-2eb6-4ab8-a9ff-473c6653971a"/>
757
+ <code code="CONC" codeSystem="2.16.840.1.113883.5.6"/>
758
+ <!-- The statusCode represents the need to continue tracking the allergy -->
759
+ <!-- This is of ongoing concern to the provider -->
760
+ <statusCode code="active"/>
761
+ <effectiveTime>
762
+ <!-- The low value represents when the allergy was first recorded in the patient's chart -->
763
+ <!-- Concern was documented on May 1, 1998 -->
764
+ <low value="199805011145-0800"/>
765
+ </effectiveTime>
766
+ <author typeCode="AUT">
767
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
768
+ <!-- Same as Concern effectiveTime/low -->
769
+ <time value="199805011145-0800"/>
770
+ <assignedAuthor>
771
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
772
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
773
+ </assignedAuthor>
774
+ </author>
775
+ <entryRelationship typeCode="SUBJ">
776
+ <observation classCode="OBS" moodCode="EVN">
777
+ <!-- ** Allergy observation ** -->
778
+ <templateId root="2.16.840.1.113883.10.20.22.4.7" extension="2014-06-09"/>
779
+ <templateId root="2.16.840.1.113883.10.20.22.4.7"/>
780
+ <id root="901db0f8-9355-4794-81cd-fd951ef07917"/>
781
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
782
+ <text>
783
+ <reference value="#allergytype2"/>
784
+ </text>
785
+ <!-- Observation statusCode represents the status of the act of observing -->
786
+ <statusCode code="completed"/>
787
+ <effectiveTime>
788
+ <!-- The low value reflects the date of onset of the allergy -->
789
+ <low nullFlavor="UNK"/>
790
+ <!-- The high value reflects when the allergy was known to be resolved (and will generally be absent) -->
791
+ </effectiveTime>
792
+ <value xsi:type="CD" code="419199007" displayName="Allergy to substance" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
793
+ <author typeCode="AUT">
794
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
795
+ <time value="201010110915-0800"/>
796
+ <assignedAuthor>
797
+ <id extension="222223333" root="2.16.840.1.113883.4.6"/>
798
+ <code code="207KA0200X" displayName="Allergy" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
799
+ </assignedAuthor>
800
+ </author>
801
+ <participant typeCode="CSM">
802
+ <participantRole classCode="MANU">
803
+ <playingEntity classCode="MMAT">
804
+ <code code="2670" displayName="Codeine" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
805
+ </playingEntity>
806
+ </participantRole>
807
+ </participant>
808
+ <entryRelationship typeCode="MFST" inversionInd="true">
809
+ <observation classCode="OBS" moodCode="EVN">
810
+ <!-- ** Reaction observation ** -->
811
+ <templateId root="2.16.840.1.113883.10.20.22.4.9" extension="2014-06-09"/>
812
+ <templateId root="2.16.840.1.113883.10.20.22.4.9"/>
813
+ <id root="38c63dea-1a43-4f84-ab71-1ffd04f6a1dd"/>
814
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
815
+ <text>
816
+ <reference value="#reaction2"/>
817
+ </text>
818
+ <statusCode code="completed"/>
819
+ <effectiveTime>
820
+ <low nullFlavor="UNK"/>
821
+ </effectiveTime>
822
+ <value xsi:type="CD" code="56018004" displayName="Wheezing" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
823
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
824
+ <observation classCode="OBS" moodCode="EVN">
825
+ <!-- ** Severity observation ** -->
826
+ <!-- When the Severity Observation is associated directly with an allergy it characterizes the allergy.
827
+ When the Severity Observation is associated with a Reaction Observation it characterizes a Reaction. -->
828
+ <templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/>
829
+ <templateId root="2.16.840.1.113883.10.20.22.4.8"/>
830
+ <code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
831
+ <text>
832
+ <reference value="#reactionseverity2"/>
833
+ </text>
834
+ <statusCode code="completed"/>
835
+ <value xsi:type="CD" code="6736007" displayName="Moderate" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
836
+ </observation>
837
+ </entryRelationship>
838
+ </observation>
839
+ </entryRelationship>
840
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
841
+ <observation classCode="OBS" moodCode="EVN">
842
+ <!-- ** Severity observation ** -->
843
+ <!-- When the Severity Observation is associated directly with an allergy it characterizes the allergy.
844
+ When the Severity Observation is associated with a Reaction Observation it characterizes a Reaction. -->
845
+ <templateId root="2.16.840.1.113883.10.20.22.4.8" extension="2014-06-09"/>
846
+ <templateId root="2.16.840.1.113883.10.20.22.4.8"/>
847
+ <code code="SEV" displayName="Severity Observation" codeSystem="2.16.840.1.113883.5.4" codeSystemName="ActCode"/>
848
+ <text>
849
+ <reference value="#allergyseverity2"/>
850
+ </text>
851
+ <statusCode code="completed"/>
852
+ <value xsi:type="CD" code="255604002" displayName="Mild" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
853
+ </observation>
854
+ </entryRelationship>
855
+ </observation>
856
+ </entryRelationship>
857
+ </act>
858
+ </entry>
859
+ </section>
860
+ </component>
861
+ <!-- ************************ ENCOUNTERS *********************** -->
862
+ <component>
863
+ <section>
864
+ <!-- *** Encounters section (entries required) (V3) *** -->
865
+ <templateId root="2.16.840.1.113883.10.20.22.2.22.1" extension="2015-08-01"/>
866
+ <templateId root="2.16.840.1.113883.10.20.22.2.22.1"/>
867
+ <code code="46240-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of encounters"/>
868
+ <title>ENCOUNTERS</title>
869
+ <text>
870
+ <table border="1" width="100%">
871
+ <thead>
872
+ <tr>
873
+ <th>Encounter</th>
874
+ <th>Performer</th>
875
+ <th>Location</th>
876
+ <th>Date</th>
877
+ </tr>
878
+ </thead>
879
+ <tbody>
880
+ <tr>
881
+ <td ID="Encounter1"> Checkup Examination </td>
882
+ <td>Performer Name</td>
883
+ <td>Community Urgent Care Center</td>
884
+ <td>September 27, 2012 at 1:00pm</td>
885
+ </tr>
886
+ </tbody>
887
+ </table>
888
+ </text>
889
+ <entry typeCode="DRIV">
890
+ <encounter classCode="ENC" moodCode="EVN">
891
+ <!-- ** Encounter Activity (V3) ** -->
892
+ <templateId root="2.16.840.1.113883.10.20.22.4.49" extension="2015-08-01"/>
893
+ <templateId root="2.16.840.1.113883.10.20.22.4.49"/>
894
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4de8"/>
895
+ <code code="99213" displayName="Office outpatient visit 15 minutes" codeSystemName="CPT-4" codeSystem="2.16.840.1.113883.6.12">
896
+ <originalText>
897
+ <reference value="#Encounter1"/>
898
+ </originalText>
899
+ <!-- MAY MAY contain zero or one [0..1] translation (CONF:1198-32323)
900
+ The translation may exist to map the code of EncounterTypeCode (2.16.840.1.113883.3.88.12.80.32) valueset to the code of Encounter Planned (2.16.840.1.113883.11.20.9.52) valueset.
901
+ <translation code="AMB" codeSystem="2.16.840.1.113883.5.4" displayName="Ambulatory" codeSystemName="HL7 ActEncounterCode"/>
902
+ -->
903
+ </code>
904
+ <effectiveTime value="201209271300+0500"/>
905
+ <performer>
906
+ <assignedEntity>
907
+ <!-- Provider NPI "333444555" -->
908
+ <id extension="333444555" root="2.16.840.1.113883.4.6"/>
909
+ <code code="59058001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="General Physician"/>
910
+ </assignedEntity>
911
+ </performer>
912
+ <participant typeCode="LOC">
913
+ <participantRole classCode="SDLOC">
914
+ <templateId root="2.16.840.1.113883.10.20.22.4.32"/>
915
+ <!-- Service Delivery Location template -->
916
+ <code code="1160-1" codeSystem="2.16.840.1.113883.6.259" codeSystemName="HL7 HealthcareServiceLocation" displayName="Urgent Care Center"/>
917
+ <addr>
918
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
919
+ <city>Portland</city>
920
+ <state>OR</state>
921
+ <postalCode>99123</postalCode>
922
+ <country>US</country>
923
+ </addr>
924
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
925
+ <playingEntity classCode="PLC">
926
+ <name>Good Health Urgent Care</name>
927
+ </playingEntity>
928
+ </participantRole>
929
+ </participant>
930
+ <entryRelationship typeCode="RSON">
931
+ <!-- ** Indivcation (V2) ** -->
932
+ <observation classCode="OBS" moodCode="EVN">
933
+ <templateId root="2.16.840.1.113883.10.20.22.4.19" extension="2014-06-09"/>
934
+ <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
935
+ <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
936
+ <!-- code is required; MAY be selected from ValueSet Problem Type (LOINC) urn:oid:2.16.840.1.113883.3.88.12.3221.7.2 STATIC 2014-09-02 (CONF:1098-31229) -->
937
+ <code code="404684003" displayName="Finding" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
938
+ <!-- of course this MAY be present
939
+ <translation code="75321-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Clinical finding"/>
940
+ -->
941
+ </code>
942
+ <statusCode code="completed"/>
943
+ <effectiveTime>
944
+ <low value="201209251130+0500"/>
945
+ </effectiveTime>
946
+ <value xsi:type="CD" code="233604007" displayName="Pneumonia" codeSystem="2.16.840.1.113883.6.96"/>
947
+ </observation>
948
+ </entryRelationship>
949
+ </encounter>
950
+ </entry>
951
+ </section>
952
+ </component>
953
+ <!-- ************************ FAMILY HISTORY *********************** -->
954
+ <component>
955
+ <section>
956
+ <!-- *** Family history section (V3) *** -->
957
+ <templateId root="2.16.840.1.113883.10.20.22.2.15" extension="2015-08-01"/>
958
+ <templateId root="2.16.840.1.113883.10.20.22.2.15"/>
959
+ <code code="10157-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
960
+ <title>FAMILY HISTORY</title>
961
+ <text>
962
+ <paragraph>Father (deceased)</paragraph>
963
+ <table border="1" width="100%">
964
+ <thead>
965
+ <tr>
966
+ <th>Diagnosis</th>
967
+ <th>Age At Onset</th>
968
+ </tr>
969
+ </thead>
970
+ <tbody>
971
+ <tr>
972
+ <td>Myocardial Infarction (cause of death)</td>
973
+ <td>57</td>
974
+ </tr>
975
+ <tr>
976
+ <td>Diabetes</td>
977
+ <td>40</td>
978
+ </tr>
979
+ </tbody>
980
+ </table>
981
+ </text>
982
+ <entry typeCode="DRIV">
983
+ <organizer moodCode="EVN" classCode="CLUSTER">
984
+ <!-- ** Family history organizer (V3) ** -->
985
+ <templateId root="2.16.840.1.113883.10.20.22.4.45" extension="2015-08-01"/>
986
+ <templateId root="2.16.840.1.113883.10.20.22.4.45"/>
987
+ <id root="d42ebf70-5c89-11db-b0de-0855200c9a66"/>
988
+ <statusCode code="completed"/>
989
+ <subject>
990
+ <relatedSubject classCode="PRS">
991
+ <code code="FTH" displayName="Father" codeSystemName="FamilyRelationshipRoleType" codeSystem="2.16.840.1.113883.5.111">
992
+ <!--
993
+ <translation code="9947008" displayName="Biological father" codeSystemName="SNOMED" codeSystem="2.16.840.1.113883.6.96"/>
994
+ -->
995
+ </code>
996
+ <subject>
997
+ <sdtc:id root="2.16.840.1.113883.19.5.99999.2" extension="99999999"/>
998
+ <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.1.11.1" displayName="Male"/>
999
+ <birthTime value="1910"/>
1000
+ <!-- Example use of sdtc extensions included below in comments -->
1001
+ <!-- <sdtc:deceasedInd value="true"/> <sdtc:deceasedTime value="1967"/> -->
1002
+ </subject>
1003
+ </relatedSubject>
1004
+ </subject>
1005
+ <component>
1006
+ <observation classCode="OBS" moodCode="EVN">
1007
+ <!-- ** Family history observation (V3) ** -->
1008
+ <templateId root="2.16.840.1.113883.10.20.22.4.46" extension="2015-08-01"/>
1009
+ <!--Critical Change-->
1010
+ <templateId root="2.16.840.1.113883.10.20.22.4.46"/>
1011
+ <id root="d42ebf70-5c89-11db-b0de-0800200c9a66"/>
1012
+ <code code="64572001" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96" displayName="Condition">
1013
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
1014
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
1015
+ very likely that the following is present, but use of LOINC as shown above would be better -->
1016
+ <translation nullFlavor="NI"/>
1017
+ </code>
1018
+ <statusCode code="completed"/>
1019
+ <effectiveTime value="1967"/>
1020
+ <value xsi:type="CD" code="22298006" codeSystem="2.16.840.1.113883.6.96" displayName="Myocardial infarction"/>
1021
+ <entryRelationship typeCode="CAUS">
1022
+ <observation classCode="OBS" moodCode="EVN">
1023
+ <!-- ** Family history death observation ** -->
1024
+ <templateId root="2.16.840.1.113883.10.20.22.4.47"/>
1025
+ <id root="6898fae0-5c8a-11db-b0de-0800200c9a66"/>
1026
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
1027
+ <statusCode code="completed"/>
1028
+ <value xsi:type="CD" code="419099009" codeSystem="2.16.840.1.113883.6.96" displayName="Dead"/>
1029
+ </observation>
1030
+ </entryRelationship>
1031
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
1032
+ <observation classCode="OBS" moodCode="EVN">
1033
+ <!-- ** Age observation ** -->
1034
+ <templateId root="2.16.840.1.113883.10.20.22.4.31"/>
1035
+ <code code="445518008" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Age At Onset"/>
1036
+ <statusCode code="completed"/>
1037
+ <value xsi:type="PQ" value="57" unit="a"/>
1038
+ </observation>
1039
+ </entryRelationship>
1040
+ </observation>
1041
+ </component>
1042
+ <component>
1043
+ <observation classCode="OBS" moodCode="EVN">
1044
+ <!-- ** Family history observation ** -->
1045
+ <templateId root="2.16.840.1.113883.10.20.22.4.46" extension="2015-08-01"/>
1046
+ <!--Critical Change-->
1047
+ <templateId root="2.16.840.1.113883.10.20.22.4.46"/>
1048
+ <id root="5bfe3ec0-5c8b-11db-b0de-0800200c9a66"/>
1049
+ <code code="64572001" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96" displayName="Condition">
1050
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
1051
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
1052
+ very likely that the following is present, but use of LOINC as shown above would be better -->
1053
+ <translation nullFlavor="NI"/>
1054
+ </code>
1055
+ <statusCode code="completed"/>
1056
+ <effectiveTime value="1950"/>
1057
+ <value xsi:type="CD" code="44054006" codeSystem="2.16.840.1.113883.6.96" displayName="Diabetes mellitus type 2"/>
1058
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
1059
+ <observation classCode="OBS" moodCode="EVN">
1060
+ <!-- ** Age observation ** -->
1061
+ <templateId root="2.16.840.1.113883.10.20.22.4.31"/>
1062
+ <code code="445518008" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Age At Onset"/>
1063
+ <statusCode code="completed"/>
1064
+ <value xsi:type="PQ" value="40" unit="a"/>
1065
+ </observation>
1066
+ </entryRelationship>
1067
+ </observation>
1068
+ </component>
1069
+ </organizer>
1070
+ </entry>
1071
+ </section>
1072
+ </component>
1073
+ <!-- ***************** FUNCTIONAL STATUS *********************** -->
1074
+ <component>
1075
+ <!-- Functional Status Section (V2)-->
1076
+ <section>
1077
+ <templateId root="2.16.840.1.113883.10.20.22.2.14" extension="2014-06-09"/>
1078
+ <templateId root="2.16.840.1.113883.10.20.22.2.14"/>
1079
+ <code code="47420-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Functional Status"/>
1080
+ <title>FUNCTIONAL STATUS</title>
1081
+ <text>
1082
+ <table border="1" width="100%">
1083
+ <thead>
1084
+ <tr>
1085
+ <th>Functional Category</th>
1086
+ <th>Effective Dates</th>
1087
+ <th>Results of Evaluation</th>
1088
+ </tr>
1089
+ </thead>
1090
+ <tbody>
1091
+ <tr>
1092
+ <td ID="FUNC1">Functional Assessment</td>
1093
+ <td>March 11, 2013</td>
1094
+ <td>Independent Walking</td>
1095
+ </tr>
1096
+ <tr>
1097
+ <td>ADL/IADL: Bathing</td>
1098
+ <td>March 11,2013</td>
1099
+ <td>Independent</td>
1100
+ </tr>
1101
+ </tbody>
1102
+ </table>
1103
+ </text>
1104
+ <entry>
1105
+ <organizer classCode="CLUSTER" moodCode="EVN">
1106
+ <!-- Functional Status Organizer (V2) -->
1107
+ <templateId root="2.16.840.1.113883.10.20.22.4.66" extension="2014-06-09"/>
1108
+ <templateId root="2.16.840.1.113883.10.20.22.4.66"/>
1109
+ <id root="a7bc1062-8649-42a0-833d-eed65bd017c9"/>
1110
+ <code code="d5" displayName="Self-Care" codeSystem="2.16.840.1.113883.6.254" codeSystemName="ICF"/>
1111
+ <statusCode code="completed"/>
1112
+ <author typeCode="AUT">
1113
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
1114
+ <time value="201307061145-0800"/>
1115
+ <assignedAuthor>
1116
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
1117
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
1118
+ </assignedAuthor>
1119
+ </author>
1120
+ <component>
1121
+ <observation classCode="OBS" moodCode="EVN">
1122
+ <!-- Functional Status Observation (V2)-->
1123
+ <templateId root="2.16.840.1.113883.10.20.22.4.67" extension="2014-06-09"/>
1124
+ <templateId root="2.16.840.1.113883.10.20.22.4.67"/>
1125
+ <id root="b63a8636-cfff-4461-b018-40ba58ba8b32"/>
1126
+ <code code="54522-8" displayName="Functional status" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
1127
+ <text>
1128
+ <reference value="#FUNC1"/>
1129
+ </text>
1130
+ <statusCode code="completed"/>
1131
+ <effectiveTime value="20130311"/>
1132
+ <value xsi:type="CD" code="165245003" displayName=" Independent walking" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
1133
+ <author typeCode="AUT">
1134
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
1135
+ <time value="201307061145-0800"/>
1136
+ <assignedAuthor>
1137
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
1138
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
1139
+ </assignedAuthor>
1140
+ </author>
1141
+ <entryRelationship typeCode="COMP">
1142
+ <!-- Non-Medicinal Supply Activity (V2) -->
1143
+ <supply classCode="SPLY" moodCode="EVN">
1144
+ <templateId root="2.16.840.1.113883.10.20.22.4.50" extension="2014-06-09"/>
1145
+ <templateId root="2.16.840.1.113883.10.20.22.4.50"/>
1146
+ <id root="2413773c-2372-4299-bbe6-5b0f60664446"/>
1147
+ <statusCode code="completed"/>
1148
+ <effectiveTime xsi:type="IVL_TS">
1149
+ <high value="20130311"/>
1150
+ </effectiveTime>
1151
+ <quantity value="2"/>
1152
+ <participant typeCode="PRD">
1153
+ <participantRole classCode="MANU">
1154
+ <templateId root="2.16.840.1.113883.10.20.22.4.37"/>
1155
+ <!-- Product instance template -->
1156
+ <id root="742aee30-21c5-11e1-bfc2-0800200c9a66"/>
1157
+ <playingDevice>
1158
+ <code code="87405001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="cane, device (physical object)"/>
1159
+ </playingDevice>
1160
+ <scopingEntity>
1161
+ <id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
1162
+ </scopingEntity>
1163
+ </participantRole>
1164
+ </participant>
1165
+ </supply>
1166
+ </entryRelationship>
1167
+ </observation>
1168
+ </component>
1169
+ <component>
1170
+ <observation classCode="OBS" moodCode="EVN">
1171
+ <!-- Self-Care Activities (ADL and IADL) -->
1172
+ <templateId root="2.16.840.1.113883.10.20.22.4.128"/>
1173
+ <id root="c6b5a04b-2bf4-49d1-8336-636a3813df0a"/>
1174
+ <code code="46008-9 " displayName="Bathing" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
1175
+ <statusCode code="completed"/>
1176
+ <effectiveTime value="200130311"/>
1177
+ <value xsi:type="CD" code="371153006" displayName="Independent" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
1178
+ <author typeCode="AUT">
1179
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
1180
+ <time value="201307061148-0800"/>
1181
+ <assignedAuthor>
1182
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
1183
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
1184
+ </assignedAuthor>
1185
+ </author>
1186
+ </observation>
1187
+ </component>
1188
+ </organizer>
1189
+ </entry>
1190
+ </section>
1191
+ </component>
1192
+ <!-- ******************** IMMUNIZATIONS ********************* -->
1193
+ <component>
1194
+ <section>
1195
+ <!-- *** Immunizations Section (entries required) (V2) *** -->
1196
+ <templateId root="2.16.840.1.113883.10.20.22.2.2.1" extension="2014-06-09"/>
1197
+ <templateId root="2.16.840.1.113883.10.20.22.2.2.1"/>
1198
+ <code code="11369-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of immunizations"/>
1199
+ <title>IMMUNIZATIONS</title>
1200
+ <text>
1201
+ <content ID="immunSect"/>
1202
+ <table border="1" width="100%">
1203
+ <thead>
1204
+ <tr>
1205
+ <th>Vaccine</th>
1206
+ <th>Date</th>
1207
+ <th>Status</th>
1208
+ <th>Series number</th>
1209
+ </tr>
1210
+ </thead>
1211
+ <tbody>
1212
+ <tr>
1213
+ <td>
1214
+ <content ID="immi1"/> Influenza, seasonal, IM </td>
1215
+ <td>Nov 1999</td>
1216
+ <td>Completed</td>
1217
+ <td>N/A</td>
1218
+ </tr>
1219
+ <tr>
1220
+ <td>
1221
+ <content ID="immi2"/> Influenza, seasonal, IM </td>
1222
+ <td>Dec 1998</td>
1223
+ <td>Completed</td>
1224
+ <td>N/A</td>
1225
+ </tr>
1226
+ <tr>
1227
+ <td>
1228
+ <content ID="immi3"/> Pneumococcal polysaccharide vaccine, IM </td>
1229
+ <td>Dec 1998</td>
1230
+ <td>Completed</td>
1231
+ <td>N/A</td>
1232
+ </tr>
1233
+ <tr>
1234
+ <td>
1235
+ <content ID="immi4"/> Tetanus and diphtheria toxoids, IM </td>
1236
+ <td>1997</td>
1237
+ <td>Refused</td>
1238
+ <td>N/A</td>
1239
+ </tr>
1240
+ <tr>
1241
+ <td>Hepatitis B</td>
1242
+ <td>Aug 1, 2013</td>
1243
+ <td>Completed</td>
1244
+ <td>3rd</td>
1245
+ </tr>
1246
+ </tbody>
1247
+ </table>
1248
+ </text>
1249
+ <entry typeCode="DRIV">
1250
+ <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
1251
+ <!-- ** Immunization Activity (V3) ** -->
1252
+ <templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
1253
+ <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
1254
+ <id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
1255
+ <text>Influenza, seasonal, IM</text>
1256
+ <statusCode code="completed"/>
1257
+ <effectiveTime value="199911"/>
1258
+ <routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="National Cancer Institute (NCI) Thesaurus" displayName="Intramuscular injection"/>
1259
+ <doseQuantity value="50" unit="ug"/>
1260
+ <consumable>
1261
+ <manufacturedProduct classCode="MANU">
1262
+ <!-- ** Immunization Medication Information (V2) ** -->
1263
+ <templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
1264
+ <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
1265
+ <manufacturedMaterial>
1266
+ <code code="88" codeSystem="2.16.840.1.113883.6.59" displayName="Influenza virus vaccine" codeSystemName="CVX"/>
1267
+ <lotNumberText>1</lotNumberText>
1268
+ </manufacturedMaterial>
1269
+ <manufacturerOrganization>
1270
+ <name>Health LS - Immuno Inc.</name>
1271
+ </manufacturerOrganization>
1272
+ </manufacturedProduct>
1273
+ </consumable>
1274
+ <performer>
1275
+ <assignedEntity>
1276
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981824"/>
1277
+ <addr>
1278
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1279
+ <city>Portland</city>
1280
+ <state>OR</state>
1281
+ <postalCode>99123</postalCode>
1282
+ <country>US</country>
1283
+ </addr>
1284
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1285
+ <assignedPerson>
1286
+ <name>
1287
+ <given>Harold</given>
1288
+ <family>Hippocrates</family>
1289
+ </name>
1290
+ </assignedPerson>
1291
+ <representedOrganization>
1292
+ <id root="2.16.840.1.113883.19.5.9999.1394"/>
1293
+ <name>Good Health Clinic</name>
1294
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1295
+ <addr>
1296
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1297
+ <city>Portland</city>
1298
+ <state>OR</state>
1299
+ <postalCode>99123</postalCode>
1300
+ <country>US</country>
1301
+ </addr>
1302
+ </representedOrganization>
1303
+ </assignedEntity>
1304
+ </performer>
1305
+ <entryRelationship typeCode="SUBJ" inversionInd="false">
1306
+ <act classCode="ACT" moodCode="INT">
1307
+ <!-- ** Instruction (V2) ** -->
1308
+ <templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/>
1309
+ <templateId root="2.16.840.1.113883.10.20.22.4.20"/>
1310
+ <code code="171044003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="immunization education"/>
1311
+ <text>
1312
+ <reference value="#immunSect"/> Possible flu-like symptoms for three days. </text>
1313
+ <statusCode code="completed"/>
1314
+ </act>
1315
+ </entryRelationship>
1316
+ </substanceAdministration>
1317
+ </entry>
1318
+ <entry typeCode="DRIV">
1319
+ <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="true">
1320
+ <!-- ** Immunization Activity (V3) ** -->
1321
+ <templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
1322
+ <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
1323
+ <id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
1324
+ <text>
1325
+ <reference value="#immun2"/>
1326
+ </text>
1327
+ <statusCode code="completed"/>
1328
+ <effectiveTime value="19981215"/>
1329
+ <routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="National Cancer Institute (NCI) Thesaurus" displayName="Intramuscular injection"/>
1330
+ <doseQuantity value="50" unit="ug"/>
1331
+ <consumable>
1332
+ <manufacturedProduct classCode="MANU">
1333
+ <!-- ** Immunization Medication Information (V2) ** -->
1334
+ <templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
1335
+ <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
1336
+ <manufacturedMaterial>
1337
+ <code code="88" codeSystem="2.16.840.1.113883.6.59" displayName="Influenza virus vaccine" codeSystemName="CVX">
1338
+ <!-- i. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.8 DYNAMIC (CONF:1098-31543).
1339
+ ii. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Specific Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.10 DYNAMIC (CONF:1098-31881).
1340
+
1341
+ <translation code="1427027" displayName="Influenza A virus vaccine, A-California-7-2009 (H1N1)-like virus 0.03 MG/ML / Influenza A virus vaccine, A-Victoria-361-2011 (H3N2)-like virus 0.03 MG/ML / Influenza B virus vaccine, B-Brisbane-60-2008-like virus 0.03 MG/ML / Influenza B virus vaccine, B-Massachusetts-2-2012-like virus 0.03 MG/ML Injectable Suspension" codeSystemName="RxNORM" codeSystem="2.16.840.1.113883.6.88"/>
1342
+ -->
1343
+ </code>
1344
+ <lotNumberText>1</lotNumberText>
1345
+ </manufacturedMaterial>
1346
+ <manufacturerOrganization>
1347
+ <name>Health LS - Immuno Inc.</name>
1348
+ </manufacturerOrganization>
1349
+ </manufacturedProduct>
1350
+ </consumable>
1351
+ <performer>
1352
+ <assignedEntity>
1353
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981824"/>
1354
+ <addr>
1355
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1356
+ <city>Portland</city>
1357
+ <state>OR</state>
1358
+ <postalCode>99123</postalCode>
1359
+ <country>US</country>
1360
+ </addr>
1361
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1362
+ <assignedPerson>
1363
+ <name>
1364
+ <given>Harold</given>
1365
+ <family>Hippocrates</family>
1366
+ </name>
1367
+ </assignedPerson>
1368
+ <representedOrganization>
1369
+ <id root="2.16.840.1.113883.19.5.9999.1394"/>
1370
+ <name>Good Health Clinic</name>
1371
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1372
+ <addr>
1373
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1374
+ <city>Portland</city>
1375
+ <state>OR</state>
1376
+ <postalCode>99123</postalCode>
1377
+ <country>US</country>
1378
+ </addr>
1379
+ </representedOrganization>
1380
+ </assignedEntity>
1381
+ </performer>
1382
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
1383
+ <act classCode="ACT" moodCode="INT">
1384
+ <!-- ** Instruction (V2) ** -->
1385
+ <templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/>
1386
+ <templateId root="2.16.840.1.113883.10.20.22.4.20"/>
1387
+ <code code="171044003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="immunization education"/>
1388
+ <text>
1389
+ <reference value="#immunSect"/> Possible flu-like symptoms for three days. </text>
1390
+ <statusCode code="completed"/>
1391
+ </act>
1392
+ </entryRelationship>
1393
+ </substanceAdministration>
1394
+ </entry>
1395
+ <entry typeCode="DRIV">
1396
+ <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
1397
+ <!-- ** Immunization Activity (V3) ** -->
1398
+ <templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
1399
+ <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
1400
+ <id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
1401
+ <text>
1402
+ <reference value="#immun3"/>
1403
+ </text>
1404
+ <statusCode code="completed"/>
1405
+ <effectiveTime value="19981215"/>
1406
+ <routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="National Cancer Institute (NCI) Thesaurus" displayName="Intramuscular injection"/>
1407
+ <doseQuantity value="50" unit="ug"/>
1408
+ <consumable>
1409
+ <manufacturedProduct classCode="MANU">
1410
+ <!-- ** Immunization Medication Information (V2) ** -->
1411
+ <templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
1412
+ <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
1413
+ <manufacturedMaterial>
1414
+ <code code="33" codeSystem="2.16.840.1.113883.6.59" displayName="Pneumococcal polysaccharide vaccine" codeSystemName="CVX">
1415
+ <!-- i. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.8 DYNAMIC (CONF:1098-31543).
1416
+ ii. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Specific Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.10 DYNAMIC (CONF:1098-31881).
1417
+
1418
+ <translation code="854981" displayName="Pneumovax 23 (Pneumococcal vaccine polyvalent) Injectable Solution" codeSystemName="RxNORM" codeSystem="2.16.840.1.113883.6.88"/>
1419
+ -->
1420
+ </code>
1421
+ <lotNumberText>1</lotNumberText>
1422
+ </manufacturedMaterial>
1423
+ <manufacturerOrganization>
1424
+ <name>Health LS - Immuno Inc.</name>
1425
+ </manufacturerOrganization>
1426
+ </manufacturedProduct>
1427
+ </consumable>
1428
+ <performer>
1429
+ <assignedEntity>
1430
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981824"/>
1431
+ <addr>
1432
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1433
+ <city>Portland</city>
1434
+ <state>OR</state>
1435
+ <postalCode>99123</postalCode>
1436
+ <country>US</country>
1437
+ </addr>
1438
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1439
+ <assignedPerson>
1440
+ <name>
1441
+ <given>Harold</given>
1442
+ <family>Hippocrates</family>
1443
+ </name>
1444
+ </assignedPerson>
1445
+ <representedOrganization>
1446
+ <id root="2.16.840.1.113883.19.5.9999.1394"/>
1447
+ <name>Good Health Clinic</name>
1448
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1449
+ <addr>
1450
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1451
+ <city>Portland</city>
1452
+ <state>OR</state>
1453
+ <postalCode>99123</postalCode>
1454
+ <country>US</country>
1455
+ </addr>
1456
+ </representedOrganization>
1457
+ </assignedEntity>
1458
+ </performer>
1459
+ </substanceAdministration>
1460
+ </entry>
1461
+ <entry typeCode="DRIV">
1462
+ <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="true">
1463
+ <!-- ** Immunization Activity (V3) ** -->
1464
+ <templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
1465
+ <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
1466
+ <id root="e6f1ba43-c0ed-4b9b-9f12-f435d8ad8f92"/>
1467
+ <text>
1468
+ <reference value="#immun4"/>
1469
+ </text>
1470
+ <statusCode code="completed"/>
1471
+ <effectiveTime value="19981215"/>
1472
+ <routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="National Cancer Institute (NCI) Thesaurus" displayName="Intramuscular injection"/>
1473
+ <doseQuantity value="50" unit="ug"/>
1474
+ <consumable>
1475
+ <manufacturedProduct classCode="MANU">
1476
+ <!-- ** Immunization Medication Information (V2) ** -->
1477
+ <templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
1478
+ <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
1479
+ <manufacturedMaterial>
1480
+ <code code="103" codeSystem="2.16.840.1.113883.6.59" displayName="Tetanus and diphtheria toxoids - preservative free" codeSystemName="CVX">
1481
+ <!-- i. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.8 DYNAMIC (CONF:1098-31543).
1482
+ ii. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Specific Vaccine Clinical Drug urn:oid:2.16.840.1.113762.1.4.1010.10 DYNAMIC (CONF:1098-31881).
1483
+
1484
+ <translation code="1300310" displayName="Daptacel DTaP (Diphtheria and Tetanus Toxoids and Acellular Pertussis Vaccine Adsorbed) Injectable Suspension" codeSystemName="RxNORM" codeSystem="2.16.840.1.113883.6.88"/>
1485
+ -->
1486
+ </code>
1487
+ <lotNumberText>1</lotNumberText>
1488
+ </manufacturedMaterial>
1489
+ <manufacturerOrganization>
1490
+ <name>Health LS - Immuno Inc.</name>
1491
+ </manufacturerOrganization>
1492
+ </manufacturedProduct>
1493
+ </consumable>
1494
+ <performer>
1495
+ <assignedEntity>
1496
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981824"/>
1497
+ <addr>
1498
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1499
+ <city>Portland</city>
1500
+ <state>OR</state>
1501
+ <postalCode>99123</postalCode>
1502
+ <country>US</country>
1503
+ </addr>
1504
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1505
+ <assignedPerson>
1506
+ <name>
1507
+ <given>Harold</given>
1508
+ <family>Hippocrates</family>
1509
+ </name>
1510
+ </assignedPerson>
1511
+ <representedOrganization>
1512
+ <id root="2.16.840.1.113883.19.5.9999.1394"/>
1513
+ <name>Good Health Clinic</name>
1514
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1515
+ <addr nullFlavor="UNK"/>
1516
+ </representedOrganization>
1517
+ </assignedEntity>
1518
+ </performer>
1519
+ <entryRelationship typeCode="RSON">
1520
+ <observation classCode="OBS" moodCode="EVN">
1521
+ <!-- ** Immunization Refusal ** -->
1522
+ <templateId root="2.16.840.1.113883.10.20.22.4.53"/>
1523
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4dd8"/>
1524
+ <code displayName="Patient Objection" code="PATOBJ" codeSystemName="HL7 ActNoImmunizationReason" codeSystem="2.16.840.1.113883.5.8"/>
1525
+ <statusCode code="completed"/>
1526
+ </observation>
1527
+ </entryRelationship>
1528
+ </substanceAdministration>
1529
+ </entry>
1530
+ <entry typeCode="DRIV">
1531
+ <substanceAdministration classCode="SBADM" moodCode="EVN" negationInd="false">
1532
+ <!-- ** Immunization Activity (V3) ** -->
1533
+ <templateId root="2.16.840.1.113883.10.20.22.4.52" extension="2015-08-01"/>
1534
+ <templateId root="2.16.840.1.113883.10.20.22.4.52"/>
1535
+ <id root="de10790f-1496-4719-8fe6-f1b87b6219f7"/>
1536
+ <statusCode code="completed"/>
1537
+ <effectiveTime value="20130801"/>
1538
+ <routeCode code="C28161" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="National Cancer Institute (NCI) Thesaurus" displayName="Intramuscular injection"/>
1539
+ <consumable>
1540
+ <manufacturedProduct classCode="MANU">
1541
+ <!-- ** Immunization Medication Information (V2) ** -->
1542
+ <templateId root="2.16.840.1.113883.10.20.22.4.54" extension="2014-06-09"/>
1543
+ <templateId root="2.16.840.1.113883.10.20.22.4.54"/>
1544
+ <manufacturedMaterial>
1545
+ <code code="45" codeSystem="2.16.840.1.113883.6.59" displayName="Hepatitis B vaccine" codeSystemName="CVX"/>
1546
+ <lotNumberText>1</lotNumberText>
1547
+ </manufacturedMaterial>
1548
+ </manufacturedProduct>
1549
+ </consumable>
1550
+ <performer>
1551
+ <assignedEntity>
1552
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981824"/>
1553
+ <addr>
1554
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1555
+ <city>Portland</city>
1556
+ <state>OR</state>
1557
+ <postalCode>99123</postalCode>
1558
+ <country>US</country>
1559
+ </addr>
1560
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1561
+ <assignedPerson>
1562
+ <name>
1563
+ <given>Harold</given>
1564
+ <family>Hippocrates</family>
1565
+ </name>
1566
+ </assignedPerson>
1567
+ <representedOrganization>
1568
+ <id root="2.16.840.1.113883.19.5.9999.1394"/>
1569
+ <name>Good Health Clinic</name>
1570
+ <telecom use="WP" value="tel: +1(555)555-1030"/>
1571
+ <addr>
1572
+ <streetAddressLine>1007 Health Drive</streetAddressLine>
1573
+ <city>Portland</city>
1574
+ <state>OR</state>
1575
+ <postalCode>99123</postalCode>
1576
+ <country>US</country>
1577
+ </addr>
1578
+ </representedOrganization>
1579
+ </assignedEntity>
1580
+ </performer>
1581
+ <entryRelationship typeCode="COMP" inversionInd="true">
1582
+ <sequenceNumber value="3"/>
1583
+ <act classCode="ACT" moodCode="EVN">
1584
+ <!-- Substance Administered Act -->
1585
+ <templateId root="2.16.840.1.113883.10.20.22.4.118"/>
1586
+ <id root="3f998a26-1b8b-4cbf-8e91-16fbb7a7080f"/>
1587
+ <code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="administration"/>
1588
+ <statusCode code="completed"/>
1589
+ </act>
1590
+ </entryRelationship>
1591
+ </substanceAdministration>
1592
+ </entry>
1593
+ </section>
1594
+ </component>
1595
+ <!-- *********************** MEDICAL EQUIPMENT *************************** -->
1596
+ <component>
1597
+ <section>
1598
+ <!-- Medical Equipment Section (V2) -->
1599
+ <templateId root="2.16.840.1.113883.10.20.22.2.23" extension="2014-06-09"/>
1600
+ <templateId root="2.16.840.1.113883.10.20.22.2.23"/>
1601
+ <code code="46264-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
1602
+ <title>MEDICAL EQUIPMENT</title>
1603
+ <text>
1604
+ <content styleCode="Bold">Medical Equipment</content>
1605
+ <list>
1606
+ <item>Implanted Devices: Cardiac PaceMaker July 3, 2013</item>
1607
+ <item>Implanted Devices: Upper GI Prosthesis, January 3, 2013</item>
1608
+ <item>Cane, February 2, 2003</item>
1609
+ </list>
1610
+ <content ID="Eqpt1">Biliary Stent, May 5, 2013</content>
1611
+ </text>
1612
+ <entry>
1613
+ <!-- Medical Equipment Organizer -->
1614
+ <organizer classCode="CLUSTER" moodCode="EVN">
1615
+ <templateId root="2.16.840.1.113883.10.20.22.4.135"/>
1616
+ <id root="3e414708-0e61-4d48-8863-484a2d473a02"/>
1617
+ <code code="40388003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Implant">
1618
+ <originalText>Implants</originalText>
1619
+ </code>
1620
+ <statusCode code="completed"/>
1621
+ <effectiveTime xsi:type="IVL_TS">
1622
+ <low value="20070103"/>
1623
+ <high nullFlavor="UNK"/>
1624
+ </effectiveTime>
1625
+ <component>
1626
+ <!-- Non-medicinal supply activity V2 template ******* -->
1627
+ <supply classCode="SPLY" moodCode="EVN">
1628
+ <templateId root="2.16.840.1.113883.10.20.22.4.50" extension="2014-06-09"/>
1629
+ <templateId root="2.16.840.1.113883.10.20.22.4.50"/>
1630
+ <id root="39b5f1b4-a8e1-4ad7-8849-0deab10c97b1"/>
1631
+ <statusCode code="completed"/>
1632
+ <effectiveTime xsi:type="IVL_TS">
1633
+ <high value="20130703"/>
1634
+ </effectiveTime>
1635
+ <quantity value="1"/>
1636
+ <participant typeCode="PRD">
1637
+ <participantRole classCode="MANU">
1638
+ <templateId root="2.16.840.1.113883.10.20.22.4.37"/>
1639
+ <!-- Product instance template -->
1640
+ <id root="24993f33-6222-41ce-add6-37a9d3da6acb"/>
1641
+ <playingDevice>
1642
+ <code code="14106009" displayName="cardiac pacemaker, device (physical object)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
1643
+ <originalText>Cardiac Pacemaker</originalText>
1644
+ </code>
1645
+ </playingDevice>
1646
+ <scopingEntity>
1647
+ <id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
1648
+ <desc>Good Health Durable Medical Equipment</desc>
1649
+ </scopingEntity>
1650
+ </participantRole>
1651
+ </participant>
1652
+ </supply>
1653
+ </component>
1654
+ <component>
1655
+ <supply classCode="SPLY" moodCode="EVN">
1656
+ <templateId root="2.16.840.1.113883.10.20.22.4.50" extension="2014-06-09"/>
1657
+ <templateId root="2.16.840.1.113883.10.20.22.4.50"/>
1658
+ <!-- Non-medicinal supply activity V2 template ******* -->
1659
+ <id root="39b5f1b4-a8e1-4ad7-8849-0deab10c97b1"/>
1660
+ <statusCode code="completed"/>
1661
+ <effectiveTime xsi:type="IVL_TS">
1662
+ <high value="20130103"/>
1663
+ </effectiveTime>
1664
+ <quantity value="1"/>
1665
+ <participant typeCode="PRD">
1666
+ <participantRole classCode="MANU">
1667
+ <templateId root="2.16.840.1.113883.10.20.22.4.37"/>
1668
+ <!-- Product instance template -->
1669
+ <id root="24993f33-6222-41ce-add6-37a9d3da6acb"/>
1670
+ <playingDevice>
1671
+ <code code="303406003" displayName="upper gastrointestinal prosthesis (physical object)" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
1672
+ <originalText>Upper GI Prosthesis</originalText>
1673
+ </code>
1674
+ </playingDevice>
1675
+ <scopingEntity>
1676
+ <id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
1677
+ <desc>Good Health Durable Medical Equipment</desc>
1678
+ </scopingEntity>
1679
+ </participantRole>
1680
+ </participant>
1681
+ </supply>
1682
+ </component>
1683
+ </organizer>
1684
+ </entry>
1685
+ <entry>
1686
+ <supply classCode="SPLY" moodCode="EVN">
1687
+ <templateId root="2.16.840.1.113883.10.20.22.4.50" extension="2014-06-09"/>
1688
+ <templateId root="2.16.840.1.113883.10.20.22.4.50"/>
1689
+ <!-- Non-medicinal supply activity V2 template ******* -->
1690
+ <id root="cf75f5be-1da0-4256-8276-94b7fc73f9f9"/>
1691
+ <statusCode code="completed"/>
1692
+ <effectiveTime xsi:type="IVL_TS">
1693
+ <high value="20030202"/>
1694
+ </effectiveTime>
1695
+ <quantity value="1"/>
1696
+ <participant typeCode="PRD">
1697
+ <participantRole classCode="MANU">
1698
+ <templateId root="2.16.840.1.113883.10.20.22.4.37"/>
1699
+ <!-- Product instance template -->
1700
+ <id root="24993f33-6222-41ce-add6-37a9d3da6acb"/>
1701
+ <playingDevice>
1702
+ <code code="87405001" displayName="cane" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT">
1703
+ <originalText>Upper GI Prosthesis</originalText>
1704
+ </code>
1705
+ </playingDevice>
1706
+ <scopingEntity>
1707
+ <id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
1708
+ <desc>Good Health Durable Medical Equipment</desc>
1709
+ </scopingEntity>
1710
+ </participantRole>
1711
+ </participant>
1712
+ </supply>
1713
+ </entry>
1714
+ <entry>
1715
+ <procedure classCode="PROC" moodCode="EVN">
1716
+ <!-- Procedure Activity Procedure V2-->
1717
+ <templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/>
1718
+ <templateId root="2.16.840.1.113883.10.20.22.4.14"/>
1719
+ <id root="d5b614bd-01ce-410d-8726-e1fd01dcc72a"/>
1720
+ <code code="103716009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Stent Placement">
1721
+ <originalText>
1722
+ <reference value="#Proc1"/>
1723
+ </originalText>
1724
+ </code>
1725
+ <statusCode code="completed"/>
1726
+ <effectiveTime value="20130512"/>
1727
+ <targetSiteCode code="28273000" displayName="bile duct" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
1728
+ <specimen typeCode="SPC">
1729
+ <specimenRole classCode="SPEC">
1730
+ <id root="a6d7b927-2b70-43c7-bdf3-0e7c4133062c"/>
1731
+ <specimenPlayingEntity>
1732
+ <code code="57259009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="gallbladder bile"/>
1733
+ </specimenPlayingEntity>
1734
+ </specimenRole>
1735
+ </specimen>
1736
+ <performer>
1737
+ <assignedEntity>
1738
+ <id root="2.16.840.1.113883.19" extension="1234"/>
1739
+ <addr>
1740
+ <streetAddressLine>1004 Health Care Drive</streetAddressLine>
1741
+ <city>Ann Arbor</city>
1742
+ <state>MI</state>
1743
+ <postalCode>02368</postalCode>
1744
+ <country>US</country>
1745
+ </addr>
1746
+ <telecom use="WP" value="tel: +1(555)-555-5004"/>
1747
+ <representedOrganization>
1748
+ <id root="2.16.840.1.113883.19.5"/>
1749
+ <name>Community Health and Hospitals</name>
1750
+ <telecom use="WP" value="tel:+1(555)-555-5005"/>
1751
+ <addr>
1752
+ <streetAddressLine>1003 Health Care Drive</streetAddressLine>
1753
+ <city>Ann Arbor</city>
1754
+ <state>MI</state>
1755
+ <postalCode>02368</postalCode>
1756
+ <country>US</country>
1757
+ </addr>
1758
+ </representedOrganization>
1759
+ </assignedEntity>
1760
+ </performer>
1761
+ </procedure>
1762
+ </entry>
1763
+ </section>
1764
+ </component>
1765
+ <!-- ******************************* MEDICATIONS ***************************** -->
1766
+ <component>
1767
+ <section>
1768
+ <!-- *** Medications Section (entries required) (V2) *** -->
1769
+ <templateId root="2.16.840.1.113883.10.20.22.2.1.1" extension="2014-06-09"/>
1770
+ <templateId root="2.16.840.1.113883.10.20.22.2.1.1"/>
1771
+ <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF MEDICATION USE"/>
1772
+ <title>MEDICATIONS</title>
1773
+ <text>
1774
+ <table border="1" width="100%">
1775
+ <thead>
1776
+ <tr>
1777
+ <th>Medication</th>
1778
+ <th>Directions</th>
1779
+ <th>Start Date</th>
1780
+ <th>Status</th>
1781
+ <th>Indications</th>
1782
+ <th>Fill Instructions</th>
1783
+ </tr>
1784
+ </thead>
1785
+ <tbody>
1786
+ <tr>
1787
+ <td>Proventil 0.09 MG/ACTUAT inhalant solution</td>
1788
+ <td>2 puffs q6 hours PRN wheezing</td>
1789
+ <td>Jan 3, 2011</td>
1790
+ <td>Active</td>
1791
+ <td>Asthma</td>
1792
+ <td>Generic Substitition Allowed</td>
1793
+ </tr>
1794
+ <tr>
1795
+ <td>Atenolol 25 MG Oral Tablet</td>
1796
+ <td>1 every 12 hours Orally</td>
1797
+ <td>Mar 18, 2012</td>
1798
+ <td>Active</td>
1799
+ <td>Hypertension</td>
1800
+ <td>-none-</td>
1801
+ </tr>
1802
+ </tbody>
1803
+ </table>
1804
+ </text>
1805
+ <entry typeCode="DRIV">
1806
+ <substanceAdministration classCode="SBADM" moodCode="EVN">
1807
+ <!-- ** Medication Activity (V2) ** -->
1808
+ <templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
1809
+ <templateId root="2.16.840.1.113883.10.20.22.4.16"/>
1810
+ <id root="cdbd33f0-6cde-11db-9fe1-0800200c9a66"/>
1811
+ <statusCode code="active"/>
1812
+ <effectiveTime xsi:type="IVL_TS">
1813
+ <low value="20110103"/>
1814
+ <high nullFlavor="UNK"/>
1815
+ </effectiveTime>
1816
+ <effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
1817
+ <period value="6" unit="h"/>
1818
+ </effectiveTime>
1819
+ <routeCode code="C38216" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus" displayName="RESPIRATORY (INHALATION)"/>
1820
+ <doseQuantity value="2"/>
1821
+ <administrationUnitCode code="PUFF" displayName="Puff" codeSystem="2.16.840.1.113883.5.85" codeSystemName="orderableDrugForm"/>
1822
+ <consumable>
1823
+ <manufacturedProduct classCode="MANU">
1824
+ <!-- ** Medication information ** -->
1825
+ <templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
1826
+ <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
1827
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4ee8"/>
1828
+ <manufacturedMaterial>
1829
+ <code code="573621" displayName="Proventil 0.09 MG/ACTUAT inhalant solution" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
1830
+ </manufacturedMaterial>
1831
+ <manufacturerOrganization>
1832
+ <name>Medication Factory Inc.</name>
1833
+ </manufacturerOrganization>
1834
+ </manufacturedProduct>
1835
+ </consumable>
1836
+ <performer>
1837
+ <assignedEntity>
1838
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
1839
+ <addr nullFlavor="UNK"/>
1840
+ <telecom use="WP" value="tel: +1(555)555-1004"/>
1841
+ <representedOrganization>
1842
+ <id root="2.16.840.1.113883.19.5.9999.1393"/>
1843
+ <name>Community Health and Hospitals</name>
1844
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
1845
+ <addr nullFlavor="UNK"/>
1846
+ </representedOrganization>
1847
+ </assignedEntity>
1848
+ </performer>
1849
+ <participant typeCode="CSM">
1850
+ <participantRole classCode="MANU">
1851
+ <!-- ** Drug vehicle ** -->
1852
+ <templateId root="2.16.840.1.113883.10.20.22.4.24"/>
1853
+ <code code="412307009" displayName="drug vehicle" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"/>
1854
+ <playingEntity classCode="MMAT">
1855
+ <code code="324049" displayName="Aerosol" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
1856
+ <name>Aerosol</name>
1857
+ </playingEntity>
1858
+ </participantRole>
1859
+ </participant>
1860
+ <entryRelationship typeCode="RSON">
1861
+ <observation classCode="OBS" moodCode="EVN">
1862
+ <!-- ** Indication (V2) ** -->
1863
+ <templateId root="2.16.840.1.113883.10.20.22.4.19" extension="2014-06-09"/>
1864
+ <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
1865
+ <id root="db734647-fc99-424c-a864-7e3cda82e703" extension="45665"/>
1866
+ <code code="404684003" displayName="Finding" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
1867
+ <!-- MAY contain
1868
+ <translation code="75321-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Clinical finding"/>
1869
+ -->
1870
+ </code>
1871
+ <statusCode code="completed"/>
1872
+ <effectiveTime>
1873
+ <low value="20110103"/>
1874
+ </effectiveTime>
1875
+ <value xsi:type="CD" code="195967001" displayName="Asthma" codeSystem="2.16.840.1.113883.6.96"/>
1876
+ </observation>
1877
+ </entryRelationship>
1878
+ <entryRelationship typeCode="REFR">
1879
+ <supply classCode="SPLY" moodCode="INT">
1880
+ <!-- ** Medication supply order (V2) ** -->
1881
+ <templateId root="2.16.840.1.113883.10.20.22.4.17" extension="2014-06-09"/>
1882
+ <templateId root="2.16.840.1.113883.10.20.22.4.17"/>
1883
+ <id nullFlavor="NI"/>
1884
+ <statusCode code="completed"/>
1885
+ <effectiveTime xsi:type="IVL_TS">
1886
+ <low value="20070103"/>
1887
+ <high nullFlavor="UNK"/>
1888
+ </effectiveTime>
1889
+ <repeatNumber value="1"/>
1890
+ <quantity value="75"/>
1891
+ <product>
1892
+ <manufacturedProduct classCode="MANU">
1893
+ <!-- ** Medication information (V2) ** -->
1894
+ <templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
1895
+ <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
1896
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4ee8"/>
1897
+ <manufacturedMaterial>
1898
+ <code code="573621" codeSystem="2.16.840.1.113883.6.88" displayName="Proventil 0.09 MG/ACTUAT inhalant solution">
1899
+ <!-- i. This code MAY contain zero or more [0..*] translation, which MAY be selected from ValueSet Clinical Substance
1900
+ <translation code="219483" codeSystem="2.16.840.1.113883.6.88" displayName="Proventil HFA" codeSystemName="RxNorm"/>
1901
+ -->
1902
+ </code>
1903
+ </manufacturedMaterial>
1904
+ <manufacturerOrganization>
1905
+ <name>Medication Factory Inc.</name>
1906
+ </manufacturerOrganization>
1907
+ </manufacturedProduct>
1908
+ </product>
1909
+ <author typeCode="AUT">
1910
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
1911
+ <time value="201208151235-0800"/>
1912
+ <assignedAuthor>
1913
+ <id extension="5555555555" root="2.16.840.1.113883.4.6"/>
1914
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
1915
+ <addr>
1916
+ <streetAddressLine>1004 Healthcare Drive </streetAddressLine>
1917
+ <city>Portland</city>
1918
+ <state>OR</state>
1919
+ <postalCode>99123</postalCode>
1920
+ <country>US</country>
1921
+ </addr>
1922
+ <telecom use="WP" value="tel:+1(555)555-1004"/>
1923
+ <assignedPerson>
1924
+ <name>
1925
+ <given>Patricia</given>
1926
+ <given qualifier="CL">Patty</given>
1927
+ <family>Primary</family>
1928
+ <suffix qualifier="AC">M.D.</suffix>
1929
+ </name>
1930
+ </assignedPerson>
1931
+ </assignedAuthor>
1932
+ </author>
1933
+ <entryRelationship typeCode="SUBJ" inversionInd="true">
1934
+ <act classCode="ACT" moodCode="INT">
1935
+ <!-- ** Instruction (v2) ** -->
1936
+ <templateId root="2.16.840.1.113883.10.20.22.4.20" extension="2014-06-09"/>
1937
+ <templateId root="2.16.840.1.113883.10.20.22.4.20"/>
1938
+ <code code="409073007" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="instruction"/>
1939
+ <text> label in spanish </text>
1940
+ <statusCode code="completed"/>
1941
+ </act>
1942
+ </entryRelationship>
1943
+ </supply>
1944
+ </entryRelationship>
1945
+ <entryRelationship typeCode="REFR">
1946
+ <supply classCode="SPLY" moodCode="EVN">
1947
+ <!-- ** Medication dispense (v2) ** -->
1948
+ <templateId root="2.16.840.1.113883.10.20.22.4.18" extension="2014-06-09"/>
1949
+ <templateId root="2.16.840.1.113883.10.20.22.4.18"/>
1950
+ <id root="1.2.3.4.56789.1" extension="cb734647-fc99-424c-a864-7e3cda82e704"/>
1951
+ <statusCode code="completed"/>
1952
+ <effectiveTime value="201208151450-0800"/>
1953
+ <repeatNumber value="1"/>
1954
+ <quantity value="75"/>
1955
+ <product>
1956
+ <manufacturedProduct classCode="MANU">
1957
+ <!-- ** Medication information ** -->
1958
+ <templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
1959
+ <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
1960
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4ee8"/>
1961
+ <manufacturedMaterial>
1962
+ <code code="573621" codeSystem="2.16.840.1.113883.6.88" displayName="Proventil 0.09 MG/ACTUAT inhalant solution"/>
1963
+ </manufacturedMaterial>
1964
+ <manufacturerOrganization>
1965
+ <name>Medication Factory Inc.</name>
1966
+ </manufacturerOrganization>
1967
+ </manufacturedProduct>
1968
+ </product>
1969
+ <performer>
1970
+ <assignedEntity>
1971
+ <id extension="333222222" root="2.16.840.1.113883.4.6"/>
1972
+ <addr>
1973
+ <streetAddressLine>1016 Health Drive</streetAddressLine>
1974
+ <city>Portland</city>
1975
+ <state>OR</state>
1976
+ <postalCode>99123</postalCode>
1977
+ <country>US</country>
1978
+ </addr>
1979
+ <telecom use="WP" value="tel:+1(555)555-1016"/>
1980
+ <assignedPerson>
1981
+ <name>
1982
+ <given>Susan</given>
1983
+ <family>Script</family>
1984
+ <suffix qualifier="AC">Pharm.D.</suffix>
1985
+ </name>
1986
+ </assignedPerson>
1987
+ <representedOrganization>
1988
+ <name>People's Pharmacy</name>
1989
+ </representedOrganization>
1990
+ </assignedEntity>
1991
+ </performer>
1992
+ </supply>
1993
+ </entryRelationship>
1994
+ <precondition typeCode="PRCN">
1995
+ <criterion>
1996
+ <!-- ** Precondition for substance administration (V2) ** -->
1997
+ <templateId root="2.16.840.1.113883.10.20.22.4.25" extension="2014-06-09"/>
1998
+ <templateId root="2.16.840.1.113883.10.20.22.4.25"/>
1999
+ <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4"/>
2000
+ <value xsi:type="CD" code="56018004" codeSystem="2.16.840.1.113883.6.96" displayName="Wheezing"/>
2001
+ </criterion>
2002
+ </precondition>
2003
+ </substanceAdministration>
2004
+ </entry>
2005
+ <entry typeCode="DRIV">
2006
+ <substanceAdministration classCode="SBADM" moodCode="EVN">
2007
+ <!-- ** Medication activity ** -->
2008
+ <templateId root="2.16.840.1.113883.10.20.22.4.16" extension="2014-06-09"/>
2009
+ <templateId root="2.16.840.1.113883.10.20.22.4.16"/>
2010
+ <id root="6c844c75-aa34-411c-b7bd-5e4a9f206e29"/>
2011
+ <statusCode code="active"/>
2012
+ <effectiveTime xsi:type="IVL_TS">
2013
+ <low value="20120318"/>
2014
+ <high nullFlavor="UNK"/>
2015
+ </effectiveTime>
2016
+ <effectiveTime xsi:type="PIVL_TS" institutionSpecified="true" operator="A">
2017
+ <period value="12" unit="h"/>
2018
+ </effectiveTime>
2019
+ <routeCode code="C38288" codeSystem="2.16.840.1.113883.3.26.1.1" codeSystemName="NCI Thesaurus" displayName="ORAL"/>
2020
+ <doseQuantity value="1"/>
2021
+ <consumable>
2022
+ <manufacturedProduct classCode="MANU">
2023
+ <!-- ** Medication information ** -->
2024
+ <templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
2025
+ <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
2026
+ <id root="2a620155-9d11-439e-92b3-5d9815ff4ee8"/>
2027
+ <manufacturedMaterial>
2028
+ <code code="197380" displayName="Atenolol 25 MG Oral Tablet" codeSystem="2.16.840.1.113883.6.88" codeSystemName="RxNorm"/>
2029
+ </manufacturedMaterial>
2030
+ </manufacturedProduct>
2031
+ </consumable>
2032
+ <entryRelationship typeCode="RSON">
2033
+ <observation classCode="OBS" moodCode="EVN">
2034
+ <!-- ** Indication ** -->
2035
+ <templateId root="2.16.840.1.113883.10.20.22.4.19" extension="2014-06-09"/>
2036
+ <templateId root="2.16.840.1.113883.10.20.22.4.19"/>
2037
+ <id root="e63166c7-6482-4a44-83a1-37ccdbde725b"/>
2038
+ <code code="404684003" displayName="Finding" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
2039
+ <!-- MAY
2040
+ <translation code="75321-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Clinical finding"/>
2041
+ -->
2042
+ </code>
2043
+ <statusCode code="completed"/>
2044
+ <value xsi:type="CD" code="38341003" displayName="Hypertension" codeSystem="2.16.840.1.113883.6.96"/>
2045
+ </observation>
2046
+ </entryRelationship>
2047
+ </substanceAdministration>
2048
+ </entry>
2049
+ </section>
2050
+ </component>
2051
+ <!-- *********************** PAYERS ********************** -->
2052
+ <component>
2053
+ <section>
2054
+ <!-- *** Payers Section (V3) *** -->
2055
+ <templateId root="2.16.840.1.113883.10.20.22.2.18" extension="2015-08-01"/>
2056
+ <templateId root="2.16.840.1.113883.10.20.22.2.18"/>
2057
+ <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payer"/>
2058
+ <title>INSURANCE PROVIDERS</title>
2059
+ <text>
2060
+ <table border="1" width="100%">
2061
+ <thead>
2062
+ <tr>
2063
+ <th>Payer name</th>
2064
+ <th>Policy type / Coverage type</th>
2065
+ <th>Policy ID</th>
2066
+ <th>Covered party ID</th>
2067
+ <th>Policy Holder</th>
2068
+ </tr>
2069
+ </thead>
2070
+ <tbody>
2071
+ <tr>
2072
+ <td>Good Health Insurance</td>
2073
+ <td>Extended healthcare / Family</td>
2074
+ <td>Contract Number</td>
2075
+ <td>1138345</td>
2076
+ <td>Patient's Mother</td>
2077
+ </tr>
2078
+ </tbody>
2079
+ </table>
2080
+ </text>
2081
+ <entry typeCode="DRIV">
2082
+ <act classCode="ACT" moodCode="EVN">
2083
+ <!-- ** Coverage activity (V3) ** -->
2084
+ <templateId root="2.16.840.1.113883.10.20.22.4.60" extension="2015-08-01"/>
2085
+ <templateId root="2.16.840.1.113883.10.20.22.4.60"/>
2086
+ <id root="1fe2cdd0-7aad-11db-9fe1-0800200c9a66"/>
2087
+ <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment sources"/>
2088
+ <statusCode code="completed"/>
2089
+ <entryRelationship typeCode="COMP">
2090
+ <sequenceNumber value="2"/>
2091
+ <act classCode="ACT" moodCode="EVN">
2092
+ <!-- ** Policy activity (V3) ** -->
2093
+ <templateId root="2.16.840.1.113883.10.20.22.4.61" extension="2015-08-01"/>
2094
+ <!--Critical Change-->
2095
+ <templateId root="2.16.840.1.113883.10.20.22.4.61"/>
2096
+ <id root="3e676a50-7aac-11db-9fe1-0800200c9a66"/>
2097
+ <!-- 5. SHALL contain exactly one [1..1] code, which SHOULD be selected from ValueSet Health Insurance Type -->
2098
+ <code>
2099
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Payer urn:oid:2.16.840.1.114222.4.11.3591 (CONF:1198-32852).
2100
+ <translation code="81" displayName="self-pay" codeSystemName="Source of Payment Typology (PHDSC)" codeSystem="2.16.840.1.113883.3.221.5"/>
2101
+ -->
2102
+ <translation nullFlavor="NI"/>
2103
+ </code>
2104
+ <statusCode code="completed"/>
2105
+ <!-- Insurance Company Information -->
2106
+ <performer typeCode="PRF">
2107
+ <templateId root="2.16.840.1.113883.10.20.22.4.87"/>
2108
+ <assignedEntity>
2109
+ <id root="2.16.840.1.113883.19"/>
2110
+ <code code="PAYOR" codeSystem="2.16.840.1.113883.5.110" codeSystemName="HL7 RoleCode"/>
2111
+ <addr use="WP">
2112
+ <streetAddressLine>9009 Health Drive</streetAddressLine>
2113
+ <city>Portland</city>
2114
+ <state>OR</state>
2115
+ <postalCode>99123</postalCode>
2116
+ <country>US</country>
2117
+ </addr>
2118
+ <telecom value="tel:+1(555)555-1515" use="WP"/>
2119
+ <representedOrganization>
2120
+ <name>Good Health Insurance</name>
2121
+ <telecom value="tel:+1(555)555-1515" use="WP"/>
2122
+ <addr use="WP">
2123
+ <streetAddressLine>9009 Health Drive</streetAddressLine>
2124
+ <city>Portland</city>
2125
+ <state>OR</state>
2126
+ <postalCode>99123</postalCode>
2127
+ </addr>
2128
+ </representedOrganization>
2129
+ </assignedEntity>
2130
+ </performer>
2131
+ <!-- Guarantor Information... The person responsible for the final bill. -->
2132
+ <performer typeCode="PRF">
2133
+ <templateId root="2.16.840.1.113883.10.20.22.4.88"/>
2134
+ <time>
2135
+ <low nullFlavor="UNK"/>
2136
+ <high nullFlavor="UNK"/>
2137
+ </time>
2138
+ <assignedEntity>
2139
+ <id root="329fcdf0-7ab3-11db-9fe1-0800200c9a66"/>
2140
+ <code code="GUAR" codeSystem="2.16.840.1.113883.5.110" codeSystemName="HL7 RoleCode"/>
2141
+ <addr use="HP">
2142
+ <streetAddressLine>2222 Home Street</streetAddressLine>
2143
+ <city>Beaverton</city>
2144
+ <state>OR</state>
2145
+ <postalCode>97867</postalCode>
2146
+ </addr>
2147
+ <telecom value="tel:+1(555)555-1000" use="HP"/>
2148
+ <assignedPerson>
2149
+ <name>
2150
+ <given>Boris</given>
2151
+ <family>Betterhalf</family>
2152
+ </name>
2153
+ </assignedPerson>
2154
+ </assignedEntity>
2155
+ </performer>
2156
+ <participant typeCode="COV">
2157
+ <!-- Covered Party Participant -->
2158
+ <templateId root="2.16.840.1.113883.10.20.22.4.89"/>
2159
+ <time>
2160
+ <low nullFlavor="UNK"/>
2161
+ <high nullFlavor="UNK"/>
2162
+ </time>
2163
+ <participantRole classCode="PAT">
2164
+ <!-- Health plan ID for patient. -->
2165
+ <id root="14d4a520-7aae-11db-9fe1-0800200c9a66" extension="1138345"/>
2166
+ <code code="SELF" codeSystem="2.16.840.1.113883.5.111" displayName="Self"/>
2167
+ <addr use="HP">
2168
+ <streetAddressLine>2222 Home Street</streetAddressLine>
2169
+ <city>Beaverton</city>
2170
+ <state>OR</state>
2171
+ <postalCode>97867</postalCode>
2172
+ </addr>
2173
+ <playingEntity>
2174
+ <name>
2175
+ <!-- Name is needed if different than health plan name. -->
2176
+ <given>Boris</given>
2177
+ <family>Betterhalf</family>
2178
+ </name>
2179
+ <sdtc:birthTime value="19750501"/>
2180
+ </playingEntity>
2181
+ </participantRole>
2182
+ </participant>
2183
+ <!-- Policy Holder -->
2184
+ <participant typeCode="HLD">
2185
+ <templateId root="2.16.840.1.113883.10.20.22.4.90"/>
2186
+ <participantRole>
2187
+ <id extension="1138345" root="2.16.840.1.113883.19"/>
2188
+ <addr use="HP">
2189
+ <streetAddressLine>2222 Home Street</streetAddressLine>
2190
+ <city>Beaverton</city>
2191
+ <state>OR</state>
2192
+ <postalCode>97867</postalCode>
2193
+ </addr>
2194
+ </participantRole>
2195
+ </participant>
2196
+ <entryRelationship typeCode="REFR">
2197
+ <act classCode="ACT" moodCode="EVN">
2198
+ <!-- ** Authorization activity ** -->
2199
+ <templateId root="2.16.840.1.113883.10.20.1.19"/>
2200
+ <id root="f4dce790-8328-11db-9fe1-0800200c9a66"/>
2201
+ <code nullFlavor="NA"/>
2202
+ <entryRelationship typeCode="SUBJ">
2203
+ <procedure classCode="PROC" moodCode="PRMS">
2204
+ <code code="73761001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Colonoscopy"/>
2205
+ </procedure>
2206
+ </entryRelationship>
2207
+ </act>
2208
+ </entryRelationship>
2209
+ <!-- The above entryRelationship OR the following. <entryRelationship
2210
+ typeCode="REFR"> <act classCode="ACT" moodCode="DEF"> <id root="f4dce790-8328-11db-9fe1-0800200c9a66"/>
2211
+ <code nullFlavor="UNK"/> <text>Health Plan Name<reference value="PntrToHealthPlanNameInSectionText"/>
2212
+ </text> <statusCode code="active"/> </act> </entryRelationship> -->
2213
+ </act>
2214
+ </entryRelationship>
2215
+ </act>
2216
+ </entry>
2217
+ </section>
2218
+ </component>
2219
+ <!-- ******************* PLAN OF TREATMENT ********************** -->
2220
+ <component>
2221
+ <section>
2222
+ <!-- **** Plan of Treatment Section (V2) **** -->
2223
+ <templateId root="2.16.840.1.113883.10.20.22.2.10" extension="2014-06-09"/>
2224
+ <templateId root="2.16.840.1.113883.10.20.22.2.10"/>
2225
+ <code code="18776-5" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Treatment plan"/>
2226
+ <title>TREATMENT PLAN</title>
2227
+ <text>
2228
+ <content styleCode="Bold"> Hand-off Communication:</content>
2229
+ <content>Nurse Florence, RN to MD to Nancy Nightingale, RN</content>
2230
+ <br/>
2231
+ <br/>
2232
+ <table border="1" width="100%">
2233
+ <thead>
2234
+ <tr>
2235
+ <th>Planned Care</th>
2236
+ <th>Start Date</th>
2237
+ <th>Patient Provider Rating</th>
2238
+ <th>Provider Provider Rating</th>
2239
+ <th>Provider</th>
2240
+ <th>Patient Support/Caregiver</th>
2241
+ </tr>
2242
+ </thead>
2243
+ <tbody>
2244
+ <tr>
2245
+ <td>Procedure: Colonoscopy</td>
2246
+ <td>June 15, 2013</td>
2247
+ <td>1st, Medium</td>
2248
+ <td>3rd, Medium</td>
2249
+ <td/>
2250
+ <td>Caregiver: Mother</td>
2251
+ </tr>
2252
+ <tr>
2253
+ <td>Medication: Heparin 0.25 ml pre-filled syringe</td>
2254
+ <td>July 12, 2013</td>
2255
+ <td/>
2256
+ <td>First, Medium</td>
2257
+ <td>Third, Medium</td>
2258
+ <td>Caregiver: Mother</td>
2259
+ </tr>
2260
+ </tbody>
2261
+ </table>
2262
+ </text>
2263
+ <entry>
2264
+ <!-- Planned Procedure (V2) -->
2265
+ <procedure moodCode="RQO" classCode="PROC">
2266
+ <templateId root="2.16.840.1.113883.10.20.22.4.41" extension="2014-06-09"/>
2267
+ <templateId root="2.16.840.1.113883.10.20.22.4.41"/>
2268
+ <id root="9a6d1bac-17d3-4195-89c4-1121bc809b5a"/>
2269
+ <code code="73761001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Colonoscopy"/>
2270
+ <statusCode code="active"/>
2271
+ <effectiveTime value="20130613"/>
2272
+ <!--
2273
+ Author Participation Template
2274
+ In this case, the author is the same as a participant already
2275
+ described in the header.
2276
+ However, the author could be a different provider - someone else in the
2277
+ header, or a new provider not elsewhere specified.
2278
+ -->
2279
+ <author typeCode="AUT">
2280
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2281
+ <time value="201306131145-0800"/>
2282
+ <assignedAuthor>
2283
+ <!-- This id points back to a participant in the header -->
2284
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2285
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2286
+ </assignedAuthor>
2287
+ </author>
2288
+ <entryRelationship typeCode="COMP">
2289
+ <!-- Planned Coverage -->
2290
+ <act classCode="ACT" moodCode="INT">
2291
+ <templateId root="2.16.840.1.113883.10.20.22.4.129"/>
2292
+ <id root="03f5e10b-7e79-4610-9626-d2984ff10cc1"/>
2293
+ <code code="48768-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Payment Sources"/>
2294
+ <statusCode code="active"/>
2295
+ <entryRelationship typeCode="COMP">
2296
+ <act classCode="ACT" moodCode="INT">
2297
+ <!-- These act/identifiers are unique identifiers
2298
+ for the policy or program providing the coverage. -->
2299
+ <id root="4c9a3be1-5f09-46dd-88e7-14c8ec612e4c"/>
2300
+ <code code="111" displayName="Medicare HMO" codeSystemName="Source of Payment Typology (PHDSC)" codeSystem="2.16.840.1.113883.3.221.5"/>
2301
+ <statusCode code="active"/>
2302
+ </act>
2303
+ </entryRelationship>
2304
+ </act>
2305
+ </entryRelationship>
2306
+ <entryRelationship typeCode="REFR">
2307
+ <observation classCode="OBS" moodCode="EVN">
2308
+ <!-- Priority Preference -->
2309
+ <templateId root="2.16.840.1.113883.10.20.22.4.143"/>
2310
+ <id root="9a6d1bac-17d3-4195-89a4-1121bc809b4d"/>
2311
+ <code code="225773000" codeSystemName="SNOMED CT" codeSystem="2.16.840.1.113883.6.96"> </code>
2312
+ <effectiveTime value="20130615"/>
2313
+ <priorityCode code="255216001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="First"/>
2314
+ <value xsi:type="CD" code="394848005" codeSystem="2.16.840.1.113883.6.96" displayName="Normal priority"/>
2315
+ <author typeCode="AUT">
2316
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2317
+ <time value="201306151145-0800"/>
2318
+ <assignedAuthor>
2319
+ <!-- this id indicates the priority preference is a provider not a patient priority preference -->
2320
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2321
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2322
+ </assignedAuthor>
2323
+ </author>
2324
+ </observation>
2325
+ </entryRelationship>
2326
+ <entryRelationship typeCode="REFR">
2327
+ <observation classCode="OBS" moodCode="EVN">
2328
+ <!-- Priority Preference-->
2329
+ <templateId root="2.16.840.1.113883.10.20.22.4.143"/>
2330
+ <id root="9a6d1bac-17d3-4195-89a4-1121bc809b4d"/>
2331
+ <code code="225773000" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="preference"/>
2332
+ <effectiveTime value="20130615"/>
2333
+ <value xsi:type="CD" code="394848005" codeSystem="2.16.840.1.113883.6.96" displayName="Normal priority"/>
2334
+ <author typeCode="AUT">
2335
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2336
+ <time value="201306151145-0800"/>
2337
+ <assignedAuthor>
2338
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2339
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2340
+ </assignedAuthor>
2341
+ </author>
2342
+ </observation>
2343
+ </entryRelationship>
2344
+ </procedure>
2345
+ </entry>
2346
+ </section>
2347
+ </component>
2348
+ <!-- ***************** PROBLEM LIST *********************** -->
2349
+ <component>
2350
+ <section>
2351
+ <!-- *** Problem Section (entries required) (V3) *** -->
2352
+ <templateId root="2.16.840.1.113883.10.20.22.2.5.1" extension="2015-08-01"/>
2353
+ <templateId root="2.16.840.1.113883.10.20.22.2.5.1"/>
2354
+ <code code="11450-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="PROBLEM LIST"/>
2355
+ <title>PROBLEMS</title>
2356
+ <text>
2357
+ <paragraph>Active Concerns</paragraph>
2358
+ <list>
2359
+ <item>Problem #1<list>
2360
+ <item>Pneumonia (onset July 3, 2013; resolution Aug 14, 2013) [authored Aug 14, 2013]</item>
2361
+ </list>
2362
+ </item>
2363
+ <item>Problem #2<list>
2364
+ <item>Chest pain (onset Apr 14, 2007) [authored Apr 14, 2007]</item>
2365
+ <item>Angina (onset Apr 17, 2007) [authored Apr 17, 2007]</item>
2366
+ </list>
2367
+ </item>
2368
+ </list>
2369
+ <paragraph>Resolved Concerns</paragraph>
2370
+ <list>
2371
+ <item>Problem #3<list>
2372
+ <item>Pneumonia - Left lower lobe (onset Mar 10, 1998; resolution Mar 16, 1998) [authored Mar 16,
2373
+ 1998]</item>
2374
+ </list>
2375
+ </item>
2376
+ </list>
2377
+ </text>
2378
+ <entry typeCode="DRIV">
2379
+ <act classCode="ACT" moodCode="EVN">
2380
+ <!-- ** Problem Concern Act (V3) ** -->
2381
+ <templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/>
2382
+ <templateId root="2.16.840.1.113883.10.20.22.4.3"/>
2383
+ <id root="ec8a6ff8-ed4b-4f7e-82c3-e98e58b45de7"/>
2384
+ <code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/>
2385
+ <!-- The statusCode represents the need to continue tracking the problem -->
2386
+ <!-- This is of ongoing concern to the provider -->
2387
+ <statusCode code="active"/>
2388
+ <effectiveTime>
2389
+ <!-- The low value represents when the problem was first recorded in the patient's chart -->
2390
+ <!-- Concern was documented on July 6, 2013 -->
2391
+ <low value="201307061145-0800"/>
2392
+ </effectiveTime>
2393
+ <author typeCode="AUT">
2394
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2395
+ <!-- Same as Concern effectiveTime/low -->
2396
+ <time value="201307061145-0800"/>
2397
+ <assignedAuthor>
2398
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2399
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2400
+ </assignedAuthor>
2401
+ </author>
2402
+ <entryRelationship typeCode="SUBJ">
2403
+ <observation classCode="OBS" moodCode="EVN">
2404
+ <!-- ** Problem observation (V3)** -->
2405
+ <templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/>
2406
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
2407
+ <id root="ab1791b0-5c71-11db-b0de-0800200c9a66"/>
2408
+ <code code="64572001" displayName="Condition" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
2409
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
2410
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
2411
+ -->
2412
+ <translation nullFlavor="NI"/>
2413
+ </code>
2414
+ <!-- The statusCode reflects the status of the observation itself -->
2415
+ <statusCode code="completed"/>
2416
+ <effectiveTime>
2417
+ <!-- The low value reflects the date of onset -->
2418
+ <!-- Based on patient symptoms, presumed onset is July 3, 2013 -->
2419
+ <low value="20130703"/>
2420
+ <!-- The high value reflects when the problem was known to be resolved -->
2421
+ <!-- Based on signs and symptoms, appears to be resolved on Aug 14, 2013 -->
2422
+ <high value="20080814"/>
2423
+ </effectiveTime>
2424
+ <value xsi:type="CD" code="233604007" codeSystem="2.16.840.1.113883.6.96" displayName="Pneumonia"/>
2425
+ <author typeCode="AUT">
2426
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2427
+ <time value="200808141030-0800"/>
2428
+ <assignedAuthor>
2429
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2430
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2431
+ </assignedAuthor>
2432
+ </author>
2433
+ </observation>
2434
+ </entryRelationship>
2435
+ </act>
2436
+ </entry>
2437
+ <entry typeCode="DRIV">
2438
+ <act classCode="ACT" moodCode="EVN">
2439
+ <!-- Problem concern act ** -->
2440
+ <templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/>
2441
+ <templateId root="2.16.840.1.113883.10.20.22.4.3"/>
2442
+ <id root="682f6be1-0793-42f4-904b-e199e6e8e457"/>
2443
+ <code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/>
2444
+ <!-- The statusCode represents the need to continue tracking the problem -->
2445
+ <statusCode code="active"/>
2446
+ <!-- This is of ongoing concern to the provider -->
2447
+ <effectiveTime>
2448
+ <!-- The low value represents when the problem was first recorded in the patient's chart -->
2449
+ <low value="200704141515-0800"/>
2450
+ <!-- Concern was documented on Apr 14, 2007 -->
2451
+ </effectiveTime>
2452
+ <author typeCode="AUT">
2453
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2454
+ <time value="200704141515-0800"/>
2455
+ <!-- Same as Concern effectiveTime/low -->
2456
+ <assignedAuthor>
2457
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2458
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2459
+ </assignedAuthor>
2460
+ </author>
2461
+ <entryRelationship typeCode="SUBJ">
2462
+ <observation classCode="OBS" moodCode="EVN">
2463
+ <!-- ** Problem observation ** -->
2464
+ <templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/>
2465
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
2466
+ <id root="11d088a8-b957-401c-8ee0-3bd20a772fc0"/>
2467
+ <code code="64572001" displayName="Condition" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
2468
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
2469
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
2470
+ -->
2471
+ <translation nullFlavor="NI"/>
2472
+ </code>
2473
+ <!-- The statusCode reflects the status of the observation itself -->
2474
+ <statusCode code="completed"/>
2475
+ <effectiveTime>
2476
+ <!-- The low value reflects the date of onset -->
2477
+ <low value="20070414"/>
2478
+ <!-- Based on patient symptoms, presumed onset is July 3, 2013 -->
2479
+ <!-- Absence of effectiveTime/high means the condition is not resolved -->
2480
+ </effectiveTime>
2481
+ <value xsi:type="CD" code="29857009" codeSystem="2.16.840.1.113883.6.96" displayName="Chest pain"/>
2482
+ <author typeCode="AUT">
2483
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2484
+ <time value="200704141515-0800"/>
2485
+ <assignedAuthor>
2486
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2487
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2488
+ </assignedAuthor>
2489
+ </author>
2490
+ </observation>
2491
+ </entryRelationship>
2492
+ <entryRelationship typeCode="SUBJ">
2493
+ <observation classCode="OBS" moodCode="EVN">
2494
+ <!-- ** Problem observation ** -->
2495
+ <templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/>
2496
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
2497
+ <id root="4991db40-4c4f-41e8-9146-50c12d716424"/>
2498
+ <code code="64572001" displayName="Condition" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
2499
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
2500
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
2501
+ -->
2502
+ <translation nullFlavor="NI"/>
2503
+ </code>
2504
+ <!-- The statusCode reflects the status of the observation itself -->
2505
+ <statusCode code="completed"/>
2506
+ <effectiveTime>
2507
+ <!-- The low value reflects the date of onset -->
2508
+ <low value="20070417"/>
2509
+ <!-- Absence of effectiveTime/high means the condition is not resolved -->
2510
+ </effectiveTime>
2511
+ <value xsi:type="CD" code="194828000" codeSystem="2.16.840.1.113883.6.96" displayName="Angina"/>
2512
+ <author typeCode="AUT">
2513
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2514
+ <time value="200704171515-0800"/>
2515
+ <assignedAuthor>
2516
+ <id extension="222334444" root="2.16.840.1.113883.4.6"/>
2517
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2518
+ </assignedAuthor>
2519
+ </author>
2520
+ </observation>
2521
+ </entryRelationship>
2522
+ </act>
2523
+ </entry>
2524
+ <entry typeCode="DRIV">
2525
+ <act classCode="ACT" moodCode="EVN">
2526
+ <!-- ** Problem concern act (V2) ** -->
2527
+ <templateId root="2.16.840.1.113883.10.20.22.4.3" extension="2015-08-01"/>
2528
+ <templateId root="2.16.840.1.113883.10.20.22.4.3"/>
2529
+ <id root="b5159d48-04aa-4927-b355-00d1dcb7158c"/>
2530
+ <code code="CONC" codeSystem="2.16.840.1.113883.5.6" displayName="Concern"/>
2531
+ <!-- The statusCode represents the need to continue tracking the problem -->
2532
+ <!-- This is no longer of ongoing concern to the provider -->
2533
+ <statusCode code="completed"/>
2534
+ <effectiveTime>
2535
+ <!-- The low value represents when the problem was first recorded in the patient's chart -->
2536
+ <!-- Concern was documented on Mar 10, 1998 -->
2537
+ <low value="199803101030-0800"/>
2538
+ <!-- The high value reflects when there was no longer a need to track the problem -->
2539
+ <!-- Concern was closed on May 4, 1998 -->
2540
+ <high value="199805041145-0800"/>
2541
+ </effectiveTime>
2542
+ <author typeCode="AUT">
2543
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2544
+ <!-- Same as Concern effectiveTime/low -->
2545
+ <time value="199803161030-0800"/>
2546
+ <assignedAuthor>
2547
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2548
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2549
+ </assignedAuthor>
2550
+ </author>
2551
+ <entryRelationship typeCode="SUBJ">
2552
+ <observation classCode="OBS" moodCode="EVN">
2553
+ <!-- ** Problem observation (V2) ** -->
2554
+ <templateId root="2.16.840.1.113883.10.20.22.4.4" extension="2015-08-01"/>
2555
+ <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
2556
+ <id root="10506b4d-c30a-4220-8bec-97bff9568fd1"/>
2557
+ <code code="64572001" displayName="Condition" codeSystemName="SNOMED-CT" codeSystem="2.16.840.1.113883.6.96">
2558
+ <!-- a. This code SHALL contain at least one [1..*] translation, which SHOULD be selected from ValueSet Problem Type (LOINC)
2559
+ <translation code="75323-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Condition"/>
2560
+ -->
2561
+ <translation nullFlavor="NI"/>
2562
+ </code>
2563
+ <!-- The statusCode reflects the status of the observation itself -->
2564
+ <statusCode code="completed"/>
2565
+ <effectiveTime>
2566
+ <!-- The low value reflects the date of onset -->
2567
+ <!-- Based on patient symptoms, presumed onset is Mar 10, 1998 -->
2568
+ <low value="19980310"/>
2569
+ <!-- The high value reflects when the problem was known to be resolved -->
2570
+ <high value="19980316"/>
2571
+ </effectiveTime>
2572
+ <value xsi:type="CD" code="233604007" codeSystem="2.16.840.1.113883.6.96" displayName="Pneumonia">
2573
+ <qualifier>
2574
+ <name code="363698007" displayName="Finding site"/>
2575
+ <value code="41224006" displayName="Left lower lobe of lung"/>
2576
+ </qualifier>
2577
+ </value>
2578
+ <author typeCode="AUT">
2579
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2580
+ <time value="199803161030-0800"/>
2581
+ <assignedAuthor>
2582
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
2583
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2584
+ </assignedAuthor>
2585
+ </author>
2586
+ </observation>
2587
+ </entryRelationship>
2588
+ </act>
2589
+ </entry>
2590
+ </section>
2591
+ </component>
2592
+ <!-- ************** PROCEDURES ***************** -->
2593
+ <component>
2594
+ <section>
2595
+ <!-- Procedures Section (entries required) (V2) -->
2596
+ <templateId root="2.16.840.1.113883.10.20.22.2.7.1" extension="2014-06-09"/>
2597
+ <templateId root="2.16.840.1.113883.10.20.22.2.7.1"/>
2598
+ <code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF PROCEDURES"/>
2599
+ <title>PROCEDURES</title>
2600
+ <text>
2601
+ <table border="1" width="100%">
2602
+ <thead>
2603
+ <tr>
2604
+ <th>Procedure</th>
2605
+ <th>Date</th>
2606
+ </tr>
2607
+ </thead>
2608
+ <tbody>
2609
+ <tr>
2610
+ <td ID="Proc1">Colonic polypectomy</td>
2611
+ <td>1998</td>
2612
+ </tr>
2613
+ </tbody>
2614
+ </table>
2615
+ </text>
2616
+ <!-- Examples of the same procedure are shown in different procedure entries -->
2617
+ <entry typeCode="DRIV">
2618
+ <procedure classCode="PROC" moodCode="EVN">
2619
+ <!-- ** Procedure activity procedure ** -->
2620
+ <templateId root="2.16.840.1.113883.10.20.22.4.14" extension="2014-06-09"/>
2621
+ <templateId root="2.16.840.1.113883.10.20.22.4.14"/>
2622
+ <id root="d68b7e32-7810-4f5b-9cc2-acd54b0fd85d"/>
2623
+ <code code="73761001" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Colonoscopy">
2624
+ <originalText>
2625
+ <reference value="#Proc1"/>
2626
+ </originalText>
2627
+ </code>
2628
+ <statusCode code="completed"/>
2629
+ <effectiveTime value="20120512"/>
2630
+ <methodCode nullFlavor="UNK"/>
2631
+ <targetSiteCode code="appropriate_code" displayName="colon" codeSystem="2.16.840.1.113883.3.88.12.3221.8.9" codeSystemName="Body Site Value Set"/>
2632
+ <specimen typeCode="SPC">
2633
+ <specimenRole classCode="SPEC">
2634
+ <id root="c2ee9ee9-ae31-4628-a919-fec1cbb58683"/>
2635
+ <specimenPlayingEntity>
2636
+ <code code="309226005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="colonic polyp sample"/>
2637
+ </specimenPlayingEntity>
2638
+ </specimenRole>
2639
+ </specimen>
2640
+ <performer>
2641
+ <assignedEntity>
2642
+ <id root="2.16.840.1.113883.19.5.9999.456" extension="2981823"/>
2643
+ <addr>
2644
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2645
+ <city>Portland</city>
2646
+ <state>OR</state>
2647
+ <postalCode>99123</postalCode>
2648
+ <country>US</country>
2649
+ </addr>
2650
+ <telecom use="WP" value="+1(555)555-5000"/>
2651
+ <representedOrganization classCode="ORG">
2652
+ <id root="2.16.840.1.113883.19.5.9999.1393"/>
2653
+ <name>Community Health and Hospitals</name>
2654
+ <telecom use="WP" value="+1(555)555-5000"/>
2655
+ <addr>
2656
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2657
+ <city>Portland</city>
2658
+ <state>OR</state>
2659
+ <postalCode>99123</postalCode>
2660
+ <country>US</country>
2661
+ </addr>
2662
+ </representedOrganization>
2663
+ </assignedEntity>
2664
+ </performer>
2665
+ <participant typeCode="DEV">
2666
+ <participantRole classCode="MANU">
2667
+ <!-- ** Product instance ** -->
2668
+ <templateId root="2.16.840.1.113883.10.20.22.4.37"/>
2669
+ <id root="742aee30-21c5-11e1-bfc2-0800200c9a66"/>
2670
+ <playingDevice>
2671
+ <code code="90412006" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Colonoscope"/>
2672
+ </playingDevice>
2673
+ <scopingEntity>
2674
+ <id root="eb936010-7b17-11db-9fe1-0800200c9b65"/>
2675
+ </scopingEntity>
2676
+ </participantRole>
2677
+ </participant>
2678
+ </procedure>
2679
+ </entry>
2680
+ <entry>
2681
+ <observation classCode="OBS" moodCode="EVN">
2682
+ <!-- ** Procedure activity observation (V2) ** -->
2683
+ <templateId root="2.16.840.1.113883.10.20.22.4.13" extension="2014-06-09"/>
2684
+ <templateId root="2.16.840.1.113883.10.20.22.4.13"/>
2685
+ <id extension="123456789" root="2.16.840.1.113883.19"/>
2686
+ <code code="274025005" codeSystem="2.16.840.1.113883.6.96" displayName="Colonic polypectomy" codeSystemName="SNOMED CT">
2687
+ <originalText>
2688
+ <reference value="#Proc1"/>
2689
+ </originalText>
2690
+ </code>
2691
+ <statusCode code="aborted"/>
2692
+ <effectiveTime value="20110203"/>
2693
+ <priorityCode code="CR" codeSystem="2.16.840.1.113883.5.7" codeSystemName="ActPriority" displayName="Callback results"/>
2694
+ <value xsi:type="CD"/>
2695
+ <methodCode nullFlavor="UNK"/>
2696
+ <targetSiteCode code="416949008" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Abdomen and pelvis"/>
2697
+ <performer>
2698
+ <assignedEntity>
2699
+ <id root="2.16.840.1.113883.19.5" extension="1234"/>
2700
+ <addr>
2701
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2702
+ <city>Portland</city>
2703
+ <state>OR</state>
2704
+ <postalCode>99123</postalCode>
2705
+ <country>US</country>
2706
+ </addr>
2707
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
2708
+ <representedOrganization>
2709
+ <id root="2.16.840.1.113883.19.5"/>
2710
+ <name>Community Health and Hospitals</name>
2711
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
2712
+ <addr>
2713
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2714
+ <city>Portland</city>
2715
+ <state>OR</state>
2716
+ <postalCode>99123</postalCode>
2717
+ <country>US</country>
2718
+ </addr>
2719
+ </representedOrganization>
2720
+ </assignedEntity>
2721
+ </performer>
2722
+ <participant typeCode="LOC">
2723
+ <participantRole classCode="SDLOC">
2724
+ <!-- ** Service delivery location ** -->
2725
+ <templateId root="2.16.840.1.113883.10.20.22.4.32"/>
2726
+ <code code="1118-9" codeSystem="2.16.840.1.113883.6.259" codeSystemName="HL7 HealthcareServiceLocation" displayName="Gastroenterology Clinic"/>
2727
+ <addr>
2728
+ <streetAddressLine>1009 Health Drive</streetAddressLine>
2729
+ <city>Portland</city>
2730
+ <state>OR</state>
2731
+ <postalCode>99123</postalCode>
2732
+ <country>US</country>
2733
+ </addr>
2734
+ <telecom use="WP" value="tel: +1(555)555-5009"/>
2735
+ <playingEntity classCode="PLC">
2736
+ <name>Community Gastroenterology Clinic</name>
2737
+ </playingEntity>
2738
+ </participantRole>
2739
+ </participant>
2740
+ </observation>
2741
+ </entry>
2742
+ <entry>
2743
+ <act classCode="ACT" moodCode="EVN">
2744
+ <!-- Procedure activity act (V2) -->
2745
+ <templateId root="2.16.840.1.113883.10.20.22.4.12" extension="2014-06-09"/>
2746
+ <templateId root="2.16.840.1.113883.10.20.22.4.12"/>
2747
+ <id root="1.2.3.4.5.6.7.8" extension="1234567"/>
2748
+ <code code="274025005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Colonic polypectomy">
2749
+ <originalText>
2750
+ <reference value="#Proc1"/>
2751
+ </originalText>
2752
+ </code>
2753
+ <statusCode code="completed"/>
2754
+ <effectiveTime value="20110203"/>
2755
+ <priorityCode code="CR" codeSystem="2.16.840.1.113883.5.7" codeSystemName="ActPriority" displayName="Callback results"/>
2756
+ <performer>
2757
+ <assignedEntity>
2758
+ <id root="2.16.840.1.113883.19" extension="1234"/>
2759
+ <addr>
2760
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2761
+ <city>Portland</city>
2762
+ <state>OR</state>
2763
+ <postalCode>99123</postalCode>
2764
+ <country>US</country>
2765
+ </addr>
2766
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
2767
+ <representedOrganization>
2768
+ <id root="2.16.840.1.113883.19.5"/>
2769
+ <name>Community Health and Hospitals</name>
2770
+ <telecom use="WP" value="tel: +1(555)555-5000"/>
2771
+ <addr>
2772
+ <streetAddressLine>1001 Village Avenue</streetAddressLine>
2773
+ <city>Portland</city>
2774
+ <state>OR</state>
2775
+ <postalCode>99123</postalCode>
2776
+ <country>US</country>
2777
+ </addr>
2778
+ </representedOrganization>
2779
+ </assignedEntity>
2780
+ </performer>
2781
+ <participant typeCode="LOC">
2782
+ <participantRole classCode="SDLOC">
2783
+ <!-- ** Service delivery location ** -->
2784
+ <templateId root="2.16.840.1.113883.10.20.22.4.32"/>
2785
+ <code code="1118-9" codeSystem="2.16.840.1.113883.6.259" codeSystemName="HL7 HealthcareServiceLocation" displayName="Gastroenterology Clinic"/>
2786
+ <addr>
2787
+ <streetAddressLine>1009 Health Drive</streetAddressLine>
2788
+ <city>Portland</city>
2789
+ <state>OR</state>
2790
+ <postalCode>99123</postalCode>
2791
+ <country>US</country>
2792
+ </addr>
2793
+ <telecom use="WP" value="tel: +1(555)-555-5009"/>
2794
+ <playingEntity classCode="PLC">
2795
+ <name>Community Gastroenterology Clinic</name>
2796
+ </playingEntity>
2797
+ </participantRole>
2798
+ </participant>
2799
+ </act>
2800
+ </entry>
2801
+ </section>
2802
+ </component>
2803
+ <!-- ******************** RESULTS ************************ -->
2804
+ <component>
2805
+ <section>
2806
+ <!-- Results Section (entries required) (V3) -->
2807
+ <templateId root="2.16.840.1.113883.10.20.22.2.3.1" extension="2015-08-01"/>
2808
+ <templateId root="2.16.840.1.113883.10.20.22.2.3.1"/>
2809
+ <code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RESULTS"/>
2810
+ <title>RESULTS</title>
2811
+ <text>
2812
+ <table>
2813
+ <thead>
2814
+ <tr>
2815
+ <th>Result Type</th>
2816
+ <th>Result Value</th>
2817
+ <th>Relevant Reference Range</th>
2818
+ <th>Interpretation</th>
2819
+ <th>Date</th>
2820
+ </tr>
2821
+ </thead>
2822
+ <tbody>
2823
+ <tr>
2824
+ <td ID="result1">Hemoglobin</td>
2825
+ <td ID="resultvalue1">13.2 g/dL</td>
2826
+ <td ID="referencerange1">Normal range for women is 12.0 to 15.5 grams per deciliter</td>
2827
+ <td>Normal</td>
2828
+ <td>03/19/2008</td>
2829
+ </tr>
2830
+ <tr>
2831
+ <td ID="result2">Leukocytes</td>
2832
+ <td ID="resultvalue2">6.7 10*9/L</td>
2833
+ <td ID="referencerange2">Normal white blood cell count range 3.5-10.5 billion cells/L</td>
2834
+ <td>Normal</td>
2835
+ <td>03/19/2008</td>
2836
+ </tr>
2837
+ <tr>
2838
+ <td ID="result3">Platelets</td>
2839
+ <td ID="resultvalue3">123 10*9/L</td>
2840
+ <td ID="referencerange3">Normal white blood cell count range 3.5-10.5 billion cells/L</td>
2841
+ <td>Low</td>
2842
+ <td>03/19/2008</td>
2843
+ </tr>
2844
+ <tr>
2845
+ <td ID="result4">Hematocrit</td>
2846
+ <td ID="resultvalue4">35.3 %</td>
2847
+ <td ID="referencerange4">Normal hematocrit range for female: 34.9-44.5 percent</td>
2848
+ <td>Normal</td>
2849
+ <td>03/19/2008</td>
2850
+ </tr>
2851
+ <tr>
2852
+ <td ID="result5">Erythrocytes</td>
2853
+ <td ID="resultvalue5">4.21 10*12/L</td>
2854
+ <td ID="referencerange5">Normal red blood cell count range 3.90-5.03 trillion cells/L</td>
2855
+ <td>Normal</td>
2856
+ <td>03/19/2008</td>
2857
+ </tr>
2858
+ <tr>
2859
+ <td ID="result6">Urea nitrogen, Serum</td>
2860
+ <td>Pending</td>
2861
+ <td>Pending</td>
2862
+ <td>Pending</td>
2863
+ <td>March 20, 2008</td>
2864
+ </tr>
2865
+ </tbody>
2866
+ </table>
2867
+ </text>
2868
+ <entry typeCode="DRIV">
2869
+ <organizer classCode="BATTERY" moodCode="EVN">
2870
+ <!-- ** Result organizer (V3) ** -->
2871
+ <templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/>
2872
+ <templateId root="2.16.840.1.113883.10.20.22.4.1"/>
2873
+ <id root="7d5a02b0-67a4-11db-bd13-0800200c9a66"/>
2874
+ <code code="57021-8" displayName="CBC W Auto Differential panel in Blood" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
2875
+ <statusCode code="completed"/>
2876
+ <effectiveTime>
2877
+ <low value="200803190830-0800"/>
2878
+ <high value="200803190830-0800"/>
2879
+ </effectiveTime>
2880
+ <component>
2881
+ <observation classCode="OBS" moodCode="EVN">
2882
+ <!-- ** Result observation (V3) ** -->
2883
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
2884
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
2885
+ <id root="107c2dc0-67a5-11db-bd13-0800200c9a66"/>
2886
+ <code code="718-7" displayName="Hemoglobin" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
2887
+ <statusCode code="completed"/>
2888
+ <effectiveTime value="200803190830-0800"/>
2889
+ <value xsi:type="PQ" value="13.2" unit="g/dL"/>
2890
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
2891
+ <author typeCode="AUT">
2892
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2893
+ <time value="200803190830-0800"/>
2894
+ <assignedAuthor>
2895
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
2896
+ <code code="246Q00000X" displayName="Technician, Pathology" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2897
+ </assignedAuthor>
2898
+ </author>
2899
+ <referenceRange>
2900
+ <observationRange>
2901
+ <value xsi:type="IVL_PQ">
2902
+ <low value="12.0" unit="g/dL"/>
2903
+ <high value="15.5" unit="g/dL"/>
2904
+ </value>
2905
+ </observationRange>
2906
+ </referenceRange>
2907
+ </observation>
2908
+ </component>
2909
+ <component>
2910
+ <observation classCode="OBS" moodCode="EVN">
2911
+ <!-- ** Result observation ** -->
2912
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
2913
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
2914
+ <id root="a69b3d60-2ffd-4440-958b-72b3335ff35f"/>
2915
+ <code code="6690-2" displayName="Leukocytes" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
2916
+ <statusCode code="completed"/>
2917
+ <effectiveTime value="200803190830-0800"/>
2918
+ <value xsi:type="PQ" value="6.7" unit="10*9/L">
2919
+ <translation>
2920
+ <originalText>6.7 billion per liter</originalText>
2921
+ </translation>
2922
+ </value>
2923
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
2924
+ <author typeCode="AUT">
2925
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2926
+ <time value="200803190830-0800"/>
2927
+ <assignedAuthor>
2928
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
2929
+ <code code="246Q00000X" displayName="Technician, Pathology" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2930
+ </assignedAuthor>
2931
+ </author>
2932
+ <referenceRange>
2933
+ <observationRange>
2934
+ <value xsi:type="IVL_PQ">
2935
+ <low value="4.3" unit="10*9/L"/>
2936
+ <high value="10.8" unit="10*9/L"/>
2937
+ </value>
2938
+ </observationRange>
2939
+ </referenceRange>
2940
+ </observation>
2941
+ </component>
2942
+ <component>
2943
+ <observation classCode="OBS" moodCode="EVN">
2944
+ <!-- ** Result observation ** -->
2945
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
2946
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
2947
+ <id root="ef5c1c58-4665-4556-a8e8-6e720d82f572"/>
2948
+ <code code="777-3" displayName="Platelets" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
2949
+ <text>
2950
+ <reference value="#result3"/>
2951
+ </text>
2952
+ <statusCode code="completed"/>
2953
+ <effectiveTime value="200803190830-0800"/>
2954
+ <value xsi:type="PQ" value="123" unit="10*9/L"/>
2955
+ <interpretationCode code="LX" codeSystem="2.16.840.1.113883.5.83"/>
2956
+ <author typeCode="AUT">
2957
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2958
+ <time value="200803190830-0800"/>
2959
+ <assignedAuthor>
2960
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
2961
+ <code code="246Q00000X" displayName="Technician, Pathology" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2962
+ </assignedAuthor>
2963
+ </author>
2964
+ <referenceRange>
2965
+ <observationRange>
2966
+ <value xsi:type="IVL_PQ">
2967
+ <low value="150" unit="10*9/L"/>
2968
+ <high value="350" unit="10*9/L"/>
2969
+ </value>
2970
+ </observationRange>
2971
+ </referenceRange>
2972
+ </observation>
2973
+ </component>
2974
+ <component>
2975
+ <observation classCode="OBS" moodCode="EVN">
2976
+ <!-- ** Result observation ** -->
2977
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
2978
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
2979
+ <id root="7c0704bb-9c40-41b5-9c7d-26b2d59e234f"/>
2980
+ <code code="4544-3" displayName="Hematocrit" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
2981
+ <text>
2982
+ <reference value="#result4"/>
2983
+ </text>
2984
+ <statusCode code="completed"/>
2985
+ <effectiveTime value="200803190830-0800"/>
2986
+ <value xsi:type="PQ" value="35.3" unit="%"/>
2987
+ <interpretationCode code="LX" codeSystem="2.16.840.1.113883.5.83"/>
2988
+ <author typeCode="AUT">
2989
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
2990
+ <time value="200803190830-0800"/>
2991
+ <assignedAuthor>
2992
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
2993
+ <code code="246Q00000X" displayName="Technician, Pathology" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
2994
+ </assignedAuthor>
2995
+ </author>
2996
+ <referenceRange>
2997
+ <observationRange>
2998
+ <value xsi:type="IVL_PQ">
2999
+ <low value="34.9" unit="%"/>
3000
+ <high value="44.5" unit="%"/>
3001
+ </value>
3002
+ </observationRange>
3003
+ </referenceRange>
3004
+ </observation>
3005
+ </component>
3006
+ <component>
3007
+ <observation classCode="OBS" moodCode="EVN">
3008
+ <!-- ** Result observation ** -->
3009
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2014-06-09"/>
3010
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
3011
+ <id root="bccd6fc9-0c7f-455e-8616-923ed0d04d09"/>
3012
+ <code code="789-8" displayName="Erythrocytes" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
3013
+ <statusCode code="completed"/>
3014
+ <effectiveTime value="200803190830-0800"/>
3015
+ <value xsi:type="PQ" value="4.21" unit="10*12/L"/>
3016
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3017
+ <author typeCode="AUT">
3018
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3019
+ <time value="200803190830-0800"/>
3020
+ <assignedAuthor>
3021
+ <id extension="333444444" root="2.16.840.1.113883.4.6"/>
3022
+ <code code="246Q00000X" displayName="Technician, Pathology" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3023
+ </assignedAuthor>
3024
+ </author>
3025
+ <referenceRange>
3026
+ <observationRange>
3027
+ <value xsi:type="IVL_PQ">
3028
+ <low value="3.90" unit="10*12/L"/>
3029
+ <high value="5.03" unit="10*12/L"/>
3030
+ </value>
3031
+ </observationRange>
3032
+ </referenceRange>
3033
+ </observation>
3034
+ </component>
3035
+ </organizer>
3036
+ </entry>
3037
+ <entry typeCode="DRIV">
3038
+ <organizer classCode="BATTERY" moodCode="EVN">
3039
+ <!-- ** Result organizer ** -->
3040
+ <templateId root="2.16.840.1.113883.10.20.22.4.1" extension="2015-08-01"/>
3041
+ <templateId root="2.16.840.1.113883.10.20.22.4.1"/>
3042
+ <id root="122ed3ae-6d9e-43d0-bfa2-434ea34b1426"/>
3043
+ <code code="166312007" displayName="Blood chemistry test" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT"/>
3044
+ <statusCode code="active"/>
3045
+ <effectiveTime>
3046
+ <low value="200803200930-0800"/>
3047
+ <high value="200803200930-0800"/>
3048
+ </effectiveTime>
3049
+ <component>
3050
+ <observation classCode="OBS" moodCode="EVN">
3051
+ <!-- ** Result observation ** -->
3052
+ <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
3053
+ <templateId root="2.16.840.1.113883.10.20.22.4.2"/>
3054
+ <id root="aed821af-3330-4138-97f0-e84dfe5f3c35"/>
3055
+ <code code="3094-0" displayName="Urea nitrogen, Serum" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
3056
+ <statusCode code="active"/>
3057
+ <effectiveTime value="200803200930-0800"/>
3058
+ <value xsi:type="PQ" nullFlavor="NI"/>
3059
+ </observation>
3060
+ </component>
3061
+ </organizer>
3062
+ </entry>
3063
+ </section>
3064
+ </component>
3065
+ <!-- ******************* SOCIAL HISTORY ********************* -->
3066
+ <component>
3067
+ <section>
3068
+ <!-- ** Social History Section (V3) ** -->
3069
+ <templateId root="2.16.840.1.113883.10.20.22.2.17" extension="2015-08-01"/>
3070
+ <templateId root="2.16.840.1.113883.10.20.22.2.17"/>
3071
+ <code code="29762-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Social History"/>
3072
+ <title>SOCIAL HISTORY</title>
3073
+ <text>
3074
+ <table border="1" width="100%">
3075
+ <thead>
3076
+ <tr>
3077
+ <th>Social History Observation</th>
3078
+ <th>Description</th>
3079
+ <th>Dates Observed</th>
3080
+ </tr>
3081
+ </thead>
3082
+ <tbody>
3083
+ <tr>
3084
+ <td>Current Smoking Status</td>
3085
+ <td>Former smoker</td>
3086
+ <td>September 10, 2012</td>
3087
+ </tr>
3088
+ <tr>
3089
+ <td>Tobacco Use</td>
3090
+ <td>Moderate cigarette smoker, 10-19/day</td>
3091
+ <td>February, 2009 - February, 2011</td>
3092
+ </tr>
3093
+ <tr>
3094
+ <td>Alcoholic drinks per day</td>
3095
+ <td>12</td>
3096
+ <td>Since February, 2012</td>
3097
+ </tr>
3098
+ </tbody>
3099
+ </table>
3100
+ </text>
3101
+ <entry typeCode="DRIV">
3102
+ <observation classCode="OBS" moodCode="EVN">
3103
+ <!-- ** Smoking Status - Meaningful Use (V2) ** -->
3104
+ <templateId root="2.16.840.1.113883.10.20.22.4.78" extension="2014-06-09"/>
3105
+ <templateId root="2.16.840.1.113883.10.20.22.4.78"/>
3106
+ <id extension="123456789" root="2.16.840.1.113883.19"/>
3107
+ <code code="72166-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Tobacco smoking status NHIS"/>
3108
+ <statusCode code="completed"/>
3109
+ <!-- The effectiveTime reflects when the current smoking status was observed. -->
3110
+ <effectiveTime value="20120910"/>
3111
+ <!-- The value represents the patient's smoking status currently observed. -->
3112
+ <value xsi:type="CD" code="8517006" displayName="Former smoker" codeSystem="2.16.840.1.113883.6.96"/>
3113
+ <author typeCode="AUT">
3114
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3115
+ <time value="201209101145-0800"/>
3116
+ <assignedAuthor>
3117
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3118
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3119
+ </assignedAuthor>
3120
+ </author>
3121
+ </observation>
3122
+ </entry>
3123
+ <entry typeCode="DRIV">
3124
+ <observation classCode="OBS" moodCode="EVN">
3125
+ <!-- ** Tobacco use (V2) ** -->
3126
+ <templateId root="2.16.840.1.113883.10.20.22.4.85" extension="2014-06-09"/>
3127
+ <templateId root="2.16.840.1.113883.10.20.22.4.85"/>
3128
+ <id root="45efb604-7049-4a2e-ad33-d38556c9636c"/>
3129
+ <code code="11367-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of tobacco use"/>
3130
+ <statusCode code="completed"/>
3131
+ <effectiveTime>
3132
+ <!-- The low value reflects the start date of the observation/value (moderate smoker) -->
3133
+ <low value="20090214"/>
3134
+ <!-- The high value reflects the end date of the observation/value (moderate smoker) -->
3135
+ <high value="20110215"/>
3136
+ </effectiveTime>
3137
+ <value xsi:type="CD" code="160604004" displayName="Moderate cigarette smoker, 10-19/day" codeSystem="2.16.840.1.113883.6.96"/>
3138
+ <author typeCode="AUT">
3139
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3140
+ <time value="201209101145-0800"/>
3141
+ <assignedAuthor>
3142
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3143
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3144
+ </assignedAuthor>
3145
+ </author>
3146
+ </observation>
3147
+ </entry>
3148
+ <entry typeCode="DRIV">
3149
+ <observation classCode="OBS" moodCode="EVN">
3150
+ <!-- ** Social history observation (V3) ** -->
3151
+ <templateId root="2.16.840.1.113883.10.20.22.4.38" extension="2015-08-01"/>
3152
+ <templateId root="2.16.840.1.113883.10.20.22.4.38"/>
3153
+ <id root="37f76c51-6411-4e1d-8a37-957fd49d2cef"/>
3154
+ <code code="74013-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Alcoholic drinks per day"/>
3155
+ <statusCode code="completed"/>
3156
+ <effectiveTime>
3157
+ <low value="20120215"/>
3158
+ </effectiveTime>
3159
+ <value xsi:type="PQ" value="12"/>
3160
+ <author typeCode="AUT">
3161
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3162
+ <time value="201209101145-0800"/>
3163
+ <assignedAuthor>
3164
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3165
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3166
+ </assignedAuthor>
3167
+ </author>
3168
+ </observation>
3169
+ </entry>
3170
+ </section>
3171
+ </component>
3172
+ <!-- ************* VITAL SIGNS *************** -->
3173
+ <component>
3174
+ <section>
3175
+ <!-- ** Vital Signs Section (entries required) (V3) ** -->
3176
+ <templateId root="2.16.840.1.113883.10.20.22.2.4.1" extension="2015-08-01"/>
3177
+ <templateId root="2.16.840.1.113883.10.20.22.2.4.1"/>
3178
+ <code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="VITAL SIGNS"/>
3179
+ <title>VITAL SIGNS</title>
3180
+ <text>
3181
+ <table border="1" width="100%">
3182
+ <thead>
3183
+ <tr>
3184
+ <th align="right">Date / Time: </th>
3185
+ <th>Sept 10, 2012</th>
3186
+ <th>Sept 1, 2011</th>
3187
+ </tr>
3188
+ </thead>
3189
+ <tbody>
3190
+ <tr>
3191
+ <th align="left">Height</th>
3192
+ <td ID="vit1">177 cm</td>
3193
+ <td ID="vit2">177 cm</td>
3194
+ </tr>
3195
+ <tr>
3196
+ <th align="left">Weight</th>
3197
+ <td ID="vit3">86 kg</td>
3198
+ <td ID="vit4">88 kg</td>
3199
+ </tr>
3200
+ <tr>
3201
+ <th align="left">Blood Pressure</th>
3202
+ <td ID="vit5">132/88</td>
3203
+ <td ID="vit6">128/80</td>
3204
+ </tr>
3205
+ </tbody>
3206
+ </table>
3207
+ </text>
3208
+ <entry typeCode="DRIV">
3209
+ <organizer classCode="CLUSTER" moodCode="EVN">
3210
+ <!-- ** Vital signs organizer (V3) ** -->
3211
+ <templateId root="2.16.840.1.113883.10.20.22.4.26" extension="2015-08-01"/>
3212
+ <templateId root="2.16.840.1.113883.10.20.22.4.26"/>
3213
+ <id root="31b73bd0-cffc-4599-902e-dbe54bc56cb4"/>
3214
+ <code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs">
3215
+ <!-- A vitals organizer conformant to both C-CDA 1.1 and C-CDA 2.1 would contain the SNOMED code (46680005) from R1.1 in the root code and a LOINC code in the translation -->
3216
+ <translation code="74728-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital signs"/>
3217
+ </code>
3218
+ <statusCode code="completed"/>
3219
+ <effectiveTime>
3220
+ <low value="20120910"/>
3221
+ <high value="20120910"/>
3222
+ </effectiveTime>
3223
+ <component>
3224
+ <observation classCode="OBS" moodCode="EVN">
3225
+ <!-- ** Vital sign observation (V2) ** -->
3226
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3227
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3228
+ <id root="ed9589fd-fda0-41f7-a3d0-dc537554f5c2"/>
3229
+ <code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/>
3230
+ <statusCode code="completed"/>
3231
+ <effectiveTime value="20120910"/>
3232
+ <value xsi:type="PQ" value="177" unit="cm"/>
3233
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3234
+ <author typeCode="AUT">
3235
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3236
+ <time value="201209101145-0800"/>
3237
+ <assignedAuthor>
3238
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3239
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3240
+ </assignedAuthor>
3241
+ </author>
3242
+ </observation>
3243
+ </component>
3244
+ <component>
3245
+ <observation classCode="OBS" moodCode="EVN">
3246
+ <!-- ** Vital sign observation ** -->
3247
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3248
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3249
+ <id root="f4e729e2-a97f-4a7e-8e23-c92f9b6b55cf"/>
3250
+ <code code="3141-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient Body Weight - Measured"/>
3251
+ <statusCode code="completed"/>
3252
+ <effectiveTime value="20120910"/>
3253
+ <value xsi:type="PQ" value="86" unit="kg"/>
3254
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3255
+ <author typeCode="AUT">
3256
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3257
+ <time value="201209101145-0800"/>
3258
+ <assignedAuthor>
3259
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3260
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3261
+ </assignedAuthor>
3262
+ </author>
3263
+ </observation>
3264
+ </component>
3265
+ <component>
3266
+ <observation classCode="OBS" moodCode="EVN">
3267
+ <!-- ** Vital sign observation ** -->
3268
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3269
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3270
+ <id root="a0e39c70-9674-4b2a-9837-cdf74200d8d5"/>
3271
+ <code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Intravascular Systolic"/>
3272
+ <statusCode code="completed"/>
3273
+ <effectiveTime value="20120910"/>
3274
+ <value xsi:type="PQ" value="132" unit="mm[Hg]"/>
3275
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3276
+ <author typeCode="AUT">
3277
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3278
+ <time value="201209101145-0800"/>
3279
+ <assignedAuthor>
3280
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3281
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3282
+ </assignedAuthor>
3283
+ </author>
3284
+ </observation>
3285
+ </component>
3286
+ <component>
3287
+ <observation classCode="OBS" moodCode="EVN">
3288
+ <!-- ** Vital sign observation ** -->
3289
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3290
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3291
+ <id root="1c2748b7-e440-41ba-bc01-dde97d84a036"/>
3292
+ <code code="8462-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BP Diastolic"/>
3293
+ <statusCode code="completed"/>
3294
+ <effectiveTime value="20120910"/>
3295
+ <value xsi:type="PQ" value="88" unit="mm[Hg]"/>
3296
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3297
+ <author typeCode="AUT">
3298
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3299
+ <time value="201109010915-0800"/>
3300
+ <assignedAuthor>
3301
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3302
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3303
+ </assignedAuthor>
3304
+ </author>
3305
+ </observation>
3306
+ </component>
3307
+ </organizer>
3308
+ </entry>
3309
+ <entry typeCode="DRIV">
3310
+ <organizer classCode="CLUSTER" moodCode="EVN">
3311
+ <!-- ** Vital signs organizer ** -->
3312
+ <templateId root="2.16.840.1.113883.10.20.22.4.26" extension="2015-08-01"/>
3313
+ <templateId root="2.16.840.1.113883.10.20.22.4.26"/>
3314
+ <id root="24f6ad18-c512-40fc-82bd-1e131aa9e52b"/>
3315
+ <code code="46680005" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Vital signs">
3316
+ <!-- A vitals organizer conformant to both C-CDA 1.1 and C-CDA 2.1 would contain the SNOMED code (46680005) from R1.1 in the root code and a LOINC code in the translation -->
3317
+ <translation code="74728-7" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital signs"/>
3318
+ </code>
3319
+ <statusCode code="completed"/>
3320
+ <effectiveTime>
3321
+ <low value="20110901"/>
3322
+ <high value="20110901"/>
3323
+ </effectiveTime>
3324
+ <component>
3325
+ <observation classCode="OBS" moodCode="EVN">
3326
+ <!-- ** Vital sign observation ** -->
3327
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3328
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3329
+ <id root="05c047cd-28c3-41cd-be6c-56f8cc0c3f2f"/>
3330
+ <code code="8302-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Height"/>
3331
+ <statusCode code="completed"/>
3332
+ <effectiveTime value="20110901"/>
3333
+ <value xsi:type="PQ" value="177" unit="cm"/>
3334
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3335
+ <author typeCode="AUT">
3336
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3337
+ <time value="201109010915-0800"/>
3338
+ <assignedAuthor>
3339
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3340
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3341
+ </assignedAuthor>
3342
+ </author>
3343
+ </observation>
3344
+ </component>
3345
+ <component>
3346
+ <observation classCode="OBS" moodCode="EVN">
3347
+ <!-- ** Vital sign observation ** -->
3348
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3349
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3350
+ <id root="21b0f3d5-7d07-4f4f-ad7e-c33dc2ca3835"/>
3351
+ <code code="3141-9" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Patient Body Weight - Measured"/>
3352
+ <statusCode code="completed"/>
3353
+ <effectiveTime value="20110901"/>
3354
+ <value xsi:type="PQ" value="88" unit="kg"/>
3355
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3356
+ <author typeCode="AUT">
3357
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3358
+ <time value="201109010915-0800"/>
3359
+ <assignedAuthor>
3360
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3361
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3362
+ </assignedAuthor>
3363
+ </author>
3364
+ </observation>
3365
+ </component>
3366
+ <component>
3367
+ <observation classCode="OBS" moodCode="EVN">
3368
+ <!-- ** Vital sign observation ** -->
3369
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3370
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3371
+ <id root="b046c35a-59c7-4215-ae09-9a8409a30b21"/>
3372
+ <code code="8480-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BP Systolic"/>
3373
+ <statusCode code="completed"/>
3374
+ <effectiveTime value="20110901"/>
3375
+ <value xsi:type="PQ" value="128" unit="mm[Hg]"/>
3376
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3377
+ <author typeCode="AUT">
3378
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3379
+ <time value="201109010915-0800"/>
3380
+ <assignedAuthor>
3381
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3382
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3383
+ </assignedAuthor>
3384
+ </author>
3385
+ </observation>
3386
+ </component>
3387
+ <component>
3388
+ <observation classCode="OBS" moodCode="EVN">
3389
+ <!-- ** Vital sign observation ** -->
3390
+ <templateId root="2.16.840.1.113883.10.20.22.4.27" extension="2014-06-09"/>
3391
+ <templateId root="2.16.840.1.113883.10.20.22.4.27"/>
3392
+ <id root="44f54e66-fb4b-4ee5-9ced-9574ef307a23"/>
3393
+ <code code="8462-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="BP Diastolic"/>
3394
+ <statusCode code="completed"/>
3395
+ <effectiveTime value="20110901"/>
3396
+ <value xsi:type="PQ" value="80" unit="mm[Hg]"/>
3397
+ <interpretationCode code="N" codeSystem="2.16.840.1.113883.5.83"/>
3398
+ <author typeCode="AUT">
3399
+ <templateId root="2.16.840.1.113883.10.20.22.4.119"/>
3400
+ <time value="201109010915-0800"/>
3401
+ <assignedAuthor>
3402
+ <id extension="555555555" root="2.16.840.1.113883.4.6"/>
3403
+ <code code="207QA0505X" displayName="Adult Medicine" codeSystem="2.16.840.1.113883.6.101" codeSystemName="Healthcare Provider Taxonomy (HIPAA)"/>
3404
+ </assignedAuthor>
3405
+ </author>
3406
+ </observation>
3407
+ </component>
3408
+ </organizer>
3409
+ </entry>
3410
+ </section>
3411
+ </component>
3412
+ </structuredBody>
3413
+ </component>
3414
+ </ClinicalDocument>