davinci_pas_test_kit 0.15.2 → 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/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 +43 -26
- 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 +91 -25
- data/lib/davinci_pas_test_kit/client/endpoints/claim_endpoint.rb +108 -68
- 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 +27 -6
- 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/generated/v2.0.1/task/metadata.yml +0 -4
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/metadata.yml +0 -1
- data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/task/metadata.yml +0 -4
- data/lib/davinci_pas_test_kit/cross_suite/pas_bundle_validation.rb +489 -289
- data/lib/davinci_pas_test_kit/cross_suite/pas_constants.rb +7 -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 +13 -11
- 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 +4 -0
- data/lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json +3 -3
- 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 +8 -2
- data/lib/davinci_pas_test_kit/generator/profile_metadata.rb +1 -1
- data/lib/davinci_pas_test_kit/generator/server_suite_generator.rb +4 -9
- 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 +8 -8
- data/lib/davinci_pas_test_kit/generator/templates/server_suite.rb.erb +6 -7
- data/lib/davinci_pas_test_kit/generator/use_case_group_generator.rb +5 -5
- 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 +12 -6
- 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 +3 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_denial_use_case_group.rb +3 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_pended_use_case_group.rb +6 -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 +6 -7
- 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 +1 -1
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claimresponse/server_submit_response_must_support_claimresponse_test.rb +1 -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 +3 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_denial_use_case_group.rb +3 -3
- data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_pended_use_case_group.rb +4 -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 +6 -7
- 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 +4 -6
- 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/must_support/pas_server_must_support_request_profiles_test.rb +1 -1
- 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_subscription_setup.rb +1 -1
- data/lib/davinci_pas_test_kit/version.rb +2 -2
- metadata +31 -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
|
@@ -6,8 +6,6 @@ require_relative 'requestor/client_submit_response_must_support_requestor_test'
|
|
|
6
6
|
require_relative 'beneficiary/client_submit_response_must_support_beneficiary_test'
|
|
7
7
|
require_relative 'practitioner/client_submit_response_must_support_practitioner_test'
|
|
8
8
|
require_relative 'practitioner_role/client_submit_response_must_support_practitioner_role_test'
|
|
9
|
-
require_relative 'task/client_submit_response_must_support_task_test'
|
|
10
|
-
require_relative '../../v2.0.1/workflows/pas_client_response_attest'
|
|
11
9
|
|
|
12
10
|
module DaVinciPASTestKit
|
|
13
11
|
module DaVinciPASV201
|
|
@@ -15,12 +13,9 @@ module DaVinciPASTestKit
|
|
|
15
13
|
id :pas_client_v201_submit_response_must_support
|
|
16
14
|
title '$submit Response Must Support Coverage'
|
|
17
15
|
description %(
|
|
18
|
-
Check that `$submit` responses provided to the client contain
|
|
16
|
+
Check that `$submit` responses provided to the PAS client contain
|
|
19
17
|
all PAS-defined profiles and their must support elements.
|
|
20
18
|
|
|
21
|
-
**USER INPUT VALIDATION**: These tests validate responses provided by the tester,
|
|
22
|
-
not the system under test. Errors will be treated as skips instead of failures.
|
|
23
|
-
|
|
24
19
|
For `$submit` responses, this includes the following profiles:
|
|
25
20
|
|
|
26
21
|
- [PAS Response Bundle](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-pas-response-bundle.html)
|
|
@@ -31,7 +26,6 @@ module DaVinciPASTestKit
|
|
|
31
26
|
- [PAS Beneficiary Patient](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-beneficiary.html)
|
|
32
27
|
- [PAS Practitioner](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-practitioner.html)
|
|
33
28
|
- [PAS PractitionerRole](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-practitionerrole.html)
|
|
34
|
-
- [PAS Task](https://hl7.org/fhir/us/davinci-pas/STU2/StructureDefinition-profile-task.html)
|
|
35
29
|
|
|
36
30
|
|
|
37
31
|
|
|
@@ -39,45 +33,29 @@ module DaVinciPASTestKit
|
|
|
39
33
|
run_as_group
|
|
40
34
|
|
|
41
35
|
test from: :pas_client_v201_submit_response_must_support_pas_response_bundle do
|
|
42
|
-
|
|
36
|
+
simulation_verification
|
|
43
37
|
end
|
|
44
38
|
test from: :pas_client_v201_submit_response_must_support_claimresponse do
|
|
45
|
-
verifies_requirements 'hl7.fhir.us.davinci-pas_2.
|
|
39
|
+
verifies_requirements(*verifies_requirements, 'hl7.fhir.us.davinci-pas_2.0.1@39')
|
|
40
|
+
simulation_verification
|
|
46
41
|
end
|
|
47
42
|
test from: :pas_client_v201_submit_response_must_support_communication_request do
|
|
48
|
-
|
|
43
|
+
simulation_verification
|
|
49
44
|
end
|
|
50
45
|
test from: :pas_client_v201_submit_response_must_support_insurer do
|
|
51
|
-
|
|
46
|
+
simulation_verification
|
|
52
47
|
end
|
|
53
48
|
test from: :pas_client_v201_submit_response_must_support_requestor do
|
|
54
|
-
|
|
49
|
+
simulation_verification
|
|
55
50
|
end
|
|
56
51
|
test from: :pas_client_v201_submit_response_must_support_beneficiary do
|
|
57
|
-
|
|
52
|
+
simulation_verification
|
|
58
53
|
end
|
|
59
54
|
test from: :pas_client_v201_submit_response_must_support_practitioner do
|
|
60
|
-
|
|
55
|
+
simulation_verification
|
|
61
56
|
end
|
|
62
57
|
test from: :pas_client_v201_submit_response_must_support_practitioner_role do
|
|
63
|
-
|
|
64
|
-
end
|
|
65
|
-
test from: :pas_client_v201_submit_response_must_support_task do
|
|
66
|
-
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@conf-7'
|
|
67
|
-
end
|
|
68
|
-
test from: :pas_client_v201_response_attest,
|
|
69
|
-
title: 'PAS client handled the $submit response must support elements',
|
|
70
|
-
description: %(
|
|
71
|
-
This test provides the tester an opportunity to verify that their client
|
|
72
|
-
correctly processed and used the must support elements present in the
|
|
73
|
-
$submit responses received from Inferno during these tests.
|
|
74
|
-
),
|
|
75
|
-
config: { options: {
|
|
76
|
-
workflow_tag: MUST_SUPPORT_WORKFLOW_TAG,
|
|
77
|
-
attest_message: "I attest that the client system correctly processed the must support elements " \
|
|
78
|
-
"contained in the $submit responses received from Inferno and did not error."
|
|
79
|
-
} } do
|
|
80
|
-
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@conf-8'
|
|
58
|
+
simulation_verification
|
|
81
59
|
end
|
|
82
60
|
end
|
|
83
61
|
end
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Inquiry Request Bundle are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS Inquiry Request Bundle Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Inquiry Request Bundle
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Bundle.entry
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Inquiry Response Bundle are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Bundle.entry
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Request Bundle are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS Request Bundle Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Request Bundle
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Bundle.entry
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Response Bundle are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Bundle.entry
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Practitioner are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS Practitioner Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Practitioner
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Practitioner.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Practitioner are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Practitioner.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Practitioner are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS Practitioner Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Practitioner
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Practitioner.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Practitioner are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Practitioner.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS PractitionerRole are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS PractitionerRole Profile.
|
|
13
13
|
This test checks all identified instances of the PAS PractitionerRole
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* PractitionerRole.organization
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS PractitionerRole are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* PractitionerRole.organization
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS PractitionerRole are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS PractitionerRole Profile.
|
|
13
13
|
This test checks all identified instances of the PAS PractitionerRole
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* PractitionerRole.organization
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS PractitionerRole are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* PractitionerRole.organization
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Requestor Organization are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS Requestor Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Requestor Organization
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Requestor Organization are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Requestor Organization are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS Requestor Organization Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Requestor Organization
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Requestor Organization are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Subscriber Patient are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS Subscriber Patient Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Subscriber Patient
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Patient.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Subscriber Patient are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS Subscriber Patient Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Subscriber Patient
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Patient.address
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Beneficiary Patient are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Patient.address
|
|
@@ -37,6 +37,7 @@ module DaVinciPASTestKit
|
|
|
37
37
|
* Patient.telecom.use
|
|
38
38
|
* Patient.telecom.value
|
|
39
39
|
)
|
|
40
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
40
41
|
|
|
41
42
|
config(
|
|
42
43
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Beneficiary Patient are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Patient.address
|
|
@@ -37,6 +37,7 @@ module DaVinciPASTestKit
|
|
|
37
37
|
* Patient.telecom.use
|
|
38
38
|
* Patient.telecom.value
|
|
39
39
|
)
|
|
40
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
40
41
|
|
|
41
42
|
config(
|
|
42
43
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Claim Inquiry are observed on $inquire requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$inquire`
|
|
12
12
|
requests, including instances of the PAS Claim Inquiry Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Claim Inquiry
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Claim.accident
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Claim Update are observed on $submit requests'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to populate all
|
|
11
|
+
must support elements on instances of all profiles included in `$submit`
|
|
12
12
|
requests, including instances of the PAS Claim Update Profile.
|
|
13
13
|
This test checks all identified instances of the PAS Claim Update
|
|
14
|
-
Profile on requests sent by the client to ensure that the following
|
|
14
|
+
Profile on requests sent by the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Claim.accident
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Claim Inquiry Response are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* ClaimResponse.addItem
|
|
@@ -86,6 +86,7 @@ module DaVinciPASTestKit
|
|
|
86
86
|
* ClaimResponse.requestor
|
|
87
87
|
* ClaimResponse.status
|
|
88
88
|
)
|
|
89
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
89
90
|
|
|
90
91
|
config(
|
|
91
92
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Claim Response are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* ClaimResponse.addItem
|
|
@@ -87,6 +87,7 @@ module DaVinciPASTestKit
|
|
|
87
87
|
* ClaimResponse.requestor
|
|
88
88
|
* ClaimResponse.status
|
|
89
89
|
)
|
|
90
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
90
91
|
|
|
91
92
|
config(
|
|
92
93
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS CommunicationRequest are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* CommunicationRequest.category
|
|
@@ -26,6 +26,7 @@ module DaVinciPASTestKit
|
|
|
26
26
|
* CommunicationRequest.requester
|
|
27
27
|
* CommunicationRequest.sender
|
|
28
28
|
)
|
|
29
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
29
30
|
|
|
30
31
|
config(
|
|
31
32
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Insurer Organization are observed on $inquire responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -31,6 +31,7 @@ module DaVinciPASTestKit
|
|
|
31
31
|
* Organization.telecom.value
|
|
32
32
|
* Organization.type
|
|
33
33
|
)
|
|
34
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
34
35
|
|
|
35
36
|
config(
|
|
36
37
|
options: {
|
|
@@ -7,11 +7,11 @@ module DaVinciPASTestKit
|
|
|
7
7
|
title 'All must support elements for profile PAS Insurer Organization are observed on $submit responses'
|
|
8
8
|
description %(
|
|
9
9
|
|
|
10
|
-
PAS
|
|
11
|
-
must support elements on instances of all profiles included in
|
|
10
|
+
PAS clients are required to be able to receive all
|
|
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
|
-
Profile on responses sent to the client to ensure that the following
|
|
14
|
+
Profile on responses sent to the PAS client to ensure that the following
|
|
15
15
|
must support elements are observed:
|
|
16
16
|
|
|
17
17
|
* Organization.active
|
|
@@ -31,6 +31,7 @@ module DaVinciPASTestKit
|
|
|
31
31
|
* Organization.telecom.value
|
|
32
32
|
* Organization.type
|
|
33
33
|
)
|
|
34
|
+
verifies_requirements 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-2'
|
|
34
35
|
|
|
35
36
|
config(
|
|
36
37
|
options: {
|
data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_inquire_must_support_group.rb
CHANGED
|
@@ -7,7 +7,7 @@ module DaVinciPASTestKit
|
|
|
7
7
|
id :pas_client_v221_inquire_must_support
|
|
8
8
|
title '$inquire Request Must Support Coverage'
|
|
9
9
|
description %(
|
|
10
|
-
Check that the client
|
|
10
|
+
Check that the PAS client demonstrated `$inquire` requests that contain
|
|
11
11
|
all PAS-defined profiles and their must support elements.
|
|
12
12
|
|
|
13
13
|
For `$inquire` requests, this includes the following profiles:
|
|
@@ -28,10 +28,10 @@ module DaVinciPASTestKit
|
|
|
28
28
|
run_as_group
|
|
29
29
|
|
|
30
30
|
# Mandatory - the PAS Claim Inquiry profile must always be demonstrated.
|
|
31
|
-
test from: :pas_client_v221_inquire_request_must_support_claim_inquiry
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
#
|
|
31
|
+
test from: :pas_client_v221_inquire_request_must_support_claim_inquiry do
|
|
32
|
+
verifies_requirements(*verifies_requirements, 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-1')
|
|
33
|
+
end
|
|
34
|
+
# All other inquire request profiles - all must support elements must be observed.
|
|
35
35
|
test from: :pas_client_v221_must_support_with_attestation_option do
|
|
36
36
|
id :pas_client_v221_inquire_request_other_must_support_with_attestation_option
|
|
37
37
|
title 'All must support elements for other profiles referenced by Claim inquiries are observed on $inquire requests'
|
|
@@ -50,10 +50,12 @@ module DaVinciPASTestKit
|
|
|
50
50
|
],
|
|
51
51
|
ig_version: 'v2.2.1',
|
|
52
52
|
type: 'request',
|
|
53
|
-
operation: 'inquire'
|
|
53
|
+
operation: 'inquire',
|
|
54
|
+
disable_attestation: true
|
|
54
55
|
}
|
|
55
56
|
)
|
|
56
57
|
description MustSupportWithAttestationOption.build_description(config.options)
|
|
58
|
+
verifies_requirements(*verifies_requirements, 'hl7.fhir.us.davinci-pas_2.2.1@hrex-conf-1')
|
|
57
59
|
end
|
|
58
60
|
end
|
|
59
61
|
end
|