davinci_crd_test_kit 0.12.2 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. checksums.yaml +4 -4
  2. data/config/presets/inferno_crd_client_suite.json.erb +20 -14
  3. data/config/presets/inferno_crd_client_suite_prefetch_subset_v221.json.erb +125 -0
  4. data/config/presets/inferno_crd_client_suite_v221.json.erb +124 -0
  5. data/config/presets/inferno_crd_server_suite.json.erb +59 -2
  6. data/config/presets/inferno_crd_server_suite_v221.json.erb +94 -0
  7. data/config/presets/ri_crd_request_generator.json_v221.json.erb +13 -0
  8. data/config/presets/ri_crd_server.json.erb +19 -19
  9. data/lib/davinci_crd_test_kit/client/client_base_urls.rb +80 -0
  10. data/lib/davinci_crd_test_kit/{client_hook_request_validation.rb → client/client_hook_request_validation.rb} +1 -1
  11. data/lib/davinci_crd_test_kit/client/crd_client_options.rb +30 -0
  12. data/lib/davinci_crd_test_kit/client/endpoints/cds_services_discovery_handler.rb +34 -0
  13. data/lib/davinci_crd_test_kit/client/endpoints/custom_service_response.rb +342 -0
  14. data/lib/davinci_crd_test_kit/client/endpoints/gather_response_generation_data.rb +410 -0
  15. data/lib/davinci_crd_test_kit/client/endpoints/hook_request_endpoint.rb +233 -0
  16. data/lib/davinci_crd_test_kit/{mock_service_response.rb → client/endpoints/mock_service_response.rb} +165 -59
  17. data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/companions_prerequisites.json +1 -0
  18. data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/create_update_coverage_information.json +3 -2
  19. data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/launch_smart_app.json +8 -1
  20. data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/propose_alternate_request.json +1 -0
  21. data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/request_form_completion.json +17 -16
  22. data/lib/davinci_crd_test_kit/client/multi_request_message_helper.rb +35 -0
  23. data/lib/davinci_crd_test_kit/client/tagged_request_load_helper.rb +38 -0
  24. data/lib/davinci_crd_test_kit/client/v2.0.1/api/client_fhir_api_create_test.rb +43 -0
  25. data/lib/davinci_crd_test_kit/client/v2.0.1/api/client_fhir_api_read_test.rb +43 -0
  26. data/lib/davinci_crd_test_kit/client/v2.0.1/api/client_fhir_api_search_test.rb +234 -0
  27. data/lib/davinci_crd_test_kit/client/v2.0.1/api/client_fhir_api_update_test.rb +43 -0
  28. data/lib/davinci_crd_test_kit/client/v2.0.1/api/client_fhir_api_validation_test.rb +63 -0
  29. data/lib/davinci_crd_test_kit/client/v2.0.1/auth/decode_auth_token_test.rb +65 -0
  30. data/lib/davinci_crd_test_kit/client/v2.0.1/auth/retrieve_jwks_test.rb +109 -0
  31. data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_header_test.rb +70 -0
  32. data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_payload_test.rb +85 -0
  33. data/lib/davinci_crd_test_kit/{routes/cds-services.json → client/v2.0.1/cds-services-v201.json} +1 -1
  34. data/lib/davinci_crd_test_kit/client/v2.0.1/client_appointment_book_group.rb +108 -0
  35. data/lib/davinci_crd_test_kit/client/v2.0.1/client_card_must_support_group.rb +31 -0
  36. data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_discharge_group.rb +105 -0
  37. data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_start_group.rb +105 -0
  38. data/lib/davinci_crd_test_kit/client/v2.0.1/client_fhir_api_group.rb +790 -0
  39. data/lib/davinci_crd_test_kit/client/v2.0.1/client_hooks_group.rb +74 -0
  40. data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_dispatch_group.rb +111 -0
  41. data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_select_group.rb +116 -0
  42. data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_sign_group.rb +113 -0
  43. data/lib/davinci_crd_test_kit/{client_registration_group.rb → client/v2.0.1/client_registration_group.rb} +12 -8
  44. data/lib/davinci_crd_test_kit/client/v2.0.1/client_urls.rb +13 -0
  45. data/lib/davinci_crd_test_kit/client/v2.0.1/crd_client_suite.rb +134 -0
  46. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/appointment_book_receive_request_test.rb +129 -0
  47. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_discharge_receive_request_test.rb +126 -0
  48. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_start_receive_request_test.rb +126 -0
  49. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_dispatch_receive_request_test.rb +138 -0
  50. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_select_receive_request_test.rb +134 -0
  51. data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_sign_receive_request_test.rb +136 -0
  52. data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_coverage_information.rb +93 -0
  53. data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_external_reference.rb +62 -0
  54. data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_instructions.rb +62 -0
  55. data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_registration_verification_test.rb +94 -0
  56. data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_service_registration_attestation_test.rb +40 -0
  57. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_fetched_data_test.rb +86 -0
  58. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_optional_fields_test.rb +63 -0
  59. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_prefetch_equals_queried_test.rb +96 -0
  60. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_required_fields_test.rb +55 -0
  61. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_valid_context_test.rb +70 -0
  62. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_valid_prefetch_test.rb +62 -0
  63. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/client_display_cards_attest.rb +83 -0
  64. data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/inferno_response_validation.rb +79 -0
  65. data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_coverage_info_update_test.rb +212 -0
  66. data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_crd_update_verification_group.rb +18 -0
  67. data/lib/davinci_crd_test_kit/client/v2.2.1/auth/decode_auth_token_test.rb +69 -0
  68. data/lib/davinci_crd_test_kit/client/v2.2.1/auth/retrieve_jwks_test.rb +120 -0
  69. data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_header_test.rb +92 -0
  70. data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_payload_test.rb +93 -0
  71. data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-prefetch-subset-v221.json +198 -0
  72. data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-v221.json +202 -0
  73. data/lib/davinci_crd_test_kit/client/v2.2.1/client_appointment_book_group.rb +102 -0
  74. data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_group.rb +28 -0
  75. data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_discharge_group.rb +96 -0
  76. data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_start_group.rb +95 -0
  77. data/lib/davinci_crd_test_kit/client/v2.2.1/client_fhir_api_group.rb +88 -0
  78. data/lib/davinci_crd_test_kit/client/v2.2.1/client_hooks_group.rb +64 -0
  79. data/lib/davinci_crd_test_kit/client/v2.2.1/client_long_running_hook_group.rb +32 -0
  80. data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_dispatch_group.rb +101 -0
  81. data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_select_group.rb +102 -0
  82. data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_sign_group.rb +107 -0
  83. data/lib/davinci_crd_test_kit/client/v2.2.1/client_registration_group.rb +27 -0
  84. data/lib/davinci_crd_test_kit/client/v2.2.1/client_urls.rb +27 -0
  85. data/lib/davinci_crd_test_kit/client/v2.2.1/crd_client_suite.rb +229 -0
  86. data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_card_must_support_coverage_information_test.rb +63 -0
  87. data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_fhirpath_collection_as_comma_delimited_string_test.rb +60 -0
  88. data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_hook_instances_unique_test.rb +45 -0
  89. data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_location_address_propagation_test.rb +135 -0
  90. data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_prefetch_complete_and_subset_test.rb +103 -0
  91. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb +156 -0
  92. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_discharge_receive_request_test.rb +157 -0
  93. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_start_receive_request_test.rb +157 -0
  94. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_dispatch_receive_request_test.rb +165 -0
  95. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb +165 -0
  96. data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_sign_receive_request_test.rb +165 -0
  97. data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_long_running_receive_request_test.rb +64 -0
  98. data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_skip_long_running_attestation_test.rb +49 -0
  99. data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_registration_verification_test.rb +161 -0
  100. data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_service_registration_attestation_test.rb +107 -0
  101. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_conformance_test.rb +47 -0
  102. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_coverage_verification_test.rb +152 -0
  103. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_data_fetch_verification_test.rb +55 -0
  104. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_granted_scopes_test.rb +123 -0
  105. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_complete_test.rb +127 -0
  106. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_profiles_test.rb +55 -0
  107. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_requested_version_test.rb +54 -0
  108. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_secured_transport_test.rb +48 -0
  109. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/client_display_cards_attest.rb +74 -0
  110. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/hook_response_support_coverage_information_test.rb +30 -0
  111. data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/inferno_response_validation.rb +77 -0
  112. data/lib/davinci_crd_test_kit/cross_suite/base_urls.rb +20 -0
  113. data/lib/davinci_crd_test_kit/cross_suite/cards_identification.rb +312 -0
  114. data/lib/davinci_crd_test_kit/{cards_validation.rb → cross_suite/cards_validation.rb} +104 -47
  115. data/lib/davinci_crd_test_kit/cross_suite/coverage-information_stu201_metadata.yml +27 -0
  116. data/lib/davinci_crd_test_kit/cross_suite/coverage-information_stu221_metadata.yml +60 -0
  117. data/lib/davinci_crd_test_kit/cross_suite/fhirpath_on_cds_request.rb +177 -0
  118. data/lib/davinci_crd_test_kit/{hook_request_field_validation.rb → cross_suite/hook_request_field_validation.rb} +282 -203
  119. data/lib/davinci_crd_test_kit/cross_suite/logical_models_override_helper.rb +220 -0
  120. data/lib/davinci_crd_test_kit/cross_suite/prefetch_completeness_checker.rb +462 -0
  121. data/lib/davinci_crd_test_kit/cross_suite/prefetch_contents_validation.rb +81 -0
  122. data/lib/davinci_crd_test_kit/cross_suite/prefetch_profile_validation.rb +48 -0
  123. data/lib/davinci_crd_test_kit/cross_suite/profiles_and_resource_types.rb +63 -0
  124. data/lib/davinci_crd_test_kit/cross_suite/replace_tokens.rb +38 -0
  125. data/lib/davinci_crd_test_kit/cross_suite/requests_logical_model_validation.rb +202 -0
  126. data/lib/davinci_crd_test_kit/cross_suite/response_logical_model_validation.rb +274 -0
  127. data/lib/davinci_crd_test_kit/{suggestion_actions_validation.rb → cross_suite/suggestion_actions_validation.rb} +70 -50
  128. data/lib/davinci_crd_test_kit/cross_suite/tags.rb +42 -0
  129. data/lib/davinci_crd_test_kit/metadata.rb +10 -44
  130. data/lib/davinci_crd_test_kit/requirements/cds-hooks-library_1.0.1_requirements.xlsx +0 -0
  131. data/lib/davinci_crd_test_kit/requirements/cds-hooks_2.0_requirements.xlsx +0 -0
  132. data/lib/davinci_crd_test_kit/requirements/cds-hooks_3.0.0-ballot_requirements.xlsx +0 -0
  133. data/lib/davinci_crd_test_kit/requirements/davinci_crd_test_kit_requirements.csv +742 -65
  134. data/lib/davinci_crd_test_kit/requirements/generated/crd_client_requirements_coverage.csv +279 -54
  135. data/lib/davinci_crd_test_kit/requirements/generated/crd_client_v221_requirements_coverage.csv +1430 -0
  136. data/lib/davinci_crd_test_kit/requirements/generated/crd_server_requirements_coverage.csv +36 -45
  137. data/lib/davinci_crd_test_kit/requirements/generated/crd_server_v221_requirements_coverage.csv +143 -0
  138. data/lib/davinci_crd_test_kit/requirements/hl7.fhir.us.davinci-crd_2.0.1_requirements.xlsx +0 -0
  139. data/lib/davinci_crd_test_kit/requirements/hl7.fhir.us.davinci-crd_2.2.1_requirements.xlsx +0 -0
  140. data/lib/davinci_crd_test_kit/server/endpoints/jwk_set_endpoint_handler.rb +13 -0
  141. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_create_endpoint.rb +23 -0
  142. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_delete_endpoint.rb +30 -0
  143. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_metadata_endpoint.rb +112 -0
  144. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_read_endpoint.rb +21 -0
  145. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_request_handler.rb +261 -0
  146. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_search_endpoint.rb +561 -0
  147. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_update_endpoint.rb +24 -0
  148. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/stress-test-Bundle.json +54687 -0
  149. data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr_endpoints.rb +95 -0
  150. data/lib/davinci_crd_test_kit/server/jobs/invoke_hook.rb +225 -0
  151. data/lib/davinci_crd_test_kit/{jwt_helper.rb → server/jwt_helper.rb} +1 -12
  152. data/lib/davinci_crd_test_kit/server/resource_extractor.rb +68 -0
  153. data/lib/davinci_crd_test_kit/server/server_abstract_invoke_hook_test.rb +165 -0
  154. data/lib/davinci_crd_test_kit/server/server_base_urls.rb +30 -0
  155. data/lib/davinci_crd_test_kit/{server_hook_helper.rb → server/server_hook_helper.rb} +1 -1
  156. data/lib/davinci_crd_test_kit/{server_hook_request_validation.rb → server/server_hook_request_validation.rb} +1 -1
  157. data/lib/davinci_crd_test_kit/{test_helper.rb → server/server_test_helper.rb} +7 -3
  158. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Appointment.yml +5 -0
  159. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/ClaimResponse.yml +5 -0
  160. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/CommunicationRequest.yml +5 -0
  161. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Coverage.yml +21 -0
  162. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Device.yml +5 -0
  163. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/DeviceRequest.yml +5 -0
  164. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Encounter.yml +7 -0
  165. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Location.yml +5 -0
  166. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/MedicationRequest.yml +5 -0
  167. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/NutritionOrder.yml +5 -0
  168. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Organization.yml +5 -0
  169. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Patient.yml +5 -0
  170. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Practitioner.yml +5 -0
  171. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/PractitionerRole.yml +40 -0
  172. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/ServiceRequest.yml +5 -0
  173. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/Task.yml +5 -0
  174. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_metadata/VisionPrescription.yml +5 -0
  175. data/lib/davinci_crd_test_kit/server/v2.0.1/crd_server_suite.rb +99 -0
  176. data/lib/davinci_crd_test_kit/server/v2.0.1/discovery/discovery_endpoint_test.rb +90 -0
  177. data/lib/davinci_crd_test_kit/server/v2.0.1/discovery/discovery_services_validation_test.rb +67 -0
  178. data/lib/davinci_crd_test_kit/server/v2.0.1/interaction/server_invoke_hook_test.rb +12 -0
  179. data/lib/davinci_crd_test_kit/server/v2.0.1/must_support/coverage_information_system_action_across_hooks_validation_test.rb +34 -0
  180. data/lib/davinci_crd_test_kit/server/v2.0.1/must_support/external_reference_card_across_hooks_validation_test.rb +30 -0
  181. data/lib/davinci_crd_test_kit/server/v2.0.1/must_support/instructions_card_received_across_hooks_test.rb +27 -0
  182. data/lib/davinci_crd_test_kit/server/v2.0.1/server_appointment_book_group.rb +191 -0
  183. data/lib/davinci_crd_test_kit/server/v2.0.1/server_demonstrate_hook_response_group.rb +93 -0
  184. data/lib/davinci_crd_test_kit/server/v2.0.1/server_discovery_group.rb +62 -0
  185. data/lib/davinci_crd_test_kit/server/v2.0.1/server_encounter_discharge_group.rb +186 -0
  186. data/lib/davinci_crd_test_kit/server/v2.0.1/server_encounter_start_group.rb +186 -0
  187. data/lib/davinci_crd_test_kit/server/v2.0.1/server_hooks_group.rb +73 -0
  188. data/lib/davinci_crd_test_kit/server/v2.0.1/server_order_dispatch_group.rb +191 -0
  189. data/lib/davinci_crd_test_kit/server/v2.0.1/server_order_select_group.rb +211 -0
  190. data/lib/davinci_crd_test_kit/server/v2.0.1/server_order_sign_group.rb +216 -0
  191. data/lib/davinci_crd_test_kit/server/v2.0.1/server_required_card_response_validation_group.rb +28 -0
  192. data/lib/davinci_crd_test_kit/server/v2.0.1/server_urls.rb +13 -0
  193. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_request/service_request_context_validation_test.rb +30 -0
  194. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_request/service_request_optional_fields_validation_test.rb +39 -0
  195. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_request/service_request_required_fields_validation_test.rb +40 -0
  196. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/additional_orders_validation_test.rb +59 -0
  197. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/card_optional_fields_validation_test.rb +51 -0
  198. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/coverage_information_system_action_received_test.rb +65 -0
  199. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/coverage_information_system_action_validation_test.rb +120 -0
  200. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/create_or_update_coverage_info_response_validation_test.rb +70 -0
  201. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/external_reference_card_validation_test.rb +37 -0
  202. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/form_completion_response_validation_test.rb +67 -0
  203. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/instructions_card_received_test.rb +30 -0
  204. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/launch_smart_app_card_validation_test.rb +39 -0
  205. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/propose_alternate_request_card_validation_test.rb +46 -0
  206. data/lib/davinci_crd_test_kit/server/v2.0.1/verify_response/service_response_validation_test.rb +83 -0
  207. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Appointment_withorder.yml +5 -0
  208. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Appointment_withoutorder.yml +5 -0
  209. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/CommunicationRequest.yml +5 -0
  210. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Coverage.yml +5 -0
  211. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Device.yml +5 -0
  212. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/DeviceRequest.yml +5 -0
  213. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Encounter.yml +5 -0
  214. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Location.yml +5 -0
  215. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/MedicationRequest.yml +5 -0
  216. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/NutritionOrder.yml +5 -0
  217. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Organization.yml +5 -0
  218. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/Patient.yml +5 -0
  219. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/PractitionerRole.yml +5 -0
  220. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/ServiceRequest.yml +5 -0
  221. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_metadata/VisionPrescription.yml +5 -0
  222. data/lib/davinci_crd_test_kit/server/v2.2.1/crd_server_suite.rb +115 -0
  223. data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_configuration_test.rb +159 -0
  224. data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_endpoint_test.rb +90 -0
  225. data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_prefetch_support_test.rb +43 -0
  226. data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_services_validation_test.rb +121 -0
  227. data/lib/davinci_crd_test_kit/server/v2.2.1/interaction/server_invoke_hook_test.rb +17 -0
  228. data/lib/davinci_crd_test_kit/server/v2.2.1/must_support/coverage_information_must_support_test.rb +71 -0
  229. data/lib/davinci_crd_test_kit/server/v2.2.1/must_support/coverage_information_system_action_across_hooks_validation_test.rb +36 -0
  230. data/lib/davinci_crd_test_kit/server/v2.2.1/must_support/supported_us_core_versions_test.rb +118 -0
  231. data/lib/davinci_crd_test_kit/server/v2.2.1/server_appointment_book_group.rb +213 -0
  232. data/lib/davinci_crd_test_kit/server/v2.2.1/server_demonstrate_hook_response_group.rb +93 -0
  233. data/lib/davinci_crd_test_kit/server/v2.2.1/server_discovery_group.rb +69 -0
  234. data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_discharge_group.rb +194 -0
  235. data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_start_group.rb +194 -0
  236. data/lib/davinci_crd_test_kit/server/v2.2.1/server_hooks_group.rb +73 -0
  237. data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_dispatch_group.rb +214 -0
  238. data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_select_group.rb +219 -0
  239. data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_sign_group.rb +241 -0
  240. data/lib/davinci_crd_test_kit/server/v2.2.1/server_required_card_response_validation_group.rb +30 -0
  241. data/lib/davinci_crd_test_kit/server/v2.2.1/server_urls.rb +13 -0
  242. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_context_validation_test.rb +30 -0
  243. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_no_custom_extensions_test.rb +120 -0
  244. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_optional_fields_validation_test.rb +39 -0
  245. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_required_fields_validation_test.rb +40 -0
  246. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/additional_orders_validation_test.rb +66 -0
  247. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/all_responses_include_coverage_information_test.rb +123 -0
  248. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/card_optional_fields_validation_test.rb +57 -0
  249. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/coverage_info_configuration_test.rb +83 -0
  250. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/coverage_information_system_action_received_test.rb +65 -0
  251. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/coverage_information_system_action_validation_test.rb +184 -0
  252. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/create_or_update_coverage_info_response_validation_test.rb +75 -0
  253. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/external_reference_card_validation_test.rb +47 -0
  254. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/form_completion_response_validation_test.rb +91 -0
  255. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/hook_request_resource_resolution.rb +137 -0
  256. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/instructions_card_received_test.rb +32 -0
  257. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/launch_smart_app_card_validation_test.rb +49 -0
  258. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/order_dispatch_coverage_information_test.rb +38 -0
  259. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/propose_alternate_request_card_validation_test.rb +54 -0
  260. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/service_response_validation_test.rb +97 -0
  261. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/unknown_cds_hooks_elements_test.rb +78 -0
  262. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/unknown_configuration_test.rb +78 -0
  263. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/unknown_context_test.rb +78 -0
  264. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/verify_response_without_billing_options_test.rb +43 -0
  265. data/lib/davinci_crd_test_kit/server/v2.2.1/verify_response/verify_response_without_configuration_test.rb +44 -0
  266. data/lib/davinci_crd_test_kit/version.rb +2 -2
  267. data/lib/davinci_crd_test_kit.rb +4 -2
  268. metadata +308 -101
  269. data/lib/davinci_crd_test_kit/client_fhir_api_group.rb +0 -785
  270. data/lib/davinci_crd_test_kit/client_hooks_group.rb +0 -75
  271. data/lib/davinci_crd_test_kit/client_tests/appointment_book_receive_request_test.rb +0 -93
  272. data/lib/davinci_crd_test_kit/client_tests/client_appointment_book_group.rb +0 -75
  273. data/lib/davinci_crd_test_kit/client_tests/client_display_cards_attest.rb +0 -48
  274. data/lib/davinci_crd_test_kit/client_tests/client_encounter_discharge_group.rb +0 -73
  275. data/lib/davinci_crd_test_kit/client_tests/client_encounter_start_group.rb +0 -73
  276. data/lib/davinci_crd_test_kit/client_tests/client_fhir_api_create_test.rb +0 -41
  277. data/lib/davinci_crd_test_kit/client_tests/client_fhir_api_read_test.rb +0 -39
  278. data/lib/davinci_crd_test_kit/client_tests/client_fhir_api_search_test.rb +0 -232
  279. data/lib/davinci_crd_test_kit/client_tests/client_fhir_api_update_test.rb +0 -41
  280. data/lib/davinci_crd_test_kit/client_tests/client_fhir_api_validation_test.rb +0 -60
  281. data/lib/davinci_crd_test_kit/client_tests/client_order_dispatch_group.rb +0 -79
  282. data/lib/davinci_crd_test_kit/client_tests/client_order_select_group.rb +0 -82
  283. data/lib/davinci_crd_test_kit/client_tests/client_order_sign_group.rb +0 -81
  284. data/lib/davinci_crd_test_kit/client_tests/client_registration_verification_test.rb +0 -88
  285. data/lib/davinci_crd_test_kit/client_tests/decode_auth_token_test.rb +0 -60
  286. data/lib/davinci_crd_test_kit/client_tests/encounter_discharge_receive_request_test.rb +0 -90
  287. data/lib/davinci_crd_test_kit/client_tests/encounter_start_receive_request_test.rb +0 -90
  288. data/lib/davinci_crd_test_kit/client_tests/hook_request_optional_fields_test.rb +0 -57
  289. data/lib/davinci_crd_test_kit/client_tests/hook_request_required_fields_test.rb +0 -49
  290. data/lib/davinci_crd_test_kit/client_tests/hook_request_valid_context_test.rb +0 -68
  291. data/lib/davinci_crd_test_kit/client_tests/hook_request_valid_prefetch_test.rb +0 -69
  292. data/lib/davinci_crd_test_kit/client_tests/order_dispatch_receive_request_test.rb +0 -102
  293. data/lib/davinci_crd_test_kit/client_tests/order_select_receive_request_test.rb +0 -98
  294. data/lib/davinci_crd_test_kit/client_tests/order_sign_receive_request_test.rb +0 -101
  295. data/lib/davinci_crd_test_kit/client_tests/retrieve_jwks_test.rb +0 -105
  296. data/lib/davinci_crd_test_kit/client_tests/submitted_response_validation.rb +0 -44
  297. data/lib/davinci_crd_test_kit/client_tests/token_header_test.rb +0 -65
  298. data/lib/davinci_crd_test_kit/client_tests/token_payload_test.rb +0 -78
  299. data/lib/davinci_crd_test_kit/crd_client_suite.rb +0 -185
  300. data/lib/davinci_crd_test_kit/crd_options.rb +0 -9
  301. data/lib/davinci_crd_test_kit/crd_server_suite.rb +0 -125
  302. data/lib/davinci_crd_test_kit/igs/davinci-crd-2.0.1.tgz +0 -0
  303. data/lib/davinci_crd_test_kit/routes/cds_services_discovery_handler.rb +0 -18
  304. data/lib/davinci_crd_test_kit/routes/hook_request_endpoint.rb +0 -77
  305. data/lib/davinci_crd_test_kit/routes/jwk_set_endpoint_handler.rb +0 -15
  306. data/lib/davinci_crd_test_kit/server_appointment_book_group.rb +0 -176
  307. data/lib/davinci_crd_test_kit/server_demonstrate_hook_response_group.rb +0 -77
  308. data/lib/davinci_crd_test_kit/server_discovery_group.rb +0 -60
  309. data/lib/davinci_crd_test_kit/server_encounter_discharge_group.rb +0 -170
  310. data/lib/davinci_crd_test_kit/server_encounter_start_group.rb +0 -170
  311. data/lib/davinci_crd_test_kit/server_hooks_group.rb +0 -71
  312. data/lib/davinci_crd_test_kit/server_order_dispatch_group.rb +0 -176
  313. data/lib/davinci_crd_test_kit/server_order_select_group.rb +0 -195
  314. data/lib/davinci_crd_test_kit/server_order_sign_group.rb +0 -201
  315. data/lib/davinci_crd_test_kit/server_required_card_response_validation_group.rb +0 -26
  316. data/lib/davinci_crd_test_kit/server_tests/additional_orders_validation_test.rb +0 -68
  317. data/lib/davinci_crd_test_kit/server_tests/card_optional_fields_validation_test.rb +0 -47
  318. data/lib/davinci_crd_test_kit/server_tests/coverage_information_system_action_across_hooks_validation_test.rb +0 -32
  319. data/lib/davinci_crd_test_kit/server_tests/coverage_information_system_action_received_test.rb +0 -63
  320. data/lib/davinci_crd_test_kit/server_tests/coverage_information_system_action_validation_test.rb +0 -118
  321. data/lib/davinci_crd_test_kit/server_tests/create_or_update_coverage_info_response_validation_test.rb +0 -71
  322. data/lib/davinci_crd_test_kit/server_tests/discovery_endpoint_test.rb +0 -88
  323. data/lib/davinci_crd_test_kit/server_tests/discovery_services_validation_test.rb +0 -65
  324. data/lib/davinci_crd_test_kit/server_tests/external_reference_card_across_hooks_validation_test.rb +0 -28
  325. data/lib/davinci_crd_test_kit/server_tests/external_reference_card_validation_test.rb +0 -36
  326. data/lib/davinci_crd_test_kit/server_tests/form_completion_response_validation_test.rb +0 -78
  327. data/lib/davinci_crd_test_kit/server_tests/instructions_card_received_across_hooks_test.rb +0 -25
  328. data/lib/davinci_crd_test_kit/server_tests/instructions_card_received_test.rb +0 -26
  329. data/lib/davinci_crd_test_kit/server_tests/launch_smart_app_card_validation_test.rb +0 -38
  330. data/lib/davinci_crd_test_kit/server_tests/propose_alternate_request_card_validation_test.rb +0 -63
  331. data/lib/davinci_crd_test_kit/server_tests/service_call_test.rb +0 -101
  332. data/lib/davinci_crd_test_kit/server_tests/service_request_context_validation_test.rb +0 -28
  333. data/lib/davinci_crd_test_kit/server_tests/service_request_optional_fields_validation_test.rb +0 -37
  334. data/lib/davinci_crd_test_kit/server_tests/service_request_required_fields_validation_test.rb +0 -38
  335. data/lib/davinci_crd_test_kit/server_tests/service_response_validation_test.rb +0 -81
  336. data/lib/davinci_crd_test_kit/tags.rb +0 -10
  337. data/lib/davinci_crd_test_kit/urls.rb +0 -52
  338. /data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/external_reference.json +0 -0
  339. /data/lib/davinci_crd_test_kit/{card_responses → client/endpoints/mocked_card_responses}/instructions.json +0 -0
  340. /data/lib/davinci_crd_test_kit/{crd_jwks.json → server/endpoints/crd_jwks.json} +0 -0
  341. /data/lib/davinci_crd_test_kit/{jwks.rb → server/endpoints/jwks.rb} +0 -0
