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,1471 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><Conformance xmlns="http://hl7.org/fhir">
2
+ <id value="conformance-daf-query-responder"/>
3
+ <name value="DAF Responder"/>
4
+ <status value="draft"/>
5
+ <publisher value="U.S. Office of the National Coordinator (ONC)"/>
6
+ <contact>
7
+ <telecom>
8
+ <system value="other"/>
9
+ <value value="http://www.healthit.gov/"/>
10
+ </telecom>
11
+ </contact>
12
+ <date value="2015-04-02"/>
13
+ <description value="This profile defines the expected capabilities of the DAF Responder actor when conforming to the DAF FHIR implementation guide."/>
14
+ <kind value="requirements"/>
15
+ <fhirVersion value="1.0.0"/>
16
+ <acceptUnknown value="extensions"/>
17
+ <format value="xml"/>
18
+ <format value="json"/>
19
+ <profile>
20
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-patient"/>
21
+ </profile>
22
+ <profile>
23
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance"/>
24
+ </profile>
25
+ <profile>
26
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"/>
27
+ </profile>
28
+ <profile>
29
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport"/>
30
+ </profile>
31
+ <profile>
32
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-encounter"/>
33
+ </profile>
34
+ <profile>
35
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-familymemberhistory"/>
36
+ </profile>
37
+ <profile>
38
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-immunization"/>
39
+ </profile>
40
+ <profile>
41
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-resultobscode"/>
42
+ </profile>
43
+ <profile>
44
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medication"/>
45
+ </profile>
46
+ <profile>
47
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationstatement"/>
48
+ </profile>
49
+ <profile>
50
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationadministration"/>
51
+ </profile>
52
+ <profile>
53
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-condition"/>
54
+ </profile>
55
+ <profile>
56
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-procedure"/>
57
+ </profile>
58
+ <profile>
59
+ <reference value="http://hl7.org/fhir/StructureDefinition/observation-daf-smokingstatus-dafsmokingstatus"/>
60
+ </profile>
61
+ <profile>
62
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-vitalsigns"/>
63
+ </profile>
64
+ <profile>
65
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-problemlist"/>
66
+ </profile>
67
+ <rest>
68
+ <mode value="server"/>
69
+ <documentation value="The DAF Responder SHALL support the DAFPatient resource profile. In addition to the DAFPatient, the DAF Responder SHALL support at least one additional resource profile from the list of DAF profiles.The DAF Responder SHALL implement REST behavior according to the FHIR specification.The DAF Responder SHALL support both json and xml resource formats for all DAF interactions."/>
70
+ <security>
71
+ <description value="DAF Responders SHALL implement the security requirements documented in the [[daf-security|DAF FHIR IG]]."/>
72
+ </security>
73
+ <resource>
74
+ <type value="Patient"/>
75
+ <profile>
76
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-patient"/>
77
+ </profile>
78
+ <interaction>
79
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
80
+ <valueCode value="SHALL"/>
81
+ </extension>
82
+ <code value="search-type"/>
83
+ <documentation value="Allows discovery of existing DAFPatient resources using different search criteria"/>
84
+ </interaction>
85
+ <interaction>
86
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
87
+ <valueCode value="SHALL"/>
88
+ </extension>
89
+ <code value="read"/>
90
+ <documentation value="Allows retrieval of a specific DAFPatients by id"/>
91
+ </interaction>
92
+ <interaction>
93
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
94
+ <valueCode value="SHOULD"/>
95
+ </extension>
96
+ <code value="history-instance"/>
97
+ <documentation value="Allows review of changes to DAFPatient instance over time"/>
98
+ </interaction>
99
+ <interaction>
100
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
101
+ <valueCode value="SHOULD"/>
102
+ </extension>
103
+ <code value="vread"/>
104
+ <documentation value="Allows retrieval of a historical version of a DAFPatient instance"/>
105
+ </interaction>
106
+ <searchParam>
107
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
108
+ <valueCode value="SHALL"/>
109
+ </extension>
110
+ <name value="name"/>
111
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-name"/>
112
+ <type value="string"/>
113
+ </searchParam>
114
+ <searchParam>
115
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
116
+ <valueCode value="SHALL"/>
117
+ </extension>
118
+ <name value="family"/>
119
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-family"/>
120
+ <type value="string"/>
121
+ </searchParam>
122
+ <searchParam>
123
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
124
+ <valueCode value="SHALL"/>
125
+ </extension>
126
+ <name value="given"/>
127
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-given"/>
128
+ <type value="string"/>
129
+ </searchParam>
130
+ <searchParam>
131
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
132
+ <valueCode value="SHALL"/>
133
+ </extension>
134
+ <name value="identifier"/>
135
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-identifier"/>
136
+ <type value="token"/>
137
+ </searchParam>
138
+ <searchParam>
139
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
140
+ <valueCode value="SHALL"/>
141
+ </extension>
142
+ <name value="language"/>
143
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-language"/>
144
+ <type value="token"/>
145
+ </searchParam>
146
+ <searchParam>
147
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
148
+ <valueCode value="SHALL"/>
149
+ </extension>
150
+ <name value="telecom"/>
151
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-telecom"/>
152
+ <type value="string"/>
153
+ </searchParam>
154
+ <searchParam>
155
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
156
+ <valueCode value="SHALL"/>
157
+ </extension>
158
+ <name value="gender"/>
159
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-gender"/>
160
+ <type value="token"/>
161
+ </searchParam>
162
+ <searchParam>
163
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
164
+ <valueCode value="SHALL"/>
165
+ </extension>
166
+ <name value="birthdate"/>
167
+ <definition value="http://hl7.org/fhir/SearchParameter/Patient-birthdate"/>
168
+ <type value="date"/>
169
+ </searchParam>
170
+ <searchParam>
171
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
172
+ <valueCode value="SHALL"/>
173
+ </extension>
174
+ <name value="city"/>
175
+ <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-city"/>
176
+ <type value="string"/>
177
+ </searchParam>
178
+ <searchParam>
179
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
180
+ <valueCode value="SHALL"/>
181
+ </extension>
182
+ <name value="postalCode"/>
183
+ <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-postalCode"/>
184
+ <type value="string"/>
185
+ </searchParam>
186
+ <searchParam>
187
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
188
+ <valueCode value="SHALL"/>
189
+ </extension>
190
+ <name value="state"/>
191
+ <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-state"/>
192
+ <type value="string"/>
193
+ </searchParam>
194
+ <searchParam>
195
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
196
+ <valueCode value="SHALL"/>
197
+ </extension>
198
+ <name value="mothersMaidenName"/>
199
+ <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-mothersMaidenName"/>
200
+ <type value="string"/>
201
+ </searchParam>
202
+ <searchParam>
203
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
204
+ <valueCode value="SHALL"/>
205
+ </extension>
206
+ <name value="age"/>
207
+ <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-age"/>
208
+ <type value="number"/>
209
+ </searchParam>
210
+ <searchParam>
211
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
212
+ <valueCode value="SHALL"/>
213
+ </extension>
214
+ <name value="race"/>
215
+ <definition value="http://hl7.org/fhir/SearchParameter/us-core-Patient-race"/>
216
+ <type value="token"/>
217
+ </searchParam>
218
+ <searchParam>
219
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
220
+ <valueCode value="SHALL"/>
221
+ </extension>
222
+ <name value="ethnicity"/>
223
+ <definition value="http://hl7.org/fhir/SearchParameter/us-core-Patient-ethnicity"/>
224
+ <type value="token"/>
225
+ </searchParam>
226
+ </resource>
227
+ <resource>
228
+ <type value="AllergyIntolerance"/>
229
+ <profile>
230
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance"/>
231
+ </profile>
232
+ <interaction>
233
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
234
+ <valueCode value="SHALL"/>
235
+ </extension>
236
+ <code value="search-type"/>
237
+ <documentation value="Allows discovery of existing DAFAllergyIntolerance resources using different search criteria"/>
238
+ </interaction>
239
+ <interaction>
240
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
241
+ <valueCode value="SHALL"/>
242
+ </extension>
243
+ <code value="read"/>
244
+ <documentation value="Allows retrieval of a specific DAFAllergyIntolerance by id"/>
245
+ </interaction>
246
+ <interaction>
247
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
248
+ <valueCode value="SHOULD"/>
249
+ </extension>
250
+ <code value="history-instance"/>
251
+ <documentation value="Allows review of changes to DAFAllergyIntolerance instance over time"/>
252
+ </interaction>
253
+ <interaction>
254
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
255
+ <valueCode value="SHOULD"/>
256
+ </extension>
257
+ <code value="vread"/>
258
+ <documentation value="Allows retrieval of a historical version of a DAFAllergyIntolerance instance"/>
259
+ </interaction>
260
+ <searchInclude value="AllergyIntolerance.patient"/>
261
+ <searchParam>
262
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
263
+ <valueCode value="SHALL"/>
264
+ </extension>
265
+ <name value="identifier"/>
266
+ <type value="token"/>
267
+ </searchParam>
268
+ <searchParam>
269
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
270
+ <valueCode value="SHALL"/>
271
+ </extension>
272
+ <name value="patient"/>
273
+ <type value="reference"/>
274
+ <chain value="patient.identifier"/>
275
+ <chain value="patient.name"/>
276
+ <chain value="patient.given"/>
277
+ <chain value="patient.family"/>
278
+ </searchParam>
279
+ <searchParam>
280
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
281
+ <valueCode value="SHALL"/>
282
+ </extension>
283
+ <name value="category"/>
284
+ <type value="token"/>
285
+ </searchParam>
286
+ <searchParam>
287
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
288
+ <valueCode value="SHALL"/>
289
+ </extension>
290
+ <name value="status"/>
291
+ <type value="token"/>
292
+ </searchParam>
293
+ <searchParam>
294
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
295
+ <valueCode value="SHALL"/>
296
+ </extension>
297
+ <name value="substance"/>
298
+ <type value="token"/>
299
+ </searchParam>
300
+ <searchParam>
301
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
302
+ <valueCode value="SHALL"/>
303
+ </extension>
304
+ <name value="manifestation"/>
305
+ <type value="token"/>
306
+ </searchParam>
307
+ <searchParam>
308
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
309
+ <valueCode value="SHALL"/>
310
+ </extension>
311
+ <name value="severity"/>
312
+ <type value="token"/>
313
+ </searchParam>
314
+ <searchParam>
315
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
316
+ <valueCode value="SHALL"/>
317
+ </extension>
318
+ <name value="duration"/>
319
+ <type value="quantity"/>
320
+ </searchParam>
321
+ <searchParam>
322
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
323
+ <valueCode value="SHALL"/>
324
+ </extension>
325
+ <name value="onset"/>
326
+ <type value="date"/>
327
+ </searchParam>
328
+ </resource>
329
+ <resource>
330
+ <type value="DiagnosticOrder"/>
331
+ <profile>
332
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"/>
333
+ </profile>
334
+ <interaction>
335
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
336
+ <valueCode value="SHALL"/>
337
+ </extension>
338
+ <code value="search-type"/>
339
+ <documentation value="Allows discovery of existing DAFDiagnosticOrder resources using different search criteria"/>
340
+ </interaction>
341
+ <interaction>
342
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
343
+ <valueCode value="SHALL"/>
344
+ </extension>
345
+ <code value="read"/>
346
+ <documentation value="Allows retrieval of a specific DAFDiagnosticOrder by id"/>
347
+ </interaction>
348
+ <interaction>
349
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
350
+ <valueCode value="SHOULD"/>
351
+ </extension>
352
+ <code value="history-instance"/>
353
+ <documentation value="Allows review of changes to DAFDiagnosticOrder instance over time"/>
354
+ </interaction>
355
+ <interaction>
356
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
357
+ <valueCode value="SHOULD"/>
358
+ </extension>
359
+ <code value="vread"/>
360
+ <documentation value="Allows retrieval of a historical version of a DAFDiagnosticOrder instance"/>
361
+ </interaction>
362
+ <searchInclude value="DiagnosticOrder.subject"/>
363
+ <searchInclude value="DiagnosticOrder.orderer"/>
364
+ <searchInclude value="DiagnosticOrder.encounter"/>
365
+ <searchParam>
366
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
367
+ <valueCode value="SHALL"/>
368
+ </extension>
369
+ <name value="identifier"/>
370
+ <type value="token"/>
371
+ </searchParam>
372
+ <searchParam>
373
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
374
+ <valueCode value="SHALL"/>
375
+ </extension>
376
+ <name value="patient"/>
377
+ <type value="reference"/>
378
+ <chain value="patient.identifier"/>
379
+ <chain value="patient.name"/>
380
+ <chain value="patient.given"/>
381
+ <chain value="patient.family"/>
382
+ </searchParam>
383
+ <searchParam>
384
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
385
+ <valueCode value="SHALL"/>
386
+ </extension>
387
+ <name value="orderer"/>
388
+ <type value="reference"/>
389
+ <chain value="orderer.identifier"/>
390
+ <chain value="orderer.given"/>
391
+ <chain value="orderer.family"/>
392
+ </searchParam>
393
+ <searchParam>
394
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
395
+ <valueCode value="SHALL"/>
396
+ </extension>
397
+ <name value="code"/>
398
+ <type value="token"/>
399
+ </searchParam>
400
+ <searchParam>
401
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
402
+ <valueCode value="SHALL"/>
403
+ </extension>
404
+ <name value="encounter"/>
405
+ <type value="reference"/>
406
+ <chain value="encounter.identifier"/>
407
+ <chain value="encounter.type"/>
408
+ </searchParam>
409
+ <searchParam>
410
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
411
+ <valueCode value="SHALL"/>
412
+ </extension>
413
+ <name value="item-date"/>
414
+ <type value="date"/>
415
+ </searchParam>
416
+ </resource>
417
+ <resource>
418
+ <type value="DiagnosticReport"/>
419
+ <profile>
420
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport"/>
421
+ </profile>
422
+ <interaction>
423
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
424
+ <valueCode value="SHALL"/>
425
+ </extension>
426
+ <code value="search-type"/>
427
+ <documentation value="Allows discovery of existing DAFDiagnosticReport resources using different search criteria"/>
428
+ </interaction>
429
+ <interaction>
430
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
431
+ <valueCode value="SHALL"/>
432
+ </extension>
433
+ <code value="read"/>
434
+ <documentation value="Allows retrieval of a specific DAFDiagnosticReport by id"/>
435
+ </interaction>
436
+ <interaction>
437
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
438
+ <valueCode value="SHOULD"/>
439
+ </extension>
440
+ <code value="history-instance"/>
441
+ <documentation value="Allows review of changes to DAFDiagnosticReport instance over time"/>
442
+ </interaction>
443
+ <interaction>
444
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
445
+ <valueCode value="SHOULD"/>
446
+ </extension>
447
+ <code value="vread"/>
448
+ <documentation value="Allows retrieval of a historical version of a DAFDiagnosticReport instance"/>
449
+ </interaction>
450
+ <searchInclude value="DiagnosticReport.subject"/>
451
+ <searchInclude value="DiagnosticReport.performer"/>
452
+ <searchInclude value="DiagnosticReport.encounter"/>
453
+ <searchInclude value="DiagnosticReport.result"/>
454
+ <searchParam>
455
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
456
+ <valueCode value="SHALL"/>
457
+ </extension>
458
+ <name value="identifier"/>
459
+ <type value="token"/>
460
+ </searchParam>
461
+ <searchParam>
462
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
463
+ <valueCode value="SHALL"/>
464
+ </extension>
465
+ <name value="patient"/>
466
+ <type value="reference"/>
467
+ <chain value="patient.identifier"/>
468
+ <chain value="patient.name"/>
469
+ <chain value="patient.given"/>
470
+ <chain value="patient.family"/>
471
+ </searchParam>
472
+ <searchParam>
473
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
474
+ <valueCode value="SHALL"/>
475
+ </extension>
476
+ <name value="name"/>
477
+ <type value="token"/>
478
+ </searchParam>
479
+ <searchParam>
480
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
481
+ <valueCode value="SHALL"/>
482
+ </extension>
483
+ <name value="date"/>
484
+ <type value="date"/>
485
+ </searchParam>
486
+ <searchParam>
487
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
488
+ <valueCode value="SHALL"/>
489
+ </extension>
490
+ <name value="encounter"/>
491
+ <type value="reference"/>
492
+ <chain value="encounter.identifier"/>
493
+ <chain value="encounter.type"/>
494
+ </searchParam>
495
+ <searchParam>
496
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
497
+ <valueCode value="SHALL"/>
498
+ </extension>
499
+ <name value="performer"/>
500
+ <type value="reference"/>
501
+ <chain value="performer.identifier"/>
502
+ <chain value="performer.name"/>
503
+ </searchParam>
504
+ <searchParam>
505
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
506
+ <valueCode value="SHALL"/>
507
+ </extension>
508
+ <name value="result"/>
509
+ <type value="reference"/>
510
+ <chain value="result.code"/>
511
+ </searchParam>
512
+ </resource>
513
+ <resource>
514
+ <type value="Encounter"/>
515
+ <profile>
516
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-encounter"/>
517
+ </profile>
518
+ <interaction>
519
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
520
+ <valueCode value="SHALL"/>
521
+ </extension>
522
+ <code value="search-type"/>
523
+ <documentation value="Allows discovery of existing DAFEncounter resources using different search criteria"/>
524
+ </interaction>
525
+ <interaction>
526
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
527
+ <valueCode value="SHALL"/>
528
+ </extension>
529
+ <code value="read"/>
530
+ <documentation value="Allows retrieval of a specific DAFEncounter by id"/>
531
+ </interaction>
532
+ <interaction>
533
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
534
+ <valueCode value="SHOULD"/>
535
+ </extension>
536
+ <code value="history-instance"/>
537
+ <documentation value="Allows review of changes to DAFEncounter instance over time"/>
538
+ </interaction>
539
+ <interaction>
540
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
541
+ <valueCode value="SHOULD"/>
542
+ </extension>
543
+ <code value="vread"/>
544
+ <documentation value="Allows retrieval of a historical version of a DAFEncounter instance"/>
545
+ </interaction>
546
+ <searchInclude value="Encounter.patient"/>
547
+ <searchInclude value="Encounter.location"/>
548
+ <searchParam>
549
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
550
+ <valueCode value="SHALL"/>
551
+ </extension>
552
+ <name value="identifier"/>
553
+ <type value="token"/>
554
+ </searchParam>
555
+ <searchParam>
556
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
557
+ <valueCode value="SHALL"/>
558
+ </extension>
559
+ <name value="patient"/>
560
+ <type value="reference"/>
561
+ <chain value="patient.identifier"/>
562
+ <chain value="patient.name"/>
563
+ <chain value="patient.given"/>
564
+ <chain value="patient.family"/>
565
+ </searchParam>
566
+ <searchParam>
567
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
568
+ <valueCode value="SHALL"/>
569
+ </extension>
570
+ <name value="location"/>
571
+ <type value="reference"/>
572
+ <chain value="location.identifier"/>
573
+ <chain value="location.name"/>
574
+ <chain value="location.address"/>
575
+ </searchParam>
576
+ <searchParam>
577
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
578
+ <valueCode value="SHALL"/>
579
+ </extension>
580
+ <name value="type"/>
581
+ <type value="token"/>
582
+ </searchParam>
583
+ <searchParam>
584
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
585
+ <valueCode value="SHALL"/>
586
+ </extension>
587
+ <name value="date"/>
588
+ <type value="date"/>
589
+ </searchParam>
590
+ <searchParam>
591
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
592
+ <valueCode value="SHALL"/>
593
+ </extension>
594
+ <name value="location-period"/>
595
+ <type value="date"/>
596
+ </searchParam>
597
+ </resource>
598
+ <resource>
599
+ <type value="FamilyMemberHistory"/>
600
+ <profile>
601
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-familymemberhistory"/>
602
+ </profile>
603
+ <interaction>
604
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
605
+ <valueCode value="SHALL"/>
606
+ </extension>
607
+ <code value="search-type"/>
608
+ <documentation value="Allows discovery of existing DAFFamilyMemberHistory resources using different search criteria"/>
609
+ </interaction>
610
+ <interaction>
611
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
612
+ <valueCode value="SHALL"/>
613
+ </extension>
614
+ <code value="read"/>
615
+ <documentation value="Allows retrieval of a specific DAFFamilyMemberHistory by id"/>
616
+ </interaction>
617
+ <interaction>
618
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
619
+ <valueCode value="SHOULD"/>
620
+ </extension>
621
+ <code value="history-instance"/>
622
+ <documentation value="Allows review of changes to DAFFamilyMemberHistory instance over time"/>
623
+ </interaction>
624
+ <interaction>
625
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
626
+ <valueCode value="SHOULD"/>
627
+ </extension>
628
+ <code value="vread"/>
629
+ <documentation value="Allows retrieval of a historical version of a DAFFamilyMemberHistory instance"/>
630
+ </interaction>
631
+ <searchInclude value="FamilyMemberHistory.patient"/>
632
+ <searchParam>
633
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
634
+ <valueCode value="SHALL"/>
635
+ </extension>
636
+ <name value="identifier"/>
637
+ <type value="token"/>
638
+ </searchParam>
639
+ <searchParam>
640
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
641
+ <valueCode value="SHALL"/>
642
+ </extension>
643
+ <name value="patient"/>
644
+ <type value="reference"/>
645
+ <chain value="patient.identifier"/>
646
+ <chain value="patient.name"/>
647
+ <chain value="patient.given"/>
648
+ <chain value="patient.family"/>
649
+ </searchParam>
650
+ <searchParam>
651
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
652
+ <valueCode value="SHALL"/>
653
+ </extension>
654
+ <name value="relationship"/>
655
+ <type value="token"/>
656
+ </searchParam>
657
+ <searchParam>
658
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
659
+ <valueCode value="SHALL"/>
660
+ </extension>
661
+ <name value="familymemberhistorycondition"/>
662
+ <type value="token"/>
663
+ </searchParam>
664
+ </resource>
665
+ <resource>
666
+ <type value="Immunization"/>
667
+ <profile>
668
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-immunization"/>
669
+ </profile>
670
+ <interaction>
671
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
672
+ <valueCode value="SHALL"/>
673
+ </extension>
674
+ <code value="search-type"/>
675
+ <documentation value="Allows discovery of existing DAFImmunization resources using different search criteria"/>
676
+ </interaction>
677
+ <interaction>
678
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
679
+ <valueCode value="SHALL"/>
680
+ </extension>
681
+ <code value="read"/>
682
+ <documentation value="Allows retrieval of a specific DAFImmunization by id"/>
683
+ </interaction>
684
+ <interaction>
685
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
686
+ <valueCode value="SHOULD"/>
687
+ </extension>
688
+ <code value="history-instance"/>
689
+ <documentation value="Allows review of changes to DAFImmunization instance over time"/>
690
+ </interaction>
691
+ <interaction>
692
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
693
+ <valueCode value="SHOULD"/>
694
+ </extension>
695
+ <code value="vread"/>
696
+ <documentation value="Allows retrieval of a historical version of a DAFImmunization instance"/>
697
+ </interaction>
698
+ <searchInclude value="Immunization.patient"/>
699
+ <searchInclude value="Immunization.performer"/>
700
+ <searchInclude value="Immunization.requester"/>
701
+ <searchInclude value="Immunization.manufacturer"/>
702
+ <searchInclude value="Immunization.reaction.detail"/>
703
+ <searchParam>
704
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
705
+ <valueCode value="SHALL"/>
706
+ </extension>
707
+ <name value="identifier"/>
708
+ <type value="token"/>
709
+ </searchParam>
710
+ <searchParam>
711
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
712
+ <valueCode value="SHALL"/>
713
+ </extension>
714
+ <name value="patient"/>
715
+ <type value="reference"/>
716
+ <chain value="patient.identifier"/>
717
+ <chain value="patient.name"/>
718
+ <chain value="patient.given"/>
719
+ <chain value="patient.family"/>
720
+ </searchParam>
721
+ <searchParam>
722
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
723
+ <valueCode value="SHALL"/>
724
+ </extension>
725
+ <name value="date"/>
726
+ <type value="date"/>
727
+ </searchParam>
728
+ <searchParam>
729
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
730
+ <valueCode value="SHALL"/>
731
+ </extension>
732
+ <name value="vaccine-type"/>
733
+ <type value="token"/>
734
+ </searchParam>
735
+ <searchParam>
736
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
737
+ <valueCode value="SHALL"/>
738
+ </extension>
739
+ <name value="notgiven"/>
740
+ <type value="token"/>
741
+ </searchParam>
742
+ <searchParam>
743
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
744
+ <valueCode value="SHALL"/>
745
+ </extension>
746
+ <name value="lot-number"/>
747
+ <type value="string"/>
748
+ </searchParam>
749
+ <searchParam>
750
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
751
+ <valueCode value="SHALL"/>
752
+ </extension>
753
+ <name value="requester"/>
754
+ <type value="reference"/>
755
+ <chain value="requester.identifier"/>
756
+ <chain value="requester.name"/>
757
+ </searchParam>
758
+ </resource>
759
+ <resource>
760
+ <type value="Observation"/>
761
+ <profile>
762
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-resultobscode"/>
763
+ </profile>
764
+ <interaction>
765
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
766
+ <valueCode value="SHALL"/>
767
+ </extension>
768
+ <code value="search-type"/>
769
+ <documentation value="Allows discovery of existing DAFResults resources using different search criteria"/>
770
+ </interaction>
771
+ <interaction>
772
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
773
+ <valueCode value="SHALL"/>
774
+ </extension>
775
+ <code value="read"/>
776
+ <documentation value="Allows retrieval of a specific DAFResults by id"/>
777
+ </interaction>
778
+ <interaction>
779
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
780
+ <valueCode value="SHOULD"/>
781
+ </extension>
782
+ <code value="history-instance"/>
783
+ <documentation value="Allows review of changes to DAFResults instance over time"/>
784
+ </interaction>
785
+ <interaction>
786
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
787
+ <valueCode value="SHOULD"/>
788
+ </extension>
789
+ <code value="vread"/>
790
+ <documentation value="Allows retrieval of a historical version of a DAFResults instance"/>
791
+ </interaction>
792
+ <searchInclude value="Observation.encounter"/>
793
+ <searchInclude value="Observation.subject"/>
794
+ <searchParam>
795
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
796
+ <valueCode value="SHALL"/>
797
+ </extension>
798
+ <name value="identifier"/>
799
+ <type value="token"/>
800
+ </searchParam>
801
+ <searchParam>
802
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
803
+ <valueCode value="SHALL"/>
804
+ </extension>
805
+ <name value="patient"/>
806
+ <type value="reference"/>
807
+ <chain value="patient.identifier"/>
808
+ <chain value="patient.name"/>
809
+ <chain value="patient.given"/>
810
+ <chain value="patient.family"/>
811
+ </searchParam>
812
+ <searchParam>
813
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
814
+ <valueCode value="SHALL"/>
815
+ </extension>
816
+ <name value="code"/>
817
+ <type value="token"/>
818
+ </searchParam>
819
+ <searchParam>
820
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
821
+ <valueCode value="SHALL"/>
822
+ </extension>
823
+ <name value="value-concept"/>
824
+ <type value="token"/>
825
+ </searchParam>
826
+ <searchParam>
827
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
828
+ <valueCode value="SHALL"/>
829
+ </extension>
830
+ <name value="code-value[x]"/>
831
+ <type value="composite"/>
832
+ </searchParam>
833
+ <searchParam>
834
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
835
+ <valueCode value="SHALL"/>
836
+ </extension>
837
+ <name value="date"/>
838
+ <type value="date"/>
839
+ </searchParam>
840
+ <searchParam>
841
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
842
+ <valueCode value="SHALL"/>
843
+ </extension>
844
+ <name value="encounter"/>
845
+ <type value="reference"/>
846
+ <chain value="encounter.identifier"/>
847
+ <chain value="encounter.type"/>
848
+ </searchParam>
849
+ </resource>
850
+ <resource>
851
+ <type value="Medication"/>
852
+ <profile>
853
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medication"/>
854
+ </profile>
855
+ <interaction>
856
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
857
+ <valueCode value="SHALL"/>
858
+ </extension>
859
+ <code value="search-type"/>
860
+ <documentation value="Allows discovery of existing DAFMedication resources using different search criteria"/>
861
+ </interaction>
862
+ <interaction>
863
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
864
+ <valueCode value="SHALL"/>
865
+ </extension>
866
+ <code value="read"/>
867
+ <documentation value="Allows retrieval of a specific DAFMedication by id"/>
868
+ </interaction>
869
+ <interaction>
870
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
871
+ <valueCode value="SHOULD"/>
872
+ </extension>
873
+ <code value="history-instance"/>
874
+ <documentation value="Allows review of changes to DAFMedication instance over time"/>
875
+ </interaction>
876
+ <interaction>
877
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
878
+ <valueCode value="SHOULD"/>
879
+ </extension>
880
+ <code value="vread"/>
881
+ <documentation value="Allows retrieval of a historical version of a DAFMedication instance"/>
882
+ </interaction>
883
+ <searchInclude value="Medication.manufacturer"/>
884
+ <searchParam>
885
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
886
+ <valueCode value="SHALL"/>
887
+ </extension>
888
+ <name value="identifier"/>
889
+ <type value="token"/>
890
+ </searchParam>
891
+ <searchParam>
892
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
893
+ <valueCode value="SHALL"/>
894
+ </extension>
895
+ <name value="code"/>
896
+ <type value="token"/>
897
+ </searchParam>
898
+ <searchParam>
899
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
900
+ <valueCode value="SHALL"/>
901
+ </extension>
902
+ <name value="name"/>
903
+ <type value="string"/>
904
+ </searchParam>
905
+ <searchParam>
906
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
907
+ <valueCode value="SHALL"/>
908
+ </extension>
909
+ <name value="form"/>
910
+ <type value="token"/>
911
+ </searchParam>
912
+ <searchParam>
913
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
914
+ <valueCode value="SHALL"/>
915
+ </extension>
916
+ <name value="ingredient"/>
917
+ <type value="reference"/>
918
+ </searchParam>
919
+ </resource>
920
+ <resource>
921
+ <type value="MedicationStatement"/>
922
+ <profile>
923
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationstatement"/>
924
+ </profile>
925
+ <interaction>
926
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
927
+ <valueCode value="SHALL"/>
928
+ </extension>
929
+ <code value="search-type"/>
930
+ <documentation value="Allows discovery of existing DAFMedicationStatement resources using different search criteria"/>
931
+ </interaction>
932
+ <interaction>
933
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
934
+ <valueCode value="SHALL"/>
935
+ </extension>
936
+ <code value="read"/>
937
+ <documentation value="Allows retrieval of a specific DAFMedicationStatement by id"/>
938
+ </interaction>
939
+ <interaction>
940
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
941
+ <valueCode value="SHOULD"/>
942
+ </extension>
943
+ <code value="history-instance"/>
944
+ <documentation value="Allows review of changes to DAFMedicationStatement instance over time"/>
945
+ </interaction>
946
+ <interaction>
947
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
948
+ <valueCode value="SHOULD"/>
949
+ </extension>
950
+ <code value="vread"/>
951
+ <documentation value="Allows retrieval of a historical version of a DAFMedicationStatement instance"/>
952
+ </interaction>
953
+ <searchInclude value="MedicationStatement.patient"/>
954
+ <searchInclude value="MedicationStatement.medication"/>
955
+ <searchParam>
956
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
957
+ <valueCode value="SHALL"/>
958
+ </extension>
959
+ <name value="identifier"/>
960
+ <type value="token"/>
961
+ </searchParam>
962
+ <searchParam>
963
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
964
+ <valueCode value="SHALL"/>
965
+ </extension>
966
+ <name value="patient"/>
967
+ <type value="reference"/>
968
+ <chain value="patient.identifier"/>
969
+ <chain value="patient.name"/>
970
+ <chain value="patient.given"/>
971
+ <chain value="patient.family"/>
972
+ </searchParam>
973
+ <searchParam>
974
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
975
+ <valueCode value="SHALL"/>
976
+ </extension>
977
+ <name value="effectivedate"/>
978
+ <type value="date"/>
979
+ </searchParam>
980
+ <searchParam>
981
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
982
+ <valueCode value="SHALL"/>
983
+ </extension>
984
+ <name value="medication"/>
985
+ <type value="reference"/>
986
+ <chain value="medication.code"/>
987
+ <chain value="medication.name"/>
988
+ </searchParam>
989
+ </resource>
990
+ <resource>
991
+ <type value="MedicationAdministration"/>
992
+ <profile>
993
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationadministration"/>
994
+ </profile>
995
+ <interaction>
996
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
997
+ <valueCode value="SHALL"/>
998
+ </extension>
999
+ <code value="search-type"/>
1000
+ <documentation value="Allows discovery of existing DAFMedicationAdministration resources using different search criteria"/>
1001
+ </interaction>
1002
+ <interaction>
1003
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1004
+ <valueCode value="SHALL"/>
1005
+ </extension>
1006
+ <code value="read"/>
1007
+ <documentation value="Allows retrieval of a specific DAFMedicationAdministration by id"/>
1008
+ </interaction>
1009
+ <interaction>
1010
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1011
+ <valueCode value="SHOULD"/>
1012
+ </extension>
1013
+ <code value="history-instance"/>
1014
+ <documentation value="Allows review of changes to DAFMedicationAdministration instance over time"/>
1015
+ </interaction>
1016
+ <interaction>
1017
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1018
+ <valueCode value="SHOULD"/>
1019
+ </extension>
1020
+ <code value="vread"/>
1021
+ <documentation value="Allows retrieval of a historical version of a DAFMedicationAdministration instance"/>
1022
+ </interaction>
1023
+ <searchInclude value="MedicationAdministration.patient"/>
1024
+ <searchInclude value="MedicationAdministration.practitioner"/>
1025
+ <searchInclude value="MedicationAdministration.encounter"/>
1026
+ <searchInclude value="MedicationAdministration.prescription"/>
1027
+ <searchParam>
1028
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1029
+ <valueCode value="SHALL"/>
1030
+ </extension>
1031
+ <name value="identifier"/>
1032
+ <type value="token"/>
1033
+ </searchParam>
1034
+ <searchParam>
1035
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1036
+ <valueCode value="SHALL"/>
1037
+ </extension>
1038
+ <name value="patient"/>
1039
+ <type value="reference"/>
1040
+ <chain value="patient.identifier"/>
1041
+ <chain value="patient.name"/>
1042
+ <chain value="patient.given"/>
1043
+ <chain value="patient.family"/>
1044
+ </searchParam>
1045
+ <searchParam>
1046
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1047
+ <valueCode value="SHALL"/>
1048
+ </extension>
1049
+ <name value="effectivetime"/>
1050
+ <type value="date"/>
1051
+ </searchParam>
1052
+ <searchParam>
1053
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1054
+ <valueCode value="SHALL"/>
1055
+ </extension>
1056
+ <name value="encounter"/>
1057
+ <type value="reference"/>
1058
+ <chain value="encounter.identifier"/>
1059
+ <chain value="encounter.type"/>
1060
+ </searchParam>
1061
+ <searchParam>
1062
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1063
+ <valueCode value="SHALL"/>
1064
+ </extension>
1065
+ <name value="practitioner"/>
1066
+ <type value="reference"/>
1067
+ <chain value="practitioner.identifier"/>
1068
+ <chain value="practitioner.name"/>
1069
+ </searchParam>
1070
+ <searchParam>
1071
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1072
+ <valueCode value="SHALL"/>
1073
+ </extension>
1074
+ <name value="prescription"/>
1075
+ <type value="reference"/>
1076
+ <chain value="prescription.identifier"/>
1077
+ <chain value="prescription.datewritten"/>
1078
+ </searchParam>
1079
+ </resource>
1080
+ <resource>
1081
+ <type value="Condition"/>
1082
+ <profile>
1083
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-condition"/>
1084
+ </profile>
1085
+ <interaction>
1086
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1087
+ <valueCode value="SHALL"/>
1088
+ </extension>
1089
+ <code value="search-type"/>
1090
+ <documentation value="Allows discovery of existing DAFCondition resources using different search criteria"/>
1091
+ </interaction>
1092
+ <interaction>
1093
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1094
+ <valueCode value="SHALL"/>
1095
+ </extension>
1096
+ <code value="read"/>
1097
+ <documentation value="Allows retrieval of a specific DAFCondition by id"/>
1098
+ </interaction>
1099
+ <interaction>
1100
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1101
+ <valueCode value="SHOULD"/>
1102
+ </extension>
1103
+ <code value="history-instance"/>
1104
+ <documentation value="Allows review of changes to DAFCondition instance over time"/>
1105
+ </interaction>
1106
+ <interaction>
1107
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1108
+ <valueCode value="SHOULD"/>
1109
+ </extension>
1110
+ <code value="vread"/>
1111
+ <documentation value="Allows retrieval of a historical version of a DAFCondition instance"/>
1112
+ </interaction>
1113
+ <searchInclude value="Condition.patient"/>
1114
+ <searchInclude value="Condition.encounter"/>
1115
+ <searchInclude value="Condition.asserter"/>
1116
+ <searchParam>
1117
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1118
+ <valueCode value="SHALL"/>
1119
+ </extension>
1120
+ <name value="identifier"/>
1121
+ <type value="token"/>
1122
+ </searchParam>
1123
+ <searchParam>
1124
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1125
+ <valueCode value="SHALL"/>
1126
+ </extension>
1127
+ <name value="patient"/>
1128
+ <type value="reference"/>
1129
+ <chain value="patient.identifier"/>
1130
+ <chain value="patient.name"/>
1131
+ <chain value="patient.given"/>
1132
+ <chain value="patient.family"/>
1133
+ </searchParam>
1134
+ <searchParam>
1135
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1136
+ <valueCode value="SHALL"/>
1137
+ </extension>
1138
+ <name value="code"/>
1139
+ <type value="token"/>
1140
+ </searchParam>
1141
+ <searchParam>
1142
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1143
+ <valueCode value="SHALL"/>
1144
+ </extension>
1145
+ <name value="date-asserted"/>
1146
+ <type value="date"/>
1147
+ </searchParam>
1148
+ <searchParam>
1149
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1150
+ <valueCode value="SHALL"/>
1151
+ </extension>
1152
+ <name value="encounter"/>
1153
+ <type value="reference"/>
1154
+ <chain value="encounter.identifier"/>
1155
+ <chain value="encounter.type"/>
1156
+ </searchParam>
1157
+ <searchParam>
1158
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1159
+ <valueCode value="SHALL"/>
1160
+ </extension>
1161
+ <name value="onset"/>
1162
+ <type value="date"/>
1163
+ </searchParam>
1164
+ <searchParam>
1165
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1166
+ <valueCode value="SHALL"/>
1167
+ </extension>
1168
+ <name value="severity"/>
1169
+ <type value="token"/>
1170
+ </searchParam>
1171
+ </resource>
1172
+ <resource>
1173
+ <type value="Procedure"/>
1174
+ <profile>
1175
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-procedure"/>
1176
+ </profile>
1177
+ <interaction>
1178
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1179
+ <valueCode value="SHALL"/>
1180
+ </extension>
1181
+ <code value="search-type"/>
1182
+ <documentation value="Allows discovery of existing DAFProcedure resources using different search criteria"/>
1183
+ </interaction>
1184
+ <interaction>
1185
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1186
+ <valueCode value="SHALL"/>
1187
+ </extension>
1188
+ <code value="read"/>
1189
+ <documentation value="Allows retrieval of a specific DAFProcedure by id"/>
1190
+ </interaction>
1191
+ <interaction>
1192
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1193
+ <valueCode value="SHOULD"/>
1194
+ </extension>
1195
+ <code value="history-instance"/>
1196
+ <documentation value="Allows review of changes to DAFProcedure instance over time"/>
1197
+ </interaction>
1198
+ <interaction>
1199
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1200
+ <valueCode value="SHOULD"/>
1201
+ </extension>
1202
+ <code value="vread"/>
1203
+ <documentation value="Allows retrieval of a historical version of a DAFProcedure instance"/>
1204
+ </interaction>
1205
+ <searchInclude value="Procedure.patient"/>
1206
+ <searchInclude value="Procedure.encounter"/>
1207
+ <searchInclude value="Procedure.performer"/>
1208
+ <searchParam>
1209
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1210
+ <valueCode value="SHALL"/>
1211
+ </extension>
1212
+ <name value="identifier"/>
1213
+ <type value="token"/>
1214
+ </searchParam>
1215
+ <searchParam>
1216
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1217
+ <valueCode value="SHALL"/>
1218
+ </extension>
1219
+ <name value="type"/>
1220
+ <type value="token"/>
1221
+ </searchParam>
1222
+ <searchParam>
1223
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1224
+ <valueCode value="SHALL"/>
1225
+ </extension>
1226
+ <name value="date"/>
1227
+ <type value="date"/>
1228
+ </searchParam>
1229
+ <searchParam>
1230
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1231
+ <valueCode value="SHALL"/>
1232
+ </extension>
1233
+ <name value="patient"/>
1234
+ <type value="reference"/>
1235
+ <chain value="patient.identifier"/>
1236
+ <chain value="patient.name"/>
1237
+ <chain value="patient.given"/>
1238
+ <chain value="patient.family"/>
1239
+ </searchParam>
1240
+ <searchParam>
1241
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1242
+ <valueCode value="SHALL"/>
1243
+ </extension>
1244
+ <name value="encounter"/>
1245
+ <type value="reference"/>
1246
+ <chain value="encounter.identifier"/>
1247
+ <chain value="encounter.type"/>
1248
+ </searchParam>
1249
+ </resource>
1250
+ <!--
1251
+ <resource>
1252
+ <type value="SmokingStatus"/>
1253
+ <profile>
1254
+ <reference value="http://hl7.org/fhir/StructureDefinition/observation-daf-smokingstatus-dafsmokingstatus"/>
1255
+ </profile>
1256
+ <interaction>
1257
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1258
+ <valueCode value="SHALL"/>
1259
+ </extension>
1260
+ <code value="search-type"/>
1261
+ <documentation value="Allows discovery of existing DAFSmokingStatus resources using different search criteria"/>
1262
+ </interaction>
1263
+ <interaction>
1264
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1265
+ <valueCode value="SHALL"/>
1266
+ </extension>
1267
+ <code value="read"/>
1268
+ <documentation value="Allows retrieval of a specific DAFSmokingStatus by id"/>
1269
+ </interaction>
1270
+ <interaction>
1271
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1272
+ <valueCode value="SHOULD"/>
1273
+ </extension>
1274
+ <code value="history-instance"/>
1275
+ <documentation value="Allows review of changes to DAFSmokingStatus instance over time"/>
1276
+ </interaction>
1277
+ <interaction>
1278
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1279
+ <valueCode value="SHOULD"/>
1280
+ </extension>
1281
+ <code value="vread"/>
1282
+ <documentation value="Allows retrieval of a historical version of a DAFSmokingStatus instance"/>
1283
+ </interaction>
1284
+ <searchInclude value="Observation.subject"/>
1285
+ <searchInclude value="Observation.encounter"/>
1286
+ <searchParam>
1287
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1288
+ <valueCode value="SHALL"/>
1289
+ </extension>
1290
+ <name value="identifier"/>
1291
+ <type value="token"/>
1292
+ </searchParam>
1293
+ <searchParam>
1294
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1295
+ <valueCode value="SHALL"/>
1296
+ </extension>
1297
+ <name value="date"/>
1298
+ <type value="date"/>
1299
+ </searchParam>
1300
+ <searchParam>
1301
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1302
+ <valueCode value="SHALL"/>
1303
+ </extension>
1304
+ <name value="value-concept"/>
1305
+ <type value="token"/>
1306
+ </searchParam>
1307
+ <searchParam>
1308
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1309
+ <valueCode value="SHALL"/>
1310
+ </extension>
1311
+ <name value="patient"/>
1312
+ <type value="reference"/>
1313
+ <chain value="patient.identifier"/>
1314
+ <chain value="patient.name"/>
1315
+ <chain value="patient.given"/>
1316
+ <chain value="patient.family"/>
1317
+ </searchParam>
1318
+ </resource>
1319
+ <resource>
1320
+ <type value="DAFVitalSigns"/>
1321
+ <profile>
1322
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-vitalsigns"/>
1323
+ </profile>
1324
+ <interaction>
1325
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1326
+ <valueCode value="SHALL"/>
1327
+ </extension>
1328
+ <code value="search-type"/>
1329
+ <documentation value="Allows discovery of existing DAFVitalSigns resources using different search criteria"/>
1330
+ </interaction>
1331
+ <interaction>
1332
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1333
+ <valueCode value="SHALL"/>
1334
+ </extension>
1335
+ <code value="read"/>
1336
+ <documentation value="Allows retrieval of a specific DAFVitalSigns by id"/>
1337
+ </interaction>
1338
+ <interaction>
1339
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1340
+ <valueCode value="SHOULD"/>
1341
+ </extension>
1342
+ <code value="history-instance"/>
1343
+ <documentation value="Allows review of changes to DAFVitalSigns instance over time"/>
1344
+ </interaction>
1345
+ <interaction>
1346
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1347
+ <valueCode value="SHOULD"/>
1348
+ </extension>
1349
+ <code value="vread"/>
1350
+ <documentation value="Allows retrieval of a historical version of a DAFVitalSigns instance"/>
1351
+ </interaction>
1352
+ <searchInclude value="Observation.subject"/>
1353
+ <searchInclude value="Observation.encounter"/>
1354
+ <searchParam>
1355
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1356
+ <valueCode value="SHALL"/>
1357
+ </extension>
1358
+ <name value="identifier"/>
1359
+ <type value="token"/>
1360
+ </searchParam>
1361
+ <searchParam>
1362
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1363
+ <valueCode value="SHALL"/>
1364
+ </extension>
1365
+ <name value="date"/>
1366
+ <type value="date"/>
1367
+ </searchParam>
1368
+ <searchParam>
1369
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1370
+ <valueCode value="SHALL"/>
1371
+ </extension>
1372
+ <name value="value-quantity"/>
1373
+ <type value="quantity"/>
1374
+ </searchParam>
1375
+ <searchParam>
1376
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1377
+ <valueCode value="SHALL"/>
1378
+ </extension>
1379
+ <name value="code-value[x]"/>
1380
+ <type value="token"/>
1381
+ </searchParam>
1382
+ <searchParam>
1383
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1384
+ <valueCode value="SHALL"/>
1385
+ </extension>
1386
+ <name value="code"/>
1387
+ <type value="token"/>
1388
+ </searchParam>
1389
+ <searchParam>
1390
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1391
+ <valueCode value="SHALL"/>
1392
+ </extension>
1393
+ <name value="patient"/>
1394
+ <type value="reference"/>
1395
+ <chain value="patient.identifier"/>
1396
+ <chain value="patient.name"/>
1397
+ <chain value="patient.given"/>
1398
+ <chain value="patient.family"/>
1399
+ </searchParam>
1400
+ </resource>
1401
+ -->
1402
+ <resource>
1403
+ <type value="List"/>
1404
+ <profile>
1405
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-problemlist"/>
1406
+ </profile>
1407
+ <interaction>
1408
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1409
+ <valueCode value="SHALL"/>
1410
+ </extension>
1411
+ <code value="search-type"/>
1412
+ <documentation value="Allows discovery of existing DAFList resources using different search criteria"/>
1413
+ </interaction>
1414
+ <interaction>
1415
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1416
+ <valueCode value="SHALL"/>
1417
+ </extension>
1418
+ <code value="read"/>
1419
+ <documentation value="Allows retrieval of a specific DAFList by id"/>
1420
+ </interaction>
1421
+ <interaction>
1422
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1423
+ <valueCode value="SHOULD"/>
1424
+ </extension>
1425
+ <code value="history-instance"/>
1426
+ <documentation value="Allows review of changes to DAFList instance over time"/>
1427
+ </interaction>
1428
+ <interaction>
1429
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1430
+ <valueCode value="SHOULD"/>
1431
+ </extension>
1432
+ <code value="vread"/>
1433
+ <documentation value="Allows retrieval of a historical version of a DAFList instance"/>
1434
+ </interaction>
1435
+ <searchInclude value="List.subject"/>
1436
+ <searchInclude value="List.item"/>
1437
+ <searchParam>
1438
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1439
+ <valueCode value="SHALL"/>
1440
+ </extension>
1441
+ <name value="patient"/>
1442
+ <type value="reference"/>
1443
+ <chain value="patient.identifier"/>
1444
+ <chain value="patient.name"/>
1445
+ <chain value="patient.given"/>
1446
+ <chain value="patient.family"/>
1447
+ </searchParam>
1448
+ <searchParam>
1449
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1450
+ <valueCode value="SHALL"/>
1451
+ </extension>
1452
+ <name value="code"/>
1453
+ <type value="token"/>
1454
+ </searchParam>
1455
+ <searchParam>
1456
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1457
+ <valueCode value="SHALL"/>
1458
+ </extension>
1459
+ <name value="empty-reason"/>
1460
+ <type value="token"/>
1461
+ </searchParam>
1462
+ <searchParam>
1463
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1464
+ <valueCode value="SHALL"/>
1465
+ </extension>
1466
+ <name value="date"/>
1467
+ <type value="date"/>
1468
+ </searchParam>
1469
+ </resource>
1470
+ </rest>
1471
+ </Conformance>