carin_for_blue_button_test_kit 0.9.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carin_for_blue_button_test_kit/capability_statement/capability_statement_group.rb +6 -5
- data/lib/carin_for_blue_button_test_kit/capability_statement/tests/instantiates_test.rb +4 -16
- data/lib/carin_for_blue_button_test_kit/carin_search_test.rb +451 -195
- data/lib/carin_for_blue_button_test_kit/custom_groups/v1.1.0/c4bb_smart_launch_group.rb +59 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch/smart_scopes_test.rb +119 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch/well_known_capabilities_test.rb +48 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0/c4bb_smart_launch_group.rb +126 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch/smart_scopes_test.rb +119 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch/well_known_capabilities_test.rb +51 -0
- data/lib/carin_for_blue_button_test_kit/custom_groups/v2.0.0-dev-nonfinancial/c4bb_smart_launch_group.rb +129 -0
- data/lib/carin_for_blue_button_test_kit/date_search_validator.rb +102 -98
- data/lib/carin_for_blue_button_test_kit/fhir_resource_navigation.rb +57 -58
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb +44 -60
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/metadata.yml +20 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_read_test.rb → read_test.rb} +10 -11
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/{coverage_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb +24 -25
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb → eob/identifier_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb → eob/lastupdated_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit → eob}/metadata.yml +155 -42
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_must_support_test.rb → eob/must_support_test.rb} +5 -5
- 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 → eob/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb → eob/service_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb → eob/type_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_validation_test.rb → eob/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_group.rb +125 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/id_search_test.rb +40 -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 → eob_inpatient_institutional/identifier_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/incl_provider_search_test.rb +37 -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 → eob_inpatient_institutional/lastupdated_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_inpatient_institutional → eob_inpatient_institutional}/metadata.yml +155 -42
- 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 → eob_inpatient_institutional/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb → eob_inpatient_institutional/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_inpatient_institutional/read_test.rb +32 -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 → eob_inpatient_institutional/service_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_type_search_test.rb → eob_inpatient_institutional/type_search_test.rb} +8 -16
- 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 → eob_inpatient_institutional/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit/explanation_of_benefit_patient_search_test.rb → eob_outpatient_institutional/id_search_test.rb} +9 -17
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_outpatient_institutional → eob_outpatient_institutional}/metadata.yml +155 -42
- 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 → eob_outpatient_institutional/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_outpatient_institutional/type_search_test.rb +41 -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 → eob_outpatient_institutional/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy → eob_pharmacy}/metadata.yml +155 -42
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb → eob_pharmacy/must_support_test.rb} +7 -7
- 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 → eob_pharmacy/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_pharmacy/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb → eob_pharmacy/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb → eob_professional_non_clinician/id_search_test.rb} +9 -17
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/{explanation_of_benefit_professional_non_clinician → eob_professional_non_clinician}/metadata.yml +155 -42
- 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 → eob_professional_non_clinician/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/eob_professional_non_clinician/type_search_test.rb +41 -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 → eob_professional_non_clinician/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/metadata.yml +604 -56
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/metadata.yml +4 -3
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_read_test.rb → read_test.rb} +10 -11
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/{organization_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb +24 -25
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/metadata.yml +4 -3
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/{patient_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/read_test.rb +39 -0
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/{patient_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb +24 -25
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/metadata.yml +4 -3
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_read_test.rb → read_test.rb} +10 -11
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/{practitioner_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb +24 -25
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb +45 -63
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_id_search_test.rb → id_search_test.rb} +16 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_coverage_payor_search_test.rb → incl_payor_search_test.rb} +8 -9
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_lastupdated_search_test.rb → lastupdated_search_test.rb} +6 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/metadata.yml +56 -13
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_read_test.rb → read_test.rb} +5 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/{coverage_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +30 -31
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb → eob/billable_period_start_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb → eob/identifier_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb → eob/lastupdated_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit → eob}/metadata.yml +188 -55
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_must_support_test.rb → eob/must_support_test.rb} +5 -5
- 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 → eob/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb → eob/service_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb → eob/service_start_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb → eob/type_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_validation_test.rb → eob/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_group.rb +137 -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 → eob_inpatient_institutional/billable_period_start_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/id_search_test.rb +40 -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 → eob_inpatient_institutional/identifier_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/incl_all_search_test.rb +37 -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 → eob_inpatient_institutional/incl_careteam_search_test.rb} +10 -11
- 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 → eob_inpatient_institutional/incl_coverage_search_test.rb} +10 -11
- 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 → eob_inpatient_institutional/incl_insurer_search_test.rb} +10 -11
- 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 → eob_inpatient_institutional/incl_patient_search_test.rb} +10 -11
- 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 → eob_inpatient_institutional/incl_payee_search_test.rb} +10 -11
- 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 → eob_inpatient_institutional/incl_provider_search_test.rb} +10 -11
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb → eob_inpatient_institutional/lastupdated_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_inpatient_institutional → eob_inpatient_institutional}/metadata.yml +188 -55
- 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 → eob_inpatient_institutional/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb → eob_inpatient_institutional/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_inpatient_institutional/read_test.rb +32 -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 → eob_inpatient_institutional/service_date_search_test.rb} +7 -15
- 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 → eob_inpatient_institutional/service_start_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_type_search_test.rb → eob_inpatient_institutional/type_search_test.rb} +8 -16
- 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 → eob_inpatient_institutional/validation_test.rb} +6 -7
- 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 → eob_oral/billable_period_start_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/id_search_test.rb +40 -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 → eob_oral/identifier_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/incl_provider_search_test.rb +37 -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 → eob_oral/lastupdated_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral → eob_oral}/metadata.yml +188 -55
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb → eob_oral/must_support_test.rb} +7 -7
- 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 → eob_oral/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_oral/read_test.rb +32 -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 → eob_oral/service_date_search_test.rb} +7 -15
- 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 → eob_oral/service_start_date_search_test.rb} +7 -15
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb → eob_oral/type_search_test.rb} +8 -16
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb → eob_oral/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_patient_search_test.rb → eob_outpatient_institutional/id_search_test.rb} +9 -17
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_outpatient_institutional → eob_outpatient_institutional}/metadata.yml +188 -55
- 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 → eob_outpatient_institutional/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_outpatient_institutional/type_search_test.rb +41 -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 → eob_outpatient_institutional/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy → eob_pharmacy}/metadata.yml +188 -55
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb → eob_pharmacy/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb → eob_pharmacy/patient_search_test.rb} +22 -19
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_pharmacy/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb → eob_pharmacy/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/billable_period_start_search_test.rb +40 -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 → eob_professional_non_clinician/id_search_test.rb} +9 -17
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit_professional_non_clinician → eob_professional_non_clinician}/metadata.yml +188 -55
- 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 → eob_professional_non_clinician/must_support_test.rb} +7 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/eob_professional_non_clinician/type_search_test.rb +41 -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 → eob_professional_non_clinician/validation_test.rb} +6 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/metadata.yml +1036 -128
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/metadata.yml +39 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_read_test.rb → read_test.rb} +5 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/{organization_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +29 -24
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/{explanation_of_benefit/explanation_of_benefit_id_search_test.rb → patient/id_search_test.rb} +16 -19
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/metadata.yml +39 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_read_test.rb → read_test.rb} +5 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/{patient_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +28 -25
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/metadata.yml +39 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_must_support_test.rb → must_support_test.rb} +2 -2
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_read_test.rb → read_test.rb} +5 -12
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/{practitioner_validation_test.rb → validation_test.rb} +3 -4
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +29 -24
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/metadata.yml +39 -7
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_must_support_test.rb → must_support_test.rb} +3 -3
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_read_test.rb → read_test.rb} +6 -13
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/{related_person_validation_test.rb → validation_test.rb} +4 -5
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +29 -24
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/c4bb_test_suite.rb +94 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/id_search_test.rb +63 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/incl_payor_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/metadata.yml +216 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/must_support_test.rb +53 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb +86 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/metadata.yml +813 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/must_support_test.rb +72 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_group.rb +157 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/metadata.yml +1225 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/must_support_test.rb +121 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional/validation_test.rb +42 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/metadata.yml +1129 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/must_support_test.rb +114 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/service_date_search_test.rb +40 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_inpatient_institutional_non_financial/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/metadata.yml +1199 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/must_support_test.rb +112 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral/validation_test.rb +42 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/metadata.yml +1136 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/must_support_test.rb +107 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/service_date_search_test.rb +40 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_oral_non_financial/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/metadata.yml +1178 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/must_support_test.rb +114 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional/validation_test.rb +42 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/metadata.yml +1081 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/must_support_test.rb +106 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/service_date_search_test.rb +40 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_outpatient_institutional_non_financial/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/billable_period_start_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/metadata.yml +1129 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/must_support_test.rb +109 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/service_start_date_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy/validation_test.rb +42 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/metadata.yml +1064 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/must_support_test.rb +103 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/service_date_search_test.rb +40 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_pharmacy_non_financial/validation_test.rb +42 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/id_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/identifier_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/incl_provider_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/lastupdated_search_test.rb +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/metadata.yml +1233 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/must_support_test.rb +108 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/service_date_search_test.rb +40 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/type_search_test.rb +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician/validation_test.rb +42 -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 +40 -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 +40 -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 +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_all_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_careteam_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_coverage_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_insurer_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_patient_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_payee_search_test.rb +37 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/incl_provider_search_test.rb +37 -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 +40 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/metadata.yml +1170 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/must_support_test.rb +103 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/patient_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/read_test.rb +32 -0
- 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 +40 -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 +40 -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 +41 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/eob_professional_non_clinician_non_financial/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/metadata.yml +12605 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/metadata.yml +168 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/must_support_test.rb +55 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb +86 -0
- data/lib/carin_for_blue_button_test_kit/generated/{v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb → v2.0.0-dev-nonfinancial/patient/id_search_test.rb} +18 -21
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/metadata.yml +256 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/must_support_test.rb +68 -0
- data/lib/carin_for_blue_button_test_kit/generated/{v1.1.0/patient/patient_read_test.rb → v2.0.0-dev-nonfinancial/patient/read_test.rb} +7 -14
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb +84 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/metadata.yml +144 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/must_support_test.rb +46 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb +86 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/id_search_test.rb +62 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/lastupdated_search_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/metadata.yml +133 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/must_support_test.rb +47 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/read_test.rb +32 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/validation_test.rb +42 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb +86 -0
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/resource_list.rb +24 -0
- data/lib/carin_for_blue_button_test_kit/generator/group_generator.rb +104 -76
- data/lib/carin_for_blue_button_test_kit/generator/group_metadata.rb +82 -80
- data/lib/carin_for_blue_button_test_kit/generator/group_metadata_extractor.rb +42 -37
- data/lib/carin_for_blue_button_test_kit/generator/ig_metadata.rb +13 -10
- data/lib/carin_for_blue_button_test_kit/generator/ig_resources.rb +19 -13
- data/lib/carin_for_blue_button_test_kit/generator/include_search_test_generator.rb +26 -5
- data/lib/carin_for_blue_button_test_kit/generator/must_support_test_generator.rb +9 -6
- data/lib/carin_for_blue_button_test_kit/generator/naming.rb +13 -1
- data/lib/carin_for_blue_button_test_kit/generator/read_test_generator.rb +50 -15
- data/lib/carin_for_blue_button_test_kit/generator/search_definition_metadata_extractor.rb +58 -60
- data/lib/carin_for_blue_button_test_kit/generator/search_metadata_extractor.rb +14 -1
- data/lib/carin_for_blue_button_test_kit/generator/search_test_generator.rb +79 -37
- data/lib/carin_for_blue_button_test_kit/generator/special_cases.rb +0 -4
- data/lib/carin_for_blue_button_test_kit/generator/suite_generator.rb +16 -8
- data/lib/carin_for_blue_button_test_kit/generator/validation_test_generator.rb +8 -6
- data/lib/carin_for_blue_button_test_kit/generator.rb +5 -8
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-110/SearchParameter-Resource-id.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-110/SearchParameter-Resource-lastUpdated.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200/SearchParameter-Resource-id.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200/SearchParameter-Resource-lastUpdated.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed/SearchParameter-Resource-id.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed/SearchParameter-Resource-lastUpdated.json +1 -0
- data/lib/carin_for_blue_button_test_kit/igs/carin4bb-200-dev-nonfinancial-fixed.tgz +0 -0
- data/lib/carin_for_blue_button_test_kit/must_support_test.rb +7 -7
- data/lib/carin_for_blue_button_test_kit/read_test.rb +56 -45
- data/lib/carin_for_blue_button_test_kit/search_test_properties.rb +2 -1
- data/lib/carin_for_blue_button_test_kit/version.rb +1 -1
- data/lib/carin_for_blue_button_test_kit.rb +1 -0
- metadata +513 -251
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +0 -39
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb +0 -110
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb +0 -58
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb +0 -58
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +0 -39
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb +0 -58
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -59
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb +0 -58
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_read_test.rb +0 -39
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb +0 -118
- 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 +0 -48
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb +0 -58
- 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 +0 -38
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_read_test.rb +0 -39
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb +0 -58
- 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 +0 -48
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb +0 -58
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +0 -48
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_read_test.rb +0 -39
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb +0 -58
- 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 +0 -48
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -38
- 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 +0 -59
- 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 +0 -49
- 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 +0 -48
- 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 +0 -48
- 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 +0 -39
- 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 +0 -48
- 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 +0 -48
- 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 +0 -49
- data/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb +0 -58
@@ -3,225 +3,481 @@ require_relative 'fhir_resource_navigation'
|
|
3
3
|
require_relative 'search_test_properties'
|
4
4
|
|
5
5
|
module CarinForBlueButtonTestKit
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
search_params = { _id: resource_id }
|
31
|
-
run_include_search(search_params, param_value)
|
32
|
-
return
|
33
|
-
end
|
6
|
+
module CarinSearchTest
|
7
|
+
extend Forwardable
|
8
|
+
include DateSearchValidation
|
9
|
+
include FHIRResourceNavigation
|
10
|
+
|
11
|
+
def_delegators 'self.class', :metadata, :properties
|
12
|
+
def_delegators 'properties',
|
13
|
+
:resource_type,
|
14
|
+
:search_param_names,
|
15
|
+
:saves_delayed_references?,
|
16
|
+
:first_search?,
|
17
|
+
:fixed_value_search?,
|
18
|
+
:possible_status_search?,
|
19
|
+
:test_medication_inclusion?,
|
20
|
+
:test_post_search?,
|
21
|
+
:token_search_params,
|
22
|
+
:test_reference_variants?,
|
23
|
+
:params_with_comparators,
|
24
|
+
:multiple_or_search_params,
|
25
|
+
:include_parameters
|
26
|
+
|
27
|
+
def all_scratch_resources
|
28
|
+
scratch_resources[:all] ||= []
|
29
|
+
end
|
34
30
|
|
35
|
-
|
31
|
+
def run_search_test(param_value = nil)
|
32
|
+
search_params = build_search_params(param_value)
|
33
|
+
returned_resources = execute_search(search_params)
|
36
34
|
|
37
|
-
|
38
|
-
|
39
|
-
|
35
|
+
all_scratch_resources.concat(returned_resources).uniq! if first_search?
|
36
|
+
save_delayed_references(returned_resources) if saves_delayed_references?
|
37
|
+
perform_response_validation(returned_resources, search_params)
|
38
|
+
end
|
40
39
|
|
41
|
-
|
40
|
+
def execute_search(search_params)
|
41
|
+
if patient_id_param?(search_param_names[0])
|
42
|
+
patient_id_list.inject([]) do |resources, id|
|
43
|
+
search = { search_param_names[0] => id }
|
44
|
+
perform_search_and_validate(search)
|
45
|
+
resources.concat(extract_relevant_resources)
|
46
|
+
end
|
47
|
+
else
|
48
|
+
perform_search_and_validate(search_params)
|
49
|
+
extract_relevant_resources
|
50
|
+
end
|
51
|
+
end
|
42
52
|
|
43
|
-
|
53
|
+
def perform_search_and_validate(search_params)
|
54
|
+
fhir_search(resource_type, params: search_params)
|
44
55
|
|
45
|
-
|
46
|
-
|
47
|
-
|
56
|
+
assert_response_status(200)
|
57
|
+
assert_resource_type(:bundle)
|
58
|
+
end
|
48
59
|
|
49
|
-
|
60
|
+
def extract_relevant_resources
|
61
|
+
extract_resources_from_bundle(bundle: resource, response:).select do |item|
|
62
|
+
item.resourceType == resource_type
|
63
|
+
end
|
64
|
+
end
|
50
65
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
reply_handler: nil,
|
55
|
-
max_pages: 20,
|
56
|
-
additional_resource_types: [],
|
57
|
-
resource_type: self.resource_type
|
58
|
-
)
|
59
|
-
page_count = 1
|
60
|
-
resources = []
|
61
|
-
|
62
|
-
until bundle.nil? || page_count == max_pages
|
63
|
-
resources += bundle&.entry&.map { |entry| entry&.resource }
|
64
|
-
next_bundle_link = bundle&.link&.find { |link| link.relation == 'next' }&.url
|
65
|
-
reply_handler&.call(response)
|
66
|
-
|
67
|
-
break if next_bundle_link.blank?
|
68
|
-
|
69
|
-
page_count += 1
|
70
|
-
end
|
71
|
-
|
72
|
-
resources
|
73
|
-
end
|
66
|
+
def build_search_params(param_value = nil)
|
67
|
+
search_params = {}
|
68
|
+
param_name = search_param_names[0]
|
74
69
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
70
|
+
if patient_id_param?(param_name)
|
71
|
+
search_params[param_name] = patient_id_list.join(',')
|
72
|
+
else
|
73
|
+
param_value = find_param_value(param_value, param_name) if param_value.blank?
|
74
|
+
skip_if param_value.blank?, no_resources_skip_message
|
75
|
+
search_params[param_name] = param_value
|
76
|
+
end
|
77
|
+
|
78
|
+
search_params
|
79
|
+
end
|
80
|
+
|
81
|
+
def find_param_value(param_value, param_name)
|
82
|
+
all_scratch_resources.each do |resource|
|
83
|
+
break if param_value.present?
|
84
|
+
|
85
|
+
param_value = search_param_value(param_name, resource)
|
86
|
+
end
|
87
|
+
|
88
|
+
if param_value.nil? && param_name == '_id' && resource_type != 'ExplanationOfBenefit'
|
89
|
+
resources = readable_resources(scratch.dig(:references, resource_type))
|
90
|
+
param_value = resource_id(resources.first)
|
91
|
+
end
|
92
|
+
|
93
|
+
param_value
|
94
|
+
end
|
95
|
+
|
96
|
+
def search_param_value(name, resource, include_system = false)
|
97
|
+
paths = determine_paths(name)
|
98
|
+
paths.each do |path|
|
99
|
+
element = find_a_value_at(resource, path) { |el| element_has_valid_value?(el, include_system) }
|
100
|
+
search_value = process_element(name, element, include_system, resource)
|
101
|
+
return search_value.gsub(',', '\\,') if search_value.present?
|
102
|
+
end
|
103
|
+
nil
|
104
|
+
end
|
105
|
+
|
106
|
+
# Handles the processing logic for each resource element type.
|
107
|
+
def process_element(name, element, include_system, resource)
|
108
|
+
case element
|
109
|
+
when FHIR::Period
|
110
|
+
process_period_element(element)
|
111
|
+
when FHIR::Reference
|
112
|
+
element.reference
|
113
|
+
when FHIR::CodeableConcept
|
114
|
+
process_codeable_concept_element(element, include_system)
|
115
|
+
when FHIR::Identifier
|
116
|
+
include_system ? "#{element.system}|#{element.value}" : element.value
|
117
|
+
when FHIR::Coding
|
118
|
+
include_system ? "#{element.system}|#{element.code}" : element.code
|
119
|
+
when FHIR::HumanName
|
120
|
+
element.family || element.given&.first || element.text
|
121
|
+
when FHIR::Address
|
122
|
+
element.text || element.city || element.state || element.postalCode || element.country
|
123
|
+
else
|
124
|
+
process_other_element_types(name, element, resource)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
# Handles logic for processing FHIR::Period elements.
|
129
|
+
def process_period_element(element)
|
130
|
+
if element.start.present?
|
131
|
+
"gt#{(DateTime.xmlschema(element.start) - 1).xmlschema}"
|
132
|
+
else
|
133
|
+
end_datetime = get_fhir_datetime_range(element.end)[:end]
|
134
|
+
"lt#{(end_datetime + 1).xmlschema}"
|
135
|
+
end
|
136
|
+
end
|
83
137
|
|
84
|
-
|
85
|
-
|
138
|
+
# Handles logic for processing FHIR::CodeableConcept elements.
|
139
|
+
def process_codeable_concept_element(element, include_system)
|
140
|
+
if include_system
|
141
|
+
coding = find_a_value_at(element, 'coding') { |c| c.code.present? && c.system.present? }
|
142
|
+
"#{coding.system}|#{coding.code}"
|
143
|
+
else
|
144
|
+
find_a_value_at(element, 'coding.code')
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
# Handles the remaining types, including date types
|
149
|
+
def process_other_element_types(name, element, resource)
|
150
|
+
type = metadata.search_definitions[name.to_sym][:type]
|
151
|
+
if type == 'date' && params_with_comparators&.include?(name)
|
152
|
+
process_date_element(name, element, resource)
|
153
|
+
else
|
154
|
+
element
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
def process_date_element(element)
|
159
|
+
if /^\d{4}(-\d{2})?$/.match?(element) || # YYYY or YYYY-MM
|
160
|
+
(/^\d{4}-\d{2}-\d{2}$/.match?(element) && resource_type != 'Goal') # YYYY-MM-DD AND Resource is NOT Goal
|
161
|
+
"gt#{(DateTime.xmlschema(element) - 1).xmlschema}"
|
162
|
+
else
|
163
|
+
element
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
def readable_resources(resources)
|
168
|
+
return [] if resources.nil?
|
169
|
+
|
170
|
+
resources
|
171
|
+
.select { |resource| resource.is_a?(resource_class) || resource.is_a?(FHIR::Reference) }
|
172
|
+
.select { |resource| (resource.is_a?(FHIR::Reference) ? resource.reference.split('/').last : resource.id).present? }
|
173
|
+
.compact
|
174
|
+
.uniq { |resource| resource.is_a?(FHIR::Reference) ? resource.reference.split('/').last : resource.id }
|
175
|
+
end
|
176
|
+
|
177
|
+
def resource_id(resource)
|
178
|
+
return if resource.blank?
|
179
|
+
|
180
|
+
resource.is_a?(FHIR::Reference) ? resource.reference.split('/').last : resource.id
|
181
|
+
end
|
182
|
+
|
183
|
+
def perform_response_validation(returned_resources, search_params)
|
184
|
+
skip_if returned_resources.blank?, no_resources_skip_message
|
185
|
+
|
186
|
+
returned_resources.each do |resource|
|
187
|
+
check_resource_against_params(resource, search_params)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
def check_resource_against_params(resource, search_params)
|
192
|
+
search_params.each do |name, param_value|
|
193
|
+
paths = determine_paths(name)
|
194
|
+
type = determine_type(name)
|
195
|
+
assert check_paths_for_match(resource, paths, type, param_value),
|
196
|
+
'Returned resource did not match the search parameter'
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Determines the path based on the param name
|
201
|
+
def determine_paths(name)
|
202
|
+
case name
|
203
|
+
when '_id'
|
204
|
+
['id']
|
205
|
+
when '_lastUpdated'
|
206
|
+
['meta.lastUpdated']
|
207
|
+
else
|
208
|
+
search_param_paths(name)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# Determines the param type based on the param name
|
213
|
+
def determine_type(name)
|
214
|
+
case name
|
215
|
+
when '_id'
|
216
|
+
'http://hl7.org/fhirpath/System.String'
|
217
|
+
when '_lastUpdated'
|
218
|
+
'date'
|
219
|
+
else
|
220
|
+
metadata.search_definitions[name.to_sym][:type]
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# Checks if any of the paths have a matching value
|
225
|
+
def check_paths_for_match(resource, paths, type, param_value)
|
226
|
+
paths.any? do |path|
|
227
|
+
values_found = extract_values(resource, path, type)
|
228
|
+
match_found?(values_found, type, param_value)
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
# Extracts values from the resource based on the path and type
|
233
|
+
def extract_values(resource, path, type)
|
234
|
+
resolve_path(resource, path).map do |value|
|
235
|
+
type == 'Reference' ? value.try(:reference) : value
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# Determines if a match is found based on the type and value
|
240
|
+
def match_found?(values_found, type, param_value)
|
241
|
+
case type
|
242
|
+
when 'Reference'
|
243
|
+
values_found.any? { |val| param_value.split(',').any? { |item| val.include?(item) } }
|
244
|
+
when 'CodeableConcept'
|
245
|
+
codings = values_found.flat_map { |val| val.coding || nil }.compact
|
246
|
+
if param_value.include? '|'
|
247
|
+
system, code = param_value.split('|', 2)
|
248
|
+
codings.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
|
249
|
+
else
|
250
|
+
codings.any? { |coding| coding.code&.casecmp?(param_value) }
|
251
|
+
end
|
252
|
+
when 'Identifier'
|
253
|
+
if param_value.include? '|'
|
254
|
+
values_found.any? do |identifier|
|
255
|
+
"#{identifier.system}|#{identifier.value}" == param_value
|
256
|
+
end
|
257
|
+
else
|
258
|
+
values_found.any? { |identifier| identifier.value == param_value }
|
86
259
|
end
|
260
|
+
when 'Period', 'date', 'instant', 'dateTime'
|
261
|
+
values_found.any? { |date| validate_date_search(param_value, date) }
|
262
|
+
when 'http://hl7.org/fhirpath/System.String'
|
263
|
+
values_found.any? { |str| param_value.split(',').include?(str) }
|
264
|
+
else
|
265
|
+
false
|
266
|
+
end
|
267
|
+
end
|
87
268
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
match_found =
|
125
|
-
case type
|
126
|
-
when 'Reference'
|
127
|
-
values_found.any? do |val|
|
128
|
-
val.include? param_value
|
129
|
-
end
|
130
|
-
when 'CodeableConcept'
|
131
|
-
codings = values_found.flat_map do |val|
|
132
|
-
if val[:coding.to_s]
|
133
|
-
val[:coding.to_s]
|
134
|
-
else
|
135
|
-
nil
|
136
|
-
end
|
137
|
-
end.compact
|
138
|
-
if param_value.include? '|'
|
139
|
-
system = param_value.split('|').first
|
140
|
-
code = param_value.split('|').last
|
141
|
-
codings&.any? { |coding| coding[:system.to_s] == system && coding[:code.to_s]&.casecmp?(code) }
|
142
|
-
else
|
143
|
-
codings&.any? { |coding| coding.code&. casecmp?(search_value) }
|
144
|
-
end
|
145
|
-
when 'Identifier'
|
146
|
-
if param_value.include? '|'
|
147
|
-
values_found.any? { |identifier|
|
148
|
-
puts "#{identifier[:system.to_s]}|#{identifier[:value.to_s]}"
|
149
|
-
"#{identifier[:system.to_s]}|#{identifier[:value.to_s]}" == param_value
|
150
|
-
}
|
151
|
-
else
|
152
|
-
values_found.any? { |identifier| identifier[:value] == param_value }
|
153
|
-
end
|
154
|
-
when 'date'
|
155
|
-
values_found.any? { |date| validate_date_search(param_value, date) }
|
156
|
-
when 'http://hl7.org/fhirpath/System.String'
|
157
|
-
values_found.any? { |str| param_value == str}
|
158
|
-
else
|
159
|
-
false
|
160
|
-
end
|
161
|
-
|
162
|
-
break if match_found
|
163
|
-
end
|
164
|
-
assert match_found, "Returned resource did not match the search parameter"
|
165
|
-
end
|
269
|
+
def extract_resources_from_bundle(
|
270
|
+
bundle: nil,
|
271
|
+
response: nil,
|
272
|
+
reply_handler: nil,
|
273
|
+
max_pages: 20
|
274
|
+
)
|
275
|
+
page_count = 1
|
276
|
+
resources = []
|
277
|
+
|
278
|
+
until bundle.nil? || page_count == max_pages
|
279
|
+
resources += bundle&.entry&.map { |entry| entry&.resource }
|
280
|
+
next_bundle_link = bundle&.link&.find { |link| link.relation == 'next' }&.url
|
281
|
+
reply_handler&.call(response)
|
282
|
+
|
283
|
+
break if next_bundle_link.blank?
|
284
|
+
|
285
|
+
page_count += 1
|
286
|
+
end
|
287
|
+
|
288
|
+
resources
|
289
|
+
end
|
290
|
+
|
291
|
+
def element_has_valid_value?(element, include_system)
|
292
|
+
case element
|
293
|
+
when FHIR::Reference
|
294
|
+
element.reference.present?
|
295
|
+
when FHIR::CodeableConcept
|
296
|
+
if include_system
|
297
|
+
coding =
|
298
|
+
find_a_value_at(element, 'coding') { |koding| koding.code.present? && koding.system.present? }
|
299
|
+
coding.present?
|
300
|
+
else
|
301
|
+
find_a_value_at(element, 'coding.code').present?
|
166
302
|
end
|
303
|
+
when FHIR::Identifier
|
304
|
+
include_system ? element.value.present? && element.system.present? : element.value.present?
|
305
|
+
when FHIR::Coding
|
306
|
+
include_system ? element.code.present? && element.system.present? : element.code.present?
|
307
|
+
when FHIR::HumanName
|
308
|
+
(element.family || element.given&.first || element.text).present?
|
309
|
+
when FHIR::Address
|
310
|
+
(element.text || element.city || element.state || element.postalCode || element.country).present?
|
311
|
+
else
|
312
|
+
true
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
def search_param_paths(name)
|
317
|
+
paths = metadata.search_definitions[name.to_sym][:paths]
|
318
|
+
paths[0] = 'local_class' if paths.first == 'class'
|
319
|
+
|
320
|
+
paths
|
321
|
+
end
|
322
|
+
|
323
|
+
def resource_class
|
324
|
+
FHIR.const_get(resource_type)
|
325
|
+
end
|
326
|
+
|
327
|
+
def no_resources_skip_message(resource_type = self.resource_type)
|
328
|
+
msg = "No #{resource_type} resources appear to be available"
|
329
|
+
|
330
|
+
"#{msg}. Please use patients with more information"
|
331
|
+
end
|
332
|
+
|
333
|
+
def run_include_search(param_value)
|
334
|
+
search_params = initialize_include_search_params(param_value)
|
335
|
+
perform_search_and_validate(search_params)
|
336
|
+
returned_resources = extract_resources_from_bundle(bundle: resource, response:)
|
337
|
+
process_resources(returned_resources, param_value)
|
338
|
+
end
|
339
|
+
|
340
|
+
# Initializes seach param for include search
|
341
|
+
def initialize_include_search_params(param_value)
|
342
|
+
resource_id = all_scratch_resources.first&.id
|
343
|
+
{ _id: resource_id, '_include': param_value }
|
344
|
+
end
|
345
|
+
|
346
|
+
# Processes the base resources and included resources for include searches
|
347
|
+
def process_resources(returned_resources, param_value)
|
348
|
+
base_resources = filter_base_resources(returned_resources)
|
349
|
+
all_included_resource_types = extract_included_resource_types
|
350
|
+
included_refs = included_refs(returned_resources, all_included_resource_types)
|
351
|
+
|
352
|
+
skip_if base_resources.blank?, no_resources_skip_message
|
353
|
+
|
354
|
+
base_resources.each do |resource|
|
355
|
+
process_each_base_resource(resource, param_value, returned_resources, included_refs)
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
def filter_base_resources(returned_resources)
|
360
|
+
returned_resources.select { |item| item.resourceType == resource_type }
|
361
|
+
end
|
167
362
|
|
168
|
-
|
169
|
-
|
363
|
+
def extract_included_resource_types
|
364
|
+
include_parameters.map { |param| param[:target] }.flatten.uniq
|
365
|
+
end
|
170
366
|
|
171
|
-
|
172
|
-
assert_response_status(200)
|
173
|
-
assert_resource_type(:bundle)
|
367
|
+
# Handles the processing for each base resource of an include search
|
174
368
|
|
175
|
-
|
369
|
+
def process_each_base_resource(resource, param_value, returned_resources, included_refs)
|
370
|
+
match_found, base_resource_matches = check_for_include_match(resource, param_value, returned_resources)
|
371
|
+
assert match_found, 'Returned resource did not match the search parameter'
|
372
|
+
validate_included_resources(base_resource_matches, included_refs)
|
373
|
+
end
|
176
374
|
|
177
|
-
|
375
|
+
def check_for_include_match(resource, param_value, returned_resources)
|
376
|
+
if param_value != 'ExplanationOfBenefit:*'
|
377
|
+
check_normal_include(resource, param_value, returned_resources)
|
378
|
+
else
|
379
|
+
check_explanation_of_benefit_include(resource, param_value, returned_resources)
|
380
|
+
end
|
381
|
+
end
|
178
382
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
383
|
+
# Processes the base resource for the normal include case.
|
384
|
+
def check_normal_include(resource, _param_value, returned_resources)
|
385
|
+
base_resource_matches = []
|
386
|
+
match_found = include_parameters.any? do |include_param|
|
387
|
+
values_found = resolve_path(resource, include_param[:path])
|
388
|
+
base_resource_matches.concat(matched_base_resources(resource, include_param[:target], returned_resources,
|
389
|
+
values_found))
|
390
|
+
values_found.length.positive?
|
391
|
+
end
|
392
|
+
[match_found, base_resource_matches]
|
393
|
+
end
|
186
394
|
|
187
|
-
|
395
|
+
# Processes the base resource for the 'ExplanationOfBenefit:*' case.
|
396
|
+
def check_explanation_of_benefit_include(resource, _param_value, returned_resources)
|
397
|
+
values_found = []
|
398
|
+
base_resource_matches = []
|
188
399
|
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
paths.each do |path|
|
196
|
-
values_found += resolve_path(resource.source_hash, path)
|
197
|
-
end
|
400
|
+
include_parameters.each do |include_param|
|
401
|
+
paths_found = resolve_path(resource, include_param[:path])
|
402
|
+
values_found.concat(paths_found)
|
403
|
+
base_resource_matches.concat(matched_base_resources(resource, include_param[:target], returned_resources,
|
404
|
+
values_found))
|
405
|
+
end
|
198
406
|
|
199
|
-
|
407
|
+
match_found = (values_found.length >= 5)
|
408
|
+
[match_found, base_resource_matches]
|
409
|
+
end
|
200
410
|
|
201
|
-
|
202
|
-
|
203
|
-
|
411
|
+
# Validates that the included resources match the search criteria.
|
412
|
+
def validate_included_resources(base_resource_matches, included_refs)
|
413
|
+
not_matched_included_resources = included_refs.select do |resource_reference|
|
414
|
+
base_resource_matches.none? do |base_resource_reference|
|
415
|
+
reference_match?(base_resource_reference.reference, resource_reference)
|
204
416
|
end
|
417
|
+
end
|
418
|
+
not_matched_included_resources_string = not_matched_included_resources.join(',')
|
419
|
+
assert not_matched_included_resources.empty?,
|
420
|
+
"No #{resource_type} references #{not_matched_included_resources_string} in the search result."
|
421
|
+
end
|
422
|
+
|
423
|
+
def matched_base_resources(_resource, referenced_resource_types, returned_resources_all, values_found)
|
424
|
+
included_refs = included_refs(returned_resources_all, referenced_resource_types)
|
425
|
+
|
426
|
+
values_found.select do |base_resource_references|
|
427
|
+
included_refs.any? do |referenced_resource|
|
428
|
+
reference_match?(base_resource_references.reference, referenced_resource)
|
429
|
+
end
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
def included_resources(returned_resources, referenced_resource_types)
|
434
|
+
returned_resources.select { |item| referenced_resource_types.include?(item.resourceType) }
|
435
|
+
end
|
436
|
+
|
437
|
+
def included_refs(returned_resources, referenced_resource_types)
|
438
|
+
included_resources(returned_resources, referenced_resource_types)
|
439
|
+
.map { |resource| "#{resource.resourceType}/#{resource.id}" }
|
440
|
+
end
|
441
|
+
|
442
|
+
def reference_match?(reference, local_reference)
|
443
|
+
regex_pattern = %r{^(#{Regexp.escape(local_reference)}|\S+/#{Regexp.escape(local_reference)}(?:[/|]\S+)*)$}
|
444
|
+
reference.match?(regex_pattern)
|
445
|
+
end
|
446
|
+
|
447
|
+
def patient_id_param?(name)
|
448
|
+
(name == '_id' && resource_type == 'Patient') || name == 'patient'
|
449
|
+
end
|
450
|
+
|
451
|
+
def patient_id_list
|
452
|
+
return [nil] unless respond_to? :patient_ids
|
453
|
+
|
454
|
+
patient_ids.split(',').map(&:strip)
|
455
|
+
end
|
456
|
+
|
457
|
+
def references_to_save
|
458
|
+
metadata.delayed_references
|
459
|
+
end
|
460
|
+
|
461
|
+
def save_resource_reference(resource_type, reference)
|
462
|
+
scratch[:references] ||= {}
|
463
|
+
scratch[:references][resource_type] ||= Set.new
|
464
|
+
scratch[:references][resource_type] << reference
|
465
|
+
end
|
205
466
|
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
['insurer']
|
218
|
-
when 'Coverage:payor'
|
219
|
-
['payor']
|
220
|
-
when 'ExplanationOfBenefit:*'
|
221
|
-
['patient', 'provider', 'careTeam', 'insurance.coverage', 'insurer']
|
222
|
-
else
|
223
|
-
[]
|
467
|
+
def save_delayed_references(resources)
|
468
|
+
resources.each do |resource|
|
469
|
+
references_to_save.each do |reference_to_save|
|
470
|
+
resolve_path(resource, reference_to_save[:path])
|
471
|
+
.select { |reference| reference.is_a?(FHIR::Reference) && !reference.contained? }
|
472
|
+
.each do |reference|
|
473
|
+
resource_type = reference.resource_class.name.demodulize
|
474
|
+
need_to_save = reference_to_save[:resources].include?(resource_type)
|
475
|
+
next unless need_to_save
|
476
|
+
|
477
|
+
save_resource_reference(resource_type, reference)
|
224
478
|
end
|
225
479
|
end
|
480
|
+
end
|
226
481
|
end
|
482
|
+
end
|
227
483
|
end
|