@@ -62,55 +62,55 @@
62
62
  "optional": true,
63
63
  "title": "Request body to use for the \"Demonstrate a Hook Response\" test",
64
64
  "type": "textarea",
65
- "value": "{\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"2a020b2f-1577-4ccb-8ee8-1dc09060f727\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:55:33.823+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 2,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/125\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:52:09.983+00:00\",\n \"source\": \"#KIaKP1Pfw7EVpLjl\"\n },\n \"status\": \"proposed\",\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"183\",\n \"display\": \"Sleep Medicine\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"description\": \"CPAP adjustments\",\n \"start\": \"2019-08-10T09:00:00Z\",\n \"end\": \"2019-08-10T11:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-05-23\",\n \"end\": \"2020-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/126\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"126\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:55:17.405+00:00\",\n \"source\": \"#RTJWuip7OTKyTjG7\"\n },\n \"status\": \"proposed\",\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"CHECKUP\",\n \"display\": \"A routine check-up, such as an annual physical\"\n }\n ]\n },\n \"description\": \"Regular physical\",\n \"start\": \"2020-08-01T11:00:00Z\",\n \"end\": \"2020-08-01T13:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2021-05-23\",\n \"end\": \"2021-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"encounterBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"def4ab7c-3ce3-441a-bed6-49267d0f787a\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:57:58.842+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter?_id=enc-pat014-cold&_include=Encounter%3Apatient&_include=Encounter%3Aservice-provider&_include=Encounter%3Apractitioner&_include=Encounter%3Alocation\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter/enc-pat014-cold\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"enc-pat014-cold\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.726+00:00\",\n \"source\": \"#2Co42uqYJxUtNNmA\"\n },\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185345009\",\n \"display\": \"Encounter for symptom\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"103391001\",\n \"display\": \"Urgent\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Teddy\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra-sstrange\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-02-14T10:40:10+01:00\",\n \"end\": \"2020-02-14T12:40:10+01:00\"\n },\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"82272006\",\n \"display\": \"Common cold (disorder)\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-sstrange\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-sstrange\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.939+00:00\",\n \"source\": \"#zUqXWSo8DhSDB3un\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334466\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Strange\",\n \"given\": [\n \"Stephen\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n}\n"
65
+ "value": "{\n \"hookInstance\": \"d1577c69-dfbe-11ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"total\": 2,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Appointment?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Appointment/125\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:52:09.983+00:00\",\n \"source\": \"#KIaKP1Pfw7EVpLjl\"\n },\n \"status\": \"proposed\",\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"183\",\n \"display\": \"Sleep Medicine\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"description\": \"CPAP adjustments\",\n \"start\": \"2019-08-10T09:00:00Z\",\n \"end\": \"2019-08-10T11:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-05-23\",\n \"end\": \"2020-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Appointment/126\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"126\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:55:17.405+00:00\",\n \"source\": \"#RTJWuip7OTKyTjG7\"\n },\n \"status\": \"proposed\",\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"CHECKUP\",\n \"display\": \"A routine check-up, such as an annual physical\"\n }\n ]\n },\n \"description\": \"Regular physical\",\n \"start\": \"2020-08-01T11:00:00Z\",\n \"end\": \"2020-08-01T13:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2021-05-23\",\n \"end\": \"2021-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": { \n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n },\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n}"
66
66
  },
