davinci_crd_test_kit 0.14.2 → 0.15.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.
- checksums.yaml +4 -4
- data/config/presets/client_v221_against_inferno_crd_server_suite.json.erb +13 -1
- data/config/presets/server_v221_against_inferno_crd_client_suite.json.erb +1 -1
- data/config/presets/server_v221_against_inferno_crd_client_suite_prefetch_subset.json.erb +1 -1
- data/lib/davinci_crd_test_kit/client/client_base_urls.rb +5 -0
- data/lib/davinci_crd_test_kit/client/client_input_helper.rb +102 -0
- data/lib/davinci_crd_test_kit/client/client_wait_messages.rb +68 -0
- data/lib/davinci_crd_test_kit/client/endpoints/custom_service_response.rb +25 -10
- data/lib/davinci_crd_test_kit/client/endpoints/hook_request_data_access.rb +228 -0
- data/lib/davinci_crd_test_kit/client/endpoints/hook_request_endpoint.rb +116 -25
- data/lib/davinci_crd_test_kit/client/endpoints/mock_service_response.rb +5 -24
- data/lib/davinci_crd_test_kit/client/endpoints/scenario_service_response.rb +1 -1
- data/lib/davinci_crd_test_kit/client/endpoints/v201_hook_request_data_gathering.rb +219 -0
- data/lib/davinci_crd_test_kit/client/endpoints/v221_hook_request_data_gathering.rb +172 -0
- data/lib/davinci_crd_test_kit/client/jwt_claim_types.rb +28 -0
- data/lib/davinci_crd_test_kit/client/multi_request_message_helper.rb +1 -1
- data/lib/davinci_crd_test_kit/client/prefetched_coverage_payer_helper.rb +81 -0
- data/lib/davinci_crd_test_kit/client/prefetched_coverage_value.rb +14 -0
- data/lib/davinci_crd_test_kit/client/tagged_request_load_helper.rb +8 -0
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/retrieve_jwks_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_header_test.rb +14 -4
- data/lib/davinci_crd_test_kit/client/v2.0.1/auth/token_payload_test.rb +8 -1
- data/lib/davinci_crd_test_kit/client/v2.0.1/cds-services-v201.json +1 -1
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_fhir_api_group.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.0.1/client_hooks_group.rb +2 -5
- data/lib/davinci_crd_test_kit/client/v2.0.1/crd_client_suite.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/appointment_book_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_discharge_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/encounter_start_receive_request_test.rb +8 -29
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_dispatch_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_select_receive_request_test.rb +8 -29
- data/lib/davinci_crd_test_kit/client/v2.0.1/invocation/order_sign_receive_request_test.rb +10 -31
- data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_registration_verification_test.rb +3 -7
- data/lib/davinci_crd_test_kit/client/v2.0.1/registration/client_service_registration_attestation_test.rb +11 -3
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_request/hook_request_optional_fields_test.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/client_display_cards_attest.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.0.1/verify_response/inferno_response_validation.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_coverage_info_update_test.rb +9 -9
- data/lib/davinci_crd_test_kit/client/v2.2.1/api/client_crd_update_verification_group.rb +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_coverage_based_invocation_attestation_test.rb +10 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb +7 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_hook_invocation_logging_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_must_support_use_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_prefetch_key_omission_attestation_test.rb +6 -5
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_resource_identifiers_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_response_case_distinction_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_security_and_privacy_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_workflow_integration_attestation_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/decode_auth_token_test.rb +3 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/retrieve_jwks_test.rb +23 -13
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_header_test.rb +32 -6
- data/lib/davinci_crd_test_kit/client/v2.2.1/auth/token_payload_test.rb +25 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-prefetch-subset-v221.json +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/cds-services-v221.json +1 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_appointment_book_group.rb +10 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_attestations_group.rb +1 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_group.rb +13 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_cross_hook_interaction_group.rb +12 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_discharge_group.rb +9 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_encounter_start_group.rb +9 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_fhir_api_group.rb +25 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_hooks_group.rb +7 -10
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_long_running_hook_group.rb +3 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_multiple_payers_hook_group.rb +40 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_dispatch_group.rb +9 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_select_group.rb +8 -1
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_order_sign_group.rb +9 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_registration_group.rb +7 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_scenarios_group.rb +10 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_self_pay_hook_group.rb +2 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_unknown_content_hook_group.rb +3 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/client_user_access_level_group.rb +82 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/crd_client_suite.rb +7 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_card_must_support_coverage_information_test.rb +4 -4
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_fhirpath_collection_as_comma_delimited_string_test.rb +3 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_hook_instances_unique_test.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_jwt_ids_unique_test.rb +89 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_location_address_propagation_test.rb +59 -29
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_order_types_signed_test.rb +101 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/cross_hook/client_prefetch_complete_and_subset_test.rb +11 -24
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/appointment_book_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/base_hook_invocation_receive_request_test.rb +59 -40
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/cross_hooks_receive_request_test.rb +64 -35
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_discharge_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/encounter_start_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_dispatch_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_select_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/invocation/order_sign_receive_request_test.rb +9 -27
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_long_running_receive_request_test.rb +50 -38
- data/lib/davinci_crd_test_kit/client/v2.2.1/long_running/client_skip_long_running_attestation_test.rb +11 -11
- data/lib/davinci_crd_test_kit/client/v2.2.1/multiple_payers/client_multiple_payers_request_verification_test.rb +215 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/multiple_payers/client_multiple_payers_workflow_test.rb +71 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/appointment_must_support_test.rb +84 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/appointment_reference_resolution_test.rb +82 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/client_cross_hook_must_support_group.rb +181 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/communication_request_must_support_test.rb +69 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/communication_request_reference_resolution_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/coverage_must_support_test.rb +73 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/coverage_reference_resolution_test.rb +67 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_must_support_test.rb +59 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_request_must_support_test.rb +72 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/device_request_reference_resolution_test.rb +76 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/encounter_must_support_test.rb +83 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/encounter_reference_resolution_test.rb +76 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/location_must_support_test.rb +63 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/location_reference_resolution_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_must_support_test.rb +54 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_request_must_support_test.rb +95 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/medication_request_reference_resolution_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/nutrition_order_must_support_test.rb +136 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/nutrition_order_reference_resolution_test.rb +67 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/organization_must_support_test.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/organization_reference_resolution_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/patient_must_support_test.rb +69 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_must_support_test.rb +65 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_role_must_support_test.rb +60 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/practitioner_role_reference_resolution_test.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/service_request_must_support_test.rb +93 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/service_request_reference_resolution_test.rb +81 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/vision_prescription_must_support_test.rb +79 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/generated/vision_prescription_reference_resolution_test.rb +65 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_reference_resolution.rb +379 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_scope.rb +66 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/must_support/request_must_support_with_attestation_option.rb +331 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_registration_verification_test.rb +16 -30
- data/lib/davinci_crd_test_kit/client/v2.2.1/registration/client_service_registration_attestation_test.rb +84 -39
- data/lib/davinci_crd_test_kit/client/v2.2.1/self_pay/client_self_pay_workflow_test.rb +27 -20
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_attestation_test.rb +7 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/unknown_content/client_unknown_content_receive_request_test.rb +38 -33
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_api_access_test.rb +124 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_prefetch_scope_test.rb +85 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_receive_request_test.rb +92 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_same_scenario_test.rb +340 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/user_access_level/access_level_target_reference.rb +16 -0
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_conformance_test.rb +63 -6
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_coverage_verification_test.rb +23 -73
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_data_fetch_verification_test.rb +12 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_granted_scopes_test.rb +7 -7
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_complete_test.rb +11 -13
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_prefetch_profiles_test.rb +2 -2
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_request/hook_request_requested_version_test.rb +16 -4
- 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 +8 -8
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/hook_response_support_coverage_information_test.rb +3 -3
- data/lib/davinci_crd_test_kit/client/v2.2.1/verify_response/inferno_response_validation.rb +8 -9
- data/lib/davinci_crd_test_kit/cross_suite/base_urls.rb +12 -0
- data/lib/davinci_crd_test_kit/cross_suite/cards_identification.rb +9 -2
- data/lib/davinci_crd_test_kit/cross_suite/fhirpath_on_cds_request.rb +10 -9
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/appointment_with_order/metadata.yml +67 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/appointment_without_order/metadata.yml +150 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/communication_request/metadata.yml +71 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/coverage/metadata.yml +71 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/device/metadata.yml +22 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/device_request/metadata.yml +85 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/encounter/metadata.yml +82 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/hrex_organization/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/location/metadata.yml +27 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/medication/metadata.yml +17 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/medication_request/metadata.yml +166 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/nutrition_order/metadata.yml +166 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/organization/metadata.yml +42 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/patient/metadata.yml +29 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/practitioner/metadata.yml +37 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/practitioner_role/metadata.yml +36 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/service_request/metadata.yml +202 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_allergyintolerance/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_condition_encounter_diagnosis/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_condition_problems_health_concerns/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_diagnosticreport_lab/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_diagnosticreport_note/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_documentreference/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_location/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_organization/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_patient/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_practitioner/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/us_core_procedure/metadata.yml +6 -0
- data/lib/davinci_crd_test_kit/cross_suite/generated/v2.2.1/vision_prescription/metadata.yml +66 -0
- data/lib/davinci_crd_test_kit/cross_suite/hook_request_field_validation.rb +3 -2
- data/lib/davinci_crd_test_kit/cross_suite/hook_request_resource_extraction.rb +121 -0
- data/lib/davinci_crd_test_kit/cross_suite/logical_models_override_helper.rb +17 -9
- data/lib/davinci_crd_test_kit/cross_suite/must_support_references.rb +49 -0
- data/lib/davinci_crd_test_kit/cross_suite/must_support_slice_matching.rb +50 -0
- data/lib/davinci_crd_test_kit/cross_suite/prefetch_completeness_checker.rb +75 -39
- data/lib/davinci_crd_test_kit/cross_suite/profile_metadata.rb +75 -0
- data/lib/davinci_crd_test_kit/cross_suite/requests_logical_model_validation.rb +19 -9
- data/lib/davinci_crd_test_kit/cross_suite/resource_identity.rb +183 -0
- data/lib/davinci_crd_test_kit/cross_suite/short_circuit_interaction.rb +28 -0
- data/lib/davinci_crd_test_kit/cross_suite/tags.rb +15 -1
- data/lib/davinci_crd_test_kit/generator/crd_must_support_metadata_extractor.rb +147 -0
- data/lib/davinci_crd_test_kit/generator/must_support_metadata_generator.rb +207 -0
- data/lib/davinci_crd_test_kit/generator/must_support_test_generator.rb +249 -0
- data/lib/davinci_crd_test_kit/generator/templates/must_support_group.rb.erb +118 -0
- data/lib/davinci_crd_test_kit/generator/templates/must_support_test.rb.erb +22 -0
- data/lib/davinci_crd_test_kit/generator/templates/reference_resolution_test.rb.erb +22 -0
- data/lib/davinci_crd_test_kit/igs/davinci_crd_2.2.1.tgz +0 -0
- data/lib/davinci_crd_test_kit/igs/davinci_hrex_1.2.0.tgz +0 -0
- data/lib/davinci_crd_test_kit/metadata.rb +2 -2
- data/lib/davinci_crd_test_kit/requirements/davinci_crd_test_kit_requirements.csv +3 -2
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_requirements_coverage.csv +1 -1
- data/lib/davinci_crd_test_kit/requirements/generated/crd_client_v221_requirements_coverage.csv +90 -89
- 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/endpoints/mock_ehr/fhir_create_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_delete_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_read_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_request_handler.rb +6 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_search_endpoint.rb +21 -12
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr/fhir_update_endpoint.rb +2 -0
- data/lib/davinci_crd_test_kit/server/endpoints/mock_ehr_endpoints.rb +3 -0
- data/lib/davinci_crd_test_kit/server/server_abstract_invoke_hook_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/must_support/supported_us_core_versions_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_appointment_book_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_demonstrate_hook_response_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_discharge_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_encounter_start_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_dispatch_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_select_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_order_sign_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/server_required_card_response_validation_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/coverage_not_found_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/no_active_coverage_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/no_member_found_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/specific_coverage_responses/technical_issues_group.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_context_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_no_custom_extensions_test.rb +2 -2
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_optional_fields_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/server/v2.2.1/verify_request/service_request_required_fields_validation_test.rb +1 -1
- data/lib/davinci_crd_test_kit/version.rb +2 -2
- metadata +100 -12
- data/lib/davinci_crd_test_kit/client/endpoints/gather_response_generation_data.rb +0 -413
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_authorized_scope_attestation_test.rb +0 -45
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_must_support_exposure_attestation_test.rb +0 -43
- data/lib/davinci_crd_test_kit/client/v2.2.1/attestations/client_order_sign_support_attestation_test.rb +0 -42
- data/lib/davinci_crd_test_kit/client/v2.2.1/self_pay/client_self_pay_no_request_test.rb +0 -30
- data/lib/davinci_crd_test_kit/server/resource_extractor.rb +0 -68
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
require_relative '../../cross_hook/client_card_must_support_coverage_information_test'
|
|
2
|
+
require_relative '../../cross_hook/client_order_types_signed_test'
|
|
3
|
+
<%- test_file_names.each do |file_name| -%>
|
|
4
|
+
require_relative '<%= file_name %>'
|
|
5
|
+
<%- end -%>
|
|
6
|
+
|
|
7
|
+
module DaVinciCRDTestKit
|
|
8
|
+
module <%= module_name %>
|
|
9
|
+
class ClientCrossHookMustSupportGroup < Inferno::TestGroup
|
|
10
|
+
title 'Must Support'
|
|
11
|
+
id :<%= group_id %>
|
|
12
|
+
description <<~DESCRIPTION
|
|
13
|
+
These tests check that the CRD client supports the must support elements of the CRD profiles
|
|
14
|
+
that it sends within hook requests and that it receives within hook responses.
|
|
15
|
+
|
|
16
|
+
All requests made during the latest runs of each "Hooks" sub-group and the "Additional Hook
|
|
17
|
+
Invocations" group above are included in this analysis.
|
|
18
|
+
When re-running these groups, remember that requests made during the prior execution will fall
|
|
19
|
+
out of scope of this analysis, so elements only demonstrated during that execution will need to
|
|
20
|
+
be demonstrated again during the new test run.
|
|
21
|
+
|
|
22
|
+
For additional details on this group, see the [Client Must Support Tests](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Client-Must-Support)
|
|
23
|
+
page in the CRD Test Kit wiki.
|
|
24
|
+
DESCRIPTION
|
|
25
|
+
|
|
26
|
+
run_as_group
|
|
27
|
+
|
|
28
|
+
input_order :order_types_supported, :supporting_types_supported
|
|
29
|
+
|
|
30
|
+
ORDER_TYPE_OPTIONS = [
|
|
31
|
+
<%= order_type_options.map { |type| " { label: '#{type}', value: '#{type}' }" }.join(",\n") %>
|
|
32
|
+
].freeze
|
|
33
|
+
|
|
34
|
+
# Patient and Coverage are required of every CRD client, so they are not listed here.
|
|
35
|
+
SUPPORTING_TYPE_OPTIONS = [
|
|
36
|
+
<%= supporting_type_options.map { |type| " { label: '#{type}', value: '#{type}' }" }.join(",\n") %>
|
|
37
|
+
].freeze
|
|
38
|
+
|
|
39
|
+
# The hooks whose requests always carry a supporting resource type. Whether the type is expected
|
|
40
|
+
# is decided by the input above, but invoking one of these hooks while the type is deselected
|
|
41
|
+
# fails as a contradiction.
|
|
42
|
+
REQUIRING_HOOKS = {
|
|
43
|
+
<%= requiring_hooks.map { |type, tags| " '#{type}' => [#{tags.join(', ')}]" }.join(",\n") %>
|
|
44
|
+
}.freeze
|
|
45
|
+
|
|
46
|
+
input :order_types_supported,
|
|
47
|
+
title: 'Order types supported by the CRD client',
|
|
48
|
+
description: %(
|
|
49
|
+
Select the resource types that the CRD client supports placing orders for.
|
|
50
|
+
Inferno will expect those order types to be demonstrated within hook requests.
|
|
51
|
+
By unchecking a resource type, the tester attests that the CRD client does
|
|
52
|
+
not support placing orders for the kind of request represented by that FHIR resource type.
|
|
53
|
+
),
|
|
54
|
+
type: 'checkbox',
|
|
55
|
+
default: ORDER_TYPE_OPTIONS.map { |option| option[:value] },
|
|
56
|
+
optional: true,
|
|
57
|
+
options: { list_options: ORDER_TYPE_OPTIONS }
|
|
58
|
+
input :supporting_types_supported,
|
|
59
|
+
title: 'Supporting resource types populated by the CRD client',
|
|
60
|
+
description: %(
|
|
61
|
+
Select the resource types that the CRD client supports when representing information
|
|
62
|
+
related to requests sent as a part of CRD. Inferno will expect those resource types to be
|
|
63
|
+
demonstrated within hook requests. By unchecking a resource type, the tester attests
|
|
64
|
+
that the CRD client does not support the information represented by the resource type
|
|
65
|
+
or does not surface it to users. `Patient` and `Coverage` resource types are not listed
|
|
66
|
+
but must be demonstrated because CRD clients are required to support them.
|
|
67
|
+
),
|
|
68
|
+
type: 'checkbox',
|
|
69
|
+
default: SUPPORTING_TYPE_OPTIONS.map { |option| option[:value] },
|
|
70
|
+
optional: true,
|
|
71
|
+
options: { list_options: SUPPORTING_TYPE_OPTIONS }
|
|
72
|
+
|
|
73
|
+
group do
|
|
74
|
+
title 'Requests'
|
|
75
|
+
id :<%= requests_group_id %>
|
|
76
|
+
description <<~DESCRIPTION
|
|
77
|
+
These tests check that the CRD profiles which can be sent within a hook request were
|
|
78
|
+
observed across the hook requests the CRD client made, and that the must support elements on
|
|
79
|
+
them were populated.
|
|
80
|
+
|
|
81
|
+
Inferno expects to see a resource type when it is selected in the **Order types supported by the
|
|
82
|
+
CRD client** or **Supporting resource types populated by the CRD client** input, and always expects
|
|
83
|
+
the `Patient` and `Coverage` resource types, which CRD clients are required to support. A
|
|
84
|
+
tester who deselects a resource type must not invoke the hooks whose requests always carry it:
|
|
85
|
+
`appointment-book` for `Appointment`, and `encounter-start` and `encounter-discharge` for
|
|
86
|
+
`Encounter`. Inferno will fail without
|
|
87
|
+
further analysis if an expected resource type is not observed or vice-versa. When a resource type
|
|
88
|
+
was observed but some of its must support elements were not, the tester is asked to attest
|
|
89
|
+
that the CRD client does not capture the represented data or does not surface it to users.
|
|
90
|
+
|
|
91
|
+
For additional details on this group, see the [Client Must Support Tests](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Client-Must-Support)
|
|
92
|
+
page and specifically the [Requests](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Client-Must-Support#requests)
|
|
93
|
+
section in the CRD Test Kit wiki.
|
|
94
|
+
DESCRIPTION
|
|
95
|
+
|
|
96
|
+
<%- test_ids.each do |test_id| -%>
|
|
97
|
+
test from: :<%= test_id %>
|
|
98
|
+
<%- end -%>
|
|
99
|
+
test from: :<%= order_types_signed_test_id %>
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
group do
|
|
103
|
+
title 'Responses'
|
|
104
|
+
id :<%= responses_group_id %>
|
|
105
|
+
description <<~DESCRIPTION
|
|
106
|
+
These tests check that the CRD client supports the response types and the must support
|
|
107
|
+
elements within them that CRD clients are required to support when returned by a CRD server.
|
|
108
|
+
|
|
109
|
+
For additional details on this group, see the [Client Must Support Tests](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Client-Must-Support)
|
|
110
|
+
page and specifically the [Responses](https://github.com/inferno-framework/davinci-crd-test-kit/wiki/Client-Must-Support#responses)
|
|
111
|
+
section in the CRD Test Kit wiki.
|
|
112
|
+
DESCRIPTION
|
|
113
|
+
|
|
114
|
+
test from: :<%= coverage_information_test_id %>
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require_relative '../request_must_support_with_attestation_option'
|
|
2
|
+
|
|
3
|
+
module DaVinciCRDTestKit
|
|
4
|
+
module <%= module_name %>
|
|
5
|
+
class <%= class_name %> < RequestMustSupportWithAttestationOption
|
|
6
|
+
id :<%= test_id %>
|
|
7
|
+
title '<%= title.gsub("'", "\\\\'") %>'
|
|
8
|
+
description <<~DESCRIPTION
|
|
9
|
+
<%= indented_description %>
|
|
10
|
+
DESCRIPTION
|
|
11
|
+
|
|
12
|
+
verifies_requirements <%= requirements.map { |requirement| "'#{requirement}'" }.join(",\n ") %>
|
|
13
|
+
|
|
14
|
+
config(
|
|
15
|
+
options: {
|
|
16
|
+
ig_version: '<%= ig_version %>',
|
|
17
|
+
profiles: <%= profiles_literal %>
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require_relative '../request_must_support_reference_resolution'
|
|
2
|
+
|
|
3
|
+
module DaVinciCRDTestKit
|
|
4
|
+
module <%= module_name %>
|
|
5
|
+
class <%= class_name %> < RequestMustSupportReferenceResolution
|
|
6
|
+
id :<%= test_id %>
|
|
7
|
+
title '<%= title.gsub("'", "\\\\'") %>'
|
|
8
|
+
description <<~DESCRIPTION
|
|
9
|
+
<%= indented_description %>
|
|
10
|
+
DESCRIPTION
|
|
11
|
+
|
|
12
|
+
verifies_requirements <%= requirements.map { |requirement| "'#{requirement}'" }.join(",\n ") %>
|
|
13
|
+
|
|
14
|
+
config(
|
|
15
|
+
options: {
|
|
16
|
+
ig_version: '<%= ig_version %>',
|
|
17
|
+
profiles: <%= profiles_literal %>
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
Binary file
|
|
Binary file
|
|
@@ -34,8 +34,8 @@ module DaVinciCRDTestKit
|
|
|
34
34
|
tags ['Da Vinci', 'CRD']
|
|
35
35
|
last_updated LAST_UPDATED
|
|
36
36
|
version VERSION
|
|
37
|
-
maturity '
|
|
38
|
-
authors ['
|
|
37
|
+
maturity 'Medium'
|
|
38
|
+
authors ['Inferno Team']
|
|
39
39
|
repo 'https://github.com/inferno-framework/davinci-crd-test-kit'
|
|
40
40
|
end
|
|
41
41
|
end
|
|
@@ -1124,7 +1124,8 @@ hl7.fhir.us.davinci-crd_2.2.1,dev-22,https://hl7.org/fhir/us/davinci-crd/2.2.1/e
|
|
|
1124
1124
|
hl7.fhir.us.davinci-crd_2.2.1,dev-23,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-23,CRD Clients **SHALL** perform 'creates' in an order that ensures that referenced resources are created prior to referencing resources.,SHALL,CRD Client,,false,,
|
|
1125
1125
|
hl7.fhir.us.davinci-crd_2.2.1,dev-24,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-24,"If a hook service is invoked on a collection of resources, all cards returned that are specific to only a subset of the resources passed as context **SHALL** disambiguate in the `detail` element which resources they are associated with in a human-friendly way.",SHALL,CRD Server,,true,,
|
|
1126
1126
|
hl7.fhir.us.davinci-crd_2.2.1,dev-25,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-25,"As well, cards **SHOULD** include the associated-resource extension to allow computable linkage.",SHOULD,CRD Server,,false,,
|
|
1127
|
-
hl7.fhir.us.davinci-crd_2.2.1,dev-26,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-26,CRD clients **SHALL** only invoke hooks on payer services where the patient record indicates active coverage with the payer associated with the service
|
|
1127
|
+
hl7.fhir.us.davinci-crd_2.2.1,dev-26-A,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-26,CRD clients **SHALL** only invoke hooks on payer services where the patient record indicates active coverage with the payer associated with the service,SHALL,CRD Client,,false,,
|
|
1128
|
+
hl7.fhir.us.davinci-crd_2.2.1,dev-26-B,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-26,CRD clients **SHALL** only invoke hooks on payer services where ... there is no recorded indication the patient intends to bypass insurance coverage (i.e. the service or product is not flagged as 'patient-pay').,SHALL,CRD Client,,false,,
|
|
1128
1129
|
hl7.fhir.us.davinci-crd_2.2.1,dev-27,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-27,"CRD clients **MAY** limit hook invocation to only those payers that are believed to potentially have relevant information related to the current action - for example, clinical guidance, contraindication detection, etc.",MAY,CRD Client,,false,,
|
|
1129
1130
|
hl7.fhir.us.davinci-crd_2.2.1,dev-28,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-28,"To avoid confusion for providers, where a patient has multiple active coverages that could be relevant to the current order/appointment/etc., CRD clients **SHALL** select from those coverages which is most likely to be primary and only solicit coverage information for that one payer.",SHALL,CRD Client,,true,,
|
|
1130
1131
|
hl7.fhir.us.davinci-crd_2.2.1,dev-29-A,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/deviations.html#ci-c-dev-29,This primary coverage **SHALL** be the only one included in the prefetch content as part of the CRD request,SHALL,CRD Client,,false,,
|
|
@@ -1156,7 +1157,7 @@ hl7.fhir.us.davinci-crd_2.2.1,found-21,https://hl7.org/fhir/us/davinci-crd/2.2.1
|
|
|
1156
1157
|
hl7.fhir.us.davinci-crd_2.2.1,found-22,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-22,Such access tokens **SHOULD** have an expiration time of no longer than 30 seconds which should be sufficient for even 'parallel' decision support with something like 'Order Select' where a user continues to work while the decision support call is processing.,SHOULD,CRD Client,,false,,
|
|
1157
1158
|
hl7.fhir.us.davinci-crd_2.2.1,found-23,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-23,CRD Clients **SHALL** be able to parse and execute prefetches that use the simple FHIRPath approach and not fail if that syntax is present.,SHALL,CRD Client,,false,,
|
|
1158
1159
|
hl7.fhir.us.davinci-crd_2.2.1,found-24,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-24,"For this release of the IG, conformant CRD clients and servers **SHALL** support the CDS Hooks prefetch capability.",SHALL,"CRD Client, CRD Server",,false,,
|
|
1159
|
-
hl7.fhir.us.davinci-crd_2.2.1,found-25-A,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-25,Clients **SHALL** be able to supply the information listed in the bullets above via prefetch for the request resources they support when data exists using the search parameters and FHIRPath expressions covered in the [standard prefetch](https://hl7.org/fhir/us/davinci-crd/2.2.1/en/
|
|
1160
|
+
hl7.fhir.us.davinci-crd_2.2.1,found-25-A,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-25,Clients **SHALL** be able to supply the information listed in the bullets above via prefetch for the request resources they support when data exists using the search parameters and FHIRPath expressions covered in the [standard prefetch](https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#standard-prefetch) section below. This includes the ability to fetch subsets of the specified queries.,SHALL,CRD Client,,false,,
|
|
1160
1161
|
hl7.fhir.us.davinci-crd_2.2.1,found-25-B,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-25,Clients **SHALL** be able to supply ... subsets of the specified [prefetch] queries.,SHALL,CRD Client,,false,,
|
|
1161
1162
|
hl7.fhir.us.davinci-crd_2.2.1,found-26,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-26,"They **MAY** include more and/or less prefetch requests than described in 'standard' prefetch section below, based on which data is desired.",MAY,CRD Server,,false,,
|
|
1162
1163
|
hl7.fhir.us.davinci-crd_2.2.1,found-27,https://hl7.org/fhir/us/davinci-crd/2.2.1/en/foundation.html#ci-c-found-27,Prefetch requests **SHOULD** only include information that is always expected to be needed for each hook invocation.,SHOULD,CRD Server,,false,,
|
|
@@ -332,7 +332,7 @@ cds-hooks_2.0,178,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"Each time
|
|
|
332
332
|
Authorization: Bearer {{JWT}}",SHALL,Client,true,,,"1.2.1.4.01, 1.2.2.4.01, 1.2.3.4.01, 1.2.4.4.01, 1.2.5.4.01, 1.2.6.4.01","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_decode_auth_token, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_decode_auth_token, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_decode_auth_token, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_decode_auth_token, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_decode_auth_token, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_decode_auth_token"
|
|
333
333
|
cds-hooks_2.0,179,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,mutual TLS MAY be used alongside JSON web tokens to establish trust of the CDS Client by the CDS Service,MAY,"Client,Service",false,,,"",""
|
|
334
334
|
cds-hooks_2.0,180,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"The CDS Client MUST use its private key to digitally sign the JWT, using the [JSON Web Signatures (rfc7515)](https://tools.ietf.org/html/rfc7515) standard",SHALL,Client,false,,,"1.2.1.4.04, 1.2.2.4.04, 1.2.3.4.04, 1.2.4.4.04, 1.2.5.4.04, 1.2.6.4.04","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_token_payload, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_token_payload, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_token_payload, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_token_payload, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_token_payload, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_token_payload"
|
|
335
|
-
cds-hooks_2.0,181,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"[When sending a JWT header,] the alg field is required [and SHALL be a] string data type [containing] the cryptographic algorithm used to sign this JWT.",SHALL,Client,true,,,"1.2.1.4.
|
|
335
|
+
cds-hooks_2.0,181,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"[When sending a JWT header,] the alg field is required [and SHALL be a] string data type [containing] the cryptographic algorithm used to sign this JWT.",SHALL,Client,true,,,"1.2.1.4.03, 1.2.2.4.03, 1.2.3.4.03, 1.2.4.4.03, 1.2.5.4.03, 1.2.6.4.03","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_token_header"
|
|
336
336
|
cds-hooks_2.0,182,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"[When sending a JWT header,] the kid field is required [and SHALL be a] string data type [containing] the identifier of the key-pair used to sign this JWT.",SHALL,Client,true,,,"1.2.1.4.03, 1.2.2.4.03, 1.2.3.4.03, 1.2.4.4.03, 1.2.5.4.03, 1.2.6.4.03","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_token_header"
|
|
337
337
|
cds-hooks_2.0,183,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"[When sending a JWT header,] the kid field MUST be unique within the CDS Client's JWK Set.",SHALL,Client,true,,,"1.2.1.4.02, 1.2.2.4.02, 1.2.3.4.02, 1.2.4.4.02, 1.2.5.4.02, 1.2.6.4.02","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_retrieve_jwks, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_retrieve_jwks, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_retrieve_jwks, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_retrieve_jwks, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_retrieve_jwks, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_retrieve_jwks"
|
|
338
338
|
cds-hooks_2.0,184,https://cds-hooks.hl7.org/2.0/#trusting-cds-clients,"[When sending a JWT header,] the typ field is required [and SHALL be a] string data type and SHALL be 'JWT'",SHALL,Client,true,,,"1.2.1.4.03, 1.2.2.4.03, 1.2.3.4.03, 1.2.4.4.03, 1.2.5.4.03, 1.2.6.4.03","crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_appointment_book-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_start-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_select-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_sign-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_order_dispatch-Group04-crd_v201_token_header, crd_client-crd_v201_client_hook_invocation-crd_v201_client_hooks-crd_v201_client_encounter_discharge-Group04-crd_v201_token_header"
|