carin_for_blue_button_test_kit 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/capability_statement_group.rb +45 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/conformance_support_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/fhir_version_test.rb +15 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/instantiates_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/json_support_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/profile_support_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/carin_search_test.rb +227 -0
- data/lib/carin_for_blue_button_test_kit/date_search_validator.rb +109 -0
- data/lib/carin_for_blue_button_test_kit/fhir_resource_navigation.rb +73 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb +106 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_must_support_test.rb +53 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +72 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb +110 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb +120 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb +112 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb +103 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb +97 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb +55 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_must_support_test.rb +69 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb +46 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/resource_list.rb +17 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb +110 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_must_support_test.rb +53 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +87 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +73 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb +118 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb +121 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb +112 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb +114 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb +109 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +38 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb +108 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +49 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb +58 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_must_support_test.rb +55 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +81 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_must_support_test.rb +68 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +81 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_must_support_test.rb +46 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +81 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_must_support_test.rb +47 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +81 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/resource_list.rb +19 -0
- data/lib/carin_for_blue_button_test_kit/generator/group_generator.rb +210 -0
- data/lib/carin_for_blue_button_test_kit/generator/group_metadata.rb +87 -0
- data/lib/carin_for_blue_button_test_kit/generator/group_metadata_extractor.rb +240 -0
- data/lib/carin_for_blue_button_test_kit/generator/ig_loader.rb +76 -0
- data/lib/carin_for_blue_button_test_kit/generator/ig_metadata.rb +50 -0
- data/lib/carin_for_blue_button_test_kit/generator/ig_metadata_extractor.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generator/ig_resources.rb +50 -0
- data/lib/carin_for_blue_button_test_kit/generator/include_search_test_generator.rb +105 -0
- data/lib/carin_for_blue_button_test_kit/generator/must_support_metadata_extractor.rb +326 -0
- data/lib/carin_for_blue_button_test_kit/generator/must_support_test_generator.rb +131 -0
- data/lib/carin_for_blue_button_test_kit/generator/naming.rb +36 -0
- data/lib/carin_for_blue_button_test_kit/generator/read_test_generator.rb +109 -0
- data/lib/carin_for_blue_button_test_kit/generator/resource_list_generator.rb +43 -0
- data/lib/carin_for_blue_button_test_kit/generator/search_definition_metadata_extractor.rb +207 -0
- data/lib/carin_for_blue_button_test_kit/generator/search_metadata_extractor.rb +74 -0
- data/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +299 -0
- data/lib/carin_for_blue_button_test_kit/generator/special_cases.rb +21 -0
- data/lib/carin_for_blue_button_test_kit/generator/suite_generator.rb +94 -0
- data/lib/carin_for_blue_button_test_kit/generator/terminology_binding_metadata_extractor.rb +109 -0
- data/lib/carin_for_blue_button_test_kit/generator/validation_test_generator.rb +137 -0
- data/lib/carin_for_blue_button_test_kit/generator/value_extractor.rb +50 -0
- data/lib/carin_for_blue_button_test_kit/generator.rb +90 -0
- data/lib/carin_for_blue_button_test_kit/must_support_test.rb +211 -0
- data/lib/carin_for_blue_button_test_kit/read_test.rb +51 -0
- data/lib/carin_for_blue_button_test_kit/search_test.rb +781 -0
- data/lib/carin_for_blue_button_test_kit/search_test_properties.rb +57 -0
- data/lib/carin_for_blue_button_test_kit/validation_test.rb +57 -0
- data/lib/carin_for_blue_button_test_kit/version.rb +5 -0
- data/lib/carin_for_blue_button_test_kit.rb +2 -0
- metadata +405 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage'
|
10
|
+
description %(
|
11
|
+
Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter
|
12
|
+
|
13
|
+
)
|
14
|
+
|
15
|
+
def self.properties
|
16
|
+
@properties ||= SearchTestProperties.new(
|
17
|
+
resource_type: 'ExplanationOfBenefit',
|
18
|
+
search_param_names: ['_include']
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_include_ExplanationOfBenefit_coverage_search_test
|
23
|
+
|
24
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
25
|
+
title: 'ExplanationOfBenefit search parameter for _id',
|
26
|
+
type: 'text',
|
27
|
+
description: 'ExplanationOfBenefit search parameter: _id'
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
run_search_test('ExplanationOfBenefit:coverage', include_search: true, resource_id: c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer'
|
10
|
+
description %(
|
11
|
+
Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter
|
12
|
+
|
13
|
+
)
|
14
|
+
|
15
|
+
def self.properties
|
16
|
+
@properties ||= SearchTestProperties.new(
|
17
|
+
resource_type: 'ExplanationOfBenefit',
|
18
|
+
search_param_names: ['_include']
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_include_ExplanationOfBenefit_insurer_search_test
|
23
|
+
|
24
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
25
|
+
title: 'ExplanationOfBenefit search parameter for _id',
|
26
|
+
type: 'text',
|
27
|
+
description: 'ExplanationOfBenefit search parameter: _id'
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
run_search_test('ExplanationOfBenefit:insurer', include_search: true, resource_id: c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient'
|
10
|
+
description %(
|
11
|
+
Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter
|
12
|
+
|
13
|
+
)
|
14
|
+
|
15
|
+
def self.properties
|
16
|
+
@properties ||= SearchTestProperties.new(
|
17
|
+
resource_type: 'ExplanationOfBenefit',
|
18
|
+
search_param_names: ['_include']
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_include_ExplanationOfBenefit_patient_search_test
|
23
|
+
|
24
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
25
|
+
title: 'ExplanationOfBenefit search parameter for _id',
|
26
|
+
type: 'text',
|
27
|
+
description: 'ExplanationOfBenefit search parameter: _id'
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
run_search_test('ExplanationOfBenefit:patient', include_search: true, resource_id: c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_payeeSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee'
|
10
|
+
description %(
|
11
|
+
Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter
|
12
|
+
|
13
|
+
)
|
14
|
+
|
15
|
+
def self.properties
|
16
|
+
@properties ||= SearchTestProperties.new(
|
17
|
+
resource_type: 'ExplanationOfBenefit',
|
18
|
+
search_param_names: ['_include']
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_include_ExplanationOfBenefit_payee_search_test
|
23
|
+
|
24
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
25
|
+
title: 'ExplanationOfBenefit search parameter for _id',
|
26
|
+
type: 'text',
|
27
|
+
description: 'ExplanationOfBenefit search parameter: _id'
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
run_search_test('ExplanationOfBenefit:payee', include_search: true, resource_id: c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider'
|
10
|
+
description %(
|
11
|
+
Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter
|
12
|
+
|
13
|
+
)
|
14
|
+
|
15
|
+
def self.properties
|
16
|
+
@properties ||= SearchTestProperties.new(
|
17
|
+
resource_type: 'ExplanationOfBenefit',
|
18
|
+
search_param_names: ['_include']
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_include_ExplanationOfBenefit_provider_search_test
|
23
|
+
|
24
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
25
|
+
title: 'ExplanationOfBenefit search parameter for _id',
|
26
|
+
type: 'text',
|
27
|
+
description: 'ExplanationOfBenefit search parameter: _id'
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
run_search_test('ExplanationOfBenefit:provider', include_search: true, resource_id: c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by _id'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
_id on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
Because this is the first search of the sequence, resources in the
|
17
|
+
response will be used for subsequent tests.
|
18
|
+
|
19
|
+
Additionally, this test will check that GET and POST search methods
|
20
|
+
return the same number of results. Search by POST is required by the
|
21
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
22
|
+
requirement of CARIN IG for Blue Button® v2.0.0.
|
23
|
+
|
24
|
+
|
25
|
+
)
|
26
|
+
|
27
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test
|
28
|
+
|
29
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param,
|
30
|
+
title: 'ExplanationOfBenefit search parameter for _id
|
31
|
+
',
|
32
|
+
type: 'text',
|
33
|
+
description: 'ExplanationOfBenefit search parameter: _id
|
34
|
+
'
|
35
|
+
|
36
|
+
def self.properties
|
37
|
+
@properties ||= SearchTestProperties.new(
|
38
|
+
first_search: true,
|
39
|
+
resource_type: 'ExplanationOfBenefit',
|
40
|
+
search_param_names: ['_id'],
|
41
|
+
saves_delayed_references: true,
|
42
|
+
test_post_search: true
|
43
|
+
)
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.metadata
|
47
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
48
|
+
end
|
49
|
+
|
50
|
+
def scratch_resources
|
51
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
52
|
+
end
|
53
|
+
|
54
|
+
run do
|
55
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test_param)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by identifier'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
identifier on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_identifier_search_test
|
20
|
+
|
21
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional_identifier_search_test_param,
|
22
|
+
title: 'ExplanationOfBenefit search parameter for identifier
|
23
|
+
',
|
24
|
+
type: 'text',
|
25
|
+
description: 'ExplanationOfBenefit search parameter: identifier
|
26
|
+
'
|
27
|
+
|
28
|
+
def self.properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
resource_type: 'ExplanationOfBenefit',
|
31
|
+
search_param_names: ['identifier'],
|
32
|
+
token_search_params: ['identifier']
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional_identifier_search_test_param)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
_lastUpdated on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test
|
20
|
+
|
21
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test_param,
|
22
|
+
title: 'ExplanationOfBenefit search parameter for _lastUpdated
|
23
|
+
',
|
24
|
+
type: 'text',
|
25
|
+
description: 'ExplanationOfBenefit search parameter: _lastUpdated
|
26
|
+
'
|
27
|
+
|
28
|
+
def self.properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
resource_type: 'ExplanationOfBenefit',
|
31
|
+
search_param_names: ['_lastUpdated']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test_param)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,114 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
require_relative './explanation_of_benefit_outpatient_institutional_read_test'
|
3
|
+
require_relative '../../../generator/group_metadata'
|
4
|
+
|
5
|
+
module CarinForBlueButtonTestKit
|
6
|
+
module CARIN4BBV200
|
7
|
+
class ExplanationOfBenefitOutpatientInstitutionalMustSupportTest < Inferno::Test
|
8
|
+
include CarinForBlueButtonTestKit::MustSupportTest
|
9
|
+
include CarinForBlueButtonTestKit::CARIN4BBV200
|
10
|
+
|
11
|
+
title 'All must support elements are provided in the ExplanationOfBenefit resources returned'
|
12
|
+
description %(
|
13
|
+
CARIN for Blue Button Responders SHALL be capable of populating all data elements as
|
14
|
+
part of the query results as specified by the CARIN for Blue Button Capability
|
15
|
+
Statement. This test will look through the ExplanationOfBenefit resources
|
16
|
+
found previously for the following must support elements:
|
17
|
+
|
18
|
+
* ExplanationOfBenefit.adjudication
|
19
|
+
* ExplanationOfBenefit.adjudication.amount
|
20
|
+
* ExplanationOfBenefit.adjudication.category
|
21
|
+
* ExplanationOfBenefit.adjudication.reason
|
22
|
+
* ExplanationOfBenefit.adjudication:adjudicationamounttype
|
23
|
+
* ExplanationOfBenefit.adjudication:adjustmentreason
|
24
|
+
* ExplanationOfBenefit.adjudication:benefitpaymentstatus
|
25
|
+
* ExplanationOfBenefit.adjudication:billingnetworkstatus
|
26
|
+
* ExplanationOfBenefit.billablePeriod
|
27
|
+
* ExplanationOfBenefit.billablePeriod.start
|
28
|
+
* ExplanationOfBenefit.careTeam
|
29
|
+
* ExplanationOfBenefit.careTeam.provider
|
30
|
+
* ExplanationOfBenefit.careTeam.role
|
31
|
+
* ExplanationOfBenefit.created
|
32
|
+
* ExplanationOfBenefit.diagnosis.diagnosis[x]
|
33
|
+
* ExplanationOfBenefit.diagnosis.type
|
34
|
+
* ExplanationOfBenefit.identifier
|
35
|
+
* ExplanationOfBenefit.identifier.value
|
36
|
+
* ExplanationOfBenefit.identifier:uniqueclaimid
|
37
|
+
* ExplanationOfBenefit.insurance
|
38
|
+
* ExplanationOfBenefit.insurance.coverage
|
39
|
+
* ExplanationOfBenefit.insurance.focal
|
40
|
+
* ExplanationOfBenefit.insurer
|
41
|
+
* ExplanationOfBenefit.item
|
42
|
+
* ExplanationOfBenefit.item.adjudication
|
43
|
+
* ExplanationOfBenefit.item.adjudication.amount
|
44
|
+
* ExplanationOfBenefit.item.adjudication.category
|
45
|
+
* ExplanationOfBenefit.item.adjudication.category.coding.code
|
46
|
+
* ExplanationOfBenefit.item.adjudication.reason
|
47
|
+
* ExplanationOfBenefit.item.adjudication.value
|
48
|
+
* ExplanationOfBenefit.item.adjudication:adjudicationamounttype
|
49
|
+
* ExplanationOfBenefit.item.adjudication:adjustmentreason
|
50
|
+
* ExplanationOfBenefit.item.adjudication:allowedunits
|
51
|
+
* ExplanationOfBenefit.item.modifier
|
52
|
+
* ExplanationOfBenefit.item.noteNumber
|
53
|
+
* ExplanationOfBenefit.item.productOrService
|
54
|
+
* ExplanationOfBenefit.item.quantity
|
55
|
+
* ExplanationOfBenefit.item.revenue
|
56
|
+
* ExplanationOfBenefit.item.sequence
|
57
|
+
* ExplanationOfBenefit.item.serviced[x]:servicedDate
|
58
|
+
* ExplanationOfBenefit.meta
|
59
|
+
* ExplanationOfBenefit.meta.lastUpdated
|
60
|
+
* ExplanationOfBenefit.outcome
|
61
|
+
* ExplanationOfBenefit.patient
|
62
|
+
* ExplanationOfBenefit.payee
|
63
|
+
* ExplanationOfBenefit.payee.party
|
64
|
+
* ExplanationOfBenefit.payee.type
|
65
|
+
* ExplanationOfBenefit.payment
|
66
|
+
* ExplanationOfBenefit.payment.date
|
67
|
+
* ExplanationOfBenefit.payment.type
|
68
|
+
* ExplanationOfBenefit.processNote
|
69
|
+
* ExplanationOfBenefit.processNote.text
|
70
|
+
* ExplanationOfBenefit.provider
|
71
|
+
* ExplanationOfBenefit.related
|
72
|
+
* ExplanationOfBenefit.related.reference
|
73
|
+
* ExplanationOfBenefit.related.relationship
|
74
|
+
* ExplanationOfBenefit.status
|
75
|
+
* ExplanationOfBenefit.subType.coding.code
|
76
|
+
* ExplanationOfBenefit.supportingInfo
|
77
|
+
* ExplanationOfBenefit.supportingInfo.category.coding.code
|
78
|
+
* ExplanationOfBenefit.supportingInfo.code
|
79
|
+
* ExplanationOfBenefit.supportingInfo.timing[x]
|
80
|
+
* ExplanationOfBenefit.supportingInfo:admtype
|
81
|
+
* ExplanationOfBenefit.supportingInfo:clmrecvddate
|
82
|
+
* ExplanationOfBenefit.supportingInfo:discharge-status
|
83
|
+
* ExplanationOfBenefit.supportingInfo:medicalrecordnumber
|
84
|
+
* ExplanationOfBenefit.supportingInfo:patientaccountnumber
|
85
|
+
* ExplanationOfBenefit.supportingInfo:pointoforigin
|
86
|
+
* ExplanationOfBenefit.supportingInfo:typeofbill
|
87
|
+
* ExplanationOfBenefit.total
|
88
|
+
* ExplanationOfBenefit.total.amount
|
89
|
+
* ExplanationOfBenefit.total.category
|
90
|
+
* ExplanationOfBenefit.total:adjudicationamounttype
|
91
|
+
* ExplanationOfBenefit.type.coding.code
|
92
|
+
* ExplanationOfBenefit.use
|
93
|
+
)
|
94
|
+
|
95
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_must_support_test
|
96
|
+
|
97
|
+
def resource_type
|
98
|
+
'ExplanationOfBenefit'
|
99
|
+
end
|
100
|
+
|
101
|
+
def self.metadata
|
102
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
103
|
+
end
|
104
|
+
|
105
|
+
def scratch_resources
|
106
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
107
|
+
end
|
108
|
+
|
109
|
+
run do
|
110
|
+
perform_must_support_test(all_scratch_resources)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by patient'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_patient_search_test
|
20
|
+
|
21
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional_patient_search_test_param,
|
22
|
+
title: 'ExplanationOfBenefit search parameter for patient
|
23
|
+
',
|
24
|
+
type: 'text',
|
25
|
+
description: 'ExplanationOfBenefit search parameter: patient
|
26
|
+
'
|
27
|
+
|
28
|
+
def self.properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
resource_type: 'ExplanationOfBenefit',
|
31
|
+
search_param_names: ['patient']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional_patient_search_test_param)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalReadTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::ReadTest
|
8
|
+
|
9
|
+
title 'Server returns correct ExplanationOfBenefit resource from ExplanationOfBenefit read interaction'
|
10
|
+
description 'A server SHALL support the ExplanationOfBenefit read interaction.'
|
11
|
+
|
12
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_read_test
|
13
|
+
|
14
|
+
input :explanation_of_benefit_outpatient_institutional_ids,
|
15
|
+
title: "explanation_of_benefit_outpatient_institutional IDs",
|
16
|
+
type: 'text',
|
17
|
+
description: "explanation_of_benefit_outpatient_institutional Resource ID"
|
18
|
+
|
19
|
+
input_order :url, :smart_credentials, :explanation_of_benefit_outpatient_institutional_ids
|
20
|
+
|
21
|
+
def resource_type
|
22
|
+
'ExplanationOfBenefit'
|
23
|
+
end
|
24
|
+
|
25
|
+
def scratch_resources
|
26
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
27
|
+
end
|
28
|
+
|
29
|
+
def explanation_of_benefit_outpatient_institutional_id_list
|
30
|
+
return [nil] unless respond_to? :explanation_of_benefit_outpatient_institutional_ids
|
31
|
+
explanation_of_benefit_outpatient_institutional_ids.split(',').map(&:strip)
|
32
|
+
end
|
33
|
+
|
34
|
+
run do
|
35
|
+
perform_read_test(explanation_of_benefit_outpatient_institutional_id_list)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by service-date'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
service-date on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_date_search_test
|
20
|
+
|
21
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_date_search_test_param,
|
22
|
+
title: 'ExplanationOfBenefit search parameter for service-date
|
23
|
+
',
|
24
|
+
type: 'text',
|
25
|
+
description: 'ExplanationOfBenefit search parameter: service-date
|
26
|
+
'
|
27
|
+
|
28
|
+
def self.properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
resource_type: 'ExplanationOfBenefit',
|
31
|
+
search_param_names: ['service-date']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional_service_date_search_test_param)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../carin_search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module CarinForBlueButtonTestKit
|
5
|
+
module CARIN4BBV200
|
6
|
+
class ExplanationOfBenefitOutpatientInstitutionalServiceStartDateSearchTest < Inferno::Test
|
7
|
+
include CarinForBlueButtonTestKit::CarinSearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for ExplanationOfBenefit search by service-start-date'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
service-start-date on the ExplanationOfBenefit resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_start_date_search_test
|
20
|
+
|
21
|
+
input :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_start_date_search_test_param,
|
22
|
+
title: 'ExplanationOfBenefit search parameter for service-start-date
|
23
|
+
',
|
24
|
+
type: 'text',
|
25
|
+
description: 'ExplanationOfBenefit search parameter: service-start-date
|
26
|
+
'
|
27
|
+
|
28
|
+
def self.properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
resource_type: 'ExplanationOfBenefit',
|
31
|
+
search_param_names: ['service-start-date']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:explanation_of_benefit_outpatient_institutional_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test(c4bb_v200_explanation_of_benefit_outpatient_institutional_service_start_date_search_test_param)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|