67
67
  {
68
68
  "name": "appointment_book_request_bodies",
69
- "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"2f5d7a40-31c1-4daa-9670-e0e7c748e395\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:26:08.496+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/124\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"124\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:25:21.327+00:00\",\n \"source\": \"#meQ6e6aw4020GBer\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Appointment</b><a name=\\\"example\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Appointment &quot;example&quot; </p></div><p><b>status</b>: proposed</p><p><b>serviceCategory</b>: General Practice <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-service-category.html\\\">Service category</a>#17)</span></p><p><b>serviceType</b>: General Practice <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-service-type.html\\\">Service type</a>#pat015)</span></p><p><b>specialty</b>: General practice (specialty) <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"https://browser.ihtsdotools.org/\\\">SNOMED CT</a>#394814009)</span></p><p><b>appointmentType</b>: A follow up visit from a previous appointment <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-v2-0276.html\\\">appointmentReason</a>#FOLLOWUP)</span></p><p><b>reasonReference</b>: <a href=\\\"Condition/cond015a\\\">Condition/cond015a: Heart problem</a></p><p><b>priority</b>: 5</p><p><b>description</b>: Discussion on the results of your recent MRI</p><p><b>start</b>: Dec 10, 2013, 9:00:00 AM</p><p><b>end</b>: Dec 10, 2013, 11:00:00 AM</p><p><b>created</b>: 2013-10-10</p><p><b>comment</b>: Further expand on the results of the MRI and determine the next actions that may be appropriate.</p><p><b>basedOn</b>: <a href=\\\"ServiceRequest-example.html\\\">ServiceRequest/servreq-g0180-1</a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\\\"Patient-example.html\\\">Patient/pat015: Amy Baxter</a> &quot; SHAW&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: attender <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ParticipationType.html\\\">ParticipationType</a>#ATND)</span></p><p><b>actor</b>: <a href=\\\"Practitioner-example.html\\\">Practitioner/pra1255: Dr Adam Careful</a> &quot; CAREFUL&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\\\"Location-example.html\\\">Location/example: South Wing, second floor</a> &quot;South Wing, second floor&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><p><b>requestedPeriod</b>: 2020-11-01 --&gt; 2020-12-15</p></div>\"\n },\n \"status\": \"proposed\",\n \"serviceCategory\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-category\",\n \"code\": \"17\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"124\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"specialty\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"394814009\",\n \"display\": \"General practice (specialty)\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"reasonReference\": [\n {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"Heart problem\"\n }\n ],\n \"priority\": 5,\n \"description\": \"Discussion on the results of your recent MRI\",\n \"start\": \"2013-12-10T09:00:00Z\",\n \"end\": \"2013-12-10T11:00:00Z\",\n \"created\": \"2013-10-10\",\n \"comment\": \"Further expand on the results of the MRI and determine the next actions that may be appropriate.\",\n \"basedOn\": [\n {\n \"reference\": \"ServiceRequest/servreq-g0180-1\"\n }\n ],\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\",\n \"display\": \"Amy Baxter\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"ATND\"\n }\n ]\n }\n ],\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"actor\": {\n \"reference\": \"Location/loc1234\",\n \"display\": \"South Wing, second floor\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-11-01\",\n \"end\": \"2020-12-15\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"encounterBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"8ffa667f-77ce-41b7-a873-da447793a195\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:33:16.240+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter?_id=enc-pat014&_include=Encounter%3Apatient&_include=Encounter%3Aservice-provider&_include=Encounter%3Apractitioner&_include=Encounter%3Alocation\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter/enc-pat014\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"enc-pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.732+00:00\",\n \"source\": \"#RVwRUek6bQC44Wa9\"\n },\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185349003\",\n \"display\": \"Encounter for check up\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"103391001\",\n \"display\": \"Urgent\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Teddy\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra1234\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-01-15T12:40:10+01:00\",\n \"end\": \"2020-01-15T13:40:10+01:00\"\n },\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"42343007\",\n \"display\": \"Congestive heart failure (disorder)\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond014a\",\n \"display\": \"Complications from infection on January 9th, 2020\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond014a\",\n \"display\": \"The patient is treated for wheezing\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.625+00:00\",\n \"source\": \"#3fLOP5tSuZrGDiae\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"2a020b2f-1577-4ccb-8ee8-1dc09060f727\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:55:33.823+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 2,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/125\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:52:09.983+00:00\",\n \"source\": \"#KIaKP1Pfw7EVpLjl\"\n },\n \"status\": \"proposed\",\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"183\",\n \"display\": \"Sleep Medicine\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"description\": \"CPAP adjustments\",\n \"start\": \"2019-08-10T09:00:00Z\",\n \"end\": \"2019-08-10T11:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-05-23\",\n \"end\": \"2020-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/126\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"126\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:55:17.405+00:00\",\n \"source\": \"#RTJWuip7OTKyTjG7\"\n },\n \"status\": \"proposed\",\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"CHECKUP\",\n \"display\": \"A routine check-up, such as an annual physical\"\n }\n ]\n },\n \"description\": \"Regular physical\",\n \"start\": \"2020-08-01T11:00:00Z\",\n \"end\": \"2020-08-01T13:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2021-05-23\",\n \"end\": \"2021-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"encounterBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"def4ab7c-3ce3-441a-bed6-49267d0f787a\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:57:58.842+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter?_id=enc-pat014-cold&_include=Encounter%3Apatient&_include=Encounter%3Aservice-provider&_include=Encounter%3Apractitioner&_include=Encounter%3Alocation\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter/enc-pat014-cold\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"enc-pat014-cold\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.726+00:00\",\n \"source\": \"#2Co42uqYJxUtNNmA\"\n },\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185345009\",\n \"display\": \"Encounter for symptom\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"103391001\",\n \"display\": \"Urgent\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Teddy\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra-sstrange\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-02-14T10:40:10+01:00\",\n \"end\": \"2020-02-14T12:40:10+01:00\"\n },\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"82272006\",\n \"display\": \"Common cold (disorder)\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-sstrange\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-sstrange\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.939+00:00\",\n \"source\": \"#zUqXWSo8DhSDB3un\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334466\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Strange\",\n \"given\": [\n \"Stephen\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]\n",
70
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
69
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
70
+ "optional": true,
71
71
  "title": "Request body or bodies for invoking the `appointment-book` hook",
72
72
  "type": "textarea",
73
- "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"2f5d7a40-31c1-4daa-9670-e0e7c748e395\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:26:08.496+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/124\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"124\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:25:21.327+00:00\",\n \"source\": \"#meQ6e6aw4020GBer\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><p><b>Generated Narrative: Appointment</b><a name=\\\"example\\\"> </a></p><div style=\\\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\\\"><p style=\\\"margin-bottom: 0px\\\">Resource Appointment &quot;example&quot; </p></div><p><b>status</b>: proposed</p><p><b>serviceCategory</b>: General Practice <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-service-category.html\\\">Service category</a>#17)</span></p><p><b>serviceType</b>: General Practice <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-service-type.html\\\">Service type</a>#pat015)</span></p><p><b>specialty</b>: General practice (specialty) <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"https://browser.ihtsdotools.org/\\\">SNOMED CT</a>#394814009)</span></p><p><b>appointmentType</b>: A follow up visit from a previous appointment <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-v2-0276.html\\\">appointmentReason</a>#FOLLOWUP)</span></p><p><b>reasonReference</b>: <a href=\\\"Condition/cond015a\\\">Condition/cond015a: Heart problem</a></p><p><b>priority</b>: 5</p><p><b>description</b>: Discussion on the results of your recent MRI</p><p><b>start</b>: Dec 10, 2013, 9:00:00 AM</p><p><b>end</b>: Dec 10, 2013, 11:00:00 AM</p><p><b>created</b>: 2013-10-10</p><p><b>comment</b>: Further expand on the results of the MRI and determine the next actions that may be appropriate.</p><p><b>basedOn</b>: <a href=\\\"ServiceRequest-example.html\\\">ServiceRequest/servreq-g0180-1</a></p><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\\\"Patient-example.html\\\">Patient/pat015: Amy Baxter</a> &quot; SHAW&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: attender <span style=\\\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\\\"> (<a href=\\\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ParticipationType.html\\\">ParticipationType</a>#ATND)</span></p><p><b>actor</b>: <a href=\\\"Practitioner-example.html\\\">Practitioner/pra1255: Dr Adam Careful</a> &quot; CAREFUL&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><blockquote><p><b>participant</b></p><p><b>actor</b>: <a href=\\\"Location-example.html\\\">Location/example: South Wing, second floor</a> &quot;South Wing, second floor&quot;</p><p><b>required</b>: required</p><p><b>status</b>: accepted</p></blockquote><p><b>requestedPeriod</b>: 2020-11-01 --&gt; 2020-12-15</p></div>\"\n },\n \"status\": \"proposed\",\n \"serviceCategory\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-category\",\n \"code\": \"17\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"124\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"specialty\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"394814009\",\n \"display\": \"General practice (specialty)\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"reasonReference\": [\n {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"Heart problem\"\n }\n ],\n \"priority\": 5,\n \"description\": \"Discussion on the results of your recent MRI\",\n \"start\": \"2013-12-10T09:00:00Z\",\n \"end\": \"2013-12-10T11:00:00Z\",\n \"created\": \"2013-10-10\",\n \"comment\": \"Further expand on the results of the MRI and determine the next actions that may be appropriate.\",\n \"basedOn\": [\n {\n \"reference\": \"ServiceRequest/servreq-g0180-1\"\n }\n ],\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\",\n \"display\": \"Amy Baxter\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"ATND\"\n }\n ]\n }\n ],\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"actor\": {\n \"reference\": \"Location/loc1234\",\n \"display\": \"South Wing, second floor\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-11-01\",\n \"end\": \"2020-12-15\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"encounterBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"8ffa667f-77ce-41b7-a873-da447793a195\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:33:16.240+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter?_id=enc-pat014&_include=Encounter%3Apatient&_include=Encounter%3Aservice-provider&_include=Encounter%3Apractitioner&_include=Encounter%3Alocation\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter/enc-pat014\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"enc-pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.732+00:00\",\n \"source\": \"#RVwRUek6bQC44Wa9\"\n },\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185349003\",\n \"display\": \"Encounter for check up\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"103391001\",\n \"display\": \"Urgent\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Teddy\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra1234\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-01-15T12:40:10+01:00\",\n \"end\": \"2020-01-15T13:40:10+01:00\"\n },\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"42343007\",\n \"display\": \"Congestive heart failure (disorder)\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond014a\",\n \"display\": \"Complications from infection on January 9th, 2020\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond014a\",\n \"display\": \"The patient is treated for wheezing\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.625+00:00\",\n \"source\": \"#3fLOP5tSuZrGDiae\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"2a020b2f-1577-4ccb-8ee8-1dc09060f727\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:55:33.823+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 2,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/125\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:52:09.983+00:00\",\n \"source\": \"#KIaKP1Pfw7EVpLjl\"\n },\n \"status\": \"proposed\",\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"183\",\n \"display\": \"Sleep Medicine\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"description\": \"CPAP adjustments\",\n \"start\": \"2019-08-10T09:00:00Z\",\n \"end\": \"2019-08-10T11:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-05-23\",\n \"end\": \"2020-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Appointment/126\",\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"126\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-10T03:55:17.405+00:00\",\n \"source\": \"#RTJWuip7OTKyTjG7\"\n },\n \"status\": \"proposed\",\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"CHECKUP\",\n \"display\": \"A routine check-up, such as an annual physical\"\n }\n ]\n },\n \"description\": \"Regular physical\",\n \"start\": \"2020-08-01T11:00:00Z\",\n \"end\": \"2020-08-01T13:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Peter James Chalmers\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1255\",\n \"display\": \"Dr Adam Careful\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2021-05-23\",\n \"end\": \"2021-05-23\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"encounterBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"def4ab7c-3ce3-441a-bed6-49267d0f787a\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:57:58.842+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter?_id=enc-pat014-cold&_include=Encounter%3Apatient&_include=Encounter%3Aservice-provider&_include=Encounter%3Apractitioner&_include=Encounter%3Alocation\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Encounter/enc-pat014-cold\",\n \"resource\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"enc-pat014-cold\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.726+00:00\",\n \"source\": \"#2Co42uqYJxUtNNmA\"\n },\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185345009\",\n \"display\": \"Encounter for symptom\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"103391001\",\n \"display\": \"Urgent\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Teddy\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra-sstrange\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-02-14T10:40:10+01:00\",\n \"end\": \"2020-02-14T12:40:10+01:00\"\n },\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"82272006\",\n \"display\": \"Common cold (disorder)\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond014b\",\n \"display\": \"The patient is treated for heartburn\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-sstrange\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-sstrange\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.939+00:00\",\n \"source\": \"#zUqXWSo8DhSDB3un\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334466\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Strange\",\n \"given\": [\n \"Stephen\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]\n"
73
+ "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"total\": 1,\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"124\",\n \"status\": \"proposed\",\n \"serviceCategory\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-category\",\n \"code\": \"17\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"124\",\n \"display\": \"General Practice\"\n }\n ]\n }\n ],\n \"specialty\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"394814009\",\n \"display\": \"General practice (specialty)\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"reasonReference\": [\n {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"Heart problem\"\n }\n ],\n \"priority\": 5,\n \"description\": \"Discussion on the results of your recent MRI\",\n \"start\": \"2013-12-10T09:00:00Z\",\n \"end\": \"2013-12-10T11:00:00Z\",\n \"created\": \"2013-10-10\",\n \"comment\": \"Further expand on the results of the MRI and determine the next actions that may be appropriate.\",\n \"basedOn\": [\n {\n \"reference\": \"ServiceRequest/servreq-g0180-1\"\n }\n ],\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"ATND\"\n }\n ]\n }\n ],\n \"actor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n },\n {\n \"actor\": {\n \"reference\": \"Location/us-core-client-tests-location\",\n \"display\": \"South Wing, second floor\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-11-01\",\n \"end\": \"2020-12-15\"\n }\n ]\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n },\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-55ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"appointment-book\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Observation.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"appointments\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"total\": 2,\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"status\": \"proposed\",\n \"serviceType\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/service-type\",\n \"code\": \"183\",\n \"display\": \"Sleep Medicine\"\n }\n ]\n }\n ],\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"FOLLOWUP\",\n \"display\": \"A follow up visit from a previous appointment\"\n }\n ]\n },\n \"description\": \"CPAP adjustments\",\n \"start\": \"2019-08-10T09:00:00Z\",\n \"end\": \"2019-08-10T11:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2020-05-23\",\n \"end\": \"2020-05-23\"\n }\n ]\n }\n },\n {\n \"resource\": {\n \"resourceType\": \"Appointment\",\n \"id\": \"126\",\n \"status\": \"proposed\",\n \"appointmentType\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0276\",\n \"code\": \"CHECKUP\",\n \"display\": \"A routine check-up, such as an annual physical\"\n }\n ]\n },\n \"description\": \"Regular physical\",\n \"start\": \"2020-08-01T11:00:00Z\",\n \"end\": \"2020-08-01T13:00:00Z\",\n \"created\": \"2019-08-01\",\n \"participant\": [\n {\n \"actor\": {\n \"reference\": \"Patient/pat015\"\n },\n \"required\": \"required\",\n \"status\": \"tentative\"\n },\n {\n \"actor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"required\": \"required\",\n \"status\": \"accepted\"\n }\n ],\n \"requestedPeriod\": [\n {\n \"start\": \"2021-05-23\",\n \"end\": \"2021-05-23\"\n }\n ]\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n },\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]"
74
74
  },
