davinci_crd_test_kit 0.14.1 → 0.14.2
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.
- checksums.yaml +4 -4
- data/config/presets/{inferno_crd_server_suite.json.erb → client_against_inferno_crd_server_suite.json.erb} +0 -33
- data/config/presets/{ri_crd_request_generator.json.erb → client_against_ri_crd_request_generator.json.erb} +1 -14
- data/config/presets/client_v221_against_inferno_crd_server_suite.json.erb +84 -0
- data/config/presets/client_v221_against_ri_br_provider.json.erb +31 -0
- data/config/presets/{ri_crd_request_generator.json_v221.json.erb → client_v221_against_ri_crd_request_generator.json.erb} +1 -1
- data/config/presets/{inferno_crd_client_suite.json.erb → server_against_inferno_crd_client_suite.json.erb} +0 -43
- data/config/presets/{ri_crd_server.json.erb → server_against_ri_crd_server.json.erb} +1 -44
- data/config/presets/{inferno_crd_client_suite_v221.json.erb → server_v221_against_inferno_crd_client_suite.json.erb} +0 -61
- data/config/presets/{inferno_crd_client_suite_prefetch_subset_v221.json.erb → server_v221_against_inferno_crd_client_suite_prefetch_subset.json.erb} +0 -46
- data/config/presets/server_v221_against_inferno_g31_suite.json.erb +49 -0
- data/lib/davinci_crd_test_kit/client/cross_hook_helper.rb +26 -0
- data/lib/davinci_crd_test_kit/client/endpoints/custom_service_response.rb +7 -7
- data/lib/davinci_crd_test_kit/client/endpoints/gather_response_generation_data.rb +4 -1
- data/lib/davinci_crd_test_kit/client/endpoints/hook_request_endpoint.rb +63 -38
- data/lib/davinci_crd_test_kit/client/endpoints/mock_service_response.rb +26 -7
- data/lib/davinci_crd_test_kit/client/endpoints/scenario_service_response.rb +54 -0
- data/lib/davinci_crd_test_kit/client/tagged_request_load_helper.rb +8 -27
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/retrieve_jwks_test.rb +35 -23
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_payload_test.rb +34 -21
- data/lib/davinci_crd_test_kit/client/v2.0.1/cds-services-v201.json +20 -20
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_appointment_book_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_discharge_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_encounter_start_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_hooks_group.rb +5 -5
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_dispatch_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_select_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_order_sign_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_coverage_information.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_external_reference.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/must_support/client_card_must_support_instructions.rb +3 -36
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_fetched_data_test.rb +4 -13
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_prefetch_equals_queried_test.rb +3 -13
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/client_display_cards_attest.rb +3 -13
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/inferno_response_validation.rb +3 -13
- data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_coverage_info_update_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/attestation_instructions.rb +10 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_authorized_scope_attestation_test.rb +45 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_coverage_based_invocation_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_hook_invocation_logging_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_must_support_exposure_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_must_support_use_attestation_test.rb +41 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_order_sign_support_attestation_test.rb +42 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_prefetch_key_omission_attestation_test.rb +42 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_resource_identifiers_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_response_case_distinction_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_security_and_privacy_attestation_test.rb +43 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_workflow_integration_attestation_test.rb +44 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/decode_auth_token_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/retrieve_jwks_test.rb +29 -18
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_payload_test.rb +35 -22
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-prefetch-subset-v221.json +47 -47
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-v221.json +50 -50
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_appointment_book_group.rb +16 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_attestations_group.rb +49 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_group.rb +22 -6
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_interaction_group.rb +98 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_discharge_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_start_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_fhir_api_group.rb +14 -12
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_hooks_group.rb +9 -9
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_long_running_hook_group.rb +2 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_dispatch_group.rb +16 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_select_group.rb +12 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_sign_group.rb +16 -14
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_scenarios_group.rb +26 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_self_pay_hook_group.rb +36 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_unknown_content_hook_group.rb +34 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/crd_client_suite.rb +19 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_card_must_support_coverage_information_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_fhirpath_collection_as_comma_delimited_string_test.rb +4 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_hook_instances_unique_test.rb +1 -9
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_location_address_propagation_test.rb +6 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_prefetch_complete_and_subset_test.rb +3 -12
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb +8 -89
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/base_hook_invocation_receive_request_test.rb +163 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/cross_hooks_receive_request_test.rb +97 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_discharge_receive_request_test.rb +8 -90
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_start_receive_request_test.rb +8 -90
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_dispatch_receive_request_test.rb +8 -98
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb +8 -98
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_sign_receive_request_test.rb +8 -98
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_long_running_receive_request_test.rb +10 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_skip_long_running_attestation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/self_pay/client_self_pay_no_request_test.rb +30 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/self_pay/client_self_pay_workflow_test.rb +55 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_attestation_test.rb +99 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_receive_request_test.rb +62 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_conformance_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_coverage_verification_test.rb +10 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_data_fetch_verification_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_granted_scopes_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_complete_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_profiles_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_requested_version_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_secured_transport_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/client_display_cards_attest.rb +52 -20
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/hook_response_support_coverage_information_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/inferno_response_validation.rb +6 -3
- data/lib/davinci_crd_test_kit/cross_suite/cards_identification.rb +9 -0
- data/lib/davinci_crd_test_kit/cross_suite/logical_models_override_helper.rb +30 -13
- data/lib/davinci_crd_test_kit/cross_suite/prefetch_profile_validation.rb +2 -0
- data/lib/davinci_crd_test_kit/cross_suite/requests_logical_model_validation.rb +26 -27
- data/lib/davinci_crd_test_kit/cross_suite/response_logical_model_validation.rb +48 -41
- data/lib/davinci_crd_test_kit/cross_suite/tags.rb +3 -0
- data/lib/davinci_crd_test_kit/requirements/cds-hooks_3.0.0-ballot_requirements.xlsx +0 -0
- data/lib/davinci_crd_test_kit/requirements/davinci_crd_test_kit_requirements.csv +6 -2
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_requirements_coverage.csv +107 -107
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_v221_requirements_coverage.csv +101 -97
- data/lib/davinci_crd_test_kit/requirements/generated/crd_server_requirements_coverage.csv +18 -18
- data/lib/davinci_crd_test_kit/requirements/generated/crd_server_v221_requirements_coverage.csv +36 -32
- data/lib/davinci_crd_test_kit/requirements/hl7.fhir.us.davinci-crd_2.2.1_requirements.xlsx +0 -0
- data/lib/davinci_crd_test_kit/server/v2.0.1/crd_server_suite.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.0.1/server_hooks_group.rb +5 -5
- data/lib/davinci_crd_test_kit/server/v2.2.1/discovery/discovery_standard_prefetch_expressions_test.rb +1 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_demonstrate_hook_response_group.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_hooks_group.rb +5 -5
- data/lib/davinci_crd_test_kit/version.rb +2 -2
- metadata +40 -12
- data/config/presets/inferno_crd_server_suite_v221.json.erb +0 -94
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aa54b5ffb1c88bfa69b81331719f584712cec9d75358fa1980a1afd848350840
|
|
4
|
+
data.tar.gz: fd3e072478eb465f64474df88407bdbc05860116613fb896f55ed58738b89f97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bae8ef6be07693eb3938f95e7d34f8c66674bf7906fb3ae1fa8fb0d33bb4401a613dcae7a5687333f7a4d68a7d6efb639beae46e78deff2bfa72ad767ce0fc6a
|
|
7
|
+
data.tar.gz: 7696550ba048a77d101098cf4e0455f093f1de869303a6f864fc579eaac915fd27dd07ad5611d87dfabd5bc9a2e0264dcd99ee36ba7375e5541d9fb82fc39ce0
|
|
@@ -16,71 +16,60 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"name": "appointment_book_selected_response_types",
|
|
19
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Coverage Information` card type.",
|
|
20
19
|
"title": "Response types to return from appointment-book hook requests",
|
|
21
20
|
"type": "checkbox",
|
|
22
21
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\"]"
|
|
23
22
|
},
|
|
24
23
|
{
|
|
25
24
|
"name": "encounter_start_selected_response_types",
|
|
26
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Instructions` card type.",
|
|
27
25
|
"title": "Response types to return from encounter-start hook requests",
|
|
28
26
|
"type": "checkbox",
|
|
29
27
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\"]"
|
|
30
28
|
},
|
|
31
29
|
{
|
|
32
30
|
"name": "encounter_discharge_selected_response_types",
|
|
33
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Instructions` card type.",
|
|
34
31
|
"title": "Response types to return from encounter-discharge hook requests",
|
|
35
32
|
"type": "checkbox",
|
|
36
33
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\"]"
|
|
37
34
|
},
|
|
38
35
|
{
|
|
39
36
|
"name": "encounter_discharge_response_approach",
|
|
40
|
-
"description": "Determines how Inferno will generate response for encounter-discharge hook invocations.",
|
|
41
37
|
"title": "Response generation approach for encounter-discharge",
|
|
42
38
|
"type": "radio",
|
|
43
39
|
"value": "custom"
|
|
44
40
|
},
|
|
45
41
|
{
|
|
46
42
|
"name": "encounter_discharge_custom_response_template",
|
|
47
|
-
"description": "A JSON string may be provided here to replace the normal response from the hook request endpoint",
|
|
48
|
-
"optional": true,
|
|
49
43
|
"title": "Custom response for encounter-discharge hook requests",
|
|
50
44
|
"type": "textarea",
|
|
51
45
|
"value": "{\n \"cards\": [\n {\n \"summary\": \"Encounter Discharge Request Form Completion Card\",\n \"detail\": \"This is a Request Form Completion Card which indicates that there are forms that need to be completed.\",\n \"indicator\": \"info\",\n \"source\": {\n \"label\": \"Inferno\",\n \"url\": \"https://inferno.healthit.gov/\",\n \"topic\": {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"coverage-info\",\n \"display\": \"Coverage Information\"\n }\n },\n \"selectionBehavior\": \"any\",\n \"suggestions\": [\n {\n \"label\": \"Add 'completion of the ABC form' to your task list (possibly for reassignment)\",\n \"actions\": [\n {\n \"type\": \"create\",\n \"description\": \"Add version 2 of the XYZ form to the clinical system's repository (if it doesn't already exist)\",\n \"resource\": {\n \"resourceType\": \"Questionnaire\",\n \"id\": \"XYZ\",\n \"url\": \"http://example.org/Questionnaire/XYZ\",\n \"title\": \"Cancer Quality Forum Questionnaire XYZ\",\n \"version\": 2,\n \"status\": \"active\",\n \"subjectType\": [\n \"Patient\"\n ],\n \"date\": \"2012-01\",\n \"item\": [\n {\n \"linkId\": \"1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/sections\",\n \"code\": \"COMORBIDITY\"\n }\n ],\n \"type\": \"group\",\n \"item\": [\n {\n \"linkId\": \"1.1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/questions\",\n \"code\": \"COMORB\"\n }\n ],\n \"prefix\": \"1\",\n \"type\": \"choice\",\n \"answerValueSet\": \"http://hl7.org/fhir/ValueSet/yesnodontknow\",\n \"item\": [\n {\n \"linkId\": \"1.1.1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/sections\",\n \"code\": \"CARDIAL\"\n }\n ],\n \"type\": \"group\",\n \"enableWhen\": [\n {\n \"question\": \"1.1\",\n \"operator\": \"=\",\n \"answerCoding\": {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v2-0136\",\n \"code\": \"Y\"\n }\n }\n ],\n \"item\": [\n {\n \"linkId\": \"1.1.1.1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/questions\",\n \"code\": \"COMORBCAR\"\n }\n ],\n \"prefix\": \"1.1\",\n \"type\": \"choice\",\n \"answerValueSet\": \"http://hl7.org/fhir/ValueSet/yesnodontknow\",\n \"item\": [\n {\n \"linkId\": \"1.1.1.1.1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/questions\",\n \"code\": \"COMCAR00\",\n \"display\": \"Angina Pectoris\"\n },\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"194828000\",\n \"display\": \"Angina (disorder)\"\n }\n ],\n \"prefix\": \"1.1.1\",\n \"type\": \"choice\",\n \"answerValueSet\": \"http://hl7.org/fhir/ValueSet/yesnodontknow\"\n },\n {\n \"linkId\": \"1.1.1.1.2\",\n \"code\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"22298006\",\n \"display\": \"Myocardial infarction (disorder)\"\n }\n ],\n \"prefix\": \"1.1.2\",\n \"type\": \"choice\",\n \"answerValueSet\": \"http://hl7.org/fhir/ValueSet/yesnodontknow\"\n }\n ]\n },\n {\n \"linkId\": \"1.1.1.2\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/questions\",\n \"code\": \"COMORBVAS\"\n }\n ],\n \"prefix\": \"1.2\",\n \"type\": \"choice\",\n \"answerValueSet\": \"http://hl7.org/fhir/ValueSet/yesnodontknow\"\n }\n ]\n }\n ]\n }\n ]\n },\n {\n \"linkId\": \"2\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/sections\",\n \"code\": \"HISTOPATHOLOGY\"\n }\n ],\n \"type\": \"group\",\n \"item\": [\n {\n \"linkId\": \"2.1\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/sections\",\n \"code\": \"ABDOMINAL\"\n }\n ],\n \"type\": \"group\",\n \"item\": [\n {\n \"linkId\": \"2.1.2\",\n \"code\": [\n {\n \"system\": \"http://example.org/system/code/questions\",\n \"code\": \"STADPT\",\n \"display\": \"pT category\"\n }\n ],\n \"type\": \"choice\"\n }\n ]\n }\n ]\n }\n ]\n },\n \"extension\": {\n \"davinci-crd.if-none-exist\": \"url=http://example.org/Questionnaire/XYZ\\u0026version=2\"\n }\n },\n {\n \"type\": \"create\",\n \"description\": \"Add 'Complete ABC form' to the task list\",\n \"resource\": {\n \"resourceType\": \"Task\",\n \"status\": \"ready\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/uv/sdc/CodeSystem/temp\",\n \"code\": \"complete-questionnaire\"\n }\n ]\n },\n \"description\": \"Complete XYZ form for local retention\",\n \"for\": {\n \"reference\": \"Patient/pat015\"\n },\n \"authoredOn\": \"2026-03-09\",\n \"requester\": {\n \"reference\": \"http://example.org/fhir/Organization/payer\"\n },\n \"input\": [\n {\n \"type\": {\n \"text\": \"questionnaire\",\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/uv/sdc/CodeSystem/temp\",\n \"code\": \"questionnaire\"\n }\n ]\n },\n \"valueCanonical\": \"http://example.org/Questionnaire/XYZ\"\n },\n {\n \"type\": {\n \"text\": \"afterCompletion\",\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"after-completion-action\"\n }\n ]\n },\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"prior-auth-include\",\n \"display\": \"Include in prior authorization\"\n }\n ]\n }\n }\n ]\n }\n }\n ]\n }\n ],\n \"uuid\": \"b76ed092-4c6f-4e5f-b1b3-0c7ceb915308\"\n },\n {\n \"summary\": \"Encounter Discharge Launch SMART Application Card\",\n \"detail\": \"This is a Launch SMART Application Card which can cause the launching of SMART apps to occur in the context in which they are relevant to patient care and/or to payment-related decision-making.\",\n \"indicator\": \"info\",\n \"source\": {\n \"label\": \"Inferno\",\n \"url\": \"https://inferno.healthit.gov/\",\n \"topic\": {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"coverage-info\",\n \"display\": \"Coverage Information\"\n }\n },\n \"links\": [\n {\n \"label\": \"Inferno\",\n \"url\": \"<%= Inferno::Application['base_url'] %>/custom/smart/launch\",\n \"type\": \"smart\"\n }\n ],\n \"uuid\": \"daf166dd-d7fa-4c74-ba80-71bc41c9efc1\"\n },\n {\n \"summary\": \"Encounter Discharge External Reference Card\",\n \"detail\": \"This is an External Reference Card containing one or more links to external web pages, PDFs, or other resources that provide relevant coverage information.\",\n \"indicator\": \"info\",\n \"source\": {\n \"label\": \"Inferno\",\n \"url\": \"https://inferno.healthit.gov/\",\n \"topic\": {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"guideline\",\n \"display\": \"Guideline\"\n }\n },\n \"links\": [\n {\n \"label\": \"CRD IG External Reference Card Info\",\n \"url\": \"https://build.fhir.org/ig/HL7/davinci-crd/cards.html#external-reference\",\n \"type\": \"absolute\"\n }\n ],\n \"uuid\": \"c7bd850d-9d83-4056-aa0d-d887e6b68aed\"\n },\n {\n \"summary\": \"Encounter Discharge Create/Update Coverage Information Card\",\n \"detail\": \"This is a Create/Update Coverage Information Card which is sent when the CRD server is aware of additional coverage that is relevant to the current/proposed activity or has updates/corrections to make to the information held by the CRD Client\",\n \"indicator\": \"info\",\n \"source\": {\n \"label\": \"Inferno\",\n \"url\": \"https://inferno.healthit.gov/\",\n \"topic\": {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"coverage-info\",\n \"display\": \"Coverage Information\"\n }\n },\n \"selectionBehavior\": \"any\",\n \"suggestions\": [\n {\n \"label\": \"Create/Update coverage information\",\n \"actions\": [\n {\n \"type\": \"update\",\n \"description\": \"Update current coverage record\",\n \"resource\": {\n \"id\": \"cov015\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2025-08-14T00:52:07.566+00:00\"\n },\n \"status\": \"active\",\n \"subscriberId\": \"10A3D58WH456\",\n \"beneficiary\": {\n \"reference\": \"Patient/pat015\"\n },\n \"period\": {\n \"start\": \"2026-03-09\",\n \"end\": \"2026-04-09\"\n },\n \"payor\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ],\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 \"resourceType\": \"Coverage\"\n }\n }\n ]\n }\n ],\n \"uuid\": \"ac669633-6c4f-4599-b60b-e840ce0be625\"\n },\n {\n \"summary\": \"Encounter Discharge Instructions Card\",\n \"detail\": \"This is an Instructions card containing textual guidance to display to the user making the decisions.\",\n \"indicator\": \"info\",\n \"source\": {\n \"label\": \"Inferno\",\n \"url\": \"https://inferno.healthit.gov/\",\n \"topic\": {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"coverage-info\",\n \"display\": \"Coverage Information\"\n }\n },\n \"uuid\": \"1ab5f527-b173-4e5c-ad1f-56b4c4fe439a\"\n }\n ],\n \"systemActions\": [\n {\n \"type\": \"update\",\n \"description\": \"Added coverage information to Encounter resource.\",\n \"resource\": {\n \"id\": \"pat015-rad-encounter\",\n \"extension\": [\n {\n \"extension\": [\n {\n \"url\": \"coverage\",\n \"valueReference\": {\n \"reference\": \"Coverage/cov015\"\n }\n },\n {\n \"url\": \"covered\",\n \"valueCode\": \"conditional\"\n },\n {\n \"url\": \"pa-needed\",\n \"valueCode\": \"auth-needed\"\n },\n {\n \"url\": \"doc-needed\",\n \"valueCode\": \"clinical\"\n },\n {\n \"url\": \"doc-purpose\",\n \"valueCode\": \"withorder\"\n },\n {\n \"url\": \"info-needed\",\n \"valueCode\": \"performer\"\n },\n {\n \"url\": \"date\",\n \"valueDate\": \"2026-03-09\"\n },\n {\n \"url\": \"coverage-assertion-id\",\n \"valueString\": \"0730da9e5a13eededb08999dcc06b89f22adf797fa2457fc0d7c330599da1311\"\n }\n ],\n \"url\": \"http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information\"\n }\n ],\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 \"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 \"individual\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Dr. Jane Doe\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-07-01T10:40:10+01:00\",\n \"end\": \"2020-07-01T12: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://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 \"resourceType\": \"Encounter\"\n }\n }\n ]\n}"
|
|
52
46
|
},
|
|
53
47
|
{
|
|
54
48
|
"name": "order_select_selected_response_types",
|
|
55
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Instructions` card type.",
|
|
56
49
|
"title": "Response types to return from order-select hook requests",
|
|
57
50
|
"type": "checkbox",
|
|
58
51
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\",\"propose_alternate_request\",\"companions_prerequisites\"]"
|
|
59
52
|
},
|
|
60
53
|
{
|
|
61
54
|
"name": "order_dispatch_selected_response_types",
|
|
62
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Coverage Information` card type.",
|
|
63
55
|
"title": "Response types to return from order-dispatch hook requests",
|
|
64
56
|
"type": "checkbox",
|
|
65
57
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\",\"propose_alternate_request\",\"companions_prerequisites\"]"
|
|
66
58
|
},
|
|
67
59
|
{
|
|
68
60
|
"name": "order_sign_selected_response_types",
|
|
69
|
-
"description": "Select the cards/action response types that the Inferno hook request endpoints will return. The default response type that will be returned for this hook is the `Coverage Information` card type.",
|
|
70
61
|
"title": "Response types to return from order-sign hook requests",
|
|
71
62
|
"type": "checkbox",
|
|
72
63
|
"value": "[\"external_reference\",\"instructions\",\"coverage_information\",\"request_form_completion\",\"create_update_coverage_info\",\"launch_smart_app\",\"propose_alternate_request\",\"companions_prerequisites\"]"
|
|
73
64
|
},
|
|
74
65
|
{
|
|
75
66
|
"name": "url",
|
|
76
|
-
"description": "URL of the FHIR endpoint used by SMART applications",
|
|
77
67
|
"title": "FHIR Endpoint",
|
|
78
68
|
"type": "text",
|
|
79
69
|
"value": "<%= ENV.fetch('INFERNO_REFERENCE_SERVER_URI', 'https://inferno.healthit.gov') %>/reference-server/r4"
|
|
80
70
|
},
|
|
81
71
|
{
|
|
82
72
|
"name": "smart_auth_info",
|
|
83
|
-
"optional": true,
|
|
84
73
|
"title": "OAuth Credentials",
|
|
85
74
|
"type": "auth_info",
|
|
86
75
|
"value": {
|
|
@@ -91,124 +80,102 @@
|
|
|
91
80
|
},
|
|
92
81
|
{
|
|
93
82
|
"name": "patient_ids",
|
|
94
|
-
"description": "Comma separated list of Patient IDs that in sum contain all MUST SUPPORT elements",
|
|
95
|
-
"optional": true,
|
|
96
83
|
"title": "Patient IDs",
|
|
97
84
|
"type": "text",
|
|
98
85
|
"value": "pat015"
|
|
99
86
|
},
|
|
100
87
|
{
|
|
101
88
|
"name": "device_ids",
|
|
102
|
-
"description": "Comma separated list of Device IDs that in sum contain all MUST SUPPORT elements",
|
|
103
89
|
"title": "Device IDs",
|
|
104
90
|
"type": "text",
|
|
105
91
|
"value": "example"
|
|
106
92
|
},
|
|
107
93
|
{
|
|
108
94
|
"name": "encounter_ids",
|
|
109
|
-
"description": "Comma separated list of Encounter IDs that in sum contain all MUST SUPPORT elements",
|
|
110
|
-
"optional": true,
|
|
111
95
|
"title": "Encounter IDs",
|
|
112
96
|
"type": "text",
|
|
113
97
|
"value": "pat015-rad-encounter"
|
|
114
98
|
},
|
|
115
99
|
{
|
|
116
100
|
"name": "organization_ids",
|
|
117
|
-
"description": "Comma separated list of Organization IDs that in sum contain all MUST SUPPORT elements",
|
|
118
|
-
"optional": true,
|
|
119
101
|
"title": "Organization IDs",
|
|
120
102
|
"type": "text",
|
|
121
103
|
"value": "org1234"
|
|
122
104
|
},
|
|
123
105
|
{
|
|
124
106
|
"name": "practitioner_ids",
|
|
125
|
-
"description": "Comma separated list of Practitioner IDs that in sum contain all MUST SUPPORT elements",
|
|
126
|
-
"optional": true,
|
|
127
107
|
"title": "Practitioner IDs",
|
|
128
108
|
"type": "text",
|
|
129
109
|
"value": "pra1234"
|
|
130
110
|
},
|
|
131
111
|
{
|
|
132
112
|
"name": "practitioner_role_ids",
|
|
133
|
-
"description": "Comma separated list of Practitioner IDs that in sum contain all MUST SUPPORT elements",
|
|
134
|
-
"optional": true,
|
|
135
113
|
"title": "PractitionerRole IDs",
|
|
136
114
|
"type": "text",
|
|
137
115
|
"value": "prarol1234"
|
|
138
116
|
},
|
|
139
117
|
{
|
|
140
118
|
"name": "location_ids",
|
|
141
|
-
"description": "Comma separated list of Location IDs that in sum contain all MUST SUPPORT elements",
|
|
142
119
|
"title": "Location IDs",
|
|
143
120
|
"type": "text",
|
|
144
121
|
"value": "loc1234"
|
|
145
122
|
},
|
|
146
123
|
{
|
|
147
124
|
"name": "appointment_update_resources",
|
|
148
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
149
125
|
"title": "Appointment Resources",
|
|
150
126
|
"type": "textarea",
|
|
151
127
|
"value": "[{\n \"resourceType\": \"Appointment\",\n \"id\": \"125\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-18T17:20:39.156+00:00\"\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://hl7.org/fhir/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}]"
|
|
152
128
|
},
|
|
153
129
|
{
|
|
154
130
|
"name": "communication_request_update_resources",
|
|
155
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
156
131
|
"title": "CommunicationRequest Resources",
|
|
157
132
|
"type": "textarea",
|
|
158
133
|
"value": "[\n {\n \"resourceType\": \"CommunicationRequest\",\n \"id\": \"134\",\n \"identifier\": [\n {\n \"system\": \"http://www.jurisdiction.com/insurer/123456\",\n \"value\": \"ABC123\"\n }\n ],\n \"basedOn\": [\n {\n \"display\": \"EligibilityRequest\"\n }\n ],\n \"groupIdentifier\": {\n \"value\": \"12345\"\n },\n \"status\": \"draft\",\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/communication-category\",\n \"code\": \"instruction\"\n }\n ]\n }\n ],\n \"priority\": \"routine\",\n \"medium\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/v3-ParticipationMode\",\n \"code\": \"WRITTEN\",\n \"display\": \"written\"\n }\n ],\n \"text\": \"written\"\n }\n ],\n \"subject\": {\n \"reference\": \"Patient/pat015\"\n },\n \"encounter\": {\n \"reference\": \"Encounter/pat015-rad-encounter\"\n },\n \"payload\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/5.0/StructureDefinition/extension-CommunicationRequest.payload.content[x]\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://loinc.org\",\n \"code\": \"65752-8\",\n \"display\": \"Liver Pathology biopsy report\"\n }\n ]\n }\n }\n ],\n \"contentString\": \"Liver pathology biopsy report\"\n }\n ],\n \"occurrenceDateTime\": \"2016-06-10T11:01:10-08:00\",\n \"authoredOn\": \"2016-06-10T11:01:10-08:00\",\n \"requester\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"recipient\": [\n {\n \"reference\": \"Organization/org1234\"\n }\n ]\n }\n]"
|
|
159
134
|
},
|
|
160
135
|
{
|
|
161
136
|
"name": "device_request_update_resources",
|
|
162
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
163
137
|
"title": "DeviceRequest Resources",
|
|
164
138
|
"type": "textarea",
|
|
165
139
|
"value": "[{\n \"resourceType\": \"DeviceRequest\",\n \"id\": \"devreq014\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-18T17:20:39.156+00:00\",\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\": \"600dca50-ddae-482e-b8ac-383e1ab10c18\"\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\": \"E0424\",\n \"display\": \"Stationary Compressed Gaseous Oxygen System, Rental\"\n }\n ]\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\"\n },\n \"authoredOn\": \"2023-01-01T00:00:00Z\",\n \"requester\": {\n \"reference\": \"Practitioner/pra-hfairchild\"\n },\n \"performer\": {\n \"reference\": \"Practitioner/pra1255\"\n },\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ]\n}]"
|
|
166
140
|
},
|
|
167
141
|
{
|
|
168
142
|
"name": "encounter_update_resources",
|
|
169
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
170
143
|
"title": "Encounter Resources",
|
|
171
144
|
"type": "textarea",
|
|
172
145
|
"value": "[{\n \"resourceType\": \"Encounter\",\n \"id\": \"pat015-rad-encounter\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-18T17:20:39.156+00:00\"\n },\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 \"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 \"individual\": {\n \"reference\": \"Practitioner/pra1234\",\n \"display\": \"Dr. Jane Doe\"\n }\n }\n ],\n \"period\": {\n \"start\": \"2020-07-01T10:40:10+01:00\",\n \"end\": \"2020-07-01T12: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://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}]"
|
|
173
146
|
},
|
|
174
147
|
{
|
|
175
148
|
"name": "medication_request_update_resources",
|
|
176
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
177
149
|
"title": "MedicationRequest Resources",
|
|
178
150
|
"type": "textarea",
|
|
179
151
|
"value": "[{\n \"resourceType\": \"MedicationRequest\",\n \"id\": \"pat014-mr-azathioprine\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-18T17:20:39.156+00:00\"\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}]"
|
|
180
152
|
},
|
|
181
153
|
{
|
|
182
154
|
"name": "nutrition_order_update_resources",
|
|
183
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
184
155
|
"title": "NutritionOrder Resources",
|
|
185
156
|
"type": "textarea",
|
|
186
157
|
"value": "[{\n \"resourceType\": \"NutritionOrder\",\n \"id\": \"135\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-23T15:32:28.628+00:00\"\n },\n \"identifier\": [\n {\n \"system\": \"http://goodhealthhospital.org/nutrition-requests\",\n \"value\": \"123\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"patient\": {\n \"reference\": \"Patient/pat014\"\n },\n \"encounter\": {\n \"reference\": \"Encounter/enc-pat014\"\n },\n \"dateTime\": \"2014-09-17\",\n \"orderer\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"allergyIntolerance\": [\n {\n \"reference\": \"AllergyIntolerance/allergy-pat014-cashew\",\n \"display\": \"Cashew Nuts\"\n }\n ],\n \"foodPreferenceModifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/diet\",\n \"code\": \"dairy-free\"\n }\n ]\n }\n ],\n \"excludeFoodModifier\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"227493005\",\n \"display\": \"Cashew Nut\"\n }\n ]\n }\n ],\n \"oralDiet\": {\n \"type\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"15108003\",\n \"display\": \"Restricted fiber diet\"\n }\n ],\n \"text\": \"Fiber restricted diet\"\n },\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"16208003\",\n \"display\": \"Low fat diet\"\n }\n ],\n \"text\": \"Low fat diet\"\n }\n ],\n \"schedule\": [\n {\n \"repeat\": {\n \"boundsPeriod\": {\n \"start\": \"2015-02-10\"\n },\n \"frequency\": 3,\n \"period\": 1,\n \"periodUnit\": \"d\"\n }\n }\n ],\n \"nutrient\": [\n {\n \"modifier\": {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"256674009\",\n \"display\": \"Fat\"\n }\n ]\n },\n \"amount\": {\n \"value\": 50,\n \"unit\": \"grams\",\n \"system\": \"http://unitsofmeasure.org\",\n \"code\": \"g\"\n }\n }\n ]\n }\n}]"
|
|
187
158
|
},
|
|
188
159
|
{
|
|
189
160
|
"name": "service_request_update_resources",
|
|
190
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
191
161
|
"title": "ServiceRequest Resources",
|
|
192
162
|
"type": "textarea",
|
|
193
163
|
"value": "[{\n \"resourceType\": \"ServiceRequest\",\n \"id\": \"servreq01\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-18T17:20:39.156+00:00\"\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\": \"63dae4d5-1b48-41f6-b56c-8b2fdea87067\"\n }\n ],\n \"status\": \"draft\",\n \"intent\": \"order\",\n \"category\": [\n {\n \"coding\": [\n {\n \"system\": \"http://snomed.info/sct\",\n \"code\": \"386053000\",\n \"display\": \"Evaluation procedure (procedure)\"\n }\n ],\n \"text\": \"Evaluation\"\n }\n ],\n \"code\": {\n \"coding\": [\n {\n \"system\": \"https://bluebutton.cms.gov/resources/codesystem/hcpcs\",\n \"code\": \"A0426\",\n \"display\": \"Ambulance service, advanced life support, non-emergency transport, level 1 (als 1)\"\n }\n ],\n \"text\": \"Ambulance service Non-Emergency Transport\"\n },\n \"subject\": {\n \"reference\": \"Patient/pat014\"\n },\n \"occurrenceDateTime\": \"2016-09-27\",\n \"authoredOn\": \"2016-09-20\",\n \"requester\": {\n \"display\": \"Smythe Juliette, MD\"\n },\n \"performer\": [\n {\n \"reference\": \"Practitioner/pra1255\"\n }\n ],\n \"reasonCode\": [\n {\n \"text\": \"Physical Therapy for Hip Fracture \"\n }\n ],\n \"insurance\": [\n {\n \"reference\": \"Coverage/cov014\"\n }\n ]\n}]"
|
|
194
164
|
},
|
|
195
165
|
{
|
|
196
166
|
"name": "claim_response_create_resources",
|
|
197
|
-
"description": "Provide a list of resources to create. e.g., [json_resource_1, json_resource_2]",
|
|
198
167
|
"title": "ClaimResponse Resources",
|
|
199
168
|
"type": "textarea",
|
|
200
169
|
"value": "[{\n \"resourceType\": \"ClaimResponse\",\n \"status\": \"active\",\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/claim-type\",\n \"code\": \"professional\"\n }\n ]\n },\n \"use\": \"preauthorization\",\n \"patient\": {\n \"reference\": \"Patient/pat015\"\n },\n \"created\": \"2023-05-02T11:02:00+05:00\",\n \"insurer\": {\n \"reference\": \"Organization/org1234\"\n },\n \"requestor\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"outcome\": \"complete\",\n \"preAuthRef\": \"A1B2C3D4\",\n \"addItem\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/extension-itemAuthorizedDate\",\n \"valuePeriod\": {\n \"start\": \"2005-05-02\",\n \"end\": \"2005-06-02\"\n }\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/extension-itemPreAuthIssueDate\",\n \"valueDate\": \"2005-05-02\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/extension-itemAuthorizedProvider\",\n \"valueReference\": {\n \"reference\": \"Practitioner/pra1234\"\n }\n }\n ],\n \"itemSequence\": [\n 1\n ],\n \"productOrService\": {\n \"coding\": [\n {\n \"system\": \"http://codesystem.x12.org/005010/1365\",\n \"code\": \"3\",\n \"display\": \"Consultation\"\n }\n ]\n },\n \"locationCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set\",\n \"code\": \"11\"\n }\n ]\n },\n \"adjudication\": [\n {\n \"extension\": [\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/extension-reviewAction\",\n \"extension\": [\n {\n \"url\": \"number\",\n \"valueString\": \"AUTH0001\"\n },\n {\n \"url\": \"http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/extension-reviewActionCode\",\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://codesystem.x12.org/005010/306\",\n \"code\": \"A1\",\n \"display\": \"Certified in total\"\n }\n ]\n }\n }\n ]\n }\n ],\n \"category\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/adjudication\",\n \"code\": \"submitted\"\n }\n ]\n }\n }\n ]\n }\n ]\n}]"
|
|
201
170
|
},
|
|
202
171
|
{
|
|
203
172
|
"name": "task_create_resources",
|
|
204
|
-
"description": "Provide a list of resources to create. e.g., [json_resource_1, json_resource_2]",
|
|
205
173
|
"title": "Task Resources",
|
|
206
174
|
"type": "textarea",
|
|
207
175
|
"value": "[\n {\n \"resourceType\": \"Task\",\n \"basedOn\": [\n {\n \"reference\": \"MedicationRequest/pat014-mr-azathioprine\"\n }\n ],\n \"status\": \"ready\",\n \"intent\": \"order\",\n \"code\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/uv/sdc/CodeSystem/temp\",\n \"code\": \"complete-questionnaire\"\n }\n ]\n },\n \"for\": {\n \"reference\": \"Patient/pat015\"\n },\n \"encounter\": {\n \"reference\": \"Encounter/pat015-rad-encounter\"\n },\n \"authoredOn\": \"2018-08-09\",\n \"requester\": {\n \"reference\": \"Organization/org1234\"\n },\n \"reasonCode\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"reason-prior-auth\"\n }\n ],\n \"text\": \"Needed for prior authorization\"\n },\n \"input\": [\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/uv/sdc/CodeSystem/temp\",\n \"code\": \"questionnaire\"\n }\n ]\n },\n \"valueCanonical\": \"https://crd-test.davinci.hl7.org/test-ehr/r4/Questionnaire/cdex-questionnaire-example1\"\n },\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/uv/sdc/CodeSystem/temp\",\n \"code\": \"response-endpoint\"\n }\n ]\n },\n \"valueUrl\": \"https://crd-test.davinci.hl7.org/test-ehr\"\n },\n {\n \"type\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"after-completion-action\"\n }\n ]\n },\n \"valueCodeableConcept\": {\n \"coding\": [\n {\n \"system\": \"http://hl7.org/fhir/us/davinci-crd/CodeSystem/temp\",\n \"code\": \"prior-auth-include\",\n \"display\": \"Include in prior authorization\"\n }\n ]\n }\n }\n ]\n }\n]"
|
|
208
176
|
},
|
|
209
177
|
{
|
|
210
178
|
"name": "vision_prescription_update_resources",
|
|
211
|
-
"description": "Provide a list of resources to update. e.g., [json_resource_1, json_resource_2]",
|
|
212
179
|
"title": "VisionPrescription Resources",
|
|
213
180
|
"type": "textarea",
|
|
214
181
|
"value": "[{\n \"resourceType\": \"VisionPrescription\",\n \"id\": \"136\",\n \"meta\": {\n \"versionId\": \"1\",\n \"lastUpdated\": \"2024-05-23T15:34:54.580+00:00\"\n },\n \"identifier\": [\n {\n \"system\": \"http://www.happysight.com/prescription\",\n \"value\": \"15013\"\n }\n ],\n \"status\": \"draft\",\n \"created\": \"2014-06-15\",\n \"patient\": {\n \"reference\": \"Patient/pat015\"\n },\n \"dateWritten\": \"2014-06-15\",\n \"prescriber\": {\n \"reference\": \"Practitioner/pra1234\"\n },\n \"lensSpecification\": [\n {\n \"product\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct\",\n \"code\": \"lens\"\n }\n ]\n },\n \"eye\": \"right\",\n \"sphere\": -2,\n \"prism\": [\n {\n \"amount\": 0.5,\n \"base\": \"down\"\n }\n ],\n \"add\": 2\n },\n {\n \"product\": {\n \"coding\": [\n {\n \"system\": \"http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct\",\n \"code\": \"lens\"\n }\n ]\n },\n \"eye\": \"left\",\n \"sphere\": -1,\n \"cylinder\": -0.5,\n \"axis\": 180,\n \"prism\": [\n {\n \"amount\": 0.5,\n \"base\": \"up\"\n }\n ],\n \"add\": 2\n }\n ]\n}]"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"title": "CRD Request Generator
|
|
2
|
+
"title": "CRD Request Generator Reference Implementation",
|
|
3
3
|
"id": "ri_crd_request_generator",
|
|
4
4
|
"test_suite_id": "crd_client",
|
|
5
5
|
"inputs": [
|
|
@@ -11,61 +11,48 @@
|
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"name": "url",
|
|
14
|
-
"description": "URL of the FHIR endpoint used by SMART applications",
|
|
15
14
|
"title": "FHIR Endpoint",
|
|
16
15
|
"type": "text",
|
|
17
16
|
"value": "<%= ENV.fetch('RI_CRD_REQUEST_GENERATOR_URI', 'https://crd-test.davinci.hl7.org') %>/test-ehr/r4"
|
|
18
17
|
},
|
|
19
18
|
{
|
|
20
19
|
"name": "patient_ids",
|
|
21
|
-
"description": "Comma separated list of Patient IDs that in sum contain all MUST SUPPORT elements",
|
|
22
|
-
"optional": true,
|
|
23
20
|
"title": "Patient IDs",
|
|
24
21
|
"type": "text",
|
|
25
22
|
"value": "pat015"
|
|
26
23
|
},
|
|
27
24
|
{
|
|
28
25
|
"name": "device_ids",
|
|
29
|
-
"description": "Comma separated list of Device IDs that in sum contain all MUST SUPPORT elements",
|
|
30
26
|
"title": "Device IDs",
|
|
31
27
|
"type": "text",
|
|
32
28
|
"value": "example"
|
|
33
29
|
},
|
|
34
30
|
{
|
|
35
31
|
"name": "encounter_ids",
|
|
36
|
-
"description": "Comma separated list of Encounter IDs that in sum contain all MUST SUPPORT elements",
|
|
37
|
-
"optional": true,
|
|
38
32
|
"title": "Encounter IDs",
|
|
39
33
|
"type": "text",
|
|
40
34
|
"value": "pat015-rad-encounter"
|
|
41
35
|
},
|
|
42
36
|
{
|
|
43
37
|
"name": "organization_ids",
|
|
44
|
-
"description": "Comma separated list of Organization IDs that in sum contain all MUST SUPPORT elements",
|
|
45
|
-
"optional": true,
|
|
46
38
|
"title": "Organization IDs",
|
|
47
39
|
"type": "text",
|
|
48
40
|
"value": "org1234"
|
|
49
41
|
},
|
|
50
42
|
{
|
|
51
43
|
"name": "practitioner_ids",
|
|
52
|
-
"description": "Comma separated list of Practitioner IDs that in sum contain all MUST SUPPORT elements",
|
|
53
|
-
"optional": true,
|
|
54
44
|
"title": "Practitioner IDs",
|
|
55
45
|
"type": "text",
|
|
56
46
|
"value": "pra1234"
|
|
57
47
|
},
|
|
58
48
|
{
|
|
59
49
|
"name": "practitioner_role_ids",
|
|
60
|
-
"description": "Comma separated list of Practitioner IDs that in sum contain all MUST SUPPORT elements",
|
|
61
|
-
"optional": true,
|
|
62
50
|
"title": "PractitionerRole IDs",
|
|
63
51
|
"type": "text",
|
|
64
52
|
"value": "prarol1234"
|
|
65
53
|
},
|
|
66
54
|
{
|
|
67
55
|
"name": "location_ids",
|
|
68
|
-
"description": "Comma separated list of Location IDs that in sum contain all MUST SUPPORT elements",
|
|
69
56
|
"title": "Location IDs",
|
|
70
57
|
"type": "text",
|
|
71
58
|
"value": "loc1234"
|