davinci_pas_test_kit 0.15.1 → 0.16.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/g33_br_provider.json +13 -0
- data/config/presets/pas_client_example.json +2 -2
- data/config/presets/pas_client_v201_run_against_pas_server.json +2 -2
- data/config/presets/pas_client_v221_run_against_pas_server.json +3 -3
- data/config/presets/pas_ri.json +6 -6
- data/config/presets/pas_server_v201_run_against_pas_client.json.erb +6 -6
- data/config/presets/pas_server_v221_run_against_pas_client.json.erb +10 -10
- data/lib/davinci_pas_test_kit/client/abstract_approval_submit_test.rb +28 -17
- data/lib/davinci_pas_test_kit/client/abstract_denial_submit_test.rb +26 -16
- data/lib/davinci_pas_test_kit/client/abstract_gather_must_support_test.rb +45 -74
- data/lib/davinci_pas_test_kit/client/abstract_modification_submit_test.rb +29 -19
- data/lib/davinci_pas_test_kit/client/abstract_response_attest.rb +75 -6
- data/lib/davinci_pas_test_kit/client/abstract_subscription_create_test.rb +26 -9
- data/lib/davinci_pas_test_kit/client/abstract_subscription_update_delete_test.rb +91 -0
- data/lib/davinci_pas_test_kit/client/client_bundle_validation_helper.rb +245 -0
- data/lib/davinci_pas_test_kit/client/client_input_descriptions.rb +96 -1
- data/lib/davinci_pas_test_kit/client/endpoints/claim_endpoint.rb +128 -72
- data/lib/davinci_pas_test_kit/client/endpoints/endpoint_session_identification.rb +24 -0
- data/lib/davinci_pas_test_kit/client/endpoints/expired_token.rb +40 -0
- data/lib/davinci_pas_test_kit/client/endpoints/subscription_create_endpoint.rb +7 -12
- data/lib/davinci_pas_test_kit/client/endpoints/subscription_delete_endpoint.rb +13 -0
- data/lib/davinci_pas_test_kit/client/endpoints/subscription_read_endpoint.rb +13 -0
- data/lib/davinci_pas_test_kit/client/endpoints/subscription_status_endpoint.rb +15 -20
- data/lib/davinci_pas_test_kit/client/endpoints/subscription_update_endpoint.rb +13 -0
- data/lib/davinci_pas_test_kit/client/endpoints/token_endpoint.rb +16 -0
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_request_must_support_beneficiary_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_submit_request_must_support_beneficiary_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_submit_response_must_support_beneficiary_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claim_inquiry/client_inquire_request_must_support_claim_inquiry_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claim_update/client_submit_request_must_support_claim_update_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claiminquiryresponse/client_inquire_response_must_support_claiminquiryresponse_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claimresponse/client_submit_response_must_support_claimresponse_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/communication_request/client_submit_response_must_support_communication_request_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/coverage/client_inquire_request_must_support_coverage_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/coverage/client_submit_request_must_support_coverage_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/encounter/client_submit_request_must_support_encounter_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_inquire_request_must_support_insurer_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_inquire_response_must_support_insurer_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_submit_request_must_support_insurer_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_submit_response_must_support_insurer_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_inquire_must_support_group.rb +1 -1
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_inquire_response_must_support_group.rb +9 -31
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_submit_must_support_group.rb +1 -1
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_submit_response_must_support_group.rb +10 -32
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_inquiry_request_bundle/client_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_inquiry_response_bundle/client_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_request_bundle/client_submit_request_must_support_pas_request_bundle_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_response_bundle/client_submit_response_must_support_pas_response_bundle_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_inquire_request_must_support_practitioner_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_inquire_response_must_support_practitioner_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_submit_request_must_support_practitioner_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_submit_response_must_support_practitioner_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_inquire_request_must_support_practitioner_role_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_inquire_response_must_support_practitioner_role_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_submit_request_must_support_practitioner_role_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_submit_response_must_support_practitioner_role_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_inquire_request_must_support_requestor_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_inquire_response_must_support_requestor_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_submit_request_must_support_requestor_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_submit_response_must_support_requestor_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_inquire_request_must_support_subscriber_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_submit_request_must_support_subscriber_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_submit_response_must_support_beneficiary_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claim_inquiry/client_inquire_request_must_support_claim_inquiry_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claim_update/client_submit_request_must_support_claim_update_test.rb +3 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claiminquiryresponse/client_inquire_response_must_support_claiminquiryresponse_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claimresponse/client_submit_response_must_support_claimresponse_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/communication_request/client_submit_response_must_support_communication_request_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/insurer/client_inquire_response_must_support_insurer_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/insurer/client_submit_response_must_support_insurer_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_inquire_must_support_group.rb +8 -6
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_inquire_response_must_support_group.rb +9 -31
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_submit_must_support_group.rb +13 -9
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_submit_response_must_support_group.rb +10 -32
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_inquiry_response_bundle/client_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_response_bundle/client_submit_response_must_support_pas_response_bundle_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner/client_inquire_response_must_support_practitioner_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner/client_submit_response_must_support_practitioner_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner_role/client_inquire_response_must_support_practitioner_role_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner_role/client_submit_response_must_support_practitioner_role_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_inquire_response_must_support_requestor_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_submit_response_must_support_requestor_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/jobs/send_pas_subscription_notification.rb +64 -3
- data/lib/davinci_pas_test_kit/client/pas_client_subscription_pas_conformance_test.rb +4 -3
- data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_other_display_test.rb +6 -4
- data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_smart_display_test.rb +8 -4
- data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_udap_display_test.rb +9 -4
- data/lib/davinci_pas_test_kit/client/registration/abstract_other_auth_attest_test.rb +5 -4
- data/lib/davinci_pas_test_kit/client/request_count_gating.rb +14 -0
- data/lib/davinci_pas_test_kit/client/response_generator.rb +50 -9
- data/lib/davinci_pas_test_kit/client/session_identification.rb +26 -7
- data/lib/davinci_pas_test_kit/client/subscription_notification_trigger.rb +80 -0
- data/lib/davinci_pas_test_kit/client/subscription_setup_requirement.rb +59 -0
- data/lib/davinci_pas_test_kit/client/user_input_response.rb +50 -10
- data/lib/davinci_pas_test_kit/client/v2.0.1/client_suite.rb +30 -15
- data/lib/davinci_pas_test_kit/client/v2.0.1/must_support/pas_client_must_support_request_profiles_test.rb +2 -2
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_approval_group.rb +8 -7
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_auth_smart_group.rb +4 -4
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_auth_udap_group.rb +4 -4
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_denial_group.rb +8 -7
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_must_support_group.rb +38 -52
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_pended_group.rb +28 -22
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_registration_group.rb +2 -2
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_subscription_setup_group.rb +2 -2
- data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_workflows_group.rb +2 -2
- data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_inquire_request_bundle_validation_test.rb +15 -21
- data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_inquire_response_bundle_validation_test.rb +29 -29
- data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_pended_submit_test.rb +49 -40
- data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_request_bundle_validation_test.rb +15 -21
- data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_response_bundle_validation_test.rb +29 -29
- data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/attestation_instructions.rb +10 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb +44 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_provider_review_attestation_test.rb +45 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_security_attestation_test.rb +42 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_subscription_error_recovery_attestation_test.rb +42 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/client_suite.rb +64 -12
- data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_failure_submit_test.rb +20 -10
- data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_outcome_validation_test.rb +11 -5
- data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_processing_error_response_validation_test.rb +21 -12
- data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_processing_error_submit_test.rb +19 -8
- data/lib/davinci_pas_test_kit/client/v2.2.1/must_support/must_support_with_attestation_option.rb +90 -40
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_approval_group.rb +12 -11
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_attestations_group.rb +32 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_smart_group.rb +4 -4
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_udap_group.rb +4 -4
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_claim_updates_group.rb +24 -6
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_denial_group.rb +12 -10
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_modification_group.rb +13 -14
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_must_support_group.rb +55 -59
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_operation_failure_group.rb +8 -5
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_pended_group.rb +53 -41
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_processing_error_group.rb +9 -7
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_registration_group.rb +2 -2
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_setup_group.rb +9 -4
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_update_delete_group.rb +57 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_workflows_group.rb +22 -2
- data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_create_test.rb +2 -1
- data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_put_update_pas_conformance_test.rb +49 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_update_delete_test.rb +12 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_claim_update_referenced_resources_test.rb +5 -6
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_claim_update_submit_tests.rb +82 -56
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_inquire_request_bundle_validation_test.rb +17 -20
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_inquire_response_bundle_validation_test.rb +59 -27
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_modification_verification_test.rb +0 -3
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_send_notification_test.rb +138 -0
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_submit_test.rb +32 -85
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_request_bundle_validation_test.rb +16 -21
- data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_response_bundle_validation_test.rb +27 -27
- data/lib/davinci_pas_test_kit/cross_suite/fhirpath_utils.rb +13 -3
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/beneficiary/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/claim_inquiry/metadata.yml +15 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/claim_update/metadata.yml +17 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/claiminquiryresponse/metadata.yml +15 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/claimresponse/metadata.yml +15 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/communication_request/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/coverage/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/device_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/encounter/metadata.yml +3 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/insurer/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/medication_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/metadata.yml +143 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/nutrition_order/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/pas_request_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/pas_response_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/practitioner/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/practitioner_role/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/requestor/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/service_request/metadata.yml +3 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/subscriber/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/task/metadata.yml +1 -4
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/beneficiary/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/claim_inquiry/metadata.yml +23 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/claim_update/metadata.yml +31 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/claiminquiryresponse/metadata.yml +42 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/claimresponse/metadata.yml +42 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/communication_request/metadata.yml +4 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/coverage/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/device_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/encounter/metadata.yml +3 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/insurer/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/medication_request/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/metadata.yml +265 -1
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/nutrition_order/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/pas_inquiry_request_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/pas_inquiry_response_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/pas_request_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/pas_response_bundle/metadata.yml +2 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/practitioner/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/practitioner_role/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/requestor/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/service_request/metadata.yml +3 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/subscriber/metadata.yml +1 -0
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/task/metadata.yml +4 -4
- data/lib/davinci_pas_test_kit/cross_suite/pas_bundle_validation.rb +570 -312
- data/lib/davinci_pas_test_kit/cross_suite/pas_constants.rb +13 -0
- data/lib/davinci_pas_test_kit/cross_suite/pas_datatype_constraints.rb +166 -0
- data/lib/davinci_pas_test_kit/cross_suite/pas_subscription_verification.rb +8 -4
- data/lib/davinci_pas_test_kit/cross_suite/referenced_resource_presence_validation.rb +141 -0
- data/lib/davinci_pas_test_kit/cross_suite/response_selection_utils.rb +39 -21
- data/lib/davinci_pas_test_kit/cross_suite/tags.rb +11 -6
- data/lib/davinci_pas_test_kit/cross_suite/validator_configuration.rb +16 -0
- data/lib/davinci_pas_test_kit/cross_suite/validator_suppressions.rb +210 -146
- data/lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json +7 -7
- data/lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb +1 -0
- data/lib/davinci_pas_test_kit/generator/client_must_support_group_generator.rb +47 -16
- data/lib/davinci_pas_test_kit/generator/must_support_target_profiles.rb +17 -0
- data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +14 -2
- data/lib/davinci_pas_test_kit/generator/pas_must_support_metadata_extractor.rb +1 -2
- data/lib/davinci_pas_test_kit/generator/profile_metadata.rb +1 -1
- data/lib/davinci_pas_test_kit/generator/server_must_support_group_generator.rb +23 -0
- data/lib/davinci_pas_test_kit/generator/server_suite_generator.rb +8 -7
- data/lib/davinci_pas_test_kit/generator/templates/client_must_support_group.rb.erb +22 -3
- data/lib/davinci_pas_test_kit/generator/templates/client_must_support_response_group.rb.erb +7 -16
- data/lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb +11 -10
- data/lib/davinci_pas_test_kit/generator/templates/server_must_support_group.rb.erb +22 -0
- data/lib/davinci_pas_test_kit/generator/templates/server_suite.rb.erb +9 -11
- data/lib/davinci_pas_test_kit/generator/templates/use_case_group.rb.erb +3 -0
- data/lib/davinci_pas_test_kit/generator/use_case_group_generator.rb +19 -13
- data/lib/davinci_pas_test_kit/parameters_helper.rb +13 -5
- data/lib/davinci_pas_test_kit/pas_notification_conformance_test.rb +2 -2
- data/lib/davinci_pas_test_kit/requirements/davinci_pas_test_kit_requirements.csv +14 -7
- data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_client_suite_v201_requirements_coverage.csv +21 -21
- data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_client_suite_v221_requirements_coverage.csv +30 -26
- data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_server_suite_v221_requirements_coverage.csv +39 -33
- data/lib/davinci_pas_test_kit/requirements/hl7.fhir.us.davinci-pas_2.2.1_requirements.xlsx +0 -0
- data/lib/davinci_pas_test_kit/server/claim_operation_logic.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_inquire_request_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_inquire_response_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_submit_request_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_submit_response_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claim_inquiry/server_inquire_request_must_support_claim_inquiry_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claim_update/server_submit_request_must_support_claim_update_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claiminquiryresponse/server_inquire_response_must_support_claiminquiryresponse_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claimresponse/server_submit_response_must_support_claimresponse_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/communication_request/server_submit_response_must_support_communication_request_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/coverage/server_inquire_request_must_support_coverage_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/coverage/server_submit_request_must_support_coverage_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/encounter/server_submit_request_must_support_encounter_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_inquire_request_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_inquire_response_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_submit_request_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_submit_response_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_inquiry_request_bundle/server_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_inquiry_response_bundle/server_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_request_bundle/server_submit_request_must_support_pas_request_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_response_bundle/server_submit_response_must_support_pas_response_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_approval_use_case_group.rb +4 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_denial_use_case_group.rb +4 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_pended_use_case_group.rb +7 -6
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_inquire_request_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_inquire_response_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_submit_request_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_submit_response_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_inquire_request_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_inquire_response_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_submit_request_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_submit_response_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_inquire_request_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_inquire_response_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_submit_request_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_submit_response_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/server_suite.rb +9 -11
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/subscriber/server_inquire_request_must_support_subscriber_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/subscriber/server_submit_request_must_support_subscriber_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/task/server_inquire_response_must_support_task_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/task/server_submit_response_must_support_task_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_inquire_request_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_inquire_response_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_submit_request_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_submit_response_must_support_beneficiary_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claim_inquiry/server_inquire_request_must_support_claim_inquiry_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claim_update/server_submit_request_must_support_claim_update_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claiminquiryresponse/server_inquire_response_must_support_claiminquiryresponse_test.rb +3 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claimresponse/server_submit_response_must_support_claimresponse_test.rb +3 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/communication_request/server_submit_response_must_support_communication_request_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/coverage/server_inquire_request_must_support_coverage_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/coverage/server_submit_request_must_support_coverage_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/encounter/server_submit_request_must_support_encounter_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_inquire_request_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_inquire_response_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_submit_request_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_submit_response_must_support_insurer_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_inquiry_request_bundle/server_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_inquiry_response_bundle/server_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_request_bundle/server_submit_request_must_support_pas_request_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_response_bundle/server_submit_response_must_support_pas_response_bundle_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_approval_use_case_group.rb +5 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_denial_use_case_group.rb +5 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_must_support_group.rb +12 -0
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_pended_use_case_group.rb +9 -4
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_inquire_request_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_inquire_response_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_submit_request_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_submit_response_must_support_practitioner_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_inquire_request_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_inquire_response_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_submit_request_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_submit_response_must_support_practitioner_role_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_inquire_request_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_inquire_response_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_submit_request_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_submit_response_must_support_requestor_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/server_suite.rb +9 -11
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/subscriber/server_inquire_request_must_support_subscriber_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/subscriber/server_submit_request_must_support_subscriber_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/task/server_inquire_response_must_support_task_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/task/server_submit_response_must_support_task_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/pas_claim_response_decision_test.rb +2 -2
- data/lib/davinci_pas_test_kit/server/server_request_bundle_validation_test.rb +4 -6
- data/lib/davinci_pas_test_kit/server/server_response_bundle_validation_test.rb +17 -10
- data/lib/davinci_pas_test_kit/server/v2.0.1/must_support/pas_server_must_support_request_profiles_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/v2.0.1/pas_server_subscription_setup.rb +1 -1
- data/lib/davinci_pas_test_kit/server/v2.2.1/claim_inquiry/server_claim_inquiry_response_tests.rb +89 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/must_support/pas_server_must_support_request_profiles_test.rb +1 -1
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_error_group.rb +2 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_claim_inquiry_responses_group.rb +17 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_claim_updates_group.rb +1 -1
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_no_custom_extensions_test.rb +241 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_subscription_capability_statement_test.rb +40 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_subscription_setup.rb +15 -10
- data/lib/davinci_pas_test_kit/server/v2.2.1/server_replaced_pa_inquire_reference_input_test.rb +63 -0
- data/lib/davinci_pas_test_kit/server/v2.2.1/server_replaced_pa_inquire_reference_test.rb +109 -0
- data/lib/davinci_pas_test_kit/version.rb +2 -2
- metadata +38 -13
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_inquire_response_must_support_task_test.rb +0 -45
- data/lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_submit_response_must_support_task_test.rb +0 -45
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_inquire_response_must_support_task_test.rb +0 -55
- data/lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_submit_response_must_support_task_test.rb +0 -55
- data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_error_handling_group.rb +0 -20
|
@@ -12,9 +12,9 @@ module DaVinciPASTestKit
|
|
|
12
12
|
module DaVinciPASV201
|
|
13
13
|
class PASServerPendedUseCaseGroup < Inferno::TestGroup
|
|
14
14
|
id :pas_server_v201_pended_use_case
|
|
15
|
-
title 'Successful Pended
|
|
15
|
+
title 'Successful Pended Scenario'
|
|
16
16
|
description %(
|
|
17
|
-
Demonstrate a complete prior authorization
|
|
17
|
+
Demonstrate a complete prior authorization scenario including a period
|
|
18
18
|
during which the final decision is pending. This includes demonstrating
|
|
19
19
|
the ability of the server to
|
|
20
20
|
|
|
@@ -38,7 +38,7 @@ module DaVinciPASTestKit
|
|
|
38
38
|
|
|
39
39
|
This test validates the conformity of the
|
|
40
40
|
user input to the
|
|
41
|
-
[PAS Request Bundle](
|
|
41
|
+
[PAS Request Bundle](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-pas-request-bundle.html)
|
|
42
42
|
profile, ensuring subsequent tests can accurately simulate content.
|
|
43
43
|
|
|
44
44
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -102,7 +102,7 @@ module DaVinciPASTestKit
|
|
|
102
102
|
description %(
|
|
103
103
|
This test validates the conformity of the
|
|
104
104
|
server's response to the
|
|
105
|
-
[PAS Response Bundle](
|
|
105
|
+
[PAS Response Bundle](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-pas-response-bundle.html)
|
|
106
106
|
profile.
|
|
107
107
|
|
|
108
108
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -129,6 +129,7 @@ module DaVinciPASTestKit
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
)
|
|
132
|
+
|
|
132
133
|
config(
|
|
133
134
|
options: {
|
|
134
135
|
use_case: 'pended',
|
|
@@ -174,7 +175,7 @@ module DaVinciPASTestKit
|
|
|
174
175
|
|
|
175
176
|
This test validates the conformity of the
|
|
176
177
|
user input to the
|
|
177
|
-
[PAS Inquiry Request Bundle](
|
|
178
|
+
[PAS Inquiry Request Bundle](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-pas-inquiry-request-bundle.html)
|
|
178
179
|
profile, ensuring subsequent tests can accurately simulate content.
|
|
179
180
|
|
|
180
181
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -238,7 +239,7 @@ module DaVinciPASTestKit
|
|
|
238
239
|
description %(
|
|
239
240
|
This test validates the conformity of the
|
|
240
241
|
server's response to the
|
|
241
|
-
[PAS Inquiry Response Bundle](
|
|
242
|
+
[PAS Inquiry Response Bundle](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-pas-inquiry-response-bundle.html)
|
|
242
243
|
profile.
|
|
243
244
|
|
|
244
245
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Practitioner Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Practitioner
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Practitioner Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Practitioner
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Practitioner Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Practitioner
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Practitioner Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Practitioner
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS PractitionerRole Profile.
|
|
15
15
|
This test checks all identified instances of the PAS PractitionerRole
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS PractitionerRole Profile.
|
|
13
13
|
This test checks all identified instances of the PAS PractitionerRole
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS PractitionerRole Profile.
|
|
15
15
|
This test checks all identified instances of the PAS PractitionerRole
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS PractitionerRole Profile.
|
|
13
13
|
This test checks all identified instances of the PAS PractitionerRole
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Requestor Organization Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Requestor Organization
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Requestor Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Requestor Organization
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Requestor Organization Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Requestor Organization
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Requestor Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Requestor Organization
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
require_relative '../../../cross_suite/validator_configuration'
|
|
1
2
|
require_relative '../../../cross_suite/validator_suppressions'
|
|
2
3
|
require_relative '../../v2.0.1/pas_error_group'
|
|
3
4
|
require_relative '../../v2.0.1/pas_server_subscription_setup'
|
|
@@ -24,8 +25,7 @@ module DaVinciPASTestKit
|
|
|
24
25
|
|
|
25
26
|
The best place to get started is the [Server Testing
|
|
26
27
|
Instructions](https://github.com/inferno-framework/davinci-pas-test-kit/wiki/Server-Instructions-v2.0.1),
|
|
27
|
-
which provides a step-by-step guide for running the tests
|
|
28
|
-
an example client implemented in Postman. Visit the [Server Testing
|
|
28
|
+
which provides a step-by-step guide for running the tests. Visit the [Server Testing
|
|
29
29
|
Details](https://github.com/inferno-framework/davinci-pas-test-kit/wiki/Server-Details)
|
|
30
30
|
documentation for information about technical implementation and known limitations of these tests.
|
|
31
31
|
|
|
@@ -36,6 +36,7 @@ module DaVinciPASTestKit
|
|
|
36
36
|
- Approval of a prior authorization request
|
|
37
37
|
- Denial of a prior authorization request
|
|
38
38
|
- Pending of a prior authorization request and a subsequent final decision
|
|
39
|
+
- Claim updates (except in v2.0.1)
|
|
39
40
|
- Inability to process a prior authorization request
|
|
40
41
|
- The ability of the server to handle the full scope of data required by PAS, including
|
|
41
42
|
- Ability to process prior auth requests and inquiries with all PAS profiles and all must support elements on those profiles
|
|
@@ -50,7 +51,7 @@ module DaVinciPASTestKit
|
|
|
50
51
|
required features and functionality are present. HL7® FHIR® resources are
|
|
51
52
|
validated with the Java validator using `tx.fhir.org` as the terminology server.
|
|
52
53
|
|
|
53
|
-
|
|
54
|
+
)
|
|
54
55
|
|
|
55
56
|
links [
|
|
56
57
|
{
|
|
@@ -85,17 +86,14 @@ module DaVinciPASTestKit
|
|
|
85
86
|
)
|
|
86
87
|
|
|
87
88
|
fhir_resource_validator do
|
|
88
|
-
igs
|
|
89
|
+
igs(*V201_VALIDATOR_IGS)
|
|
89
90
|
|
|
90
91
|
exclude_message do |message|
|
|
91
|
-
|
|
92
|
-
# We strip `<ResourceType>: <FHIRPath>: ` for the sake of matching
|
|
93
|
-
SUPPRESSED_MESSAGES.match?(message.message.sub(/\A\S+: \S+: /, '')) ||
|
|
94
|
-
message.message.downcase.include?('x12')
|
|
92
|
+
V201_SUPPRESSED_MESSAGES.match?(message.message.sub(VALIDATOR_MESSAGE_LOCATION_PREFIX, ''))
|
|
95
93
|
end
|
|
96
94
|
|
|
97
95
|
validation_context do
|
|
98
|
-
snomedCT
|
|
96
|
+
snomedCT SNOMED_CT_US_EDITION
|
|
99
97
|
end
|
|
100
98
|
end
|
|
101
99
|
|
|
@@ -128,9 +126,9 @@ module DaVinciPASTestKit
|
|
|
128
126
|
|
|
129
127
|
group from: :pas_server_v201_subscription_setup
|
|
130
128
|
|
|
131
|
-
group 'Demonstrate
|
|
129
|
+
group 'Demonstrate Scenario Support' do
|
|
132
130
|
description %(
|
|
133
|
-
The
|
|
131
|
+
The scenario tests validate that the server can participate in complete
|
|
134
132
|
end-to-end prior authorization interactions, returning responses that are
|
|
135
133
|
conformant and also contain the correct codes.
|
|
136
134
|
)
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Subscriber Patient Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Subscriber Patient
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Subscriber Patient Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Subscriber Patient
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Task Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Task
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Task Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Task
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Beneficiary Patient Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Beneficiary Patient
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Beneficiary Patient Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Beneficiary Patient
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Beneficiary Patient Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Beneficiary Patient
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Beneficiary Patient Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Beneficiary Patient
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Claim Inquiry Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Claim Inquiry
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Claim Update Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Claim Update
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Claim Inquiry Response Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Claim Inquiry Response
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -87,6 +87,8 @@ module DaVinciPASTestKit
|
|
|
87
87
|
* ClaimResponse.status
|
|
88
88
|
)
|
|
89
89
|
|
|
90
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@conf-6'
|
|
91
|
+
|
|
90
92
|
config(
|
|
91
93
|
options: {
|
|
92
94
|
resource_type: 'ClaimResponse',
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Claim Response Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Claim Response
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -88,6 +88,8 @@ module DaVinciPASTestKit
|
|
|
88
88
|
* ClaimResponse.status
|
|
89
89
|
)
|
|
90
90
|
|
|
91
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@conf-6'
|
|
92
|
+
|
|
91
93
|
config(
|
|
92
94
|
options: {
|
|
93
95
|
resource_type: 'ClaimResponse',
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS CommunicationRequest Profile.
|
|
13
13
|
This test checks all identified instances of the PAS CommunicationRequest
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Coverage Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Coverage
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Coverage Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Coverage
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Encounter Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Encounter
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Insurer Organization Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Insurer Organization
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Insurer Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Insurer Organization
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Insurer Organization Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Insurer Organization
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Insurer Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Insurer Organization
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
14
14
|
requests, including instances of the PAS Inquiry Request Bundle Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Inquiry Request Bundle
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
responses, including instances of the PAS Inquiry Response Bundle Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Inquiry Response Bundle
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
|
|
|
10
10
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
|
11
11
|
|
|
12
12
|
PAS server systems are required to be able to receive all
|
|
13
|
-
must support elements on instances of all profiles included in
|
|
13
|
+
must support elements on instances of all profiles included in `$submit`
|
|
14
14
|
requests, including instances of the PAS Request Bundle Profile.
|
|
15
15
|
This test checks all identified instances of the PAS Request Bundle
|
|
16
16
|
Profile on requests sent to the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
10
|
PAS server systems are required to be able to populate all
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
responses, including instances of the PAS Response Bundle Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Response Bundle
|
|
14
14
|
Profile on responses returned by the server to ensure that the following
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
module DaVinciPASV221
|
|
9
9
|
class PASServerApprovalUseCaseGroup < Inferno::TestGroup
|
|
10
10
|
id :pas_server_v221_approval_use_case
|
|
11
|
-
title 'Successful Approval
|
|
11
|
+
title 'Successful Approval Scenario'
|
|
12
12
|
description %(
|
|
13
13
|
Demonstrate the ability of the server to respond to a prior
|
|
14
14
|
authorization request with an `approved` decision.
|
|
@@ -28,7 +28,7 @@ module DaVinciPASTestKit
|
|
|
28
28
|
|
|
29
29
|
This test validates the conformity of the
|
|
30
30
|
user input to the
|
|
31
|
-
[PAS Request Bundle](
|
|
31
|
+
[PAS Request Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-request-bundle.html)
|
|
32
32
|
profile, ensuring subsequent tests can accurately simulate content.
|
|
33
33
|
|
|
34
34
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -82,7 +82,7 @@ module DaVinciPASTestKit
|
|
|
82
82
|
description %(
|
|
83
83
|
This test validates the conformity of the
|
|
84
84
|
server's response to the
|
|
85
|
-
[PAS Response Bundle](
|
|
85
|
+
[PAS Response Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-response-bundle.html)
|
|
86
86
|
profile.
|
|
87
87
|
|
|
88
88
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -100,6 +100,7 @@ module DaVinciPASTestKit
|
|
|
100
100
|
sets containing X12 codes are not validated.
|
|
101
101
|
|
|
102
102
|
)
|
|
103
|
+
|
|
103
104
|
config(
|
|
104
105
|
options: {
|
|
105
106
|
use_case: 'approval',
|
|
@@ -107,6 +108,7 @@ module DaVinciPASTestKit
|
|
|
107
108
|
ig_version: 'v2.2.1'
|
|
108
109
|
}
|
|
109
110
|
)
|
|
111
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@spec-30', 'hl7.fhir.us.davinci-pas_2.2.1@spec-31', 'hl7.fhir.us.davinci-pas_2.2.1@spec-33'
|
|
110
112
|
end
|
|
111
113
|
test from: :prior_auth_claim_response_decision_validation do
|
|
112
114
|
id :pas_server_v221_decision_validation_test_approval
|
|
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
|
|
|
8
8
|
module DaVinciPASV221
|
|
9
9
|
class PASServerDenialUseCaseGroup < Inferno::TestGroup
|
|
10
10
|
id :pas_server_v221_denial_use_case
|
|
11
|
-
title 'Successful Denial
|
|
11
|
+
title 'Successful Denial Scenario'
|
|
12
12
|
description %(
|
|
13
13
|
Demonstrate the ability of the server to respond to a prior
|
|
14
14
|
authorization request with a `denied` decision.
|
|
@@ -28,7 +28,7 @@ module DaVinciPASTestKit
|
|
|
28
28
|
|
|
29
29
|
This test validates the conformity of the
|
|
30
30
|
user input to the
|
|
31
|
-
[PAS Request Bundle](
|
|
31
|
+
[PAS Request Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-request-bundle.html)
|
|
32
32
|
profile, ensuring subsequent tests can accurately simulate content.
|
|
33
33
|
|
|
34
34
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -82,7 +82,7 @@ module DaVinciPASTestKit
|
|
|
82
82
|
description %(
|
|
83
83
|
This test validates the conformity of the
|
|
84
84
|
server's response to the
|
|
85
|
-
[PAS Response Bundle](
|
|
85
|
+
[PAS Response Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-response-bundle.html)
|
|
86
86
|
profile.
|
|
87
87
|
|
|
88
88
|
It also checks that other conformance requirements defined in the [PAS Formal
|
|
@@ -100,6 +100,7 @@ module DaVinciPASTestKit
|
|
|
100
100
|
sets containing X12 codes are not validated.
|
|
101
101
|
|
|
102
102
|
)
|
|
103
|
+
|
|
103
104
|
config(
|
|
104
105
|
options: {
|
|
105
106
|
use_case: 'denial',
|
|
@@ -107,6 +108,7 @@ module DaVinciPASTestKit
|
|
|
107
108
|
ig_version: 'v2.2.1'
|
|
108
109
|
}
|
|
109
110
|
)
|
|
111
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@spec-30', 'hl7.fhir.us.davinci-pas_2.2.1@spec-31', 'hl7.fhir.us.davinci-pas_2.2.1@spec-33'
|
|
110
112
|
end
|
|
111
113
|
test from: :prior_auth_claim_response_decision_validation do
|
|
112
114
|
id :pas_server_v221_decision_validation_test_denial
|