75
75
  {
76
76
  "name": "encounter_start_request_bodies",
77
- "default": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-44vf-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-start\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"456\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"456\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"in-progress\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n },\n {\n \"hookInstance\": \"f3945c70-dfbe-44vf-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-start\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"457\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"457\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n }\n]\n",
78
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
77
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
78
+ "optional": true,
79
79
  "title": "Request body or bodies for invoking the `encounter-start` hook",
80
80
  "type": "textarea",
81
- "value": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-44vf-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-start\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"456\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"456\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"in-progress\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n },\n {\n \"hookInstance\": \"f3945c70-dfbe-44vf-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-start\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"457\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"457\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"planned\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n }\n]\n"
81
+ "value": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-444f-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-start\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"pat015-rad-encounter\",\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"HH\",\n \"display\": \"home health\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185345009\",\n \"display\": \"Encounter for symptom\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"709122007\",\n \"display\": \"As soon as possible (qualifier value)\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\",\n \"display\": \"Roosevelt Theodore\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Dr. Jane Doe\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"PPRF\",\n \"display\": \"primary performer\"\n }\n ]\n }\n ]\n }\n ],\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"period\": {\n \"start\": \"2020-07-01T10:40:10+01:00\",\n \"end\": \"2020-07-01T12:40:10+01:00\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"J44.9\",\n \"display\": \"Chronic obstructive pulmonary disease, unspecified\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"The patient is hospitalized for stroke\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"The patient is hospitalized for lung condition\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ],\n \"location\": [\n {\n \"location\": {\n \"display\": \"observation2c\"\n }\n }\n ]\n }\n }\n }\n]"
82
82
  },
