plan_executor 1.0.2 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (420) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +3 -2
  4. data/Gemfile +3 -6
  5. data/Gemfile.lock +52 -48
  6. data/README.md +2 -2
  7. data/fixtures/attachment/ccda_pdf.pdf +0 -0
  8. data/fixtures/attachment/ccda_pdf_base64.txt +2489 -0
  9. data/fixtures/attachment/ccda_structured.xml +1976 -0
  10. data/fixtures/attachment/ccda_unstructured.xml +2563 -0
  11. data/fixtures/daf/conformance-daf-query-responder.xml +2024 -193
  12. data/fixtures/diagnostic_report/diagnosticreport-familyhistory-create.xml +67 -0
  13. data/fixtures/diagnostic_report/diagnosticreport-hlatyping-create.xml +64 -0
  14. data/fixtures/diagnostic_report/diagnosticreport-pathologyreport-create.xml +312 -0
  15. data/fixtures/diagnostic_report/dr-100.xml +3 -3
  16. data/fixtures/diagnostic_report/dr-200.xml +5 -5
  17. data/fixtures/diagnostic_report/dr-300.xml +3 -3
  18. data/fixtures/diagnostic_report/dr-400.xml +3 -3
  19. data/fixtures/{diagnostic_order → diagnostic_request}/do-100.xml +57 -64
  20. data/fixtures/diagnostic_request/do-200.xml +73 -0
  21. data/fixtures/{diagnostic_order → diagnostic_request}/do-300.xml +73 -91
  22. data/{lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder → fixtures/diagnostic_request}/do-400.xml +74 -88
  23. data/fixtures/family_member_history/familymemberhistory-familyhistory-create.xml +27 -0
  24. data/fixtures/financial/claim-example-oral-average.xml +199 -0
  25. data/fixtures/financial/claim-example-oral-orthoplan.xml +298 -0
  26. data/fixtures/financial/claim-example.xml +98 -0
  27. data/fixtures/financial/eligibilityrequest-example.xml +40 -0
  28. data/fixtures/observation/obs-401.xml +7 -17
  29. data/fixtures/observation/obs-402.xml +7 -17
  30. data/fixtures/observation/obs-403.xml +4 -29
  31. data/fixtures/observation/obs-407.xml +4 -11
  32. data/fixtures/observation/observation-datawarehouse-create.xml +72 -0
  33. data/fixtures/observation/observation-familyhistory-create.xml +61 -0
  34. data/fixtures/observation/observation-germline-create.xml +72 -0
  35. data/fixtures/observation/observation-register-create.xml +72 -0
  36. data/fixtures/patch/medicationrequest-simple.xml +16 -0
  37. data/fixtures/patient/patient-example-updated.xml +1 -7
  38. data/fixtures/patient/patient-example-us-extensions.xml +119 -0
  39. data/fixtures/patient/patient-example.xml +46 -27
  40. data/fixtures/patient/patient-familyhistory-create.xml +45 -0
  41. data/fixtures/patient/patient-register-create.xml +47 -0
  42. data/fixtures/practitioner/practitioner-register-create.xml +32 -0
  43. data/fixtures/record/condition-example-f201-fever.xml +54 -49
  44. data/fixtures/record/condition-example-f205-infection.xml +16 -15
  45. data/fixtures/record/diagnosticreport-example-f201-brainct.xml +45 -18
  46. data/fixtures/record/encounter-example-f201-20130404.xml +42 -15
  47. data/fixtures/record/encounter-example-f202-20130128.xml +57 -15
  48. data/fixtures/record/observation-example-f202-temperature.xml +85 -60
  49. data/fixtures/record/organization-example-f201-aumc.xml +87 -4
  50. data/fixtures/record/organization-example-f203-bumc.xml +53 -4
  51. data/fixtures/record/patient-example-f201-roel.xml +108 -8
  52. data/fixtures/record/practitioner-example-f201-ab.xml +73 -14
  53. data/fixtures/record/procedure-example-f201-tpf.xml +39 -9
  54. data/fixtures/scheduling/slot-simple.xml +1 -1
  55. data/fixtures/sequence/sequence-register-create.xml +31 -0
  56. data/fixtures/specimen/spec-100.xml +8 -8
  57. data/fixtures/specimen/spec-400.xml +11 -11
  58. data/fixtures/specimen/spec-uslab-example1.xml +11 -11
  59. data/fixtures/specimen/specimen-familyhistory-create.xml +54 -0
  60. data/fixtures/specimen/specimen-register-create.xml +49 -0
  61. data/fixtures/terminology/codesystem-data-types.json +230 -0
  62. data/fixtures/terminology/codesystem-resource-types.json +482 -0
  63. data/fixtures/terminology/codesystem-simple.xml +129 -0
  64. data/fixtures/terminology/conceptmap-example.xml +141 -0
  65. data/fixtures/terminology/v2-codesystem.json +1297 -0
  66. data/fixtures/terminology/v2-valueset.json +16 -0
  67. data/fixtures/terminology/valueset-defined-types.json +25 -0
  68. data/fixtures/terminology/valueset-example.xml +111 -0
  69. data/fixtures/validation/observation.profile.xml +1534 -253
  70. data/fixtures/validation/observations/observation-example.xml +66 -0
  71. data/lib/FHIR_structure.json +129 -82
  72. data/lib/daf_resource_generator.rb +7 -7
  73. data/lib/data/resources.rb +50 -30
  74. data/lib/ext/client.rb +2 -2
  75. data/lib/plan_executor.rb +6 -1
  76. data/lib/resource_generator.rb +413 -212
  77. data/lib/tasks/tasks.rake +151 -20
  78. data/lib/tests/assertions.rb +24 -18
  79. data/lib/tests/base_test.rb +17 -3
  80. data/lib/tests/suites/argonaut_provider_connectathon_test.rb +234 -0
  81. data/lib/tests/suites/base_suite.rb +7 -3
  82. data/lib/tests/suites/connectathon_attachment_track_test.rb +124 -0
  83. data/lib/tests/suites/connectathon_audit_track.rb +113 -69
  84. data/lib/tests/suites/connectathon_care_plan_track.rb +237 -0
  85. data/lib/tests/suites/connectathon_fetch_patient_record.rb +40 -39
  86. data/lib/tests/suites/connectathon_financial_track.rb +231 -23
  87. data/lib/tests/suites/connectathon_genomics_track_test.rb +255 -0
  88. data/lib/tests/suites/connectathon_lab_order_track.rb +131 -104
  89. data/lib/tests/suites/connectathon_patch_track.rb +125 -0
  90. data/lib/tests/suites/connectathon_patient_track.rb +75 -68
  91. data/lib/tests/suites/connectathon_profile_validation.rb +9 -8
  92. data/lib/tests/suites/connectathon_scheduling_track.rb +127 -70
  93. data/lib/tests/suites/connectathon_terminology_track.rb +211 -34
  94. data/lib/tests/suites/daf_profiles_test.rb +112 -72
  95. data/lib/tests/suites/format_test.rb +113 -255
  96. data/lib/tests/suites/history_test.rb +72 -68
  97. data/lib/tests/suites/read_test.rb +31 -27
  98. data/lib/tests/suites/resource_test.rb +283 -85
  99. data/lib/tests/suites/search_test.rb +5 -3
  100. data/lib/tests/suites/search_test_robust.rb +8 -76
  101. data/lib/tests/suites/sprinkler_search_test.rb +104 -84
  102. data/lib/tests/suites/suite_engine.rb +17 -23
  103. data/lib/tests/suites/transaction_test.rb +117 -174
  104. data/lib/tests/testscripts/base_testscript.rb +425 -189
  105. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Client Assigned Id/connectathon-14-patient-base-client-id-json.xml +517 -0
  106. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Client Assigned Id/connectathon-14-patient-base-client-id-xml.xml +517 -0
  107. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Client Assigned Id/connectathon-14-patient-bonus-client-id-json.xml +648 -0
  108. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Client Assigned Id/connectathon-14-patient-bonus-client-id-xml.xml +648 -0
  109. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/README.html +68 -0
  110. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Server Assigned Id/connectathon-14-patient-base-server-id-json.xml +515 -0
  111. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Server Assigned Id/connectathon-14-patient-base-server-id-xml.xml +515 -0
  112. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Server Assigned Id/connectathon-14-patient-bonus-server-id-json.xml +645 -0
  113. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/Server Assigned Id/connectathon-14-patient-bonus-server-id-xml.xml +642 -0
  114. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/_reference/capabilities/PatientCapabilityStatement.xml +43 -0
  115. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-PeterChalmers-min.json +1 -3
  116. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-PeterChalmers-min.xml +0 -0
  117. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-PeterChalmers.json +5 -10
  118. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-PeterChalmers.xml +5 -5
  119. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-bonus-PeterChalmers-min.json +1 -3
  120. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-bonus-PeterChalmers-min.xml +0 -0
  121. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-bonus-PeterChalmers.json +5 -10
  122. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-create-bonus-PeterChalmers.xml +4 -5
  123. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/_reference/resources/patient-create-client-id-PeterChalmers.json +96 -0
  124. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/_reference/resources/patient-create-client-id-PeterChalmers.xml +103 -0
  125. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/_reference/resources/patient-create-client-id-bonus-PeterChalmers.json +104 -0
  126. data/lib/tests/testscripts/scripts/connectathon/Patient-01-Intro/_reference/resources/patient-create-client-id-bonus-PeterChalmers.xml +108 -0
  127. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-PeterChalmers-min.json +1 -3
  128. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-PeterChalmers-min.xml +0 -0
  129. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-PeterChalmers.json +6 -10
  130. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-PeterChalmers.xml +6 -5
  131. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus1-PeterChalmers-min.json +1 -3
  132. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus1-PeterChalmers-min.xml +0 -0
  133. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus1-PeterChalmers.json +7 -11
  134. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus1-PeterChalmers.xml +5 -5
  135. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus2-PeterChalmers-min.json +2 -4
  136. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus2-PeterChalmers-min.xml +1 -1
  137. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus2-PeterChalmers.json +7 -11
  138. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient → scripts/connectathon/Patient-01-Intro}/_reference/resources/patient-update-bonus2-PeterChalmers.xml +8 -7
  139. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/01-RegisterPatient/connectathon-14-patient-fhirclient-01-register-client-id-xml.xml +306 -0
  140. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/01-RegisterPatient/connectathon-14-patient-fhirclient-01-register-server-id-xml.xml +317 -0
  141. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/02-PatientUpdate/connectathon-14-patient-fhirclient-02-update-client-id-xml.xml +346 -0
  142. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/02-PatientUpdate/connectathon-14-patient-fhirclient-02-update-server-id-xml.xml +385 -0
  143. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/capabilities/PatientCapabilityStatement.json +50 -0
  144. data/lib/tests/testscripts/{xml/Connectathon11/Track1-Patient/_reference/conformance/PatientConformance.xml → scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/capabilities/PatientCapabilityStatement.xml} +10 -2
  145. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-create-client-id.json +21 -0
  146. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-create-client-id.xml +15 -0
  147. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-create-server-id.json +20 -0
  148. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-create-server-id.xml +14 -0
  149. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-update-client-id.json +21 -0
  150. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-update-client-id.xml +15 -0
  151. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-update-server-id.json +20 -0
  152. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRClient/_reference/resources/patient-update-server-id.xml +14 -0
  153. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/01-RegisterPatient/connectathon-14-patient-fhirserver-01-register-client-id-json.xml +262 -0
  154. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/01-RegisterPatient/connectathon-14-patient-fhirserver-01-register-client-id-xml.xml +262 -0
  155. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/01-RegisterPatient/connectathon-14-patient-fhirserver-01-register-server-id-json.xml +273 -0
  156. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/01-RegisterPatient/connectathon-14-patient-fhirserver-01-register-server-id-xml.xml +273 -0
  157. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/02-PatientUpdate/connectathon-14-patient-fhirserver-02-update-client-id-json.xml +290 -0
  158. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/02-PatientUpdate/connectathon-14-patient-fhirserver-02-update-client-id-xml.xml +290 -0
  159. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/02-PatientUpdate/connectathon-14-patient-fhirserver-02-update-server-id-json.xml +326 -0
  160. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/02-PatientUpdate/connectathon-14-patient-fhirserver-02-update-server-id-xml.xml +326 -0
  161. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/03-PatientRead/connectathon-14-patient-fhirserver-03-read-client-id-json.xml +247 -0
  162. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/03-PatientRead/connectathon-14-patient-fhirserver-03-read-client-id-xml.xml +247 -0
  163. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/03-PatientRead/connectathon-14-patient-fhirserver-03-read-server-id-json.xml +282 -0
  164. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/03-PatientRead/connectathon-14-patient-fhirserver-03-read-server-id-xml.xml +281 -0
  165. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/04-PatientHistory/connectathon-14-patient-fhirserver-04-history-client-id-json.xml +330 -0
  166. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/04-PatientHistory/connectathon-14-patient-fhirserver-04-history-client-id-xml.xml +330 -0
  167. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/04-PatientHistory/connectathon-14-patient-fhirserver-04-history-server-id-json.xml +366 -0
  168. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/04-PatientHistory/connectathon-14-patient-fhirserver-04-history-server-id-xml.xml +366 -0
  169. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/05-PatientVRead/connectathon-14-patient-fhirserver-05-vread-client-id-json.xml +527 -0
  170. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/05-PatientVRead/connectathon-14-patient-fhirserver-05-vread-client-id-xml.xml +527 -0
  171. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/05-PatientVRead/connectathon-14-patient-fhirserver-05-vread-server-id-json.xml +519 -0
  172. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/05-PatientVRead/connectathon-14-patient-fhirserver-05-vread-server-id-xml.xml +519 -0
  173. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/06-PatientSearching/connectathon-14-patient-fhirserver-06-search-client-id-json.xml +290 -0
  174. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/06-PatientSearching/connectathon-14-patient-fhirserver-06-search-client-id-xml.xml +290 -0
  175. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/06-PatientSearching/connectathon-14-patient-fhirserver-06-search-server-id-json.xml +288 -0
  176. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/06-PatientSearching/connectathon-14-patient-fhirserver-06-search-server-id-xml.xml +288 -0
  177. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/07-PatientDeletion/connectathon-14-patient-fhirserver-07-delete-client-id-json.xml +252 -0
  178. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/07-PatientDeletion/connectathon-14-patient-fhirserver-07-delete-client-id-xml.xml +252 -0
  179. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/07-PatientDeletion/connectathon-14-patient-fhirserver-07-delete-server-id-json.xml +284 -0
  180. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/07-PatientDeletion/connectathon-14-patient-fhirserver-07-delete-server-id-xml.xml +284 -0
  181. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/99-PatientAll/connectathon-14-patient-fhirserver-99-all-client-id-json.xml +897 -0
  182. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/99-PatientAll/connectathon-14-patient-fhirserver-99-all-client-id-xml.xml +897 -0
  183. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/99-PatientAll/connectathon-14-patient-fhirserver-99-all-server-id-json.xml +963 -0
  184. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/99-PatientAll/connectathon-14-patient-fhirserver-99-all-server-id-xml.xml +963 -0
  185. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/capabilities/PatientCapabilityStatement.json +50 -0
  186. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/capabilities/PatientCapabilityStatement.xml +42 -0
  187. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-create-client-id.json +86 -0
  188. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-create-client-id.xml +62 -0
  189. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-create-server-id.json +85 -0
  190. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-create-server-id.xml +61 -0
  191. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-update-client-id.json +86 -0
  192. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-update-client-id.xml +62 -0
  193. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-update-server-id.json +86 -0
  194. data/lib/tests/testscripts/scripts/connectathon/Patient-02-Formal/FHIRServer/_reference/resources/patient-update-server-id.xml +62 -0
  195. data/lib/tests/testscripts/scripts/spec/_reference/resources/patient-example-update.json +145 -0
  196. data/lib/tests/testscripts/scripts/spec/_reference/resources/patient-example.json +146 -0
  197. data/lib/tests/testscripts/scripts/spec/testscript-example-history.xml +191 -0
  198. data/lib/tests/testscripts/scripts/spec/testscript-example-multisystem.xml +190 -0
  199. data/lib/tests/testscripts/scripts/spec/testscript-example-readtest.xml +178 -0
  200. data/lib/tests/testscripts/scripts/spec/testscript-example-rule.xml +266 -0
  201. data/lib/tests/testscripts/scripts/spec/testscript-example-search.xml +177 -0
  202. data/lib/tests/testscripts/scripts/spec/testscript-example-update.xml +163 -0
  203. data/lib/tests/testscripts/scripts/spec/testscript-example.xml +228 -0
  204. data/lib/tests/testscripts/testscript_engine.rb +36 -22
  205. data/logs/.keep +0 -0
  206. data/plan_executor.gemspec +11 -3
  207. data/test/test_helper.rb +3 -3
  208. data/test/unit/fixtures_test.rb +24 -24
  209. data/test/unit/metadata_test.rb +19 -9
  210. data/test/unit/resource_generator_test.rb +20 -0
  211. metadata +244 -249
  212. data/fixtures/diagnostic_order/do-200.xml +0 -121
  213. data/fixtures/diagnostic_order/do-400.xml +0 -88
  214. data/fixtures/financial/claim-example-average.xml +0 -168
  215. data/fixtures/financial/claim-example-simple.xml +0 -67
  216. data/fixtures/order/order-100.xml +0 -61
  217. data/fixtures/order/order-200.xml +0 -61
  218. data/fixtures/order/order-300.xml +0 -61
  219. data/fixtures/order/order-400.xml +0 -61
  220. data/fixtures/order_response/ordresp-100.xml +0 -79
  221. data/fixtures/order_response/ordresp-110.xml +0 -79
  222. data/fixtures/order_response/ordresp-200.xml +0 -79
  223. data/fixtures/order_response/ordresp-210.xml +0 -79
  224. data/fixtures/order_response/ordresp-300.xml +0 -79
  225. data/fixtures/order_response/ordresp-310.xml +0 -79
  226. data/fixtures/order_response/ordresp-400.xml +0 -79
  227. data/fixtures/order_response/ordresp-410.xml +0 -79
  228. data/fixtures/patient/patient-example-us-extensions(us01).xml +0 -81
  229. data/fixtures/patient/patient-format-example.xml +0 -101
  230. data/fixtures/validation/observations/observation-example(example).xml +0 -50
  231. data/lib/tests/suites/argonaut_resprint_1_test.rb +0 -260
  232. data/lib/tests/suites/argonaut_resprint_2_test.rb +0 -369
  233. data/lib/tests/suites/argonaut_resprint_3_test.rb +0 -309
  234. data/lib/tests/suites/argonaut_sprint_1_test.rb +0 -187
  235. data/lib/tests/suites/argonaut_sprint_2_test.rb +0 -115
  236. data/lib/tests/suites/argonaut_sprint_3_test.rb +0 -208
  237. data/lib/tests/suites/argonaut_sprint_4_test.rb +0 -335
  238. data/lib/tests/suites/argonaut_sprint_5_test.rb +0 -196
  239. data/lib/tests/suites/argonaut_sprint_6_test.rb +0 -243
  240. data/lib/tests/suites/argonaut_sprint_7_test.rb +0 -161
  241. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-json.xml +0 -348
  242. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-base-client-id-xml.xml +0 -348
  243. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-json.xml +0 -420
  244. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Client Assigned Id/track1-patient-bonus-client-id-xml.xml +0 -420
  245. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/README.html +0 -68
  246. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-json.xml +0 -352
  247. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-base-server-id-xml.xml +0 -352
  248. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-json.xml +0 -421
  249. data/lib/tests/testscripts/xml/Connectathon11/Track1-Patient/Server Assigned Id/track1-patient-bonus-server-id-xml.xml +0 -421
  250. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/C-CDA_R2-1_CCD-ussg.xml +0 -3414
  251. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A1-empty-on-instance.xml +0 -9
  252. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A2-empty-by-ref.xml +0 -15
  253. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A3-empty-by-identifier.xml +0 -13
  254. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-A4-empty-by-contained.xml +0 -15
  255. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B1-CCDA-on-instance.xml +0 -15
  256. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B2-CCDA-by-ref.xml +0 -21
  257. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B3-CCDA-by-identifier.xml +0 -19
  258. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/parameters-B4-CCDA-by-contained.xml +0 -21
  259. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaire-sdc-profile-example-ussg-fht.xml +0 -3905
  260. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-CCDA.xml +0 -190
  261. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/_reference/resources/questionnaireresponse-expected-ussg-fht-empty.xml +0 -177
  262. data/lib/tests/testscripts/xml/Connectathon11/Track11-SDC/track11-sdc-prepop-xml.xml +0 -142
  263. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite1-expand-client-id.xml +0 -925
  264. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Client Assigned Id/track2-ts-suite2-expand-filter-client-id.xml +0 -930
  265. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite1-expand-server-id.xml +0 -953
  266. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Expand/Server Assigned Id/track2-ts-suite2-expand-filter-server-id.xml +0 -958
  267. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-loinc-lookup-xml.xml +0 -224
  268. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Lookup/track2-ts-suite5-snomed-lookup-xml.xml +0 -224
  269. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/README.html +0 -85
  270. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Translate/track2-ts-suite6-translate-xml.xml +0 -224
  271. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite3-validate-code-client-id.xml +0 -1807
  272. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Client Assigned Id/track2-ts-suite4-validate-code-client-id.xml +0 -714
  273. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite3-validate-code-server-id.xml +0 -1835
  274. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/Validate-code/Server Assigned Id/track2-ts-suite4-validate-code-server-id.xml +0 -742
  275. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ConceptMapSuite6Conformance.xml +0 -11
  276. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite1Conformance.xml +0 -17
  277. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite2Conformance.xml +0 -17
  278. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite3Conformance.xml +0 -14
  279. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite4Conformance.xml +0 -14
  280. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/conformance/ValueSetSuite5Conformance.xml +0 -11
  281. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-a.xml +0 -11
  282. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-2-b.xml +0 -11
  283. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-a.xml +0 -13
  284. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-3-b.xml +0 -13
  285. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-a.xml +0 -15
  286. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/extensional-case-1-input-4-4-b.xml +0 -15
  287. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-2.xml +0 -10
  288. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-loinc-input-5-3.xml +0 -11
  289. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-2.xml +0 -10
  290. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/lookup-snomed-input-5-3.xml +0 -11
  291. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-2.xml +0 -14
  292. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/input/translate-conceptmap-input-6-3.xml +0 -15
  293. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-expand-min.xml +0 -47
  294. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-1-filter-min.xml +0 -23
  295. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-expand-min.xml +0 -132
  296. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-2-filter-min.xml +0 -38
  297. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-expand-min.xml +0 -252
  298. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-3-filter-min.xml +0 -58
  299. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-expand-min.xml +0 -57
  300. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/extensional-case-4-filter-min.xml +0 -28
  301. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-expand-min.xml +0 -347
  302. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-1-filter-min.xml +0 -33
  303. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-expand-min.xml +0 -637
  304. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-2-filter-min.xml +0 -33
  305. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/intensional-case-3-filter-min.xml +0 -58
  306. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-loinc-min.xml +0 -11
  307. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/lookup-snomed-min.xml +0 -11
  308. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-invalid-min.xml +0 -10
  309. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite3-valid-min.xml +0 -7
  310. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-invalid-min.xml +0 -10
  311. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/suite4-valid-min.xml +0 -7
  312. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/output/translate-conceptmap-min.xml +0 -17
  313. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-1.xml +0 -55
  314. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-2.xml +0 -122
  315. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-3.xml +0 -222
  316. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/extensional-case-4.xml +0 -65
  317. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-1.xml +0 -31
  318. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-2.xml +0 -31
  319. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/intensional-case-3.xml +0 -31
  320. data/lib/tests/testscripts/xml/Connectathon11/Track2-Terminology/_reference/resources/translate-conceptmap-case-1.xml +0 -145
  321. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/conformance/DecisionSupportServiceModule-Evaluate.xml +0 -17
  322. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-request-payload.xml +0 -26
  323. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-min-payload.xml +0 -7
  324. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-incomplete-response-payload.xml +0 -332
  325. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-request-payload.xml +0 -28
  326. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-min-payload.xml +0 -7
  327. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-malformed-response-payload.xml +0 -20
  328. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-request-payload.xml +0 -28
  329. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-min-payload.xml +0 -7
  330. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-response-payload.xml +0 -332
  331. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-request-payload.xml +0 -28
  332. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-min-payload.xml +0 -7
  333. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/ecrs-fhir-cdc-immunizations-unauthorized-response-payload.xml +0 -8
  334. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-request-payload.xml +0 -176
  335. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload-min.xml +0 -32
  336. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/_reference/resources/gao-assessment-response-payload.xml +0 -80
  337. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-cdc-immunization.xml +0 -290
  338. data/lib/tests/testscripts/xml/Connectathon11/Track3-CDS-on-FHIR/track3-cds-evaluate-gao-profile.xml +0 -110
  339. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/Client_Assigned_Id/TestScript_FHIR-Genomics.xml +0 -170
  340. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-1.xml +0 -31
  341. data/lib/tests/testscripts/xml/Connectathon11/Track6-FHIR-Genomics/_reference/resources/sequence-example-2.xml +0 -31
  342. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Actors.png +0 -0
  343. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder100-xml.xml +0 -590
  344. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder200-xml.xml +0 -587
  345. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder300-xml.xml +0 -612
  346. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Client_Assigned_Id/track7-laborder400-xml.xml +0 -635
  347. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Peer-to-Peer/track7-laborder100-peer2peer-xml.xml +0 -752
  348. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/Thumbs.db +0 -0
  349. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/LabOrderLabReport-CreateDeleteReadUpdate.xml +0 -187
  350. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/conformance/html.xslt +0 -45
  351. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100-update.xml +0 -64
  352. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-100.xml +0 -64
  353. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200-update.xml +0 -121
  354. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-200.xml +0 -121
  355. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300-update.xml +0 -91
  356. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-300.xml +0 -91
  357. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticOrder/do-400-update.xml +0 -88
  358. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-100.xml +0 -96
  359. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-200.xml +0 -125
  360. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-300.xml +0 -132
  361. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/DiagnosticReport/dr-400.xml +0 -121
  362. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-100.xml +0 -58
  363. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-101.xml +0 -58
  364. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-200.xml +0 -125
  365. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-300.xml +0 -106
  366. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-301.xml +0 -106
  367. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-302.xml +0 -106
  368. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-303.xml +0 -106
  369. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-304.xml +0 -106
  370. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-400.xml +0 -87
  371. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-401.xml +0 -95
  372. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-402.xml +0 -95
  373. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-403.xml +0 -84
  374. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-404.xml +0 -84
  375. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-405.xml +0 -83
  376. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-406.xml +0 -83
  377. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-407.xml +0 -70
  378. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-408.xml +0 -84
  379. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Observation/obs-uslab-example5.xml +0 -102
  380. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-100.xml +0 -61
  381. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-200.xml +0 -61
  382. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-300.xml +0 -61
  383. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Order/order-400.xml +0 -61
  384. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-100.xml +0 -79
  385. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-110.xml +0 -79
  386. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-200.xml +0 -79
  387. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-210.xml +0 -79
  388. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-300.xml +0 -79
  389. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-310.xml +0 -79
  390. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-400.xml +0 -79
  391. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/OrderResponse/ordresp-410.xml +0 -79
  392. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Organization/org-uslab-example3.xml +0 -49
  393. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Patient/patient-uslab-example1.xml +0 -44
  394. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example1.xml +0 -18
  395. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Practitioner/pract-uslab-example3.xml +0 -36
  396. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/Thumbs.db +0 -0
  397. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-100.xml +0 -65
  398. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-400.xml +0 -70
  399. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Specimen/spec-uslab-example1.xml +0 -82
  400. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 1 Document.txt +0 -122
  401. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 2 Document.txt +0 -103
  402. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 3 Document.txt +0 -201
  403. data/lib/tests/testscripts/xml/Connectathon11/Track7-LabOrderLabReport/_reference/resources/Testscript 4 Document.txt +0 -310
  404. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/MedicationStatementCreate.xml +0 -11
  405. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/conformance/PatientSearchType.xml +0 -15
  406. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-create.json +0 -39
  407. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/_reference/resources/medicationstatement-patch.json +0 -3
  408. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json-if-match.xml +0 -321
  409. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-medicationstatement-json.xml +0 -303
  410. data/lib/tests/testscripts/xml/Connectathon11/Track9-Patch/track9-patch-peer2peer-patient-json.xml +0 -235
  411. data/test/fixtures/testscript-example.xml +0 -202
  412. data/test/fixtures/testscript-history.xml +0 -143
  413. data/test/fixtures/testscript-readtest.xml +0 -272
  414. data/test/fixtures/testscript-search.xml +0 -282
  415. data/test/fixtures/testscript-update.xml +0 -147
  416. data/test/unit/argonaut_sprint6_test.rb +0 -31
  417. data/test/unit/argonaut_sprint7_test.rb +0 -21
  418. data/test/unit/basic_test.rb +0 -27
  419. data/test/unit/fetch_patient_record_test.rb +0 -357
  420. data/test/unit/financial_test.rb +0 -41
