carin_for_blue_button_test_kit 0.15.0 → 0.15.1
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/lib/carin_for_blue_button_test_kit/capability_statement/tests/instantiates_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/json_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/c4bb_client_test_suite.rb +191 -126
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_auth_smart_alca_group.rb +30 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_auth_smart_alcs_group.rb +30 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_auth_smart_alp_group.rb +30 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_auth_udap_group.rb +29 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_options.rb +25 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_registration/configuration_display_smart_test.rb +36 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_registration/configuration_display_udap_test.rb +36 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_registration_group.rb +65 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/client_validation_test.rb +1 -1
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/authorization_endpoint.rb +51 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/next_page_endpoint.rb +4 -3
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_api_endpoint.rb +4 -3
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/resource_id_endpoint.rb +4 -3
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/token_endpoint.rb +60 -62
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/initial_wait_test.rb +33 -33
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/metadata/mock_capability_statement.json.erb +3 -4
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/mock_server.rb +12 -30
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/coverage_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/eob_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/organization_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/patient_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/practitioner_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/required_searches_tests/relatedperson_required_searches.rb +6 -0
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/tags.rb +2 -5
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/urls.rb +11 -7
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch_group.rb +9 -0
- data/lib/carin_for_blue_button_test_kit/docs/carin_for_blue_button_v2.0.0_client_suite_description.md +136 -30
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/metadata.yml +12 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/must_support_test.rb +4 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/metadata.yml +6 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/patient_search_test.rb +6 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/metadata.yml +155 -91
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/must_support_test.rb +23 -9
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/patient_search_test.rb +6 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/metadata.yml +155 -91
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/must_support_test.rb +21 -10
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/patient_search_test.rb +6 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/metadata.yml +114 -68
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/must_support_test.rb +22 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/patient_search_test.rb +6 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/metadata.yml +103 -60
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/must_support_test.rb +13 -6
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/patient_search_test.rb +6 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/metadata.yml +568 -314
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/metadata.yml +8 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/metadata.yml +11 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/must_support_test.rb +4 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/metadata.yml +4 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/metadata.yml +12 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/must_support_test.rb +5 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/metadata.yml +9 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/must_support_test.rb +2 -1
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/validation_test.rb +2 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/metadata.yml +164 -94
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/must_support_test.rb +25 -10
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/validation_test.rb +3 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/metadata.yml +129 -77
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/must_support_test.rb +24 -10
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/metadata.yml +164 -94
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/must_support_test.rb +23 -11
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/metadata.yml +128 -78
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/must_support_test.rb +25 -9
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/metadata.yml +121 -68
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/must_support_test.rb +14 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/metadata.yml +752 -415
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/metadata.yml +8 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/id_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/metadata.yml +11 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/must_support_test.rb +5 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/metadata.yml +4 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/metadata.yml +2 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/metadata.yml +12 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/must_support_test.rb +5 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/metadata.yml +9 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/must_support_test.rb +2 -1
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/metadata.yml +164 -94
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/must_support_test.rb +25 -10
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/metadata.yml +59 -41
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/must_support_test.rb +22 -8
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/metadata.yml +129 -77
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/must_support_test.rb +24 -10
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/metadata.yml +59 -42
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/must_support_test.rb +22 -9
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/metadata.yml +164 -94
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/must_support_test.rb +23 -11
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/metadata.yml +58 -40
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/must_support_test.rb +19 -8
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/metadata.yml +127 -78
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/must_support_test.rb +24 -9
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/metadata.yml +57 -43
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/must_support_test.rb +22 -8
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/metadata.yml +121 -68
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/must_support_test.rb +14 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/billable_period_start_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/id_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/identifier_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/metadata.yml +51 -33
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/must_support_test.rb +12 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/patient_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/service_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/service_start_date_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/type_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/metadata.yml +1035 -604
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/metadata.yml +8 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/id_search_test.rb +7 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/metadata.yml +11 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/must_support_test.rb +5 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/metadata.yml +4 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/id_search_test.rb +11 -6
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/lastupdated_search_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/metadata.yml +2 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/must_support_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/validation_test.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb +1 -0
- data/lib/carin_for_blue_button_test_kit/generator/group_generator.rb +2 -2
- data/lib/carin_for_blue_button_test_kit/generator/group_metadata_extractor.rb +2 -3
- data/lib/carin_for_blue_button_test_kit/generator/must_support_test_generator.rb +2 -2
- data/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +1 -1
- data/lib/carin_for_blue_button_test_kit/generator/templates/group.rb.erb +5 -0
- data/lib/carin_for_blue_button_test_kit/generator/templates/must_support.rb.erb +3 -0
- data/lib/carin_for_blue_button_test_kit/generator/templates/search.rb.erb +6 -1
- data/lib/carin_for_blue_button_test_kit/generator/templates/validation.rb.erb +10 -0
- data/lib/carin_for_blue_button_test_kit/generator/validation_test_generator.rb +1 -1
- data/lib/carin_for_blue_button_test_kit/must_support_test.rb +1 -192
- data/lib/carin_for_blue_button_test_kit/requirements/carin-for-blue-button-test-kit_out_of_scope_requirements.csv +15 -0
- data/lib/carin_for_blue_button_test_kit/requirements/carin-for-blue-button-test-kit_requirements.csv +80 -85
- data/lib/carin_for_blue_button_test_kit/requirements/generated/carin-for-blue-button-test-kit_requirements_coverage.csv +183 -240
- data/lib/carin_for_blue_button_test_kit/version.rb +2 -2
- data/lib/requirements_config.yaml +3 -0
- metadata +29 -9
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/endpoints/authorize_endpoint.rb +0 -32
- data/lib/carin_for_blue_button_test_kit/client/v2.0.0/mock_authorization.rb +0 -35
- data/lib/carin_for_blue_button_test_kit/generator/must_support_metadata_extractor.rb +0 -326
@@ -51,6 +51,7 @@ module CarinForBlueButtonTestKit
|
|
51
51
|
|
52
52
|
group from: :smart_discovery do
|
53
53
|
run_as_group
|
54
|
+
verifies_requirements 'hl7.fhir.us.carin-bb_2.0.0@58'
|
54
55
|
|
55
56
|
test from: :c4bb_v200_smart_capabilities do
|
56
57
|
config(
|
@@ -95,6 +96,14 @@ module CarinForBlueButtonTestKit
|
|
95
96
|
|
96
97
|
* [Standalone Launch Sequence](https://www.hl7.org/fhir/smart-app-launch/1.0.0/index.html#standalone-launch-sequence)
|
97
98
|
)
|
99
|
+
verifies_requirements 'hl7.fhir.us.carin-bb_2.0.0@1', 'hl7.fhir.us.carin-bb_2.0.0@60',
|
100
|
+
'hl7.fhir.us.carin-bb_2.0.0@68', 'hl7.fhir.us.carin-bb_2.0.0@69',
|
101
|
+
'hl7.fhir.us.carin-bb_2.0.0@70', 'hl7.fhir.us.carin-bb_2.0.0@71',
|
102
|
+
'hl7.fhir.us.carin-bb_2.0.0@72', 'hl7.fhir.us.carin-bb_2.0.0@73',
|
103
|
+
'hl7.fhir.us.carin-bb_2.0.0@74', 'hl7.fhir.us.carin-bb_2.0.0@75',
|
104
|
+
'hl7.fhir.us.carin-bb_2.0.0@76', 'hl7.fhir.us.carin-bb_2.0.0@77',
|
105
|
+
'hl7.fhir.us.carin-bb_2.0.0@78', 'hl7.fhir.us.carin-bb_2.0.0@79',
|
106
|
+
'hl7.fhir.us.carin-bb_2.0.0@80', 'hl7.fhir.us.carin-bb_2.0.0@81'
|
98
107
|
|
99
108
|
test from: :c4bb_v200_smart_scopes do
|
100
109
|
config(
|
@@ -38,49 +38,144 @@ During execution, Inferno will wait for the client under test to issue requests
|
|
38
38
|
|
39
39
|
### Quick Start
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
41
|
+
Inferno's simulated payer endpoints require authentication using the OAuth flows
|
42
|
+
conforming either to the
|
43
|
+
- SMART [App Launch flow](https://hl7.org/fhir/smart-app-launch/STU2.2/app-launch.html), or
|
44
|
+
- UDAP [Consumer-Facing flow](https://hl7.org/fhir/us/udap-security/STU1/consumer.html).
|
45
|
+
|
46
|
+
When creating a test session, select the Client Security Type corresponding to an
|
47
|
+
authentication approach supported by the client. Then, start by running the "Client Registration"
|
48
|
+
group which will guide you through the registration process, including what inputs to provide. See the
|
49
|
+
*Auth Configuration Details* section below for details. If the client is not able to use the SMART or
|
50
|
+
UDAP protocols to obtain an access token, see the *Demonstration* section below for how to use the SMART
|
51
|
+
or UDAP server tests to obtain an access token that the client can use.
|
52
|
+
|
53
|
+
Once registration is complete, run the "Verify CARIN for Blue Button Data Access" group and Inferno will
|
54
|
+
wait for CARIN for Blue Button resource and search requests from the client, return the requested CARIN
|
55
|
+
resources to the client, and verify the interaction. The CARIN for Blue Button Patient that the client
|
56
|
+
needs to request data for can be requested and searched for with the following information:
|
50
57
|
- **Resource ID**: 888
|
51
58
|
- **Name**: Johnny Smith
|
52
59
|
- **Member Identifier**: 1234-234-1243-12345678901 (system: http://inferno.healthit.gov/reference-server/r4/uniquememberidentifier)
|
53
60
|
- **Date of Birth**: 1986-01-01
|
54
61
|
- **Gender**: male
|
55
62
|
|
56
|
-
|
57
|
-
return the requested CARIN resources to the client, and verify the interaction.
|
58
|
-
|
59
|
-
### Sample Execution - Postman
|
63
|
+
### Demonstration using Postman
|
60
64
|
|
61
65
|
To try out these tests without a CARIN for Blue Button client implementation, you may
|
62
66
|
run them using [this Postman collection](https://github.com/inferno-framework/carin-for-blue-button-test-kit/blob/main/config/C4BB%20Client%20Search%20Tests.postman_collection.json). This Postman collection includes all of the required CARIN for Blue Button profile resource requests and required search
|
63
67
|
requests needed to pass all of the tests. Note that some requests within the collection (those suffixed with "(unsupported)") are expected to return a 400 status and OperationOutcome indicating failure due to current limitations on search parameter support.
|
64
68
|
|
65
69
|
To run the client tests against the Postman collection:
|
66
|
-
1. Start an Inferno session of the CARIN for Blue Button Client test suite
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
70
|
+
1. Start an Inferno session of the CARIN for Blue Button Client test suite and choose one of the SMART options for the
|
71
|
+
Client Security Type.
|
72
|
+
1. Register and obtain and access token:
|
73
|
+
1. In another tab, start an Inferno session for the SMART App Launch STU2.2 test suite. Select the "Demo: Run Against the SMART
|
74
|
+
Client Suite" preset corresponding to the authentication type you chose for the CARIN Client session in step 1.
|
75
|
+
1. Select the "Standalone Launch" group and click the "RUN TESTS" button, but don't run the tests yet.
|
76
|
+
1. Back in the CARIN test session, select the "CARIN IG for Blue Button® v2.0.0 Client Test Suite" group, click the
|
77
|
+
"RUN ALL TESTS" button, fill in the following inputs using the values from the SMART App Tests:
|
78
|
+
- **Client Id**: from the SMART tests **Client ID** input
|
79
|
+
- **SMART App Launch Redirect URI(s)**: from the SMART app "OAuth Redirect URI" value at the top of the input box.
|
80
|
+
- **FHIR User Relative Reference**: `Patient/888`
|
81
|
+
1. Click "SUBMIT" in the CARIN tests and when the first wait dialog appears, confirm that the client has been set up.
|
82
|
+
1. When the second wait dialog appears asking for CARIN requests, return to the SMART tests. Update the
|
83
|
+
**FHIR Endpoint** input to use the FHIR endpoint displayed in the wait dialog of the CARIN tests, taking
|
84
|
+
everything up to and including `/fhir`. Click "SUBMIT" and then click the link to authorize when instructed.
|
85
|
+
The tests should complete.
|
86
|
+
1. Find the `standalone_access_token` output in test **1.2.06** "Token exchange response body contains required information
|
87
|
+
encoded in JSON", and copy the value, which will be a ~100 character string of letters and numbers (e.g.,
|
88
|
+
eyJjbGllbnRfaWQiOiJzbWFydF9jbGllbnRfdGVzdF9kZW1vIiwiZXhwaXJhdGlvbiI6MTc0MzUxNDk4Mywibm9uY2UiOiJlZDI5MWIwNmZhMTE4OTc4In0).
|
89
|
+
1. Open Postman and import the `C4BB Client Search Tests` Postman collection if not already done.
|
90
|
+
1. Open the "Variables" tab of the collection, paste the access value obtained in the previous step into the "Current value"
|
91
|
+
column for the "access_token" variable and save the collection.
|
92
|
+
1. Send each of the requests listed under the `C4BB Client Search Tests` Postman collection and ensure a
|
71
93
|
200 response is received along with any requested CARIN for Blue Button resources.
|
72
|
-
|
73
|
-
|
94
|
+
1. Once you have finished making requests, click the "Click here" link in the wait dialog of the CARIN client tests to
|
95
|
+
evaluate the requests.
|
96
|
+
1. An attestation dialog will appear asking the client to attest that it was able to process each of the
|
74
97
|
the resources it received. Click the first "Click here" link in the wait dialog to pass the test.
|
98
|
+
1. The tests will complete and should all pass, with the possible exception of registration errors if executing on a
|
99
|
+
non-TLS hosted server.
|
100
|
+
|
101
|
+
#### Optional Demo Modification: Tester-provided Client Id
|
75
102
|
|
76
|
-
NOTE: Inferno uses the
|
103
|
+
NOTE: Inferno uses **Client Id** input and the generated bearer tokens sent in the `Authorization` HTTP header
|
77
104
|
to associate requests with sessions. If multiple concurrent sessions are configured
|
78
105
|
to use the same token, they may interfere with each other. To prevent concurrent executors
|
79
|
-
of these sample executions from disrupting your session it
|
80
|
-
|
81
|
-
|
82
|
-
2.
|
83
|
-
|
106
|
+
of these sample executions from disrupting your session it is recommended, but not required, to:
|
107
|
+
1. When running the Client Registration test group, leave the **Client Id** input blank or provide your own unique or
|
108
|
+
random value.
|
109
|
+
2. When the wait dialog appears for confirmation of client registration, note the indicated `Client Id` value and copy it
|
110
|
+
into the **Client ID** input of the SMART tests.
|
111
|
+
|
112
|
+
#### Optional Demo Modification: UDAP Authentication
|
113
|
+
|
114
|
+
To run the demonstration using UDAP authentication to obtain an access token, replace step 2. "Register and obtain and access token"
|
115
|
+
with the following:
|
116
|
+
|
117
|
+
1. In another tab, start an Inferno session for the UDAP Security Server test suite. Select the "Demo: Run Against the UDAP Security
|
118
|
+
Client Suite" preset
|
119
|
+
1. Select the "UDAP Authorization Code Flow" group and click the "RUN TESTS" button, but don't run the tests yet.
|
120
|
+
1. Back in the CARIN test session, select the "CARIN IG for Blue Button® v2.0.0 Client Test Suite" group,
|
121
|
+
click the "RUN ALL TESTS" button, and fill in the following inputs using the values from the UDAP Tests:
|
122
|
+
- **UDAP Client URI**: from the UDAP **Authorization Code JWT Issuer (iss) Claim** input
|
123
|
+
1. Run the CARIN registration tests and once the wait dialog appears, copy the "FHIR server" value and put it in the
|
124
|
+
**FHIR Server Base URL** input of the UDAP tests.
|
125
|
+
1. Click "SUBMIT" on the UDAP tests and then click the link to authorize when instructed. The tests should complete.
|
126
|
+
1. Find the `udap_auth_code_flow_access_token` output in test **1.3.04** "Token exchange response body contains required information
|
127
|
+
encoded in JSON", and copy the value, which will be a ~100 character string of letters and numbers (e.g.,
|
128
|
+
eyJjbGllbnRfaWQiOiJzbWFydF9jbGllbnRfdGVzdF9kZW1vIiwiZXhwaXJhdGlvbiI6MTc0MzUxNDk4Mywibm9uY2UiOiJlZDI5MWIwNmZhMTE4OTc4In0).
|
129
|
+
1. Return to the CARIN tests and confirm that UDAP registration has been completed and then that the client has been configured
|
130
|
+
to connect to Inferno. A third wait dialog will be displayed asking for CARIN data requests.
|
131
|
+
|
132
|
+
The tests will pass with the possible exception of some UDAP registration details.
|
133
|
+
|
134
|
+
## Input Details
|
135
|
+
|
136
|
+
### Auth Configuration Details
|
137
|
+
|
138
|
+
When running these tests there are 4 options for authentication, which also allows
|
139
|
+
Inferno to identify which session the requests are for. The choice is made when the
|
140
|
+
session is created with the selected Client Security Type option, which determines
|
141
|
+
what details the tester needs to provide during the Client Registration tests:
|
142
|
+
|
143
|
+
- **SMART App Launch Client**: the system under test will manually register
|
144
|
+
with Inferno and request access tokens to use when accessing FHIR endpoints
|
145
|
+
as per the SMART App Luanch specification, which includes providing one or more
|
146
|
+
redirect URI(s) in the **SMART App Launch Redirect URI(s)** input, and optionally,
|
147
|
+
launch URL(s) in the **SMART App Launch URL(s)** input. Additionally, testers may provide
|
148
|
+
a **Client Id** if they want their client assigned a specific one. Depending on the
|
149
|
+
specific SMART flavor chosen, additional inputs for authentication may be needed:
|
150
|
+
- **SMART App Launch Public Client**: no additional authentication inputs
|
151
|
+
- **SMART App Launch Confidential Symmetric Client**: provide a secret using the
|
152
|
+
**SMART Confidential Symmetric Client Secret** input.
|
153
|
+
- **SMART App Launch Confidential Asymmetric Client**: provide a URL that resolves
|
154
|
+
to a JWKS or a raw JWKS in JSON format using the **SMART JSON Web Key Set (JWKS)** input.
|
155
|
+
- **UDAP Authorization Code Client**: the system under test will dynamically register
|
156
|
+
with Inferno and request access tokens used to access FHIR endpoints
|
157
|
+
as per the UDAP specification. It requires the **UDAP Client URI** input
|
158
|
+
to be populated with the URI that the client will use when dynamically
|
159
|
+
registering with Inferno. This will be used to generate a client id (each
|
160
|
+
unique UDAP Client URI will always get the same client id). All other details
|
161
|
+
that Inferno needs will be provided as a part of the dynamic registration.
|
162
|
+
|
163
|
+
### Inputs Controlling Token Responses
|
164
|
+
|
165
|
+
Inferno's SMART simulation does not include the details needed to populate
|
166
|
+
the token response [context data](https://hl7.org/fhir/smart-app-launch/STU2.2/scopes-and-launch-context.html)
|
167
|
+
when requested by apps using scopes during the *SMART App Launch* flow. If the tested app
|
168
|
+
needs and will request these details, the tester must provide them for Inferno
|
169
|
+
to respond with using the following inputs:
|
170
|
+
- **Launch Context**: Testers can provide a JSON
|
171
|
+
array for Inferno to use as the base for building a token response on. This can include
|
172
|
+
keys like `"patient"` when the `launch/patient` scope will be requested. Note that when keys that Inferno
|
173
|
+
also populates (e.g. `access_token` or `id_token`) are included, the Inferno value will be returned.
|
174
|
+
- **FHIR User Relative Reference**: Testers
|
175
|
+
can provide a FHIR relative reference (`<resource type>/<id>`) for the FHIR user record
|
176
|
+
to return with the `id_token` when the `openid` and `fhirUser` scopes are requested.
|
177
|
+
If populated, ensure that the referenced resource is available in Inferno's simulated
|
178
|
+
FHIR server so that it can be accessed.
|
84
179
|
|
85
180
|
## Current Limitations
|
86
181
|
|
@@ -90,7 +185,18 @@ that the test kit covers and does not cover in the [Requirements Coverage](https
|
|
90
185
|
CSV document.
|
91
186
|
|
92
187
|
Specific current limitations to highlight include:
|
93
|
-
- Inferno's simulated CARIN server does not support all required search parameters on the ExplanationOfBenefit resource,
|
94
|
-
|
95
|
-
|
96
|
-
|
188
|
+
- Inferno's simulated CARIN server does not support all required search parameters on the ExplanationOfBenefit resource,
|
189
|
+
including service-date, service-start-date, billable-period-start, type, and _include=ExplanationOfBenefit:insurer.
|
190
|
+
Inferno recognizes searches made using those parameters and will give the client credit for having performed them, but
|
191
|
+
will always return an OperationOutcome indicating failure.
|
192
|
+
- Testers must manually configure their client system to connect to a specific target patient and ingest specific curated sample
|
193
|
+
CARIN data. Future versions of the tests may allow more flexibility in the patient identity and the associated data.
|
194
|
+
- Testers must attest to their system's ability to process and retain all received information. Currently, this is implemented
|
195
|
+
as a single test. Future versions of the tests may split this test out into different attestations per profile or other
|
196
|
+
more fine-grained organization.
|
197
|
+
- This test kit contains basic SMART App Launch and UDAP OAuth capabilities that may not be complete. In particular, Inferno will
|
198
|
+
echo back the scopes requested by the client and will not check that they are sufficient to grant access to the data requests
|
199
|
+
that it makes. To provide feedback and input on the design of this feature and help us prioritize improvements, submit a
|
200
|
+
ticket [here](https://github.com/inferno-framework/carin-for-blue-button-test-kit/issues).
|
201
|
+
- In order to access CARIN data on Inferno's simulated FHIR server, an access token must be obtained from Inferno and sent
|
202
|
+
within the HTTP `Authorization` header as a bearer token.
|
@@ -40,14 +40,16 @@
|
|
40
40
|
:must_supports:
|
41
41
|
:extensions: []
|
42
42
|
:slices:
|
43
|
-
- :
|
43
|
+
- :slice_id: Coverage.class:group
|
44
|
+
:slice_name: group
|
44
45
|
:path: class
|
45
46
|
:discriminator:
|
46
47
|
:type: patternCodeableConcept
|
47
48
|
:path: type
|
48
49
|
:code: group
|
49
50
|
:system: http://terminology.hl7.org/CodeSystem/coverage-class
|
50
|
-
- :
|
51
|
+
- :slice_id: Coverage.class:plan
|
52
|
+
:slice_name: plan
|
51
53
|
:path: class
|
52
54
|
:discriminator:
|
53
55
|
:type: patternCodeableConcept
|
@@ -63,14 +65,20 @@
|
|
63
65
|
- :path: beneficiary
|
64
66
|
:types:
|
65
67
|
- Reference
|
68
|
+
:target_profiles:
|
69
|
+
- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient
|
66
70
|
- :path: relationship
|
67
71
|
- :path: period
|
68
72
|
- :path: payor
|
69
73
|
:types:
|
70
74
|
- Reference
|
75
|
+
:target_profiles:
|
76
|
+
- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization
|
71
77
|
- :path: class
|
72
|
-
- :path: class.value
|
73
|
-
- :path: class.name
|
78
|
+
- :path: class:group.value
|
79
|
+
- :path: class:group.name
|
80
|
+
- :path: class:plan.value
|
81
|
+
- :path: class:plan.name
|
74
82
|
:mandatory_elements:
|
75
83
|
- Coverage.meta
|
76
84
|
- Coverage.meta.lastUpdated
|
@@ -17,10 +17,12 @@ module CarinForBlueButtonTestKit
|
|
17
17
|
|
18
18
|
* Coverage.beneficiary
|
19
19
|
* Coverage.class
|
20
|
-
* Coverage.class.name
|
21
|
-
* Coverage.class.value
|
22
20
|
* Coverage.class:group
|
21
|
+
* Coverage.class:group.name
|
22
|
+
* Coverage.class:group.value
|
23
23
|
* Coverage.class:plan
|
24
|
+
* Coverage.class:plan.name
|
25
|
+
* Coverage.class:plan.value
|
24
26
|
* Coverage.identifier
|
25
27
|
* Coverage.meta
|
26
28
|
* Coverage.meta.lastUpdated
|
@@ -239,10 +239,14 @@
|
|
239
239
|
- :path: patient
|
240
240
|
:types:
|
241
241
|
- Reference
|
242
|
+
:target_profiles:
|
243
|
+
- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient
|
242
244
|
- :path: billablePeriod
|
243
245
|
- :path: insurer
|
244
246
|
:types:
|
245
247
|
- Reference
|
248
|
+
:target_profiles:
|
249
|
+
- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization
|
246
250
|
- :path: provider
|
247
251
|
:types:
|
248
252
|
- Reference
|
@@ -266,6 +270,8 @@
|
|
266
270
|
- :path: insurance.coverage
|
267
271
|
:types:
|
268
272
|
- Reference
|
273
|
+
:target_profiles:
|
274
|
+
- http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage
|
269
275
|
- :path: item
|
270
276
|
- :path: item.sequence
|
271
277
|
- :path: item.noteNumber
|
@@ -32,8 +32,12 @@ requirement of CARIN IG for Blue Button® v1.1.0.
|
|
32
32
|
input :patient_ids,
|
33
33
|
title: 'Patient IDs',
|
34
34
|
type: 'text',
|
35
|
-
description:
|
36
|
-
|
35
|
+
description: %q(
|
36
|
+
|
37
|
+
Comma separated list of patient IDs that in sum
|
38
|
+
contain all MUST SUPPORT elements
|
39
|
+
|
40
|
+
)
|
37
41
|
|
38
42
|
def self.properties
|
39
43
|
@properties ||= SearchTestProperties.new(
|