83
83
  {
84
84
  "name": "encounter_discharge_request_bodies",
85
- "default": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-44vf-ba6d-3e05e123b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-discharge\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"456\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"456\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n },\n {\n \"hookInstance\": \"f3945c70-dfbe-44vf-ba6d-3e05e953b2vf\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-discharge\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"457\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"457\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n }\n]\n",
86
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
85
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
86
+ "optional": true,
87
87
  "title": "Request body or bodies for invoking the `encounter-discharge` hook",
88
88
  "type": "textarea",
89
- "value": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-44vf-ba6d-3e05e123b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-discharge\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"456\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"456\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n },\n {\n \"hookInstance\": \"f3945c70-dfbe-44vf-ba6d-3e05e953b2vf\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-discharge\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"PractitionerRole/A2340113\",\n \"patientId\": \"1288992\",\n \"encounterId\": \"457\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"457\",\n \"identifier\": [\n {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/visits\",\n \"value\": \"v1451\"\n }\n ],\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"AMB\",\n \"display\": \"ambulatory\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"270427003\",\n \"display\": \"Patient-initiated encounter\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"310361003\",\n \"display\": \"Non-urgent cardiological admission\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/1288992\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/1234\"\n }\n }\n ],\n \"length\": {\n \"value\": 140,\n \"unit\": \"min\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"34068001\",\n \"display\": \"Heart valve replacement\"\n }\n ]\n }\n ],\n \"hospitalization\": {\n \"preAdmissionIdentifier\": {\n \"use\": \"official\",\n \"system\": \"http://www.amc.nl/zorgportal/identifiers/pre-admissions\",\n \"value\": \"93042\"\n },\n \"admitSource\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"305956004\",\n \"display\": \"Referral by physician\"\n }\n ]\n },\n \"dischargeDisposition\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"306689006\",\n \"display\": \"Discharge to home\"\n }\n ]\n }\n },\n \"serviceProvider\": {\n \"reference\": \"Organization/org123\",\n \"display\": \"University Medical Center\"\n }\n }\n }\n }\n]\n"
89
+ "value": "[\n {\n \"hookInstance\": \"f3945c69-dfbe-444f-ba6d-3e05e123b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"encounter-discharge\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/Encounter.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\"\n },\n \"prefetch\": {\n \"encounter\": {\n \"resourceType\": \"Encounter\",\n \"id\": \"pat015-rad-encounter\",\n \"status\": \"finished\",\n \"class\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ActCode\",\n \"code\": \"HH\",\n \"display\": \"home health\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"185345009\",\n \"display\": \"Encounter for symptom\"\n }\n ]\n }\n ],\n \"priority\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"709122007\",\n \"display\": \"As soon as possible (qualifier value)\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\",\n \"display\": \"Roosevelt Theodore\"\n },\n \"participant\": [\n {\n \"individual\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Dr. Jane Doe\"\n },\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationType\",\n \"code\": \"PPRF\",\n \"display\": \"primary performer\"\n }\n ]\n }\n ]\n }\n ],\n \"length\": {\n \"value\": 56,\n \"unit\": \"minutes\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"min\"\n },\n \"period\": {\n \"start\": \"2020-07-01T10:40:10+01:00\",\n \"end\": \"2020-07-01T12:40:10+01:00\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/icd-10-cm\",\n \"code\": \"J44.9\",\n \"display\": \"Chronic obstructive pulmonary disease, unspecified\"\n }\n ]\n }\n ],\n \"diagnosis\": [\n {\n \"condition\": {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"The patient is hospitalized for stroke\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"AD\",\n \"display\": \"Admission diagnosis\"\n }\n ]\n },\n \"rank\": 2\n },\n {\n \"condition\": {\n \"reference\": \"Condition/cond015a\",\n \"display\": \"The patient is hospitalized for lung condition\"\n },\n \"use\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diagnosis-role\",\n \"code\": \"CC\",\n \"display\": \"Chief complaint\"\n }\n ]\n },\n \"rank\": 1\n }\n ],\n \"location\": [\n {\n \"location\": {\n \"display\": \"observation2c\"\n }\n }\n ]\n }\n }\n }\n]"
90
90
  },