@@ -1,7 +1,1754 @@
1
- <?xml version="1.0" encoding="UTF-8"?><Conformance xmlns="http://hl7.org/fhir">
1
+ <?xml version="1.0" encoding="UTF-8"?><CapabilityStatement xmlns="http://hl7.org/fhir">
2
2
  <id value="conformance-daf-query-responder"/>
3
+ <text>
4
+ <status value="generated"/>
5
+ <div xmlns="http://www.w3.org/1999/xhtml">
6
+
7
+ <h2>DAF Responder</h2>
8
+
9
+ <p>(Requirements Definition)</p>
10
+
11
+ <p>Published: 2015-04-02</p>
12
+
13
+ <p>Published by:
14
+ <b>
15
+
16
+ <a href="http://www.healthit.gov/">U.S. Office of the National Coordinator (ONC)</a>
17
+
18
+ </b>
19
+
20
+ </p>
21
+
22
+ <p>This profile defines the expected capabilities of the
23
+ <i>DAF Responder</i> actor when conforming to the
24
+ <a href="daf.html">DAF FHIR IG</a>. The profile includes the complete list of actual profiles, RESTful operations, search parameters supported by DAF Responders. DAF Requestors have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.
25
+ </p>
26
+
27
+ <h2>General</h2>
28
+
29
+ <table>
30
+
31
+ <tbody>
32
+
33
+ <tr>
34
+
35
+ <th>FHIR Version:</th>
36
+
37
+ <td>DSTU2</td>
38
+
39
+ </tr>
40
+
41
+ <tr>
42
+
43
+ <th>Supported formats:</th>
44
+
45
+ <td>json and xml</td>
46
+
47
+ </tr>
48
+
49
+ </tbody>
50
+
51
+ </table>
52
+
53
+
54
+ <h2>REST behavior</h2>
55
+
56
+ <p>The DAF Responder SHALL support the
57
+ <a href="patient-daf.html">DAF-Patient</a> resource profile. In addition to the DAFPatient, the DAF Responder SHALL support at least one additional resource profile from the list of
58
+ <a href="daf.html">DAF profiles</a>.
59
+ The DAF Responder SHALL implement REST behavior according to the
60
+ <a href="../http.html">FHIR</a> specification.
61
+ The DAF Responder SHALL support both json and xml resource formats for all DAF interactions. The DAF Responder SHALL identify the DAF profile(s) supported as part of the FHIR BaseResource.Meta.profile attribute for each instance.
62
+ </p>
63
+
64
+ <p>
65
+
66
+ <b>Security:</b>
67
+
68
+ </p>
69
+
70
+ <p>DAF Responders SHALL meet the security requirements documented in the
71
+ <a href="daf-security.html">DAF FHIR IG</a>.
72
+ </p>
73
+
74
+ <h3>RESTful Operations Summary</h3>
75
+
76
+ <table class="grid">
77
+
78
+ <thead>
79
+
80
+ <tr>
81
+
82
+ <th>Resource(Profile Name)</th>
83
+
84
+ <th>
85
+ <a href="../type-restful-interaction.html">Search</a>
86
+ </th>
87
+
88
+ <th>
89
+ <a href="../type-restful-interaction.html">Read</a>
90
+ </th>
91
+
92
+ <th>
93
+ <a href="../type-restful-interaction.html">Read Version</a>
94
+ </th>
95
+
96
+ <th>
97
+ <a href="../type-restful-interaction.html">Instance History</a>
98
+ </th>
99
+
100
+ </tr>
101
+
102
+ </thead>
103
+
104
+ <tbody>
105
+
106
+ <tr>
107
+
108
+ <th>
109
+ <a href="patient-daf.html">DAF-Patient</a>
110
+ </th>
111
+
112
+ <td>
113
+
114
+ <a href="#DAFPatientSearch" title="Allows discovery of DAF-Patient resources based on different search criteria">SHALL</a>
115
+
116
+ </td>
117
+
118
+ <td>
119
+
120
+ <a href="#DAFPatientSearch" title="Allows retrieval of a specific DAF-Patients by resource id">SHALL</a>
121
+
122
+ </td>
123
+
124
+ <td>
125
+
126
+ <a href="#DAFPatientSearch" title="Allows retrieval of a historical version of a DAF-Patient">SHOULD</a>
127
+
128
+ </td>
129
+
130
+ <td>
131
+
132
+ <a href="#DAFPatientSearch" title="Allows review of changes to DAF-Patient over time">SHOULD</a>
133
+
134
+ </td>
135
+
136
+ </tr>
137
+
138
+ <tr>
139
+
140
+ <th>
141
+ <a href="allergyintolerance-daf.html">DAF-AllergyIntolerance</a>
142
+ </th>
143
+
144
+ <td>
145
+
146
+ <a href="#DAFAllergyIntoleranceSearch" title="Allows discovery of DAF-AllergyIntolerance resources based on different search criteria">SHALL</a>
147
+
148
+ </td>
149
+
150
+ <td>
151
+
152
+ <a href="#DAFAllergyIntoleranceSearch" title="Allows retrieval of a specific DAF-AllergyIntolerance by id">SHALL</a>
153
+
154
+ </td>
155
+
156
+ <td>
157
+
158
+ <a href="#DAFAllergyIntoleranceSearch" title="Allows retrieval of a historical version of a DAF-AllergyIntolerance">SHOULD</a>
159
+
160
+ </td>
161
+
162
+ <td>
163
+
164
+ <a href="#DAFAllergyIntoleranceSearch" title="Allows review of changes to DAF-AllergyIntolerance over time">SHOULD</a>
165
+
166
+ </td>
167
+
168
+ </tr>
169
+
170
+ <tr>
171
+
172
+ <th>
173
+ <a href="DiagnosticRequest-daf.html">DAF-DiagnosticRequest</a>
174
+ </th>
175
+
176
+ <td>
177
+
178
+ <a href="#DAFDiagnosticRequestSearch" title="Allows discovery of DAF-DiagnosticRequest resources based on different search criteria">SHALL</a>
179
+
180
+ </td>
181
+
182
+ <td>
183
+
184
+ <a href="#DAFDiagnosticRequestSearch" title="Allows retrieval of a specific DAF-DiagnosticRequest by id">SHALL</a>
185
+
186
+ </td>
187
+
188
+ <td>
189
+
190
+ <a href="#DAFDiagnosticRequestSearch" title="Allows retrieval of a historical version of a DAF-DiagnosticRequest">SHOULD</a>
191
+
192
+ </td>
193
+
194
+ <td>
195
+
196
+ <a href="#DAFDiagnosticRequestSearch" title="Allows review of changes to DAF-DiagnosticRequest over time">SHOULD</a>
197
+
198
+ </td>
199
+
200
+ </tr>
201
+
202
+ <tr>
203
+
204
+ <th>
205
+ <a href="diagnosticreport-daf.html">DAF-DiagnosticReport</a>
206
+ </th>
207
+
208
+ <td>
209
+
210
+ <a href="#DAFDiagnosticReportSearch" title="Allows discovery of DAF-DiagnosticReport resources based on different search criteria">SHALL</a>
211
+
212
+ </td>
213
+
214
+ <td>
215
+
216
+ <a href="#DAFDiagnosticReportSearch" title="Allows retrieval of a specific DAF-DiagnosticReport by id">SHALL</a>
217
+
218
+ </td>
219
+
220
+ <td>
221
+
222
+ <a href="#DAFDiagnosticReportSearch" title="Allows retrieval of a historical version of a DAF-DiagnosticReport">SHOULD</a>
223
+
224
+ </td>
225
+
226
+ <td>
227
+
228
+ <a href="#DAFDiagnosticReportSearch" title="Allows review of changes to DAF-DiagnosticReport over time">SHOULD</a>
229
+
230
+ </td>
231
+
232
+ </tr>
233
+
234
+ <tr>
235
+
236
+ <th>
237
+ <a href="encounter-daf.html">DAF-Encounter</a>
238
+ </th>
239
+
240
+ <td>
241
+
242
+ <a href="#DAFEncounterSearch" title="Allows discovery of DAF-Encounter resources based on different search criteria">SHALL</a>
243
+
244
+ </td>
245
+
246
+ <td>
247
+
248
+ <a href="#DAFEncounterSearch" title="Allows retrieval of a specific DAF-Encounter by id">SHALL</a>
249
+
250
+ </td>
251
+
252
+ <td>
253
+
254
+ <a href="#DAFEncounterSearch" title="Allows retrieval of a historical version of a DAF-Encounter">SHOULD</a>
255
+
256
+ </td>
257
+
258
+ <td>
259
+
260
+ <a href="#DAFEncounterSearch" title="Allows review of changes to DAF-Encounter over time">SHOULD</a>
261
+
262
+ </td>
263
+
264
+ </tr>
265
+
266
+ <tr>
267
+
268
+ <th>
269
+ <a href="familymemberhistory-daf.html">DAF-FamilyMemberHistory</a>
270
+ </th>
271
+
272
+ <td>
273
+
274
+ <a href="#DAFFamilyMemberHistorySearch" title="Allows discovery of DAF-FamilyMemberHistory resources based on different search criteria">SHALL</a>
275
+
276
+ </td>
277
+
278
+ <td>
279
+
280
+ <a href="#DAFFamilyMemberHistorySearch" title="Allows retrieval of a specific DAF-FamilyMemberHistory by id">SHALL</a>
281
+
282
+ </td>
283
+
284
+ <td>
285
+
286
+ <a href="#DAFFamilyMemberHistorySearch" title="Allows retrieval of a historical version of a DAF-FamilyMemberHistory">SHOULD</a>
287
+
288
+ </td>
289
+
290
+ <td>
291
+
292
+ <a href="#DAFFamilyMemberHistorySearch" title="Allows review of changes to DAF-FamilyMemberHistory over time">SHOULD</a>
293
+
294
+ </td>
295
+
296
+ </tr>
297
+
298
+ <tr>
299
+
300
+ <th>
301
+ <a href="immunization-daf.html">DAF-Immunization</a>
302
+ </th>
303
+
304
+ <td>
305
+
306
+ <a href="#DAFImmunizationSearch" title="Allows discovery of DAF-Immunization resources based on different search criteria">SHALL</a>
307
+
308
+ </td>
309
+
310
+ <td>
311
+
312
+ <a href="#DAFImmunizationSearch" title="Allows retrieval of a specific DAF-Immunization by id">SHALL</a>
313
+
314
+ </td>
315
+
316
+ <td>
317
+
318
+ <a href="#DAFImmunizationSearch" title="Allows retrieval of a historical version of a DAF-Immunization">SHOULD</a>
319
+
320
+ </td>
321
+
322
+ <td>
323
+
324
+ <a href="#DAFImmunizationSearch" title="Allows review of changes to DAF-Immunization over time">SHOULD</a>
325
+
326
+ </td>
327
+
328
+ </tr>
329
+
330
+ <tr>
331
+
332
+ <th>
333
+ <a href="observation-daf-results.html">DAF-Results</a>
334
+ </th>
335
+
336
+ <td>
337
+
338
+ <a href="#DAFResultsSearch" title="Allows discovery of DAF-Results resources based on different search criteria">SHALL</a>
339
+
340
+ </td>
341
+
342
+ <td>
343
+
344
+ <a href="#DAFResultsSearch" title="Allows retrieval of a specific DAF-Results by id">SHALL</a>
345
+
346
+ </td>
347
+
348
+ <td>
349
+
350
+ <a href="#DAFResultsSearch" title="Allows retrieval of a historical version of a DAF-Results">SHOULD</a>
351
+
352
+ </td>
353
+
354
+ <td>
355
+
356
+ <a href="#DAFResultsSearch" title="Allows review of changes to DAF-Results over time">SHOULD</a>
357
+
358
+ </td>
359
+
360
+ </tr>
361
+
362
+ <tr>
363
+
364
+ <th>
365
+ <a href="medication-daf.html">DAF-Medication</a>
366
+ </th>
367
+
368
+ <td>
369
+
370
+ <a href="#DAFMedicationSearch" title="Allows discovery of DAF-Medication resources based on different search criteria">SHALL</a>
371
+
372
+ </td>
373
+
374
+ <td>
375
+
376
+ <a href="#DAFMedicationSearch" title="Allows retrieval of a specific DAF-Medication by id">SHALL</a>
377
+
378
+ </td>
379
+
380
+ <td>
381
+
382
+ <a href="#DAFMedicationSearch" title="Allows retrieval of a historical version of a DAF-Medication">SHOULD</a>
383
+
384
+ </td>
385
+
386
+ <td>
387
+
388
+ <a href="#DAFMedicationSearch" title="Allows review of changes to DAF-Medication over time">SHOULD</a>
389
+
390
+ </td>
391
+
392
+ </tr>
393
+
394
+ <tr>
395
+
396
+ <th>
397
+ <a href="medicationstatement-daf.html">DAF-MedicationStatement</a>
398
+ </th>
399
+
400
+ <td>
401
+
402
+ <a href="#DAFMedicationStatementSearch" title="Allows discovery of DAF-MedicationStatement resources based on different search criteria">SHALL</a>
403
+
404
+ </td>
405
+
406
+ <td>
407
+
408
+ <a href="#DAFMedicationStatementSearch" title="Allows retrieval of a specific DAF-MedicationStatement by id">SHALL</a>
409
+
410
+ </td>
411
+
412
+ <td>
413
+
414
+ <a href="#DAFMedicationStatementSearch" title="Allows retrieval of a historical version of a DAF-MedicationStatement">SHOULD</a>
415
+
416
+ </td>
417
+
418
+ <td>
419
+
420
+ <a href="#DAFMedicationStatementSearch" title="Allows review of changes to DAF-MedicationStatement over time">SHOULD</a>
421
+
422
+ </td>
423
+
424
+ </tr>
425
+
426
+ <tr>
427
+
428
+ <th>
429
+ <a href="medicationadministration-daf.html">DAF-MedicationAdministration</a>
430
+ </th>
431
+
432
+ <td>
433
+
434
+ <a href="#DAFMedicationAdministrationSearch" title="Allows discovery of DAF-MedicationAdministration resources based on different search criteria">SHALL</a>
435
+
436
+ </td>
437
+
438
+ <td>
439
+
440
+ <a href="#DAFMedicationAdministrationSearch" title="Allows retrieval of a specific DAF-MedicationAdministration by id">SHALL</a>
441
+
442
+ </td>
443
+
444
+ <td>
445
+
446
+ <a href="#DAFMedicationAdministrationSearch" title="Allows retrieval of a historical version of a DAF-MedicationAdministration">SHOULD</a>
447
+
448
+ </td>
449
+
450
+ <td>
451
+
452
+ <a href="#DAFMedicationAdministrationSearch" title="Allows review of changes to DAF-MedicationAdministration over time">SHOULD</a>
453
+
454
+ </td>
455
+
456
+ </tr>
457
+
458
+ <tr>
459
+
460
+ <th>
461
+ <a href="medicationorder-daf.html">DAF-MedicationRequest</a>
462
+ </th>
463
+
464
+ <td>
465
+
466
+ <a href="#DAFMedicationRequestSearch" title="Allows discovery of DAF-MedicationRequest resources based on different search criteria">SHALL</a>
467
+
468
+ </td>
469
+
470
+ <td>
471
+
472
+ <a href="#DAFMedicationRequestSearch" title="Allows retrieval of a specific DAF-MedicationRequest by id">SHALL</a>
473
+
474
+ </td>
475
+
476
+ <td>
477
+
478
+ <a href="#DAFMedicationRequestSearch" title="Allows retrieval of a historical version of a DAF-MedicationRequest">SHOULD</a>
479
+
480
+ </td>
481
+
482
+ <td>
483
+
484
+ <a href="#DAFMedicationRequestSearch" title="Allows review of changes to DAF-MedicationRequest over time">SHOULD</a>
485
+
486
+ </td>
487
+
488
+ </tr>
489
+
490
+ <tr>
491
+
492
+ <th>
493
+ <a href="medicationdispense-daf.html">DAF-MedicationDispense</a>
494
+ </th>
495
+
496
+ <td>
497
+
498
+ <a href="#DAFMedicationDispenseSearch" title="Allows discovery of DAF-MedicationDispense resources based on different search criteria">SHALL</a>
499
+
500
+ </td>
501
+
502
+ <td>
503
+
504
+ <a href="#DAFMedicationDispenseSearch" title="Allows retrieval of a specific DAF-MedicationDispense by id">SHALL</a>
505
+
506
+ </td>
507
+
508
+ <td>
509
+
510
+ <a href="#DAFMedicationDispenseSearch" title="Allows retrieval of a historical version of a DAF-MedicationDispense">SHOULD</a>
511
+
512
+ </td>
513
+
514
+ <td>
515
+
516
+ <a href="#DAFMedicationDispenseSearch" title="Allows review of changes to DAF-MedicationDispense over time">SHOULD</a>
517
+
518
+ </td>
519
+
520
+ </tr>
521
+
522
+
523
+ <tr>
524
+
525
+ <th>
526
+ <a href="condition-daf.html">DAF-Condition</a>
527
+ </th>
528
+
529
+ <td>
530
+
531
+ <a href="#DAFConditionSearch" title="Allows discovery of DAF-Condition resources based on different search criteria">SHALL</a>
532
+
533
+ </td>
534
+
535
+ <td>
536
+
537
+ <a href="#DAFConditionSearch" title="Allows retrieval of a specific DAF-Condition by id">SHALL</a>
538
+
539
+ </td>
540
+
541
+ <td>
542
+
543
+ <a href="#DAFConditionSearch" title="Allows retrieval of a historical version of a DAF-Condition">SHOULD</a>
544
+
545
+ </td>
546
+
547
+ <td>
548
+
549
+ <a href="#DAFConditionSearch" title="Allows review of changes to DAF-Condition over time">SHOULD</a>
550
+
551
+ </td>
552
+
553
+ </tr>
554
+
555
+ <tr>
556
+
557
+ <th>
558
+ <a href="procedure-daf.html">DAF-Procedure</a>
559
+ </th>
560
+
561
+ <td>
562
+
563
+ <a href="#DAFProcedureSearch" title="Allows discovery of DAF-Procedure resources based on different search criteria">SHALL</a>
564
+
565
+ </td>
566
+
567
+ <td>
568
+
569
+ <a href="#DAFProcedureSearch" title="Allows retrieval of a specific DAF-Procedure by id">SHALL</a>
570
+
571
+ </td>
572
+
573
+ <td>
574
+
575
+ <a href="#DAFProcedureSearch" title="Allows retrieval of a historical version of a DAF-Procedure">SHOULD</a>
576
+
577
+ </td>
578
+
579
+ <td>
580
+
581
+ <a href="#DAFProcedureSearch" title="Allows review of changes to DAF-Procedure over time">SHOULD</a>
582
+
583
+ </td>
584
+
585
+ </tr>
586
+
587
+ <tr>
588
+
589
+ <th>
590
+ <a href="observation-daf-smokingstatus.html">DAF-SmokingStatus</a>
591
+ </th>
592
+
593
+ <td>
594
+
595
+ <a href="#DAFSmokingStatusSearch" title="Allows discovery of DAF-SmokingStatus resources based on different search criteria">SHALL</a>
596
+
597
+ </td>
598
+
599
+ <td>
600
+
601
+ <a href="#DAFSmokingStatusSearch" title="Allows retrieval of a specific DAF-SmokingStatus by id">SHALL</a>
602
+
603
+ </td>
604
+
605
+ <td>
606
+
607
+ <a href="#DAFSmokingStatusSearch" title="Allows retrieval of a historical version of a DAF-SmokingStatus">SHOULD</a>
608
+
609
+ </td>
610
+
611
+ <td>
612
+
613
+ <a href="#DAFSmokingStatusSearch" title="Allows review of changes to DAF-SmokingStatus over time">SHOULD</a>
614
+
615
+ </td>
616
+
617
+ </tr>
618
+
619
+ <tr>
620
+
621
+ <th>
622
+ <a href="observation-daf-vitalsigns.html">DAF-VitalSigns</a>
623
+ </th>
624
+
625
+ <td>
626
+
627
+ <a href="#DAFVitalSignsSearch" title="Allows discovery of DAF-VitalSigns resources based on different search criteria">SHALL</a>
628
+
629
+ </td>
630
+
631
+ <td>
632
+
633
+ <a href="#DAFVitalSignsSearch" title="Allows retrieval of a specific DAF-VitalSigns by id">SHALL</a>
634
+
635
+ </td>
636
+
637
+ <td>
638
+
639
+ <a href="#DAFVitalSignsSearch" title="Allows retrieval of a historical version of a DAF-VitalSigns">SHOULD</a>
640
+
641
+ </td>
642
+
643
+ <td>
644
+
645
+ <a href="#DAFVitalSignsSearch" title="Allows review of changes to DAF-VitalSigns over time">SHOULD</a>
646
+
647
+ </td>
648
+
649
+ </tr>
650
+
651
+ <tr>
652
+
653
+ <th>
654
+ <a href="list-daf.html">DAF List</a>
655
+ </th>
656
+
657
+ <td>
658
+
659
+ <a href="#DAFListSearch" title="Allows discovery of DAF List resources based on different search criteria">SHALL</a>
660
+
661
+ </td>
662
+
663
+ <td>
664
+
665
+ <a href="#DAFListSearch" title="Allows retrieval of a specific DAF List by id">SHALL</a>
666
+
667
+ </td>
668
+
669
+ <td>
670
+
671
+ <a href="#DAFListSearch" title="Allows retrieval of a historical version of a DAF List">SHOULD</a>
672
+
673
+ </td>
674
+
675
+ <td>
676
+
677
+ <a href="#DAFListSearch" title="Allows review of changes to DAF List over time">SHOULD</a>
678
+
679
+ </td>
680
+
681
+ </tr>
682
+
683
+ </tbody>
684
+
685
+ </table>
686
+
687
+ <br/>
688
+
689
+ <br/>
690
+
691
+
692
+ <h3>Supported profiles</h3>
693
+
694
+ <p>DAF Responders SHALL support the
695
+ <a href="patient-daf.html">DAFPatient</a> profile. In addition to the DAFPatient profile, DAF Responders SHALL support at least one more profile (for e.g DAFCondition, DAFMedicationAdministration, DAFResults) from the DAF profiles listed in the DAF implementation guide.
696
+ </p>
697
+
698
+
699
+ <h3>Search Operations Summary</h3>
700
+
701
+ <p>DAF Responders SHALL support the following common parameters as part of queries related to DAF profiles:</p>
702
+
703
+ <ul>
704
+
705
+ <li>
706
+ <a href="../search.html#id">_id</a>
707
+ </li>
708
+
709
+ <li>
710
+ <a href="../search.html#lastUpdated">_lastUpdated</a>
711
+ </li>
712
+
713
+ <li>
714
+ <a href="../search.html#profile">_profile</a>
715
+ </li>
716
+
717
+ <li>
718
+ <a href="../search.html#security">_security</a>
719
+ </li>
720
+
721
+ <li>
722
+ <a href="../search.html#tag">_tag</a>
723
+ </li>
724
+
725
+ <li>
726
+ <a href="../search.html#text">_text</a>
727
+ </li>
728
+
729
+ <li>
730
+ <a href="../search.html#count">_count</a>
731
+ </li>
732
+
733
+ <li>
734
+ <a href="../search.html#include">_include</a>
735
+ </li>
736
+
737
+ <li>
738
+ <a href="../search.html#summary">_summary</a>
739
+ </li>
740
+
741
+ <li>
742
+ <a href="../search.html#contained">_contained</a>
743
+ </li>
744
+
745
+ <li>
746
+ <a href="../search.html#containedType">_containedType</a>
747
+ </li>
748
+
749
+ </ul>
750
+
751
+
752
+ <p>DAF Responders SHALL support the following search contexts defined within the
753
+ <a href="../search.html#Introduction">FHIR</a>specification.
754
+ </p>
755
+
756
+ <ul>
757
+
758
+ <li>Search context by specifying a particular resource type</li>
759
+
760
+ <li>Search context which specifies a compartment</li>
761
+
762
+ </ul>
763
+
764
+ <p>DAF Responders SHALL support
765
+ <a href="../search.html#Modifiers">Modifiers</a> as applicable to the data types of the search parameters. DAF Responders SHALL also support
766
+ <a href="../search.html#Composite Search Parameters">Composite Search Parameters</a> as defined in the FHIR specification.
767
+ </p>
768
+
769
+ <table class="grid">
770
+
771
+ <thead>
772
+
773
+ <tr>
774
+
775
+ <th>Resource Name</th>
776
+
777
+ <th>Search and Include Parameters</th>
778
+
779
+ </tr>
780
+
781
+ </thead>
782
+
783
+ <tbody>
784
+
785
+ <tr>
786
+
787
+ <td id="DAFPatientSearch">DAF-Patient</td>
788
+
789
+ <td>
790
+
791
+ <ul>
792
+
793
+ <li>
794
+ <a href="../patient.html#search">name</a> - Search based on given name or family name or text name (
795
+ <a href="../search.html#string">string</a>)
796
+ </li>
797
+
798
+ <li>
799
+ <a href="../patient.html#search">family</a> - Search based on family name (
800
+ <a href="../search.html#string">string</a>)
801
+ </li>
802
+
803
+ <li>
804
+ <a href="../patient.html#search">given</a> - Search based on given name (
805
+ <a href="../search.html#string">string</a>)
806
+ </li>
807
+
808
+ <li>
809
+ <a href="../patient.html#search">identifier</a> - Search based on patient identifier (
810
+ <a href="../search.html#token">token</a>)
811
+ </li>
812
+
813
+ <li>
814
+ <a href="../patient.html#search">gender</a> - Search based on gender (
815
+ <a href="../search.html#token">token</a>)
816
+ </li>
817
+
818
+ <li>
819
+ <a href="../patient.html#search">birthdate</a> - Search based on birthDate (
820
+ <a href="../search.html#date">date</a>)
821
+ </li>
822
+ <!--
823
+ <li>
824
+ <a href="../patient.html#search">language</a> - Search based on preferred language (
825
+ <a href="../search.html#token">token</a>)
826
+ </li>
827
+
828
+ <li>
829
+ <a href="../patient.html#search">telecom</a> - Search based on telecom (
830
+ <a href="../search.html#token">token</a>)
831
+ </li>
832
+
833
+
834
+
835
+ <li>
836
+ <a href="../patient-extensions.html#search">address-city</a> - Search based on City (
837
+ <a href="../search.html#string">string</a>)
838
+ </li>
839
+
840
+ <li>
841
+ <a href="../patient-extensions.html#search">address-postalCode</a> - Search based on postal code (
842
+ <a href="../search.html#string">string</a>)
843
+ </li>
844
+
845
+ <li>
846
+ <a href="../patient-extensions.html#search">address-state</a> - Search based on state (
847
+ <a href="../search.html#string">string</a>)
848
+ </li>
849
+
850
+ <li>
851
+ <a href="../patient-extensions.html#search">mothersMaidenName</a> - Search based on Patient mother&#39;s Maiden Name (
852
+ <a href="../search.html#string">string</a>)
853
+ </li>
854
+
855
+ <li>
856
+ <a href="../patient-extensions.html#search">age</a> - Search based on Patient&#39;s age (
857
+ <a href="../search.html#number">number</a>)
858
+ </li>
859
+
860
+ <li>
861
+ <a href="../us-core.html#search">race</a> - Search based on patient&#39;s race (
862
+ <a href="../search.html#token">token</a>)
863
+ </li>
864
+
865
+ <li>
866
+ <a href="../us-core.html#search">ethnicity</a> - Search based on patient&#39;s ethnicity (
867
+ <a href="../search.html#token">token</a>)
868
+ </li>
869
+ -->
870
+ <li>
871
+ <a href="../patient-operations.html#everything">$everything</a> - Return the entire patient record for a single patient.
872
+ </li>
873
+
874
+ </ul>
875
+
876
+ </td>
877
+
878
+ </tr>
879
+
880
+ <tr>
881
+
882
+ <td id="DAFAllergyIntoleranceSearch">DAF-AllergyIntolerance</td>
883
+
884
+ <td>
885
+
886
+ <ul>
887
+
888
+ <li>
889
+ <a href="../allergyintolerance.html#search">identifier</a> - Search AllergyIntolerances by identifiers(
890
+ <a href="../search.html#token">token</a>)
891
+ </li>
892
+
893
+ <li>
894
+ <a href="../allergyintolerance.html#search">patient</a> - Search allergies for a patient(
895
+ <a href="../search.html#reference">reference</a>)
896
+ </li>
897
+
898
+ <li>Chained parameter - patient.identifier</li>
899
+
900
+ <li>
901
+ <a href="../allergyintolerance.html#search">category</a> - Search based on category(
902
+ <a href="../search.html#token">token</a>)
903
+ </li>
904
+
905
+ <li>
906
+ <a href="../allergyintolerance.html#search">status</a> - Search based on allergy status(
907
+ <a href="../search.html#token">token</a>)
908
+ </li>
909
+
910
+ <li>
911
+ <a href="../allergyintolerance.html#search">substance</a> - Search based on allergy substance(
912
+ <a href="../search.html#token">token</a>)
913
+ </li>
914
+
915
+ <li>
916
+ <a href="../allergyintolerance.html#search">manifestation</a> - Search based on allergy reaction(
917
+ <a href="../search.html#token">token</a>)
918
+ </li>
919
+
920
+ <li>
921
+ <a href="../allergyintolerance.html#search">severity</a> - Search based on allergy severity(
922
+ <a href="../search.html#token">token</a>)
923
+ </li>
924
+
925
+ <li>
926
+ <a href="../allergyintolerance.html#search">onset</a> - Search based on when allergies manifested(
927
+ <a href="../search.html#date">date</a>)
928
+ </li>
929
+
930
+ <li>Include parameter - AllergyIntolerance.patient</li>
931
+
932
+ </ul>
933
+
934
+ </td>
935
+
936
+ </tr>
937
+
938
+ <tr>
939
+
940
+ <td id="DAFDiagnosticRequestSearch">DAF-DiagnosticRequest</td>
941
+
942
+ <td>
943
+
944
+ <ul>
945
+
946
+ <li>
947
+ <a href="../DiagnosticRequest.html#search">identifier</a> - Search for DiagnosticRequest by identifiers (
948
+ <a href="../search.html#token">token</a>)
949
+ </li>
950
+
951
+ <li>
952
+ <a href="../DiagnosticRequest.html#search">patient</a> - Search for DiagnosticRequests for a patient (
953
+ <a href="../search.html#reference">reference</a>)
954
+ </li>
955
+
956
+ <li>Chained parameter - patient.identifier</li>
957
+
958
+ <li>
959
+ <a href="../DiagnosticRequest.html#search">orderer</a> - Search based on ordering provider (
960
+ <a href="../search.html#reference">reference</a>)
961
+ </li>
962
+
963
+ <li>Chained parameter - orderer.identifier</li>
964
+
965
+ <li>
966
+ <a href="../DiagnosticRequest.html#search">code</a> - Search based on type of the test ordered (
967
+ <a href="../search.html#token">token</a>)
968
+ </li>
969
+
970
+ <li>
971
+ <a href="../DiagnosticRequest.html#search">encounter</a> - Search based on encounter resulting in the order (
972
+ <a href="../search.html#reference">reference</a>)
973
+ </li>
974
+
975
+ <li>Chained parameter - encounter.identifier</li>
976
+
977
+ <li>
978
+ <a href="../DiagnosticRequest.html#search">item-date</a> - Search based on order date (
979
+ <a href="../search.html#date">date</a>)
980
+ </li>
981
+
982
+ <li>Include parameter - DiagnosticRequest.subject</li>
983
+
984
+ <li>Include parameter - DiagnosticRequest.orderer</li>
985
+
986
+ <li>Include parameter - DiagnosticRequest.encounter</li>
987
+
988
+
989
+ </ul>
990
+
991
+ </td>
992
+
993
+ </tr>
994
+
995
+ <tr>
996
+
997
+ <td id="DAFDiagnosticReportSearch">DAF-DiagnosticReport</td>
998
+
999
+ <td>
1000
+
1001
+ <ul>
1002
+
1003
+ <li>
1004
+ <a href="../diagnosticreport.html#search">identifier</a> - Search for DiagnosticReport by identifiers (
1005
+ <a href="../search.html#token">token</a>)
1006
+ </li>
1007
+
1008
+ <li>
1009
+ <a href="../diagnosticreport.html#search">patient</a> - Search for DiagnosticReport for a patient (
1010
+ <a href="../search.html#reference">reference</a>)
1011
+ </li>
1012
+
1013
+ <li>Chained parameter - patient.identifier</li>
1014
+
1015
+ <li>
1016
+ <a href="../diagnosticreport.html#search">date</a> - Search based on DiagnosticReport date (
1017
+ <a href="../search.html#date">date</a>)
1018
+ </li>
1019
+
1020
+ <li>
1021
+ <a href="../diagnosticreport.html#search">encounter</a> - Search based on encounter resulting in the diagnostic report (
1022
+ <a href="../search.html#reference">reference</a>)
1023
+ </li>
1024
+
1025
+ <li>Chained parameter - encounter.identifier</li>
1026
+
1027
+ <li>
1028
+ <a href="../diagnosticreport.html#search">performer</a> - Search based on diagnostic report performer (
1029
+ <a href="../search.html#reference">reference</a>)
1030
+ </li>
1031
+
1032
+ <li>Chained parameter - performer.identifier</li>
1033
+
1034
+ <li>
1035
+ <a href="../diagnosticreport.html#search">result</a> - Search based on results included in the diagnostic report (
1036
+ <a href="../search.html#reference">reference</a>)
1037
+ </li>
1038
+
1039
+ <li>Chained parameter - result.code</li>
1040
+
1041
+ <li>Include parameter - DiagnosticReport.subject</li>
1042
+
1043
+ <li>Include parameter - DiagnosticReport.performer</li>
1044
+
1045
+ <li>Include parameter - DiagnosticReport.encounter</li>
1046
+
1047
+ <li>Include parameter - DiagnosticReport.result</li>
1048
+
1049
+ </ul>
1050
+
1051
+ </td>
1052
+
1053
+ </tr>
1054
+
1055
+ <tr>
1056
+
1057
+ <td id="DAFEncounterSearch">DAF-Encounter</td>
1058
+
1059
+ <td>
1060
+
1061
+ <ul>
1062
+
1063
+ <li>
1064
+ <a href="../encounter.html#search">identifier</a> - Search for Encounter by identifiers (
1065
+ <a href="../search.html#token">token</a>)
1066
+ </li>
1067
+
1068
+ <li>
1069
+ <a href="../encounter.html#search">patient</a> - Search for Encounter for a patient (
1070
+ <a href="../search.html#reference">reference</a>)
1071
+ </li>
1072
+
1073
+ <li>Chained parameter - patient.identifier</li>
1074
+
1075
+ <li>
1076
+ <a href="../encounter.html#search">location</a> - Search based on Encounter location (
1077
+ <a href="../search.html#reference">reference</a>)
1078
+ </li>
1079
+
1080
+ <li>Chained parameter - location.identifier</li>
1081
+
1082
+ <li>
1083
+ <a href="../encounter.html#search">type</a> - Search based on type of the Encounter (
1084
+ <a href="../search.html#token">token</a>)
1085
+ </li>
1086
+
1087
+ <li>
1088
+ <a href="../encounter.html#search">date</a> - Search based on encounter start and end date (
1089
+ <a href="../search.html#date">date</a>)
1090
+ </li>
1091
+
1092
+ <li>
1093
+ <a href="../encounter.html#search">location-period</a> - Search based on time period during which the patient was at the location (
1094
+ <a href="../search.html#date">date</a>)
1095
+ </li>
1096
+
1097
+ <li>Include parameter - Encounter.patient</li>
1098
+
1099
+ <li>Include parameter - Encounter.location</li>
1100
+
1101
+ <li>
1102
+ <a href="../encounter-operations.html#everything">$everything</a> - Return all the data recorded as part of the encounter.
1103
+ </li>
1104
+
1105
+ </ul>
1106
+
1107
+ </td>
1108
+
1109
+ </tr>
1110
+
1111
+ <tr>
1112
+
1113
+ <td id="DAFFamilyMemberHistorySearch">DAF-FamilyMemberHistory</td>
1114
+
1115
+ <td>
1116
+
1117
+ <ul>
1118
+
1119
+ <li>
1120
+ <a href="../familymemberhistory.html#search">identifier</a> - Search for FamilyMemberHistory by identifiers (
1121
+ <a href="../search.html#token">token</a>)
1122
+ </li>
1123
+
1124
+ <li>
1125
+ <a href="../familymemberhistory.html#search">patient</a> - Search for FamilyMemberHistory for a patient (
1126
+ <a href="../search.html#reference">reference</a>)
1127
+ </li>
1128
+
1129
+ <li>Chained parameter - patient.identifier</li>
1130
+
1131
+ <li>
1132
+ <a href="../familymemberhistory.html#search">relationship</a> - Search based on FamilyMemberHistory Relationship type (
1133
+ <a href="../search.html#token">token</a>)
1134
+ </li>
1135
+
1136
+ <li>
1137
+ <a href="../familymemberhistory.html#search">code</a> - Search based on the clinical condition of the related person (
1138
+ <a href="../search.html#token">token</a>)
1139
+ </li>
1140
+
1141
+ <li>Include parameter - FamilyMemberHistory.patient</li>
1142
+
1143
+ </ul>
1144
+
1145
+ </td>
1146
+
1147
+ </tr>
1148
+
1149
+ <tr>
1150
+
1151
+ <td id="DAFImmunizationSearch">DAF-Immunization</td>
1152
+
1153
+ <td>
1154
+
1155
+ <ul>
1156
+
1157
+ <li>
1158
+ <a href="../immunization.html#search">identifier</a> - Search for Immunization by identifiers (
1159
+ <a href="../search.html#token">token</a>)
1160
+ </li>
1161
+
1162
+ <li>
1163
+ <a href="../immunization.html#search">patient</a> - Search for Immunization for a patient (
1164
+ <a href="../search.html#reference">reference</a>)
1165
+ </li>
1166
+
1167
+ <li>Chained parameter - patient.identifier</li>
1168
+
1169
+ <li>
1170
+ <a href="../immunization.html#search">date</a> - Search based on Immunization date (
1171
+ <a href="../search.html#date">date</a>)
1172
+ </li>
1173
+
1174
+ <li>
1175
+ <a href="../immunization.html#search">vaccine-code</a> - Search based on vaccine product administered (
1176
+ <a href="../search.html#token">token</a>)
1177
+ </li>
1178
+
1179
+ <li>
1180
+ <a href="../immunization.html#search">notgiven</a> - Search based on whether immunization was notgiven (
1181
+ <a href="../search.html#token">token</a>)
1182
+ </li>
1183
+
1184
+ <li>
1185
+ <a href="../immunization.html#search">lot-number</a> - Search based on vaccine lot number (
1186
+ <a href="../search.html#string">string</a>)
1187
+ </li>
1188
+
1189
+ <li>
1190
+ <a href="../immunization.html#search">requester</a> - Search based on ordering provider (
1191
+ <a href="../search.html#reference">reference</a>)
1192
+ </li>
1193
+
1194
+ <li>Chained parameter - requester.identifier</li>
1195
+
1196
+ <li>Include parameter - Immunization.patient</li>
1197
+
1198
+ <li>Include parameter - Immunization.performer</li>
1199
+
1200
+ <li>Include parameter - Immunization.requester</li>
1201
+
1202
+ <li>Include parameter - Immunization.manufacturer</li>
1203
+
1204
+ <li>Include parameter - Immunization.reaction.detail</li>
1205
+
1206
+ </ul>
1207
+
1208
+ </td>
1209
+
1210
+ </tr>
1211
+
1212
+ <tr>
1213
+
1214
+ <td id="DAFResultsSearch">DAF-Results</td>
1215
+
1216
+ <td>
1217
+
1218
+ <ul>
1219
+
1220
+ <li>
1221
+ <a href="../observation.html#search">identifier</a> - Search for test by identifiers (
1222
+ <a href="../search.html#token">token</a>)
1223
+ </li>
1224
+
1225
+ <li>
1226
+ <a href="../observation.html#search">patient</a> - Search for test for a patient (
1227
+ <a href="../search.html#reference">reference</a>)
1228
+ </li>
1229
+
1230
+ <li>Chained parameter - patient.identifier</li>
1231
+
1232
+ <li>
1233
+ <a href="../observation.html#search">code</a> - Search based on test code (
1234
+ <a href="../search.html#token">token</a>)
1235
+ </li>
1236
+
1237
+ <li>
1238
+ <a href="../observation.html#search">value-concept</a> - Search for a test with a specific value which is a code (
1239
+ <a href="../search.html#token">token</a>)
1240
+ </li>
1241
+
1242
+ <li>
1243
+ <a href="../observation.html#search">value-quantity</a> - Search for a test with a value which is a quantity (
1244
+ <a href="../search.html#quantity">quantity</a>)
1245
+ </li>
1246
+
1247
+ <li>
1248
+ <a href="../observation.html#search">code-value[x]</a> - Search for a test with a test name and value (
1249
+ <a href="../search.html#composite">composite</a>)
1250
+ </li>
1251
+
1252
+ <li>
1253
+ <a href="../observation.html#search">date</a> - Search based on test obtained date (
1254
+ <a href="../search.html#date">date</a>)
1255
+ </li>
1256
+
1257
+ <li>
1258
+ <a href="../observation.html#search">encounter</a> - Search based on encounter resulting in the result (
1259
+ <a href="../search.html#reference">reference</a>)
1260
+ </li>
1261
+
1262
+ <li>Chained parameter - encounter.identifier</li>
1263
+
1264
+ <li>Include parameter - Observation.subject</li>
1265
+
1266
+ <li>Include parameter - Observation.encounter</li>
1267
+
1268
+ <li>Include parameter - Observation.related</li>
1269
+
1270
+ <li>Reverse Include parameter - Observation.component</li>
1271
+
1272
+ </ul>
1273
+
1274
+ </td>
1275
+
1276
+ </tr>
1277
+
1278
+ <tr>
1279
+
1280
+ <td id="DAFMedicationSearch">DAF-Medication</td>
1281
+
1282
+ <td>
1283
+
1284
+ <ul>
1285
+
1286
+ <li>
1287
+ <a href="../medication.html#search">code</a> - Search by drug code (
1288
+ <a href="../search.html#token">token</a>)
1289
+ </li>
1290
+
1291
+ <li>
1292
+ <a href="../medication.html#search">form</a> - Search by drug form (
1293
+ <a href="../search.html#token">token</a>)
1294
+ </li>
1295
+
1296
+ <li>
1297
+ <a href="../medication.html#search">ingredient</a> - Search by drug ingredient (
1298
+ <a href="../search.html#reference">reference</a>)
1299
+ </li>
1300
+
1301
+ <li>Include parameter - Medication.manufacturer</li>
1302
+
1303
+ </ul>
1304
+
1305
+ </td>
1306
+
1307
+ </tr>
1308
+
1309
+ <tr>
1310
+
1311
+ <td id="DAFMedicationStatementSearch">DAF-MedicationStatement</td>
1312
+
1313
+ <td>
1314
+
1315
+ <ul>
1316
+
1317
+ <li>
1318
+ <a href="../medicationstatement.html#search">identifier</a> - Search by identifiers (
1319
+ <a href="../search.html#token">token</a>)
1320
+ </li>
1321
+
1322
+ <li>
1323
+ <a href="../medicationstatement.html#search">patient</a> - Search for medications for a patient (
1324
+ <a href="../search.html#reference">reference</a>)
1325
+ </li>
1326
+
1327
+ <li>Chained parameter - patient.identifier</li>
1328
+
1329
+ <li>
1330
+ <a href="../medicationstatement.html#search">effectivedate</a> - Search for medications by date of administration (
1331
+ <a href="../search.html#date">date</a>)
1332
+ </li>
1333
+
1334
+ <li>
1335
+ <a href="../medicationstatement.html#search">medication</a> - Search by medication (
1336
+ <a href="../search.html#reference">reference</a>)
1337
+ </li>
1338
+
1339
+ <li>Chained parameter - medication.code</li>
1340
+
1341
+ <li>Include parameter - MedicationStatement.patient</li>
1342
+
1343
+ <li>Include parameter - MedicationStatement.medication</li>
1344
+
1345
+ </ul>
1346
+
1347
+ </td>
1348
+
1349
+ </tr>
1350
+
1351
+ <tr>
1352
+
1353
+ <td id="DAFMedicationAdministrationSearch">DAF-MedicationAdministration</td>
1354
+
1355
+ <td>
1356
+
1357
+ <ul>
1358
+
1359
+ <li>
1360
+ <a href="../medicationadministration.html#search">identifier</a> - Search by identifiers (
1361
+ <a href="../search.html#token">token</a>)
1362
+ </li>
1363
+
1364
+ <li>
1365
+ <a href="../medicationadministration.html#search">patient</a> - Search for medications for a patient (
1366
+ <a href="../search.html#reference">reference</a>)
1367
+ </li>
1368
+
1369
+ <li>Chained parameter - patient.identifier</li>
1370
+
1371
+ <li>
1372
+ <a href="../medicationadministration.html#search">effectivetime</a> - Search for medications by date of administration (
1373
+ <a href="../search.html#date">date</a>)
1374
+ </li>
1375
+
1376
+ <li>
1377
+ <a href="../medicationadministration.html#search">encounter</a> - Search for medications by encounter (
1378
+ <a href="../search.html#reference">reference</a>)
1379
+ </li>
1380
+
1381
+ <li>Chained parameter - encounter.identifier</li>
1382
+
1383
+ <li>
1384
+ <a href="../medicationadministration.html#search">practitioner</a> - Search based on practitioner (
1385
+ <a href="../search.html#reference">reference</a>)
1386
+ </li>
1387
+
1388
+ <li>Chained parameter - practitioner.identifier</li>
1389
+
1390
+
1391
+ <li>
1392
+ <a href="../medicationadministration.html#search">prescription</a> - Search based on prescription (
1393
+ <a href="../search.html#reference">reference</a>)
1394
+ </li>
1395
+
1396
+ <li>Chained parameter - prescription.identifier</li>
1397
+
1398
+ <li>Include parameter - MedicationAdministration.patient</li>
1399
+
1400
+ <li>Include parameter - MedicationAdministration.practitioner</li>
1401
+
1402
+ <li>Include parameter - MedicationAdministration.encounter</li>
1403
+
1404
+ <li>Include parameter - MedicationAdministration.prescription</li>
1405
+
1406
+ </ul>
1407
+
1408
+ </td>
1409
+
1410
+ </tr>
1411
+
1412
+ <tr>
1413
+
1414
+ <td id="DAFMedicationDispenseSearch">DAF-MedicationDispense</td>
1415
+
1416
+ <td>
1417
+
1418
+ <ul>
1419
+
1420
+ <li>
1421
+ <a href="../medicationdispense.html#search">identifier</a> - Search by identifiers (
1422
+ <a href="../search.html#token">token</a>)
1423
+ </li>
1424
+
1425
+ <li>
1426
+ <a href="../medicationdispense.html#search">patient</a> - Search for medications for a patient (
1427
+ <a href="../search.html#reference">reference</a>)
1428
+ </li>
1429
+
1430
+ <li>Chained parameter - patient.identifier</li>
1431
+
1432
+ <li>
1433
+ <a href="../medicationdispense.html#search">code</a> - Search for medications by based on code (
1434
+ <a href="../search.html#token">token</a>)
1435
+ </li>
1436
+
1437
+ <li>
1438
+ <a href="../medicationdispense.html#search">medication</a> - Search for medications dispensed by medication (
1439
+ <a href="../search.html#reference">reference</a>)
1440
+ </li>
1441
+
1442
+ <li>Include parameter - MedicationDispense.patient</li>
1443
+
1444
+ <li>Include parameter - MedicationDispense.medicationReference</li>
1445
+
1446
+ </ul>
1447
+
1448
+ </td>
1449
+
1450
+ </tr>
1451
+
1452
+ <tr>
1453
+
1454
+ <td id="DAFMedicationRequestSearch">DAF-MedicationRequest</td>
1455
+
1456
+ <td>
1457
+
1458
+ <ul>
1459
+
1460
+ <li>
1461
+ <a href="../medicationorder.html#search">identifier</a> - Search by identifiers (
1462
+ <a href="../search.html#token">token</a>)
1463
+ </li>
1464
+
1465
+ <li>
1466
+ <a href="../medicationorder.html#search">patient</a> - Search for medication orders for a patient (
1467
+ <a href="../search.html#reference">reference</a>)
1468
+ </li>
1469
+
1470
+ <li>Chained parameter - patient.identifier</li>
1471
+
1472
+ <li>
1473
+ <a href="../medicationorder.html#search">code</a> - Search for medication orders by based on code (
1474
+ <a href="../search.html#token">token</a>)
1475
+ </li>
1476
+
1477
+ <li>
1478
+ <a href="../medicationorder.html#search">medication</a> - Search for medication orders by medication (
1479
+ <a href="../search.html#reference">reference</a>)
1480
+ </li>
1481
+
1482
+ <li>Include parameter - MedicationRequest.patient</li>
1483
+
1484
+ <li>Include parameter - MedicationRequest.medicationReference</li>
1485
+
1486
+ <li>Include parameter - MedicationRequest.encounter</li>
1487
+
1488
+ <li>Include parameter - MedicationRequest.prescriber</li>
1489
+
1490
+ </ul>
1491
+
1492
+ </td>
1493
+
1494
+ </tr>
1495
+
1496
+
1497
+ <tr>
1498
+
1499
+ <td id="DAFConditionSearch">DAF-Condition</td>
1500
+
1501
+ <td>
1502
+
1503
+ <ul>
1504
+
1505
+ <li>
1506
+ <a href="../condition.html#search">identifier</a> - Search for Condition by identifiers (
1507
+ <a href="../search.html#token">token</a>)
1508
+ </li>
1509
+
1510
+ <li>
1511
+ <a href="../condition.html#search">code</a> - Search by Condition code (
1512
+ <a href="../search.html#token">token</a>)
1513
+ </li>
1514
+
1515
+ <li>
1516
+ <a href="../condition.html#search">encounter</a> - Search by encounter (
1517
+ <a href="../search.html#reference">reference</a>)
1518
+ </li>
1519
+
1520
+ <li>Chained parameter - encounter.identifier</li>
1521
+
1522
+
1523
+ <li>
1524
+ <a href="../condition.html#search">onset</a> - Search by onset Age of the condition (
1525
+ <a href="../search.html#date">date</a>)
1526
+ </li>
1527
+
1528
+ <li>
1529
+ <a href="../condition.html#search">patient</a> - Search for conditions for a patient (
1530
+ <a href="../search.html#reference">reference</a>)
1531
+ </li>
1532
+
1533
+ <li>Chained parameter - patient.identifier</li>
1534
+
1535
+ <li>
1536
+ <a href="../condition.html#search">severity</a> - Search for conditions by severity (
1537
+ <a href="../search.html#token">token</a>)
1538
+ </li>
1539
+
1540
+ <li>Include parameter - Condition.patient</li>
1541
+
1542
+ <li>Include parameter - Condition.encounter</li>
1543
+
1544
+ <li>Include parameter - Condition.asserter</li>
1545
+
1546
+ </ul>
1547
+
1548
+ </td>
1549
+
1550
+ </tr>
1551
+
1552
+ <tr>
1553
+
1554
+ <td id="DAFProcedureSearch">DAF-Procedure</td>
1555
+
1556
+ <td>
1557
+
1558
+ <ul>
1559
+
1560
+ <li>
1561
+ <a href="../procedure.html#search">identifier</a> - Search for Procedure by identifiers (
1562
+ <a href="../search.html#token">token</a>)
1563
+ </li>
1564
+
1565
+ <li>
1566
+ <a href="../procedure.html#search">code</a> - Search by Procedure type (
1567
+ <a href="../search.html#token">token</a>)
1568
+ </li>
1569
+
1570
+ <li>
1571
+ <a href="../procedure.html#search">date</a> - Search by date when procedure was performed (
1572
+ <a href="../search.html#date">date</a>)
1573
+ </li>
1574
+
1575
+ <li>
1576
+ <a href="../procedure.html#search">patient</a> - Search for conditions for a patient (
1577
+ <a href="../search.html#reference">reference</a>)
1578
+ </li>
1579
+
1580
+ <li>Chained parameter - patient.identifier</li>
1581
+
1582
+ <li>
1583
+ <a href="../procedure.html#search">encounter</a> - Search by encounter (
1584
+ <a href="../search.html#reference">reference</a>)
1585
+ </li>
1586
+
1587
+ <li>Chained parameter - encounter.identifier</li>
1588
+
1589
+ <li>Include parameter - Procedure.patient</li>
1590
+
1591
+ <li>Include parameter - Procedure.encounter</li>
1592
+
1593
+ <li>Include parameter - Procedure.performer</li>
1594
+
1595
+ </ul>
1596
+
1597
+ </td>
1598
+
1599
+ </tr>
1600
+
1601
+ <tr>
1602
+
1603
+ <td id="DAFSmokingStatusSearch">DAF-SmokingStatus</td>
1604
+
1605
+ <td>
1606
+
1607
+ <ul>
1608
+
1609
+ <li>
1610
+ <a href="../observation.html#search">identifier</a> - Search for SmokingStatus observation by identifiers (
1611
+ <a href="../search.html#token">token</a>)
1612
+ </li>
1613
+
1614
+ <li>
1615
+ <a href="../observation.html#search">date</a> - Search by period that applies to the smoking status (
1616
+ <a href="../search.html#date">date</a>)
1617
+ </li>
1618
+
1619
+ <li>
1620
+ <a href="../observation.html#search">value-concept</a> - Search by a specific value which is a Code (
1621
+ <a href="../search.html#token">token</a>)
1622
+ </li>
1623
+
1624
+ <li>
1625
+ <a href="../observation.html#search">patient</a> - Search for conditions for a patient (
1626
+ <a href="../search.html#reference">reference</a>)
1627
+ </li>
1628
+
1629
+ <li>Chained parameter - patient.identifier</li>
1630
+
1631
+ <li>Include parameter - Observation.subject</li>
1632
+
1633
+ <li>Include parameter - Observation.encounter</li>
1634
+
1635
+ </ul>
1636
+
1637
+ </td>
1638
+
1639
+ </tr>
1640
+
1641
+ <tr>
1642
+
1643
+ <td id="DAFVitalSignsSearch">DAF-VitalSigns</td>
1644
+
1645
+ <td>
1646
+
1647
+ <ul>
1648
+
1649
+ <li>
1650
+ <a href="../observation.html#search">identifier</a> - Search for Vital Signs by identifiers (
1651
+ <a href="../search.html#token">token</a>)
1652
+ </li>
1653
+
1654
+ <li>
1655
+ <a href="../observation.html#search">date</a> - Search by measurement date (
1656
+ <a href="../search.html#date">date</a>)
1657
+ </li>
1658
+
1659
+ <li>
1660
+ <a href="../observation.html#search">value-quantity</a> - Search for Vital Signs with a value which is a quantity (
1661
+ <a href="../search.html#quantity">quantity</a>)
1662
+ </li>
1663
+
1664
+ <li>
1665
+ <a href="../observation.html#search">code</a> - Search based on Vital Signs code (
1666
+ <a href="../search.html#token">token</a>)
1667
+ </li>
1668
+
1669
+ <li>
1670
+ <a href="../observation.html#search">code-value[x]</a> - Search for a Vital Signs with a code and value (
1671
+ <a href="../search.html#token">token</a>)
1672
+ </li>
1673
+
1674
+ <li>
1675
+ <a href="../observation.html#search">patient</a> - Search for Vital Signs for a patient (
1676
+ <a href="../search.html#reference">reference</a>)
1677
+ </li>
1678
+
1679
+ <li>Chained parameter - patient.identifier</li>
1680
+
1681
+
1682
+ <li>Include parameter - Observation.subject</li>
1683
+
1684
+ <li>Include parameter - Observation.encounter</li>
1685
+
1686
+ </ul>
1687
+
1688
+ </td>
1689
+
1690
+ </tr>
1691
+
1692
+
1693
+ <tr>
1694
+
1695
+ <td id="DAFListSearch">DAF List</td>
1696
+
1697
+ <td>
1698
+
1699
+ <ul>
1700
+
1701
+ <li>
1702
+ <a href="../list.html#search">identifier</a> - Search for List by identifiers (
1703
+ <a href="../search.html#token">token</a>)
1704
+ </li>
1705
+
1706
+ <li>
1707
+ <a href="../list.html#search">code</a> - Search by type of list (
1708
+ <a href="../search.html#token">token</a>)
1709
+ </li>
1710
+
1711
+ <li>
1712
+ <a href="../list.html#search">date</a> - Search by list preparation date (
1713
+ <a href="../search.html#date">date</a>)
1714
+ </li>
1715
+
1716
+ <li>
1717
+ <a href="../list.html#search">empty-reason</a> - Search by empty reason code (
1718
+ <a href="../search.html#token">token</a>)
1719
+ </li>
1720
+
1721
+ <li>
1722
+ <a href="../list.html#search">patient</a> - Search for list by patient (
1723
+ <a href="../search.html#reference">reference</a>)
1724
+ </li>
1725
+
1726
+ <li>Chained parameter - patient.identifier</li>
1727
+
1728
+ <li>Include parameter - List.subject</li>
1729
+
1730
+ <li>Include parameter - List.item</li>
1731
+
1732
+ </ul>
1733
+
1734
+ </td>
1735
+
1736
+ </tr>
1737
+
1738
+
1739
+ </tbody>
1740
+
1741
+ </table>
1742
+
1743
+ <br/>
1744
+
1745
+ <br/>
1746
+
1747
+ </div>
1748
+ </text>
3
1749
  <name value="DAF Responder"/>