91
91
  {
92
92
  "name": "order_select_request_bodies",
93
- "default": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"selections\": [\n \"MedicationRequest/pat014-mr-azathioprine\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-azathioprine\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-azathioprine\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.896+00:00\",\n \"source\": \"#R0SZmSGTb4YcV7ig\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"25839b73-fcc9-4706-8c77-a806995b8109\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105611\",\n \"display\": \"azathioprine 50 MG Oral Tablet [Imuran]\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-05-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"50 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 50,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"medicationRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"849b9827-9a1e-4362-9407-516253badc0e\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T04:42:06.884+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest?_id=pat014-mr-azathioprine&_include=MedicationRequest%3Apatient&_include=MedicationRequest%3Aintended-dispenser&_include=MedicationRequest%3Arequester%3APractitionerRole&_include=MedicationRequest%3Amedication&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-azathioprine\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-azathioprine\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.896+00:00\",\n \"source\": \"#R0SZmSGTb4YcV7ig\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"25839b73-fcc9-4706-8c77-a806995b8109\"\n }\n ],\n \"status\": \"active\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105611\",\n \"display\": \"azathioprine 50 MG Oral Tablet [Imuran]\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-05-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"50 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 50,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"selections\": [\n \"MedicationRequest/pat014-mr-methotrexate\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-methotrexate\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-methotrexate\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.902+00:00\",\n \"source\": \"#45wKMkOdkBDxxP7q\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"9ae058cc-ffdc-4680-b39f-6a38bfde01ac\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105585\",\n \"display\": \"methotrexate 2.5 MG Oral Tablet\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-07-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"7.5 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 7.5,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"medicationRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"37c876de-c44c-400b-b0a7-c71af8028c30\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T04:47:28.765+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest?_id=pat014-mr-methotrexate&_include=MedicationRequest%3Apatient&_include=MedicationRequest%3Aintended-dispenser&_include=MedicationRequest%3Arequester%3APractitionerRole&_include=MedicationRequest%3Amedication&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-methotrexate\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-methotrexate\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.902+00:00\",\n \"source\": \"#45wKMkOdkBDxxP7q\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"9ae058cc-ffdc-4680-b39f-6a38bfde01ac\"\n }\n ],\n \"status\": \"active\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105585\",\n \"display\": \"methotrexate 2.5 MG Oral Tablet\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-07-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"7.5 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 7.5,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]\n",
94
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
93
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
94
+ "optional": true,
95
95
  "title": "Request body or bodies for invoking the `order-select` hook",
96
96
  "type": "textarea",