4
1750
  <status value="draft"/>
1751
+ <date value="2015-04-02"/>
5
1752
  <publisher value="U.S. Office of the National Coordinator (ONC)"/>
6
1753
  <contact>
7
1754
  <telecom>
@@ -9,7 +1756,6 @@
9
1756
  <value value="http://www.healthit.gov/"/>
10
1757
  </telecom>
11
1758
  </contact>
12
- <date value="2015-04-02"/>
13
1759
  <description value="This profile defines the expected capabilities of the DAF Responder actor when conforming to the DAF FHIR implementation guide."/>
14
1760
  <kind value="requirements"/>
15
1761
  <fhirVersion value="1.0.0"/>
@@ -23,7 +1769,7 @@
23
1769
  <reference value="http://hl7.org/fhir/StructureDefinition/daf-allergyintolerance"/>
24
1770
  </profile>
25
1771
  <profile>
26
- <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"/>
1772
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-DiagnosticRequest"/>
27
1773
  </profile>
28
1774
  <profile>
29
1775
  <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticreport"/>
@@ -49,6 +1795,12 @@
49
1795
  <profile>
50
1796
  <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationadministration"/>
51
1797
  </profile>
1798
+ <profile>
1799
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationorder"/>
1800
+ </profile>
1801
+ <profile>
1802
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationdispense"/>
1803
+ </profile>
52
1804
  <profile>
53
1805
  <reference value="http://hl7.org/fhir/StructureDefinition/daf-condition"/>
54
1806
  </profile>
@@ -66,7 +1818,7 @@
66
1818
  </profile>
67
1819
  <rest>
68
1820
  <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."/>
1821
+ <documentation value="The DAF Responder SHALL support the DAFPatient resource profile. In addition to the DAF-Patient, 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
1822
  <security>
71
1823
  <description value="DAF Responders SHALL implement the security requirements documented in the [[daf-security|DAF FHIR IG]]."/>
72
1824
  </security>
@@ -80,28 +1832,28 @@
80
1832
  <valueCode value="SHALL"/>
81
1833
  </extension>
82
1834
  <code value="search-type"/>
83
- <documentation value="Allows discovery of existing DAFPatient resources using different search criteria"/>
1835
+ <documentation value="Allows discovery of existing DAF-Patient resources using different search criteria"/>
84
1836
  </interaction>
85
1837
  <interaction>
86
1838
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
87
1839
  <valueCode value="SHALL"/>
88
1840
  </extension>
89
1841
  <code value="read"/>
90
- <documentation value="Allows retrieval of a specific DAFPatients by id"/>
1842
+ <documentation value="Allows retrieval of a specific DAF-Patients by id"/>
91
1843
  </interaction>