97
- "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"selections\": [\n \"MedicationRequest/pat014-mr-azathioprine\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-azathioprine\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-azathioprine\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.896+00:00\",\n \"source\": \"#R0SZmSGTb4YcV7ig\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"25839b73-fcc9-4706-8c77-a806995b8109\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105611\",\n \"display\": \"azathioprine 50 MG Oral Tablet [Imuran]\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-05-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"50 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 50,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"medicationRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"849b9827-9a1e-4362-9407-516253badc0e\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T04:42:06.884+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest?_id=pat014-mr-azathioprine&_include=MedicationRequest%3Apatient&_include=MedicationRequest%3Aintended-dispenser&_include=MedicationRequest%3Arequester%3APractitionerRole&_include=MedicationRequest%3Amedication&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-azathioprine\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-azathioprine\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.896+00:00\",\n \"source\": \"#R0SZmSGTb4YcV7ig\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"25839b73-fcc9-4706-8c77-a806995b8109\"\n }\n ],\n \"status\": \"active\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105611\",\n \"display\": \"azathioprine 50 MG Oral Tablet [Imuran]\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-05-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"50 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 50,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat014\",\n \"encounterId\": \"enc-pat014-cold\",\n \"selections\": [\n \"MedicationRequest/pat014-mr-methotrexate\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-methotrexate\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-methotrexate\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.902+00:00\",\n \"source\": \"#45wKMkOdkBDxxP7q\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"9ae058cc-ffdc-4680-b39f-6a38bfde01ac\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105585\",\n \"display\": \"methotrexate 2.5 MG Oral Tablet\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-07-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"7.5 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 7.5,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"5b0be74e-9f57-4d11-a5e9-ec05fe9af42c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T03:56:46.942+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage?patient=pat014\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov014\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.696+00:00\",\n \"source\": \"#XvndBJotP6fVi3pl\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH1600\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat014\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part B\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"medicationRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"37c876de-c44c-400b-b0a7-c71af8028c30\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T04:47:28.765+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest?_id=pat014-mr-methotrexate&_include=MedicationRequest%3Apatient&_include=MedicationRequest%3Aintended-dispenser&_include=MedicationRequest%3Arequester%3APractitionerRole&_include=MedicationRequest%3Amedication&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/MedicationRequest/pat014-mr-methotrexate\",\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-methotrexate\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.902+00:00\",\n \"source\": \"#45wKMkOdkBDxxP7q\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"9ae058cc-ffdc-4680-b39f-6a38bfde01ac\"\n }\n ],\n \"status\": \"active\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105585\",\n \"display\": \"methotrexate 2.5 MG Oral Tablet\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\",\n \"display\": \"Theodor Roosevelt\"\n },\n \"authoredOn\": \"2020-07-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Jane Doe\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"7.5 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 7.5,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat014\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.662+00:00\",\n \"source\": \"#4RE6S8FR2Y44APk0\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">Theodor Alan Roosevelt <b>ROOSEVELT </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M846129001NF</td></tr><tr><td>Address</td><td><span>7525 Colshire Dr </span><br/><span>McLean </span><span>VA </span></td></tr><tr><td>Date of birth</td><td><span>04 July 1946</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M846129001NF\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Roosevelt\",\n \"given\": [\n \"Theodor\",\n \"Alan\",\n \"Roosevelt\"\n ]\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"1946-07-04\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"7525 Colshire Dr\"\n ],\n \"city\": \"McLean\",\n \"state\": \"VA\",\n \"postalCode\": \"22102\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]\n"
97
+ "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-66ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"selections\": [\n \"MedicationRequest/pat015-mr-azathioprine\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat015-mr-azathioprine\",\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"25839b73-fcc9-4706-8c77-a806995b8109\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105611\",\n \"display\": \"azathioprine 50 MG Oral Tablet [Imuran]\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2020-05-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"50 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 50,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-66a1-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-select\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"selections\": [\n \"MedicationRequest/pat015-mr-methotrexate\"\n ],\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat015-mr-methotrexate\",\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"9ae058cc-ffdc-4680-b39f-6a38bfde01ac\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"medicationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://www.nlm.nih.gov/research/umls/rxnorm\",\n \"code\": \"105585\",\n \"display\": \"methotrexate 2.5 MG Oral Tablet\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2020-07-11\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"reasonCode\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"52042003\",\n \"display\": \"Systemic lupus erythematosus glomerulonephritis syndrome, World Health Organization class V (disorder)\"\n }\n ]\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ],\n \"dosageInstruction\": [\n {\n \"sequence\": 1,\n \"text\": \"7.5 mg PO daily for remission induction\",\n \"timing\": {\n \"repeat\": {\n \"frequency\": 1,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n },\n \"route\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"26643006\",\n \"display\": \"Oral route (qualifier value)\"\n }\n ]\n },\n \"doseAndRate\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/dose-rate-type\",\n \"code\": \"ordered\",\n \"display\": \"Ordered\"\n }\n ]\n },\n \"doseQuantity\": {\n \"value\": 7.5,\n \"unit\": \"mg\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mg\"\n }\n }\n ]\n }\n ],\n \"dispenseRequest\": {\n \"numberOfRepeatsAllowed\": 3,\n \"quantity\": {\n \"value\": 90,\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\",\n \"code\": \"TAB\"\n }\n }\n }\n }\n ]\n }\n },\n \"prefetch\": {\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"coverage\": true,\n \"max-cards\": 10\n }\n }\n }\n]"
98
98
  },
99
99
  {
100
100
  "name": "order_dispatch_request_bodies",
101
- "default": "[\n {\n \"hookInstance\": \"f3945c39-dfbe-44vf-ba6d-3e05e123b2va\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"ServiceRequest/servreq-g0180-1\",\n \"performer\": \"Practitioner/pra1255\"\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"serviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"016cc2fb-60ae-4796-9932-c49cc3d1b40c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T01:49:20.640+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest?_id=servreq-g0180-1&_include=ServiceRequest%3Apatient&_include=ServiceRequest%3Aperformer&_include=ServiceRequest%3Arequester&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest/servreq-g0180-1\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov016\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"f3945c39-dfbe-44vf-ba6d-3e05e123b2va\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"DeviceRequest/devreq-015-e0250\",\n \"performer\": \"Practitioner/pra1255\"\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"deviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"7ddef3dd-8f3f-41da-9682-2ed3e5633124\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T05:12:13.040+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest?_id=devreq-015-e0250&_include=DeviceRequest%3Apatient&_include=DeviceRequest%3Aperformer&_include=DeviceRequest%3Arequester&_include=DeviceRequest%3Adevice&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest/devreq-015-e0250\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.356+00:00\",\n \"source\": \"#op1ghHVglWO2FxHe\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"be5ed14f-ed52-4a5a-ba94-29f58b14a585\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.625+00:00\",\n \"source\": \"#3fLOP5tSuZrGDiae\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-hfairchild\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-hfairchild\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.931+00:00\",\n \"source\": \"#u2YhFvhIGG5XGNoI\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334467\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Fairchild\",\n \"given\": [\n \"Helen\"\n ],\n \"prefix\": [\n \"Ms.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n }\n]\n",
102
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
101
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
102
+ "optional": true,
103
103
  "title": "Request body or bodies for invoking the `order-dispatch` hook",
104
104
  "type": "textarea",
105
- "value": "[\n {\n \"hookInstance\": \"f3945c39-dfbe-44vf-ba6d-3e05e123b2va\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"ServiceRequest/servreq-g0180-1\",\n \"performer\": \"Practitioner/pra1255\"\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"serviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"016cc2fb-60ae-4796-9932-c49cc3d1b40c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T01:49:20.640+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest?_id=servreq-g0180-1&_include=ServiceRequest%3Apatient&_include=ServiceRequest%3Aperformer&_include=ServiceRequest%3Arequester&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest/servreq-g0180-1\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov016\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"f3945c39-dfbe-44vf-ba6d-3e05e123b2va\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"DeviceRequest/devreq-015-e0250\",\n \"performer\": \"Practitioner/pra1255\"\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"deviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"7ddef3dd-8f3f-41da-9682-2ed3e5633124\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T05:12:13.040+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest?_id=devreq-015-e0250&_include=DeviceRequest%3Apatient&_include=DeviceRequest%3Aperformer&_include=DeviceRequest%3Arequester&_include=DeviceRequest%3Adevice&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest/devreq-015-e0250\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.356+00:00\",\n \"source\": \"#op1ghHVglWO2FxHe\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"be5ed14f-ed52-4a5a-ba94-29f58b14a585\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.625+00:00\",\n \"source\": \"#3fLOP5tSuZrGDiae\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-hfairchild\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-hfairchild\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:33.931+00:00\",\n \"source\": \"#u2YhFvhIGG5XGNoI\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334467\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Fairchild\",\n \"given\": [\n \"Helen\"\n ],\n \"prefix\": [\n \"Ms.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n }\n]\n"
105
+ "value": "[\n {\n \"hookInstance\": \"f3945c39-dfbe-444f-ba6d-3e05e123b2va\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"ServiceRequest/servreq-g0180-1\",\n \"performer\": \"Practitioner/pra1234\"\n },\n \"prefetch\": {\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"order\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1234\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"f3945c39-dfbe-444f-ba6d-3e05e123b24b\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-dispatch\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"user/Patient.read user/Practitioner.read user/ServiceRequest.read\",\n \"subject\": \"cds-service\"\n },\n \"context\": {\n \"patientId\": \"pat015\",\n \"order\": \"DeviceRequest/devreq015\",\n \"performer\": \"Practitioner/pra1234\"\n },\n \"prefetch\": {\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"order\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq015\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-devicerequest\"\n ]\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ],\n \"status\": \"draft\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0424\",\n \"display\": \"Stationary Compressed Gaseous Oxygen System, Rental\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"intent\": \"original-order\",\n \"occurrenceTiming\": {\n \"repeat\": {\n \"boundsDuration\": {\n \"value\": 8,\n \"unit\": \"mo\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"mo\"\n }\n },\n \"code\": {\n \"text\": \"During sleep AND During exertion\"\n }\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\"\n }\n },\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n }\n }\n }\n]"
106
106
  },