92
1844
  <interaction>
93
1845
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
94
1846
  <valueCode value="SHOULD"/>
95
1847
  </extension>
96
1848
  <code value="history-instance"/>
97
- <documentation value="Allows review of changes to DAFPatient instance over time"/>
1849
+ <documentation value="Allows review of changes to DAF-Patient instance over time"/>
98
1850
  </interaction>
99
1851
  <interaction>
100
1852
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
101
1853
  <valueCode value="SHOULD"/>
102
1854
  </extension>
103
1855
  <code value="vread"/>
104
- <documentation value="Allows retrieval of a historical version of a DAFPatient instance"/>
1856
+ <documentation value="Allows retrieval of a historical version of a DAF-Patient instance"/>
105
1857
  </interaction>
106
1858
  <searchParam>
107
1859
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -171,7 +1923,7 @@
171
1923
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
172
1924
  <valueCode value="SHALL"/>
173
1925
  </extension>
174
- <name value="city"/>
1926
+ <name value="address-city"/>
175
1927
  <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-city"/>
176
1928
  <type value="string"/>
177
1929
  </searchParam>
@@ -179,7 +1931,7 @@
179
1931
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
180
1932
  <valueCode value="SHALL"/>
181
1933
  </extension>
182
- <name value="postalCode"/>
1934
+ <name value="address-postalCode"/>
183
1935
  <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-postalCode"/>
184
1936
  <type value="string"/>
185
1937
  </searchParam>
@@ -187,7 +1939,7 @@
187
1939
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
188
1940
  <valueCode value="SHALL"/>
189
1941
  </extension>
190
- <name value="state"/>
1942
+ <name value="address-state"/>
191
1943
  <definition value="http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-state"/>
192
1944
  <type value="string"/>
193
1945
  </searchParam>
@@ -234,28 +1986,28 @@
234
1986
  <valueCode value="SHALL"/>
235
1987
  </extension>
236
1988
  <code value="search-type"/>
237
- <documentation value="Allows discovery of existing DAFAllergyIntolerance resources using different search criteria"/>
1989
+ <documentation value="Allows discovery of existing DAF-AllergyIntolerance resources using different search criteria"/>
238
1990
  </interaction>
239
1991
  <interaction>
240
1992
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
241
1993
  <valueCode value="SHALL"/>
242
1994
  </extension>
243
1995
  <code value="read"/>
244
- <documentation value="Allows retrieval of a specific DAFAllergyIntolerance by id"/>
1996
+ <documentation value="Allows retrieval of a specific DAF-AllergyIntolerance by id"/>
245
1997
  </interaction>
246
1998
  <interaction>
247
1999
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
248
2000
  <valueCode value="SHOULD"/>
249
2001
  </extension>
250
2002
  <code value="history-instance"/>
251
- <documentation value="Allows review of changes to DAFAllergyIntolerance instance over time"/>
2003
+ <documentation value="Allows review of changes to DAF-AllergyIntolerance instance over time"/>
252
2004
  </interaction>
253
2005
  <interaction>
254
2006
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
255
2007
  <valueCode value="SHOULD"/>
256
2008
  </extension>
257
2009
  <code value="vread"/>
258
- <documentation value="Allows retrieval of a historical version of a DAFAllergyIntolerance instance"/>
2010
+ <documentation value="Allows retrieval of a historical version of a DAF-AllergyIntolerance instance"/>
259
2011
  </interaction>
260
2012
  <searchInclude value="AllergyIntolerance.patient"/>
261
2013
  <searchParam>
@@ -271,10 +2023,7 @@
271
2023
  </extension>
272
2024
  <name value="patient"/>
273
2025
  <type value="reference"/>
274
- <chain value="patient.identifier"/>
275
- <chain value="patient.name"/>
276
- <chain value="patient.given"/>
277
- <chain value="patient.family"/>
2026
+ <documentation value="patient.identifier"/>
278
2027
  </searchParam>
279
2028
  <searchParam>
280
2029
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -311,13 +2060,6 @@
311
2060
  <name value="severity"/>
312
2061
  <type value="token"/>
313
2062
  </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
2063
  <searchParam>
322
2064
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
323
2065
  <valueCode value="SHALL"/>
@@ -327,41 +2069,41 @@
327
2069
  </searchParam>
328
2070
  </resource>
329
2071
  <resource>
330
- <type value="DiagnosticOrder"/>
2072
+ <type value="DiagnosticRequest"/>
331
2073
  <profile>
332
- <reference value="http://hl7.org/fhir/StructureDefinition/daf-diagnosticorder"/>
2074
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-DiagnosticRequest"/>
333
2075
  </profile>
334
2076
  <interaction>
335
2077
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
336
2078
  <valueCode value="SHALL"/>
337
2079
  </extension>
338
2080
  <code value="search-type"/>
339
- <documentation value="Allows discovery of existing DAFDiagnosticOrder resources using different search criteria"/>
2081
+ <documentation value="Allows discovery of existing DAF-DiagnosticRequest resources using different search criteria"/>
340
2082
  </interaction>
341
2083
  <interaction>
342
2084
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
343
2085
  <valueCode value="SHALL"/>
344
2086
  </extension>
345
2087
  <code value="read"/>
346
- <documentation value="Allows retrieval of a specific DAFDiagnosticOrder by id"/>
2088
+ <documentation value="Allows retrieval of a specific DAF-DiagnosticRequest by id"/>
347
2089
  </interaction>
348
2090
  <interaction>
349
2091
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
350
2092
  <valueCode value="SHOULD"/>
351
2093
  </extension>
352
2094
  <code value="history-instance"/>
353
- <documentation value="Allows review of changes to DAFDiagnosticOrder instance over time"/>
2095
+ <documentation value="Allows review of changes to DAF-DiagnosticRequest instance over time"/>
354
2096
  </interaction>
355
2097
  <interaction>
356
2098
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
357
2099
  <valueCode value="SHOULD"/>
358
2100
  </extension>
359
2101
  <code value="vread"/>
360
- <documentation value="Allows retrieval of a historical version of a DAFDiagnosticOrder instance"/>
2102
+ <documentation value="Allows retrieval of a historical version of a DAF-DiagnosticRequest instance"/>
361
2103
  </interaction>
362
- <searchInclude value="DiagnosticOrder.subject"/>
363
- <searchInclude value="DiagnosticOrder.orderer"/>
364
- <searchInclude value="DiagnosticOrder.encounter"/>
2104
+ <searchInclude value="DiagnosticRequest.subject"/>
2105
+ <searchInclude value="DiagnosticRequest.orderer"/>
2106
+ <searchInclude value="DiagnosticRequest.encounter"/>
365
2107
  <searchParam>
366
2108
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
367
2109
  <valueCode value="SHALL"/>
@@ -375,10 +2117,7 @@
375
2117
  </extension>
376
2118
  <name value="patient"/>
377
2119
  <type value="reference"/>
378
- <chain value="patient.identifier"/>
379
- <chain value="patient.name"/>
380
- <chain value="patient.given"/>
381
- <chain value="patient.family"/>
2120
+ <documentation value="patient.identifier"/>
382
2121
  </searchParam>
383
2122
  <searchParam>
384
2123
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -386,9 +2125,7 @@
386
2125
  </extension>
387
2126
  <name value="orderer"/>
388
2127
  <type value="reference"/>
389
- <chain value="orderer.identifier"/>
390
- <chain value="orderer.given"/>
391
- <chain value="orderer.family"/>
2128
+ <documentation value="orderer.identifier"/>
392
2129
  </searchParam>
393
2130
  <searchParam>
394
2131
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -403,8 +2140,7 @@
403
2140
  </extension>
404
2141
  <name value="encounter"/>
405
2142
  <type value="reference"/>
406
- <chain value="encounter.identifier"/>
407
- <chain value="encounter.type"/>
2143
+ <documentation value="encounter.identifier"/>
408
2144
  </searchParam>
409
2145
  <searchParam>
410
2146
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -424,28 +2160,28 @@
424
2160
  <valueCode value="SHALL"/>
425
2161
  </extension>
426
2162
  <code value="search-type"/>
427
- <documentation value="Allows discovery of existing DAFDiagnosticReport resources using different search criteria"/>
2163
+ <documentation value="Allows discovery of existing DAF-DiagnosticReport resources using different search criteria"/>
428
2164
  </interaction>
429
2165
  <interaction>
430
2166
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
431
2167
  <valueCode value="SHALL"/>
432
2168
  </extension>
433
2169
  <code value="read"/>
434
- <documentation value="Allows retrieval of a specific DAFDiagnosticReport by id"/>
2170
+ <documentation value="Allows retrieval of a specific DAF-DiagnosticReport by id"/>
435
2171
  </interaction>
436
2172
  <interaction>
437
2173
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
438
2174
  <valueCode value="SHOULD"/>
439
2175
  </extension>
440
2176
  <code value="history-instance"/>
441
- <documentation value="Allows review of changes to DAFDiagnosticReport instance over time"/>
2177
+ <documentation value="Allows review of changes to DAF-DiagnosticReport instance over time"/>
442
2178
  </interaction>
443
2179
  <interaction>
444
2180
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
445
2181
  <valueCode value="SHOULD"/>
446
2182
  </extension>
447
2183
  <code value="vread"/>
448
- <documentation value="Allows retrieval of a historical version of a DAFDiagnosticReport instance"/>
2184
+ <documentation value="Allows retrieval of a historical version of a DAF-DiagnosticReport instance"/>
449
2185
  </interaction>
450
2186
  <searchInclude value="DiagnosticReport.subject"/>
451
2187
  <searchInclude value="DiagnosticReport.performer"/>
@@ -464,17 +2200,7 @@
464
2200
  </extension>
465
2201
  <name value="patient"/>
466
2202
  <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"/>
2203
+ <documentation value="patient.identifier"/>
478
2204
  </searchParam>
479
2205
  <searchParam>
480
2206
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -489,8 +2215,7 @@
489
2215
  </extension>
490
2216
  <name value="encounter"/>
491
2217
  <type value="reference"/>
492
- <chain value="encounter.identifier"/>
493
- <chain value="encounter.type"/>
2218
+ <documentation value="encounter.identifier"/>
494
2219
  </searchParam>
495
2220
  <searchParam>
496
2221
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -498,8 +2223,7 @@
498
2223
  </extension>
499
2224
  <name value="performer"/>
500
2225
  <type value="reference"/>
501
- <chain value="performer.identifier"/>
502
- <chain value="performer.name"/>
2226
+ <documentation value="performer.identifier"/>
503
2227
  </searchParam>
504
2228
  <searchParam>