107
107
  {
108
108
  "name": "order_sign_request_bodies",
109
- "default": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.992-04:00\",\n \"source\": \"#Odh5ejWjud85tvNJ\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"f105372f-bbef-442c-ad7a-708fee7f8c93\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"deviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest/devreq-015-e0250\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.992-04:00\",\n \"source\": \"#Odh5ejWjud85tvNJ\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"f105372f-bbef-442c-ad7a-708fee7f8c93\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.555-04:00\",\n \"source\": \"#0mrTfQICzelSBeef\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:15.668-04:00\",\n \"source\": \"#YCao6W9MbpwL2D8L\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-hfairchild\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-hfairchild\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.289-04:00\",\n \"source\": \"#z4T7ZRvSCFEfONs9\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334467\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Fairchild\",\n \"given\": [\n \"Helen\"\n ],\n \"prefix\": [\n \"Ms.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true,\n \"coverage\": true,\n \"dtr-clin\": true,\n \"max-cards\": 10\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"serviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"016cc2fb-60ae-4796-9932-c49cc3d1b40c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T01:49:20.640+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest?_id=servreq-g0180-1&_include=ServiceRequest%3Apatient&_include=ServiceRequest%3Aperformer&_include=ServiceRequest%3Arequester&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest/servreq-g0180-1\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov016\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n }\n]\n",
110
- "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].. e.g. [json_body_1, json_body_2]",
109
+ "description": "To send multiple requests, provide as a JSON list, e.g., [json_body_1, json_body_2].",
110
+ "optional": true,
111
111
  "title": "Request body or bodies for invoking the `order-sign` hook",
112
112
  "type": "textarea",
113
- "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.992-04:00\",\n \"source\": \"#Odh5ejWjud85tvNJ\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"f105372f-bbef-442c-ad7a-708fee7f8c93\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"deviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/DeviceRequest/devreq-015-e0250\",\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.992-04:00\",\n \"source\": \"#Odh5ejWjud85tvNJ\",\n \"profile\": [\n \"http://hl7.org/fhir/us/davinci-crd/R4/StructureDefinition/profile-devicerequest-r4\"\n ]\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"f105372f-bbef-442c-ad7a-708fee7f8c93\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.555-04:00\",\n \"source\": \"#0mrTfQICzelSBeef\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra1234\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:15.668-04:00\",\n \"source\": \"#YCao6W9MbpwL2D8L\",\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\n \"Jane\",\n \"Betty\"\n ],\n \"prefix\": [\n \"Dr.\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"840 Seneca St\"\n ],\n \"city\": \"Buffalo\",\n \"state\": \"NY\",\n \"postalCode\": \"14210\"\n }\n ],\n \"qualification\": [\n {\n \"identifier\": [\n {\n \"system\": \"http://example.org/UniversityIdentifier\",\n \"value\": \"12345\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360/2.7\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Practitioner/pra-hfairchild\",\n \"resource\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra-hfairchild\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.289-04:00\",\n \"source\": \"#z4T7ZRvSCFEfONs9\"\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334467\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Fairchild\",\n \"given\": [\n \"Helen\"\n ],\n \"prefix\": [\n \"Ms.\"\n ]\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-44ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno-qa.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1255\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"enc-pat014\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true,\n \"coverage\": true,\n \"dtr-clin\": true,\n \"max-cards\": 10\n }\n },\n \"prefetch\": {\n \"coverageBundle\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-08T09:47:16.618-04:00\",\n \"source\": \"#2oewiwPOJlURF4aM\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"serviceRequestBundle\": {\n \"resourceType\": \"Bundle\",\n \"id\": \"016cc2fb-60ae-4796-9932-c49cc3d1b40c\",\n \"meta\": {\n \"lastUpdated\": \"2024-05-10T01:49:20.640+00:00\"\n },\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest?_id=servreq-g0180-1&_include=ServiceRequest%3Apatient&_include=ServiceRequest%3Aperformer&_include=ServiceRequest%3Arequester&_include%3Aiterate=PractitionerRole%3Aorganization&_include%3Aiterate=PractitionerRole%3Apractitioner\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/ServiceRequest/servreq-g0180-1\",\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.382+00:00\",\n \"source\": \"#AylXJ4OQfExfrWTQ\"\n },\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov016\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n },\n {\n \"fullUrl\": \"https://inferno-qa.healthit.gov/reference-server/r4/Patient/pat015\",\n \"resource\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-04-25T17:48:34.068+00:00\",\n \"source\": \"#fT6fENtjF2A8Ne61\"\n },\n \"text\": {\n \"status\": \"generated\",\n \"div\": \"<div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"><div class=\\\"hapiHeaderText\\\">William Hale Oster <b>OSTER </b></div><table class=\\\"hapiPropertyTable\\\"><tbody><tr><td>Identifier</td><td>0M34355006FW</td></tr><tr><td>Address</td><td><span>202 Burlington Road </span><br/><span>Bedford </span><span>MA </span></td></tr><tr><td>Date of birth</td><td><span>23 February 2015</span></td></tr></tbody></table></div>\"\n },\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\n \"William\",\n \"Hale\",\n \"Oster\"\n ]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"line\": [\n \"202 Burlington Road\"\n ],\n \"city\": \"Bedford\",\n \"state\": \"MA\",\n \"postalCode\": \"01730\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"include\"\n }\n }\n ]\n }\n }\n }\n]\n"
113
+ "value": "[\n {\n \"hookInstance\": \"d1577c69-dfbe-77ad-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq-015-e0250\",\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"f105372f-bbef-442c-ad7a-708fee7f8c93\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"original-order\",\n \"codeCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"E0250\",\n \"display\": \"Hospital bed fixed height with any type of side rails, mattress\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true\n }\n },\n \"prefetch\": {\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n },\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n },\n \"user\": {\n \"resourceType\": \"Practitioner\",\n \"id\": \"pra1234\",\n \"meta\": {\n \"profile\": [\n \"http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner\"\n ]\n },\n \"identifier\": [\n {\n \"system\": \"http://hl7.org/fhir/sid/us-npi\",\n \"value\": \"1122334455\"\n }\n ],\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"840 Seneca St\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"716-873-1557\"\n },\n {\n \"system\": \"email\",\n \"value\": \"jane.betty@myhospital.com\"\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Doe\",\n \"given\": [\"Jane\", \"Betty\"],\n \"prefix\": [\"Dr.\"]\n }\n ],\n \"qualification\": [\n {\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0360\",\n \"code\": \"MD\",\n \"display\": \"Doctor of Medicine\"\n }\n ],\n \"text\": \"Doctor of Medicine\"\n },\n \"period\": {\n \"start\": \"1995\"\n },\n \"issuer\": {\n \"display\": \"Example University\"\n }\n }\n ]\n }\n }\n },\n {\n \"hookInstance\": \"d1577c69-dfbe-77a1-ba6d-3e05e953b2ea\",\n \"fhirServer\": \"https://inferno.healthit.gov/reference-server/r4\",\n \"hook\": \"order-sign\",\n \"fhirAuthorization\": {\n \"access_token\": \"SAMPLE_TOKEN\",\n \"token_type\": \"Bearer\",\n \"expires_in\": 300,\n \"scope\": \"patient/Patient.read patient/Observation.read\",\n \"subject\": \"cds-service4\"\n },\n \"context\": {\n \"userId\": \"Practitioner/pra1234\",\n \"patientId\": \"pat015\",\n \"encounterId\": \"pat015-rad-encounter\",\n \"draftOrders\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"collection\",\n \"entry\": [\n {\n \"resource\": {\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq-g0180-1\",\n \"identifier\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"PLAC\"\n }\n ]\n },\n \"value\": \"11ddab7e-1488-4848-b3d5-512d2f1e3f28\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"G0180\",\n \"display\": \"Medicare-covered home health services under a home health plan of care\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"occurrenceDateTime\": \"2017-10-01\",\n \"authoredOn\": \"2017-10-04\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1234\"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov015\"\n }\n ]\n }\n }\n ]\n }\n },\n \"extension\": {\n \"davinci-crd.configuration\": {\n \"alt-drug\": true,\n \"coverage\": true,\n \"dtr-clin\": true,\n \"max-cards\": 10\n }\n },\n \"prefetch\": {\n \"patient\": {\n \"resourceType\": \"Patient\",\n \"id\": \"pat015\",\n \"gender\": \"male\",\n \"birthDate\": \"2015-02-23\",\n \"address\": [\n {\n \"use\": \"home\",\n \"type\": \"both\",\n \"state\": \"NY\",\n \"city\": \"Buffalo\",\n \"postalCode\": \"14210\",\n \"line\": [\"202 Burlington Road\"]\n }\n ],\n \"name\": [\n {\n \"use\": \"official\",\n \"family\": \"Oster\",\n \"given\": [\"William\", \"Hale\", \"Oster\"]\n }\n ],\n \"telecom\": [\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555-5555\",\n \"use\": \"home\",\n \"rank\": 1\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 5613\",\n \"use\": \"work\",\n \"rank\": 2\n },\n {\n \"system\": \"phone\",\n \"value\": \"(781) 555 8834\",\n \"use\": \"old\",\n \"period\": {\n \"end\": \"2014\"\n }\n }\n ],\n \"identifier\": [\n {\n \"use\": \"usual\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0203\",\n \"code\": \"MR\"\n }\n ],\n \"text\": \"Medical Record Number\"\n },\n \"system\": \"http://hl7.org/fhir/sid/us-medicare\",\n \"value\": \"0M34355006FW\"\n }\n ]\n },\n \"coverage\": {\n \"resourceType\": \"Bundle\",\n \"type\": \"searchset\",\n \"total\": 1,\n \"link\": [\n {\n \"relation\": \"self\",\n \"url\": \"https://inferno.healthit.gov/reference-server/r4/Coverage?patient=pat015\"\n }\n ],\n \"entry\": [\n {\n \"fullUrl\": \"https://inferno.healthit.gov/reference-server/r4/Coverage/cov015\",\n \"resource\": {\n \"resourceType\": \"Coverage\",\n \"id\": \"cov015\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"status\": \"active\",\n \"class\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/coverage-class\",\n \"code\": \"plan\"\n }\n ]\n },\n \"value\": \"Medicare Part A\"\n }\n ],\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n },\n \"search\": {\n \"mode\": \"match\"\n }\n }\n ]\n }\n }\n }\n]"
114
114
  }
115
115
  ]
116
116
  }