505
2229
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -507,7 +2231,7 @@
507
2231
  </extension>
508
2232
  <name value="result"/>
509
2233
  <type value="reference"/>
510
- <chain value="result.code"/>
2234
+ <documentation value="result.code"/>
511
2235
  </searchParam>
512
2236
  </resource>
513
2237
  <resource>
@@ -520,28 +2244,28 @@
520
2244
  <valueCode value="SHALL"/>
521
2245
  </extension>
522
2246
  <code value="search-type"/>
523
- <documentation value="Allows discovery of existing DAFEncounter resources using different search criteria"/>
2247
+ <documentation value="Allows discovery of existing DAF-Encounter resources using different search criteria"/>
524
2248
  </interaction>
525
2249
  <interaction>
526
2250
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
527
2251
  <valueCode value="SHALL"/>
528
2252
  </extension>
529
2253
  <code value="read"/>
530
- <documentation value="Allows retrieval of a specific DAFEncounter by id"/>
2254
+ <documentation value="Allows retrieval of a specific DAF-Encounter by id"/>
531
2255
  </interaction>
532
2256
  <interaction>
533
2257
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
534
2258
  <valueCode value="SHOULD"/>
535
2259
  </extension>
536
2260
  <code value="history-instance"/>
537
- <documentation value="Allows review of changes to DAFEncounter instance over time"/>
2261
+ <documentation value="Allows review of changes to DAF-Encounter instance over time"/>
538
2262
  </interaction>
539
2263
  <interaction>
540
2264
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
541
2265
  <valueCode value="SHOULD"/>
542
2266
  </extension>
543
2267
  <code value="vread"/>
544
- <documentation value="Allows retrieval of a historical version of a DAFEncounter instance"/>
2268
+ <documentation value="Allows retrieval of a historical version of a DAF-Encounter instance"/>
545
2269
  </interaction>
546
2270
  <searchInclude value="Encounter.patient"/>
547
2271
  <searchInclude value="Encounter.location"/>
@@ -558,10 +2282,8 @@
558
2282
  </extension>
559
2283
  <name value="patient"/>
560
2284
  <type value="reference"/>
561
- <chain value="patient.identifier"/>
562
- <chain value="patient.name"/>
563
- <chain value="patient.given"/>
564
- <chain value="patient.family"/>
2285
+ <documentation value="patient.identifier"/>
2286
+
565
2287
  </searchParam>
566
2288
  <searchParam>
567
2289
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -569,9 +2291,8 @@
569
2291
  </extension>
570
2292
  <name value="location"/>
571
2293
  <type value="reference"/>
572
- <chain value="location.identifier"/>
573
- <chain value="location.name"/>
574
- <chain value="location.address"/>
2294
+ <documentation value="location.identifier"/>
2295
+
575
2296
  </searchParam>
576
2297
  <searchParam>
577
2298
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -605,28 +2326,28 @@
605
2326
  <valueCode value="SHALL"/>
606
2327
  </extension>
607
2328
  <code value="search-type"/>
608
- <documentation value="Allows discovery of existing DAFFamilyMemberHistory resources using different search criteria"/>
2329
+ <documentation value="Allows discovery of existing DAF-FamilyMemberHistory resources using different search criteria"/>
609
2330
  </interaction>
610
2331
  <interaction>
611
2332
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
612
2333
  <valueCode value="SHALL"/>
613
2334
  </extension>
614
2335
  <code value="read"/>
615
- <documentation value="Allows retrieval of a specific DAFFamilyMemberHistory by id"/>
2336
+ <documentation value="Allows retrieval of a specific DAF-FamilyMemberHistory by id"/>
616
2337
  </interaction>
617
2338
  <interaction>
618
2339
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
619
2340
  <valueCode value="SHOULD"/>
620
2341
  </extension>
621
2342
  <code value="history-instance"/>
622
- <documentation value="Allows review of changes to DAFFamilyMemberHistory instance over time"/>
2343
+ <documentation value="Allows review of changes to DAF-FamilyMemberHistory instance over time"/>
623
2344
  </interaction>
624
2345
  <interaction>
625
2346
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
626
2347
  <valueCode value="SHOULD"/>
627
2348
  </extension>
628
2349
  <code value="vread"/>
629
- <documentation value="Allows retrieval of a historical version of a DAFFamilyMemberHistory instance"/>
2350
+ <documentation value="Allows retrieval of a historical version of a DAF-FamilyMemberHistory instance"/>
630
2351
  </interaction>
631
2352
  <searchInclude value="FamilyMemberHistory.patient"/>
632
2353
  <searchParam>
@@ -642,10 +2363,7 @@
642
2363
  </extension>
643
2364
  <name value="patient"/>
644
2365
  <type value="reference"/>
645
- <chain value="patient.identifier"/>
646
- <chain value="patient.name"/>
647
- <chain value="patient.given"/>
648
- <chain value="patient.family"/>
2366
+ <documentation value="patient.identifier"/>
649
2367
  </searchParam>
650
2368
  <searchParam>
651
2369
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -658,7 +2376,7 @@
658
2376
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
659
2377
  <valueCode value="SHALL"/>
660
2378
  </extension>
661
- <name value="familymemberhistorycondition"/>
2379
+ <name value="code"/>
662
2380
  <type value="token"/>
663
2381
  </searchParam>
664
2382
  </resource>
@@ -672,28 +2390,28 @@
672
2390
  <valueCode value="SHALL"/>
673
2391
  </extension>
674
2392
  <code value="search-type"/>
675
- <documentation value="Allows discovery of existing DAFImmunization resources using different search criteria"/>
2393
+ <documentation value="Allows discovery of existing DAF-Immunization resources using different search criteria"/>
676
2394
  </interaction>
677
2395
  <interaction>
678
2396
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
679
2397
  <valueCode value="SHALL"/>
680
2398
  </extension>
681
2399
  <code value="read"/>
682
- <documentation value="Allows retrieval of a specific DAFImmunization by id"/>
2400
+ <documentation value="Allows retrieval of a specific DAF-Immunization by id"/>
683
2401
  </interaction>
684
2402
  <interaction>
685
2403
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
686
2404
  <valueCode value="SHOULD"/>
687
2405
  </extension>
688
2406
  <code value="history-instance"/>
689
- <documentation value="Allows review of changes to DAFImmunization instance over time"/>
2407
+ <documentation value="Allows review of changes to DAF-Immunization instance over time"/>
690
2408
  </interaction>
691
2409
  <interaction>
692
2410
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
693
2411
  <valueCode value="SHOULD"/>
694
2412
  </extension>
695
2413
  <code value="vread"/>
696
- <documentation value="Allows retrieval of a historical version of a DAFImmunization instance"/>
2414
+ <documentation value="Allows retrieval of a historical version of a DAF-Immunization instance"/>
697
2415
  </interaction>
698
2416
  <searchInclude value="Immunization.patient"/>
699
2417
  <searchInclude value="Immunization.performer"/>
@@ -713,10 +2431,7 @@
713
2431
  </extension>
714
2432
  <name value="patient"/>
715
2433
  <type value="reference"/>
716
- <chain value="patient.identifier"/>
717
- <chain value="patient.name"/>
718
- <chain value="patient.given"/>
719
- <chain value="patient.family"/>
2434
+ <documentation value="patient.identifier"/>
720
2435
  </searchParam>
721
2436
  <searchParam>
722
2437
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -729,7 +2444,7 @@
729
2444
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
730
2445
  <valueCode value="SHALL"/>
731
2446
  </extension>
732
- <name value="vaccine-type"/>
2447
+ <name value="vaccine-code"/>
733
2448
  <type value="token"/>
734
2449
  </searchParam>
735
2450
  <searchParam>
@@ -752,45 +2467,46 @@
752
2467
  </extension>
753
2468
  <name value="requester"/>
754
2469
  <type value="reference"/>
755
- <chain value="requester.identifier"/>
756
- <chain value="requester.name"/>
2470
+ <documentation value="requester.identifier"/>
757
2471
  </searchParam>
758
2472
  </resource>
759
2473
  <resource>
760
2474
  <type value="Observation"/>
761
2475
  <profile>
762
- <reference value="http://hl7.org/fhir/StructureDefinition/daf-resultobscode"/>
2476
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-resultobs"/>
763
2477
  </profile>
764
2478
  <interaction>
765
2479
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
766
2480
  <valueCode value="SHALL"/>
767
2481
  </extension>
768
2482
  <code value="search-type"/>
769
- <documentation value="Allows discovery of existing DAFResults resources using different search criteria"/>
2483
+ <documentation value="Allows discovery of existing DAF-Results resources using different search criteria"/>
770
2484
  </interaction>
771
2485
  <interaction>
772
2486
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
773
2487
  <valueCode value="SHALL"/>
774
2488
  </extension>
775
2489
  <code value="read"/>
776
- <documentation value="Allows retrieval of a specific DAFResults by id"/>
2490
+ <documentation value="Allows retrieval of a specific DAF-Results by id"/>
777
2491
  </interaction>
778
2492
  <interaction>
779
2493
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
780
2494
  <valueCode value="SHOULD"/>
781
2495
  </extension>
782
2496
  <code value="history-instance"/>
783
- <documentation value="Allows review of changes to DAFResults instance over time"/>
2497
+ <documentation value="Allows review of changes to DAF-Results instance over time"/>
784
2498
  </interaction>
785
2499
  <interaction>
786
2500
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
787
2501
  <valueCode value="SHOULD"/>
788
2502
  </extension>
789
2503
  <code value="vread"/>
790
- <documentation value="Allows retrieval of a historical version of a DAFResults instance"/>
2504
+ <documentation value="Allows retrieval of a historical version of a DAF-Results instance"/>
791
2505
  </interaction>
792
2506
  <searchInclude value="Observation.encounter"/>
793
2507
  <searchInclude value="Observation.subject"/>
2508
+ <searchInclude value="Observation.related"/>
2509
+ <searchRevInclude value="Observation.component"/>
794
2510
  <searchParam>
795
2511
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
796
2512
  <valueCode value="SHALL"/>
@@ -804,10 +2520,7 @@
804
2520
  </extension>
805
2521
  <name value="patient"/>
806
2522
  <type value="reference"/>
807
- <chain value="patient.identifier"/>
808
- <chain value="patient.name"/>
809
- <chain value="patient.given"/>
810
- <chain value="patient.family"/>
2523
+ <documentation value="patient.identifier"/>
811
2524
  </searchParam>
812
2525
  <searchParam>
813
2526
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -822,6 +2535,13 @@
822
2535
  </extension>
823
2536
  <name value="value-concept"/>
824
2537
  <type value="token"/>
2538
+ </searchParam>
2539
+ <searchParam>
2540
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2541
+ <valueCode value="SHALL"/>
2542
+ </extension>
2543
+ <name value="value-quantity"/>
2544
+ <type value="quantity"/>
825
2545
  </searchParam>
826
2546
  <searchParam>
827
2547
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -843,8 +2563,7 @@
843
2563
  </extension>
844
2564
  <name value="encounter"/>
845
2565
  <type value="reference"/>
846
- <chain value="encounter.identifier"/>
847
- <chain value="encounter.type"/>
2566
+ <documentation value="encounter.identifier"/>
848
2567
  </searchParam>
849
2568
  </resource>
850
2569
  <resource>
@@ -857,37 +2576,30 @@
857
2576
  <valueCode value="SHALL"/>
858
2577
  </extension>
859
2578
  <code value="search-type"/>
860
- <documentation value="Allows discovery of existing DAFMedication resources using different search criteria"/>
2579
+ <documentation value="Allows discovery of existing DAF-Medication resources using different search criteria"/>
861
2580
  </interaction>
862
2581
  <interaction>
863
2582
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
864
2583
  <valueCode value="SHALL"/>
865
2584
  </extension>
866
2585
  <code value="read"/>
867
- <documentation value="Allows retrieval of a specific DAFMedication by id"/>
2586
+ <documentation value="Allows retrieval of a specific DAF-Medication by id"/>
868
2587
  </interaction>
869
2588
  <interaction>
870
2589
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
871
2590
  <valueCode value="SHOULD"/>
872
2591
  </extension>
873
2592
  <code value="history-instance"/>
874
- <documentation value="Allows review of changes to DAFMedication instance over time"/>
2593
+ <documentation value="Allows review of changes to DAF-Medication instance over time"/>
875
2594
  </interaction>
876
2595
  <interaction>
877
2596
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
878
2597
  <valueCode value="SHOULD"/>
879
2598
  </extension>
880
2599
  <code value="vread"/>
881
- <documentation value="Allows retrieval of a historical version of a DAFMedication instance"/>
2600
+ <documentation value="Allows retrieval of a historical version of a DAF-Medication instance"/>
882
2601
  </interaction>
883
2602
  <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
2603
  <searchParam>
892
2604
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
893
2605
  <valueCode value="SHALL"/>
@@ -895,13 +2607,6 @@
895
2607
  <name value="code"/>
896
2608
  <type value="token"/>
897
2609
  </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
2610
  <searchParam>
906
2611
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
907
2612
  <valueCode value="SHALL"/>
@@ -927,28 +2632,28 @@
927
2632
  <valueCode value="SHALL"/>
928
2633
  </extension>
929
2634
  <code value="search-type"/>
930
- <documentation value="Allows discovery of existing DAFMedicationStatement resources using different search criteria"/>
2635
+ <documentation value="Allows discovery of existing DAF-MedicationStatement resources using different search criteria"/>
931
2636
  </interaction>
932
2637
  <interaction>
933
2638
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
934
2639
  <valueCode value="SHALL"/>
935
2640
  </extension>
936
2641
  <code value="read"/>
937
- <documentation value="Allows retrieval of a specific DAFMedicationStatement by id"/>
2642
+ <documentation value="Allows retrieval of a specific DAF-MedicationStatement by id"/>
938
2643
  </interaction>
939
2644
  <interaction>
940
2645
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
941
2646
  <valueCode value="SHOULD"/>
942
2647
  </extension>
943
2648
  <code value="history-instance"/>
944
- <documentation value="Allows review of changes to DAFMedicationStatement instance over time"/>
2649
+ <documentation value="Allows review of changes to DAF-MedicationStatement instance over time"/>
945
2650
  </interaction>
946
2651
  <interaction>
947
2652
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
948
2653
  <valueCode value="SHOULD"/>
949
2654
  </extension>
950
2655
  <code value="vread"/>
951
- <documentation value="Allows retrieval of a historical version of a DAFMedicationStatement instance"/>
2656
+ <documentation value="Allows retrieval of a historical version of a DAF-MedicationStatement instance"/>
952
2657
  </interaction>
953
2658
  <searchInclude value="MedicationStatement.patient"/>
954
2659
  <searchInclude value="MedicationStatement.medication"/>
@@ -965,10 +2670,7 @@
965
2670
  </extension>
966
2671
  <name value="patient"/>
967
2672
  <type value="reference"/>
968
- <chain value="patient.identifier"/>
969
- <chain value="patient.name"/>
970
- <chain value="patient.given"/>
971
- <chain value="patient.family"/>
2673
+ <documentation value="patient.identifier"/>
972
2674
  </searchParam>
973
2675
  <searchParam>
974
2676
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -983,8 +2685,7 @@
983
2685
  </extension>
984
2686
  <name value="medication"/>
985
2687
  <type value="reference"/>
986
- <chain value="medication.code"/>
987
- <chain value="medication.name"/>
2688
+ <documentation value="medication.code"/>
988
2689
  </searchParam>
989
2690
  </resource>
990
2691
  <resource>
@@ -997,28 +2698,28 @@
997
2698
  <valueCode value="SHALL"/>
998
2699
  </extension>
999
2700
  <code value="search-type"/>
1000
- <documentation value="Allows discovery of existing DAFMedicationAdministration resources using different search criteria"/>
2701
+ <documentation value="Allows discovery of existing DAF-MedicationAdministration resources using different search criteria"/>
1001
2702
  </interaction>
1002
2703
  <interaction>
1003
2704
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1004
2705
  <valueCode value="SHALL"/>
1005
2706
  </extension>
1006
2707
  <code value="read"/>
1007
- <documentation value="Allows retrieval of a specific DAFMedicationAdministration by id"/>
2708
+ <documentation value="Allows retrieval of a specific DAF-MedicationAdministration by id"/>
1008
2709
  </interaction>
1009
2710
  <interaction>
1010
2711
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1011
2712
  <valueCode value="SHOULD"/>
1012
2713
  </extension>
1013
2714
  <code value="history-instance"/>
1014
- <documentation value="Allows review of changes to DAFMedicationAdministration instance over time"/>
2715
+ <documentation value="Allows review of changes to DAF-MedicationAdministration instance over time"/>
1015
2716
  </interaction>
1016
2717
  <interaction>
1017
2718
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1018
2719
  <valueCode value="SHOULD"/>
1019
2720
  </extension>
1020
2721
  <code value="vread"/>
1021
- <documentation value="Allows retrieval of a historical version of a DAFMedicationAdministration instance"/>
2722
+ <documentation value="Allows retrieval of a historical version of a DAF-MedicationAdministration instance"/>
1022
2723
  </interaction>
1023
2724
  <searchInclude value="MedicationAdministration.patient"/>
1024
2725
  <searchInclude value="MedicationAdministration.practitioner"/>
@@ -1037,10 +2738,7 @@
1037
2738
  </extension>
1038
2739
  <name value="patient"/>
1039
2740
  <type value="reference"/>
1040
- <chain value="patient.identifier"/>
1041
- <chain value="patient.name"/>
1042
- <chain value="patient.given"/>
1043
- <chain value="patient.family"/>
2741
+ <documentation value="patient.identifier"/>
1044
2742
  </searchParam>
1045
2743
  <searchParam>
1046
2744
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1055,8 +2753,7 @@
1055
2753
  </extension>
1056
2754
  <name value="encounter"/>
1057
2755
  <type value="reference"/>
1058
- <chain value="encounter.identifier"/>
1059
- <chain value="encounter.type"/>
2756
+ <documentation value="encounter.identifier"/>
1060
2757
  </searchParam>
1061
2758
  <searchParam>
1062
2759
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1064,8 +2761,7 @@
1064
2761
  </extension>
1065
2762
  <name value="practitioner"/>
1066
2763
  <type value="reference"/>
1067
- <chain value="practitioner.identifier"/>
1068
- <chain value="practitioner.name"/>
2764
+ <documentation value="practitioner.identifier"/>
1069
2765
  </searchParam>
1070
2766
  <searchParam>
1071
2767
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1073,10 +2769,151 @@
1073
2769
  </extension>
1074
2770
  <name value="prescription"/>
1075
2771
  <type value="reference"/>
1076
- <chain value="prescription.identifier"/>
1077
- <chain value="prescription.datewritten"/>
2772
+ <documentation value="prescription.identifier"/>
2773
+ </searchParam>
2774
+ </resource>
2775
+
2776
+ <resource>
2777
+ <type value="MedicationDispense"/>
2778
+ <profile>
2779
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationdispense"/>
2780
+ </profile>
2781
+ <interaction>
2782
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2783
+ <valueCode value="SHALL"/>
2784
+ </extension>
2785
+ <code value="search-type"/>
2786
+ <documentation value="Allows discovery of existing DAF-MedicationDispense resources using different search criteria"/>
2787
+ </interaction>
2788
+ <interaction>
2789
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2790
+ <valueCode value="SHALL"/>
2791
+ </extension>
2792
+ <code value="read"/>
2793
+ <documentation value="Allows retrieval of a specific DAF-MedicationDispense by id"/>
2794
+ </interaction>
2795
+ <interaction>
2796
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2797
+ <valueCode value="SHOULD"/>
2798
+ </extension>
2799
+ <code value="history-instance"/>
2800
+ <documentation value="Allows review of changes to DAF-MedicationDispense instance over time"/>
2801
+ </interaction>
2802
+ <interaction>
2803
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2804
+ <valueCode value="SHOULD"/>
2805
+ </extension>
2806
+ <code value="vread"/>
2807
+ <documentation value="Allows retrieval of a historical version of a DAF-MedicationDispenseinstance"/>
2808
+ </interaction>
2809
+ <searchInclude value="MedicationDispense.patient"/>
2810
+ <searchInclude value="MedicationDispense.medication"/>
2811
+ <searchParam>
2812
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2813
+ <valueCode value="SHALL"/>
2814
+ </extension>
2815
+ <name value="identifier"/>
2816
+ <type value="token"/>
2817
+ </searchParam>
2818
+ <searchParam>
2819
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2820
+ <valueCode value="SHALL"/>
2821
+ </extension>
2822
+ <name value="patient"/>
2823
+ <type value="reference"/>
2824
+ <documentation value="patient.identifier"/>
2825
+ </searchParam>
2826
+ <searchParam>
2827
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2828
+ <valueCode value="SHALL"/>
2829
+ </extension>
2830
+ <name value="code"/>
2831
+ <type value="token"/>
2832
+ </searchParam>
2833
+ <searchParam>
2834
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2835
+ <valueCode value="SHALL"/>
2836
+ </extension>
2837
+ <name value="medication"/>
2838
+ <type value="reference"/>
2839
+ </searchParam>
2840
+ </resource>
2841
+
2842
+ <resource>
2843
+ <type value="MedicationRequest"/>
2844
+ <profile>
2845
+ <reference value="http://hl7.org/fhir/StructureDefinition/daf-medicationdispense"/>
2846
+ </profile>
2847
+ <interaction>
2848
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2849
+ <valueCode value="SHALL"/>
2850
+ </extension>
2851
+ <code value="search-type"/>
2852
+ <documentation value="Allows discovery of existing DAF-MedicationRequest resources using different search criteria"/>
2853
+ </interaction>
2854
+ <interaction>
2855
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2856
+ <valueCode value="SHALL"/>
2857
+ </extension>
2858
+ <code value="read"/>
2859
+ <documentation value="Allows retrieval of a specific DAF-MedicationRequest by id"/>
2860
+ </interaction>
2861
+ <interaction>
2862
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2863
+ <valueCode value="SHOULD"/>
2864
+ </extension>
2865
+ <code value="history-instance"/>
2866
+ <documentation value="Allows review of changes to DAF-MedicationRequest instance over time"/>
2867
+ </interaction>
2868
+ <interaction>
2869
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2870
+ <valueCode value="SHOULD"/>
2871
+ </extension>
2872
+ <code value="vread"/>
2873
+ <documentation value="Allows retrieval of a historical version of a DAF-MedicationRequest instances"/>
2874
+ </interaction>
2875
+ <searchInclude value="MedicationRequest.patient"/>
2876
+ <searchInclude value="MedicationRequest.medication"/>
2877
+ <searchInclude value="MedicationRequest.encounter"/>
2878
+ <searchParam>
2879
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2880
+ <valueCode value="SHALL"/>
2881
+ </extension>
2882
+ <name value="identifier"/>
2883
+ <type value="token"/>
2884
+ </searchParam>
2885
+ <searchParam>
2886
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2887
+ <valueCode value="SHALL"/>
2888
+ </extension>
2889
+ <name value="patient"/>
2890
+ <type value="reference"/>
2891
+ <documentation value="patient.identifier"/>
2892
+ </searchParam>
2893
+ <searchParam>
2894
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2895
+ <valueCode value="SHALL"/>
2896
+ </extension>
2897
+ <name value="code"/>
2898
+ <type value="token"/>
2899
+ </searchParam>
2900
+ <searchParam>
2901
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2902
+ <valueCode value="SHALL"/>
2903
+ </extension>
2904
+ <name value="medication"/>
2905
+ <type value="reference"/>
2906
+ </searchParam>
2907
+ <searchParam>
2908
+ <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
2909
+ <valueCode value="SHALL"/>
2910
+ </extension>
2911
+ <name value="encounter"/>
2912
+ <type value="reference"/>
1078
2913
  </searchParam>
1079
2914
  </resource>
2915
+
2916
+
1080
2917
  <resource>
1081
2918
  <type value="Condition"/>
1082
2919
  <profile>
@@ -1087,28 +2924,28 @@
1087
2924
  <valueCode value="SHALL"/>
1088
2925
  </extension>
1089
2926
  <code value="search-type"/>
1090
- <documentation value="Allows discovery of existing DAFCondition resources using different search criteria"/>
2927
+ <documentation value="Allows discovery of existing DAF-Condition resources using different search criteria"/>
1091
2928
  </interaction>
1092
2929
  <interaction>
1093
2930
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1094
2931
  <valueCode value="SHALL"/>
1095
2932
  </extension>
1096
2933
  <code value="read"/>
1097
- <documentation value="Allows retrieval of a specific DAFCondition by id"/>
2934
+ <documentation value="Allows retrieval of a specific DAF-Condition by id"/>
1098
2935
  </interaction>
1099
2936
  <interaction>
1100
2937
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1101
2938
  <valueCode value="SHOULD"/>
1102
2939
  </extension>
1103
2940
  <code value="history-instance"/>
1104
- <documentation value="Allows review of changes to DAFCondition instance over time"/>
2941
+ <documentation value="Allows review of changes to DAF-Condition instance over time"/>
1105
2942
  </interaction>
1106
2943
  <interaction>
1107
2944
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1108
2945
  <valueCode value="SHOULD"/>
1109
2946
  </extension>
1110
2947
  <code value="vread"/>
1111
- <documentation value="Allows retrieval of a historical version of a DAFCondition instance"/>
2948
+ <documentation value="Allows retrieval of a historical version of a DAF-Condition instance"/>
1112
2949
  </interaction>
1113
2950
  <searchInclude value="Condition.patient"/>
1114
2951
  <searchInclude value="Condition.encounter"/>
@@ -1126,10 +2963,7 @@
1126
2963
  </extension>
1127
2964
  <name value="patient"/>
1128
2965
  <type value="reference"/>
1129
- <chain value="patient.identifier"/>
1130
- <chain value="patient.name"/>
1131
- <chain value="patient.given"/>
1132
- <chain value="patient.family"/>
2966
+ <documentation value="patient.identifier"/>
1133
2967
  </searchParam>
1134
2968
  <searchParam>
1135
2969
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1138,21 +2972,13 @@
1138
2972
  <name value="code"/>
1139
2973
  <type value="token"/>
1140
2974
  </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
2975
  <searchParam>
1149
2976
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1150
2977
  <valueCode value="SHALL"/>
1151
2978
  </extension>
1152
2979
  <name value="encounter"/>
1153
2980
  <type value="reference"/>
1154
- <chain value="encounter.identifier"/>
1155
- <chain value="encounter.type"/>
2981
+ <documentation value="encounter.identifier"/>
1156
2982
  </searchParam>
1157
2983
  <searchParam>
1158
2984
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1179,28 +3005,28 @@
1179
3005
  <valueCode value="SHALL"/>
1180
3006
  </extension>
1181
3007
  <code value="search-type"/>
1182
- <documentation value="Allows discovery of existing DAFProcedure resources using different search criteria"/>
3008
+ <documentation value="Allows discovery of existing DAF-Procedure resources using different search criteria"/>
1183
3009
  </interaction>
1184
3010
  <interaction>
1185
3011
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1186
3012
  <valueCode value="SHALL"/>
1187
3013
  </extension>
1188
3014
  <code value="read"/>
1189
- <documentation value="Allows retrieval of a specific DAFProcedure by id"/>
3015
+ <documentation value="Allows retrieval of a specific DAF-Procedure by id"/>
1190
3016
  </interaction>
1191
3017
  <interaction>
1192
3018
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1193
3019
  <valueCode value="SHOULD"/>
1194
3020
  </extension>
1195
3021
  <code value="history-instance"/>
1196
- <documentation value="Allows review of changes to DAFProcedure instance over time"/>
3022
+ <documentation value="Allows review of changes to DAF-Procedure instance over time"/>
1197
3023
  </interaction>
1198
3024
  <interaction>
1199
3025
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1200
3026
  <valueCode value="SHOULD"/>
1201
3027
  </extension>
1202
3028
  <code value="vread"/>
1203
- <documentation value="Allows retrieval of a historical version of a DAFProcedure instance"/>
3029
+ <documentation value="Allows retrieval of a historical version of a DAF-Procedure instance"/>
1204
3030
  </interaction>
1205
3031
  <searchInclude value="Procedure.patient"/>
1206
3032
  <searchInclude value="Procedure.encounter"/>
@@ -1216,7 +3042,7 @@
1216
3042
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1217
3043
  <valueCode value="SHALL"/>
1218
3044
  </extension>
1219
- <name value="type"/>
3045
+ <name value="code"/>
1220
3046
  <type value="token"/>
1221
3047
  </searchParam>
1222
3048
  <searchParam>
@@ -1232,10 +3058,7 @@
1232
3058
  </extension>
1233
3059
  <name value="patient"/>
1234
3060
  <type value="reference"/>
1235
- <chain value="patient.identifier"/>
1236
- <chain value="patient.name"/>
1237
- <chain value="patient.given"/>
1238
- <chain value="patient.family"/>
3061
+ <documentation value="patient.identifier"/>
1239
3062
  </searchParam>
1240
3063
  <searchParam>
1241
3064
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1243,8 +3066,7 @@
1243
3066
  </extension>
1244
3067
  <name value="encounter"/>
1245
3068
  <type value="reference"/>
1246
- <chain value="encounter.identifier"/>
1247
- <chain value="encounter.type"/>
3069
+ <documentation value="encounter.identifier"/>
1248
3070
  </searchParam>
1249
3071
  </resource>
1250
3072
  <!--
@@ -1310,10 +3132,10 @@
1310
3132
  </extension>
1311
3133
  <name value="patient"/>
1312
3134
  <type value="reference"/>
1313
- <chain value="patient.identifier"/>
1314
- <chain value="patient.name"/>
1315
- <chain value="patient.given"/>
1316
- <chain value="patient.family"/>
3135
+ <documentation value="patient.identifier"/>
3136
+ <documentation value="patient.name"/>
3137
+ <documentation value="patient.given"/>
3138
+ <documentation value="patient.family"/>
1317
3139
  </searchParam>
1318
3140
  </resource>
1319
3141
  <resource>
@@ -1392,10 +3214,10 @@
1392
3214
  </extension>
1393
3215
  <name value="patient"/>
1394
3216
  <type value="reference"/>
1395
- <chain value="patient.identifier"/>
1396
- <chain value="patient.name"/>
1397
- <chain value="patient.given"/>
1398
- <chain value="patient.family"/>
3217
+ <documentation value="patient.identifier"/>
3218
+ <documentation value="patient.name"/>
3219
+ <documentation value="patient.given"/>
3220
+ <documentation value="patient.family"/>
1399
3221
  </searchParam>
1400
3222
  </resource>
1401
3223
  -->
@@ -1409,28 +3231,28 @@
1409
3231
  <valueCode value="SHALL"/>
1410
3232
  </extension>
1411
3233
  <code value="search-type"/>
1412
- <documentation value="Allows discovery of existing DAFList resources using different search criteria"/>
3234
+ <documentation value="Allows discovery of existing DAF List resources using different search criteria"/>
1413
3235
  </interaction>
1414
3236
  <interaction>
1415
3237
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1416
3238
  <valueCode value="SHALL"/>
1417
3239
  </extension>
1418
3240
  <code value="read"/>
1419
- <documentation value="Allows retrieval of a specific DAFList by id"/>
3241
+ <documentation value="Allows retrieval of a specific DAF List by id"/>
1420
3242
  </interaction>
1421
3243
  <interaction>
1422
3244
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1423
3245
  <valueCode value="SHOULD"/>
1424
3246
  </extension>
1425
3247
  <code value="history-instance"/>
1426
- <documentation value="Allows review of changes to DAFList instance over time"/>
3248
+ <documentation value="Allows review of changes to DAF List instance over time"/>
1427
3249
  </interaction>
1428
3250
  <interaction>
1429
3251
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
1430
3252
  <valueCode value="SHOULD"/>
1431
3253
  </extension>
1432
3254
  <code value="vread"/>
1433
- <documentation value="Allows retrieval of a historical version of a DAFList instance"/>
3255
+ <documentation value="Allows retrieval of a historical version of a DAF List instance"/>
1434
3256
  </interaction>
1435
3257
  <searchInclude value="List.subject"/>
1436
3258
  <searchInclude value="List.item"/>
@@ -1440,10 +3262,7 @@
1440
3262
  </extension>
1441
3263
  <name value="patient"/>
1442
3264
  <type value="reference"/>
1443
- <chain value="patient.identifier"/>
1444
- <chain value="patient.name"/>
1445
- <chain value="patient.given"/>
1446
- <chain value="patient.family"/>
3265
+ <documentation value="patient.identifier"/>
1447
3266
  </searchParam>
1448
3267
  <searchParam>
1449
3268
  <extension url="http://hl7.org/fhir/StructureDefinition/conformance-expectation">
@@ -1467,5 +3286,17 @@
1467
3286
  <type value="date"/>
1468
3287
  </searchParam>
1469
3288
  </resource>
3289
+ <operation>
3290
+ <name value="encounter-everything"/>
3291
+ <definition>
3292
+ <reference value="http://hl7.org/fhir/OperationDefinition/encounter-everything"/>
3293
+ </definition>
3294
+ </operation>
3295
+ <operation>
3296
+ <name value="patient-everything"/>
3297
+ <definition>
3298
+ <reference value="http://hl7.org/fhir/OperationDefinition/patient-everything"/>
3299
+ </definition>
3300
+ </operation>
1470
3301
  </rest>
1471
- </Conformance>
3302
+ </CapabilityStatement>