From 3338c81a93c6bc89061305e486b74f46d96a2b32 Mon Sep 17 00:00:00 2001 From: Emily Michaud <59289146+emichaud998@users.noreply.github.com> Date: Fri, 27 Oct 2023 17:16:39 -0400 Subject: [PATCH 1/2] Fix indentation of all description markdown text --- .../generated/v1.1.0/c4bb_test_suite.rb | 4 +- .../coverage/coverage_validation_test.rb | 16 +-- .../generated/v1.1.0/coverage_group.rb | 48 ++++----- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- .../explanation_of_benefit_id_search_test.rb | 26 +++-- ...ation_of_benefit_identifier_search_test.rb | 10 +- ...tion_of_benefit_lastupdated_search_test.rb | 10 +- ...lanation_of_benefit_patient_search_test.rb | 10 +- ...ion_of_benefit_service_date_search_test.rb | 10 +- ...explanation_of_benefit_type_search_test.rb | 10 +- .../explanation_of_benefit_validation_test.rb | 17 ++- .../v1.1.0/explanation_of_benefit_group.rb | 98 ++++++++--------- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ..._inpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...npatient_institutional_type_search_test.rb | 10 +- ...inpatient_institutional_validation_test.rb | 17 ++- ...f_benefit_inpatient_institutional_group.rb | 48 ++++----- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...outpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...tpatient_institutional_type_search_test.rb | 10 +- ...utpatient_institutional_validation_test.rb | 17 ++- ..._benefit_outpatient_institutional_group.rb | 48 ++++----- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 26 +++-- ...benefit_pharmacy_identifier_search_test.rb | 10 +- ...enefit_pharmacy_lastupdated_search_test.rb | 10 +- ...of_benefit_pharmacy_patient_search_test.rb | 10 +- ...nefit_pharmacy_service_date_search_test.rb | 10 +- ...on_of_benefit_pharmacy_type_search_test.rb | 10 +- ...ion_of_benefit_pharmacy_validation_test.rb | 17 ++- .../explanation_of_benefit_pharmacy_group.rb | 48 ++++----- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...ofessional_non_clinician_id_search_test.rb | 26 +++-- ...al_non_clinician_identifier_search_test.rb | 10 +- ...l_non_clinician_lastupdated_search_test.rb | 10 +- ...ional_non_clinician_patient_search_test.rb | 10 +- ..._non_clinician_service_date_search_test.rb | 10 +- ...essional_non_clinician_type_search_test.rb | 10 +- ...fessional_non_clinician_validation_test.rb | 17 ++- ...enefit_professional_non_clinician_group.rb | 48 ++++----- .../organization_validation_test.rb | 17 ++- .../generated/v1.1.0/organization_group.rb | 48 ++++----- .../v1.1.0/patient/patient_validation_test.rb | 17 ++- .../generated/v1.1.0/patient_group.rb | 48 ++++----- .../practitioner_validation_test.rb | 17 ++- .../generated/v1.1.0/practitioner_group.rb | 48 ++++----- .../coverage_coverage_payor_search_test.rb | 3 +- .../coverage/coverage_id_search_test.rb | 26 +++-- .../coverage_lastupdated_search_test.rb | 10 +- .../coverage/coverage_validation_test.rb | 16 +-- .../v2.0.0-dev-nonfinancial/coverage_group.rb | 88 +++++++-------- ...nefit_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- .../explanation_of_benefit_id_search_test.rb | 26 +++-- ...ation_of_benefit_identifier_search_test.rb | 10 +- ...tion_of_benefit_lastupdated_search_test.rb | 10 +- ...lanation_of_benefit_patient_search_test.rb | 10 +- ...ion_of_benefit_service_date_search_test.rb | 10 +- ..._benefit_service_start_date_search_test.rb | 10 +- ...explanation_of_benefit_type_search_test.rb | 10 +- .../explanation_of_benefit_validation_test.rb | 16 +-- .../explanation_of_benefit_group.rb | 102 +++++++++--------- ...ional_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ..._inpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...tutional_service_start_date_search_test.rb | 10 +- ...npatient_institutional_type_search_test.rb | 10 +- ...inpatient_institutional_validation_test.rb | 16 +-- ...f_benefit_inpatient_institutional_group.rb | 48 ++++----- ...ncial_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...titutional_non_financial_id_search_test.rb | 26 +++-- ...al_non_financial_identifier_search_test.rb | 10 +- ...l_non_financial_lastupdated_search_test.rb | 10 +- ...ional_non_financial_patient_search_test.rb | 10 +- ..._non_financial_service_date_search_test.rb | 10 +- ...inancial_service_start_date_search_test.rb | 10 +- ...tutional_non_financial_type_search_test.rb | 10 +- ...itutional_non_financial_validation_test.rb | 16 +-- ...tient_institutional_non_financial_group.rb | 48 ++++----- ..._oral_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...lanation_of_benefit_oral_id_search_test.rb | 26 +++-- ..._of_benefit_oral_identifier_search_test.rb | 10 +- ...of_benefit_oral_lastupdated_search_test.rb | 10 +- ...ion_of_benefit_oral_patient_search_test.rb | 10 +- ...f_benefit_oral_service_date_search_test.rb | 10 +- ...fit_oral_service_start_date_search_test.rb | 10 +- ...nation_of_benefit_oral_type_search_test.rb | 10 +- ...anation_of_benefit_oral_validation_test.rb | 16 +-- .../explanation_of_benefit_oral_group.rb | 48 ++++----- ...ncial_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...nefit_oral_non_financial_id_search_test.rb | 26 +++-- ...al_non_financial_identifier_search_test.rb | 10 +- ...l_non_financial_lastupdated_search_test.rb | 10 +- ..._oral_non_financial_patient_search_test.rb | 10 +- ..._non_financial_service_date_search_test.rb | 10 +- ...inancial_service_start_date_search_test.rb | 10 +- ...fit_oral_non_financial_type_search_test.rb | 10 +- ...efit_oral_non_financial_validation_test.rb | 16 +-- ...ion_of_benefit_oral_non_financial_group.rb | 48 ++++----- ...ional_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...outpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...tutional_service_start_date_search_test.rb | 10 +- ...tpatient_institutional_type_search_test.rb | 10 +- ...utpatient_institutional_validation_test.rb | 16 +-- ..._benefit_outpatient_institutional_group.rb | 48 ++++----- ...ncial_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...titutional_non_financial_id_search_test.rb | 26 +++-- ...al_non_financial_identifier_search_test.rb | 10 +- ...l_non_financial_lastupdated_search_test.rb | 10 +- ...ional_non_financial_patient_search_test.rb | 10 +- ..._non_financial_service_date_search_test.rb | 10 +- ...inancial_service_start_date_search_test.rb | 10 +- ...tutional_non_financial_type_search_test.rb | 10 +- ...itutional_non_financial_validation_test.rb | 16 +-- ...tient_institutional_non_financial_group.rb | 48 ++++----- ...rmacy_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 26 +++-- ...benefit_pharmacy_identifier_search_test.rb | 10 +- ...enefit_pharmacy_lastupdated_search_test.rb | 10 +- ...of_benefit_pharmacy_patient_search_test.rb | 10 +- ...nefit_pharmacy_service_date_search_test.rb | 10 +- ...pharmacy_service_start_date_search_test.rb | 10 +- ...on_of_benefit_pharmacy_type_search_test.rb | 10 +- ...ion_of_benefit_pharmacy_validation_test.rb | 17 ++- .../explanation_of_benefit_pharmacy_group.rb | 48 ++++----- ...ncial_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...t_pharmacy_non_financial_id_search_test.rb | 26 +++-- ...cy_non_financial_identifier_search_test.rb | 10 +- ...y_non_financial_lastupdated_search_test.rb | 10 +- ...rmacy_non_financial_patient_search_test.rb | 10 +- ..._non_financial_service_date_search_test.rb | 10 +- ...inancial_service_start_date_search_test.rb | 10 +- ...pharmacy_non_financial_type_search_test.rb | 10 +- ..._pharmacy_non_financial_validation_test.rb | 16 +-- ...of_benefit_pharmacy_non_financial_group.rb | 48 ++++----- ...ician_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...ofessional_non_clinician_id_search_test.rb | 26 +++-- ...al_non_clinician_identifier_search_test.rb | 10 +- ...l_non_clinician_lastupdated_search_test.rb | 10 +- ...ional_non_clinician_patient_search_test.rb | 10 +- ..._non_clinician_service_date_search_test.rb | 10 +- ...linician_service_start_date_search_test.rb | 10 +- ...essional_non_clinician_type_search_test.rb | 10 +- ...fessional_non_clinician_validation_test.rb | 16 +-- ...enefit_professional_non_clinician_group.rb | 48 ++++----- ...ncial_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ..._clinician_non_financial_id_search_test.rb | 26 +++-- ...an_non_financial_identifier_search_test.rb | 10 +- ...n_non_financial_lastupdated_search_test.rb | 10 +- ...ician_non_financial_patient_search_test.rb | 10 +- ..._non_financial_service_date_search_test.rb | 10 +- ...inancial_service_start_date_search_test.rb | 10 +- ...linician_non_financial_type_search_test.rb | 10 +- ...clinician_non_financial_validation_test.rb | 16 +-- ...ional_non_clinician_non_financial_group.rb | 48 ++++----- .../organization_validation_test.rb | 16 +-- .../organization_group.rb | 88 +++++++-------- .../patient/patient_validation_test.rb | 16 +-- .../v2.0.0-dev-nonfinancial/patient_group.rb | 88 +++++++-------- .../practitioner_validation_test.rb | 16 +-- .../practitioner_group.rb | 88 +++++++-------- .../related_person_validation_test.rb | 16 +-- .../related_person_group.rb | 88 +++++++-------- .../generated/v2.0.0/c4bb_test_suite.rb | 2 - .../coverage_coverage_payor_search_test.rb | 3 +- .../coverage/coverage_id_search_test.rb | 26 +++-- .../coverage_lastupdated_search_test.rb | 10 +- .../coverage/coverage_validation_test.rb | 17 ++- .../generated/v2.0.0/coverage_group.rb | 88 +++++++-------- ...nefit_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- .../explanation_of_benefit_id_search_test.rb | 25 +++-- ...ation_of_benefit_identifier_search_test.rb | 9 +- ...tion_of_benefit_lastupdated_search_test.rb | 9 +- ...lanation_of_benefit_patient_search_test.rb | 11 +- ...ion_of_benefit_service_date_search_test.rb | 11 +- ..._benefit_service_start_date_search_test.rb | 9 +- ...explanation_of_benefit_type_search_test.rb | 9 +- .../explanation_of_benefit_validation_test.rb | 16 +-- .../v2.0.0/explanation_of_benefit_group.rb | 102 +++++++++--------- ...ional_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ..._inpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...tutional_service_start_date_search_test.rb | 10 +- ...npatient_institutional_type_search_test.rb | 10 +- ...inpatient_institutional_validation_test.rb | 16 +-- ...f_benefit_inpatient_institutional_group.rb | 48 ++++----- ..._oral_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...lanation_of_benefit_oral_id_search_test.rb | 26 +++-- ..._of_benefit_oral_identifier_search_test.rb | 10 +- ...of_benefit_oral_lastupdated_search_test.rb | 10 +- ...ion_of_benefit_oral_patient_search_test.rb | 10 +- ...f_benefit_oral_service_date_search_test.rb | 10 +- ...fit_oral_service_start_date_search_test.rb | 10 +- ...nation_of_benefit_oral_type_search_test.rb | 10 +- ...anation_of_benefit_oral_validation_test.rb | 16 +-- .../explanation_of_benefit_oral_group.rb | 48 ++++----- ...ional_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...outpatient_institutional_id_search_test.rb | 26 +++-- ...nt_institutional_identifier_search_test.rb | 10 +- ...t_institutional_lastupdated_search_test.rb | 10 +- ...tient_institutional_patient_search_test.rb | 10 +- ..._institutional_service_date_search_test.rb | 10 +- ...tutional_service_start_date_search_test.rb | 10 +- ...tpatient_institutional_type_search_test.rb | 10 +- ...utpatient_institutional_validation_test.rb | 17 ++- ..._benefit_outpatient_institutional_group.rb | 48 ++++----- ...rmacy_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 26 +++-- ...benefit_pharmacy_identifier_search_test.rb | 10 +- ...enefit_pharmacy_lastupdated_search_test.rb | 10 +- ...of_benefit_pharmacy_patient_search_test.rb | 10 +- ...nefit_pharmacy_service_date_search_test.rb | 10 +- ...pharmacy_service_start_date_search_test.rb | 10 +- ...on_of_benefit_pharmacy_type_search_test.rb | 10 +- ...ion_of_benefit_pharmacy_validation_test.rb | 17 ++- .../explanation_of_benefit_pharmacy_group.rb | 48 ++++----- ...ician_billable_period_start_search_test.rb | 10 +- ..._explanation_of_benefit_all_search_test.rb | 3 +- ...anation_of_benefit_careteam_search_test.rb | 3 +- ...anation_of_benefit_coverage_search_test.rb | 3 +- ...lanation_of_benefit_insurer_search_test.rb | 3 +- ...lanation_of_benefit_patient_search_test.rb | 3 +- ...xplanation_of_benefit_payee_search_test.rb | 3 +- ...anation_of_benefit_provider_search_test.rb | 3 +- ...ofessional_non_clinician_id_search_test.rb | 26 +++-- ...al_non_clinician_identifier_search_test.rb | 10 +- ...l_non_clinician_lastupdated_search_test.rb | 10 +- ...ional_non_clinician_patient_search_test.rb | 10 +- ..._non_clinician_service_date_search_test.rb | 10 +- ...linician_service_start_date_search_test.rb | 10 +- ...essional_non_clinician_type_search_test.rb | 10 +- ...fessional_non_clinician_validation_test.rb | 17 ++- ...enefit_professional_non_clinician_group.rb | 48 ++++----- .../organization_validation_test.rb | 17 ++- .../generated/v2.0.0/organization_group.rb | 88 +++++++-------- .../v2.0.0/patient/patient_validation_test.rb | 17 ++- .../generated/v2.0.0/patient_group.rb | 88 +++++++-------- .../practitioner_validation_test.rb | 16 +-- .../generated/v2.0.0/practitioner_group.rb | 88 +++++++-------- .../related_person_validation_test.rb | 16 +-- .../generated/v2.0.0/related_person_group.rb | 88 +++++++-------- 395 files changed, 2458 insertions(+), 2960 deletions(-) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb index ffd7cfe2..e1bcf742 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb @@ -19,9 +19,7 @@ module CARIN4BBV110 class C4BBTestKit < Inferno::TestSuite title 'CARIN IG for Blue Button® v1.1.0' description %( - The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU1.1). - - + The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU1.1). ) version VERSION links [ diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb index 52bab8b5..0223a363 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb @@ -10,15 +10,15 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v110_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' description %( -This test verifies resources returned from the first search conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb index f453852d..10c4e0fa 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb @@ -8,37 +8,37 @@ class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' description %( - # Background + # Background -The CARIN for Blue Button Coverage sequence verifies that the system under test is -able to provide correct responses for Coverage queries. These queries -must contain resources conforming to the C4BB Coverage as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button Coverage sequence verifies that the system under test is + able to provide correct responses for Coverage queries. These queries + must contain resources conforming to the C4BB Coverage as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Coverage resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Coverage resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index e64e84ea..a01d3f91 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index 050bd93c..be6ff93d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index 3ad360c0..38ff7736 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index 35d6f591..59804963 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 0c325a63..48368649 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index 6d8d7d53..33d11eff 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index e1119608..411141ea 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v1.1.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v1.1.0. ) id :c4bb_v110_explanation_of_benefit__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index fc0d550e..55542897 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index 312e56fc..e8927759 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 6c327831..2e0f82f4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index 7c57344c..92998ca0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index 69f7f2f1..b3013c57 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb index 2171ed77..e3390e0f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' description %( -This test verifies resources returned from the first search conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb index 23844122..dc7a384d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb @@ -20,65 +20,65 @@ class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' description %( - # Background + # Background -The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB Explanation Of Benefit as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB Explanation Of Benefit as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id -* patient -* _lastUpdated -* type -* identifier -* service-date + * _id + * patient + * _lastUpdated + * type + * identifier + * service-date -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -ExplanationOfBenefit resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + ExplanationOfBenefit resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index b214263c..0e7cdc3e 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 6aecd9d2..c8016ee7 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 6d1deade..e923e1e7 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 17981b8c..188e043a 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 26182b80..e7e712c6 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index cc1093f8..1d5c8226 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index df9b823b..43ee0e6c 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v1.1.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v1.1.0. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/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 b/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 index 082787cc..9b4f4ad5 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/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 b/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 index 43fe552f..cda611ea 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index 0ecf8e73..8f1860bb 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/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 b/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 index 5a5b3cb0..233add70 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/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 b/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 index c5790feb..c371fd12 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index c54982f1..080ed77b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb index 37933d82..c38c5882 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index ff921b11..3d101f0d 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index ed6ad70b..479635b7 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index d10c3ebb..d05063b3 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 1f808711..8ba65b35 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 426d1c70..4f7dd135 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index b3a63ec7..1192fcad 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index 2c1379f8..d3fad5a8 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v1.1.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v1.1.0. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/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 b/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 index 7717df24..f16de50c 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/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 b/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 index 212bfebe..a8c65503 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index 77715975..e920e8ef 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/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 b/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 index 6702bf6a..de09937e 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/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 b/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 index 7f54da7b..b95e2de3 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 968ce497..8b1ea689 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb index fdba340d..3322048c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index f7198cc6..92cf9a16 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 12e73ee6..2d14b757 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 625329aa..9acb02aa 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index c42262f9..02b481b8 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index b77f7446..68e1ce8c 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index a0ad32b1..5648f03f 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index 96c009f3..390d3c00 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v1.1.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v1.1.0. ) id :c4bb_v110_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index 383a6c1d..da426b16 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index 30f73505..421e03f1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index 1bc3b4a2..a22ec3e2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index ff91cf4a..309cfb10 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index 7b9a6590..f95ba3e8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 43cf0537..777f0d3b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb index 223f0e1d..77b96629 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index 885db42e..b5fdbd8c 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 29473d74..b075c2cb 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 1df93236..eb8609b3 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 019adffb..97013087 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index a9234627..2f8de1d7 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index dc3bfdf1..727459b3 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index 5f4641a6..49637a53 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v1.1.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v1.1.0. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/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 b/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 index 16246af8..c23157ee 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/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 b/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 index 3324196b..b905ff53 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/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 b/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 index 5f8e7435..f5d3c036 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/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 b/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 index b9240df6..6617cab9 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/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 b/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 index 74174c86..a6a906e8 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/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 b/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 index 8af8492d..ee039316 100644 --- a/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 +++ b/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 @@ -10,16 +10,15 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb index e8eb3f3c..5b35defe 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb index b5554877..c341fced 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb @@ -10,16 +10,15 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v110_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' description %( -This test verifies resources returned from the first search conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb index 94e37281..b3c8d249 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb @@ -8,37 +8,37 @@ class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' description %( - # Background + # Background -The CARIN for Blue Button Organization sequence verifies that the system under test is -able to provide correct responses for Organization queries. These queries -must contain resources conforming to the C4BB Organization as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button Organization sequence verifies that the system under test is + able to provide correct responses for Organization queries. These queries + must contain resources conforming to the C4BB Organization as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Organization resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Organization resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb index 51a562a2..07e062fc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb @@ -10,16 +10,15 @@ class PatientValidationTest < Inferno::Test id :c4bb_v110_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' description %( -This test verifies resources returned from the first search conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb index 6a59acda..ecbcf472 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb @@ -8,37 +8,37 @@ class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' description %( - # Background + # Background -The CARIN for Blue Button Patient sequence verifies that the system under test is -able to provide correct responses for Patient queries. These queries -must contain resources conforming to the C4BB Patient as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button Patient sequence verifies that the system under test is + able to provide correct responses for Patient queries. These queries + must contain resources conforming to the C4BB Patient as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Patient resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Patient resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb index 81331ea2..c4b22fef 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb @@ -10,16 +10,15 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v110_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' description %( -This test verifies resources returned from the first search conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb index d1e9210d..c3ac8542 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb @@ -8,37 +8,37 @@ class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' description %( - # Background + # Background -The CARIN for Blue Button Practitioner sequence verifies that the system under test is -able to provide correct responses for Practitioner queries. These queries -must contain resources conforming to the C4BB Practitioner as -specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + The CARIN for Blue Button Practitioner sequence verifies that the system under test is + able to provide correct responses for Practitioner queries. These queries + must contain resources conforming to the C4BB Practitioner as + specified in the CARIN for Blue Button v1.1.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Practitioner resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Practitioner resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb index 1c62add6..29aab37d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb @@ -8,8 +8,7 @@ class CoverageCoverage_payorSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by id + _include=Coverage:payor' description %( -Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter - + Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb index 20ab2daa..f3819438 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb @@ -8,20 +8,18 @@ class CoverageIdSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by _id' description %( -A server SHALL support searching by -_id on the Coverage resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the Coverage resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_coverage__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb index 62707a28..7f6df49e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class CoverageLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by _lastUpdated' description %( -A server SHOULD support searching by -_lastUpdated on the Coverage resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHOULD support searching by + _lastUpdated on the Coverage resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_coverage__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb index 4b8b632e..8cc422ab 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb @@ -10,15 +10,15 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' description %( -This test verifies resources returned from the first search conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb index 31c67bdb..69e57d1c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb @@ -11,60 +11,60 @@ class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' description %( - # Background + # Background -The CARIN for Blue Button Coverage sequence verifies that the system under test is -able to provide correct responses for Coverage queries. These queries -must contain resources conforming to the C4BB Coverage as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button Coverage sequence verifies that the system under test is + able to provide correct responses for Coverage queries. These queries + must contain resources conforming to the C4BB Coverage as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Coverage resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Coverage resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Coverage resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Coverage resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb index 8c74bdfa..ced84811 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index 6ec399f7..48fc0b05 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index 6aa84024..ac0152de 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index 9ac3de23..a5313182 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index 933a5ecf..4c046b1c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 3c9d1298..1a800351 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb index 0a56680a..9047fb82 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_payeeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index e931fc49..07578683 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index c47dfca5..1f76ea4d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index c63af53f..047a90cd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index 3e43ec96..fc1c9dfb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 290543d7..9dd43464 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index 83c4e3c6..083ed9ef 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb index 46a4a71c..f43ac9a8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index bfbc5c0e..a7659bae 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb index bcefa099..1a9b85b3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' description %( -This test verifies resources returned from the first search conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb index 7281ad20..976ff6ab 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb @@ -23,67 +23,67 @@ class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' description %( - # Background + # Background -The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB Explanation Of Benefit as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB Explanation Of Benefit as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id -* patient -* _lastUpdated -* type -* identifier -* service-date -* service-start-date -* billable-period-start + * _id + * patient + * _lastUpdated + * type + * identifier + * service-date + * service-start-date + * billable-period-start -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -ExplanationOfBenefit resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + ExplanationOfBenefit resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb index 83fada15..017d171e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalBillablePeriodStartSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb index 60a37e60..aaef83cd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb index 1200b531..86c46d86 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb index 3eb564d0..8b8bed3e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb index c5bfae0a..1144e136 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb index 4bcbb60d..b0b60194 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb index fd92d0f7..171666a5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_payeeSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb index 7fc2a106..3d589c96 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb index ed134643..3ccb8a77 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb index 148f6a88..377c343d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb index 34534d72..3c2cb035 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb index f179ae04..02c65a72 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb index 5a71c22a..b5702491 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb index ddedabf6..89eb1b54 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalServiceStartDateSearchTest < Inf title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb index b4dc101e..c48c5c08 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index 5b9fa41c..2cef9ea8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb index 54121683..21fffa07 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb index ff9da2aa..103ca408 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialBillablePeriodStartS title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb index 444a8f94..a55613fa 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb index 6d69f765..8a0335a9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb index 6ca81b61..e3d66a6c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb index f78c71a0..48f4bc84 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb index 6cf3381a..ea6f206f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb index 56622f58..c63805fd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb index 402903c2..aa9c842c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb index ef8bfe03..bfb297fc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialIdSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb index 3065946e..30ec9b33 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialIdentifierSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb index ae859c17..ced9a9f6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialLastupdatedSearchTes title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb index ca4c2ab2..e6288fa5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialPatientSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb index f002879e..a115652e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialServiceDateSearchTes title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb index ce591e6d..d68a0d2c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialServiceStartDateSear title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb index f60d4236..0eec360e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialTypeSearchTest < Inf title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb index 96379411..264327ba 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialValidationTest < Inf id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb index 5c2fc93f..d82c040a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialGroup < Inferno::Tes title 'ExplanationOfBenefit Inpatient Institutional - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional - Non-Financial sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional - Non-Financial sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb index 9d713f7e..1de6c0dc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb index d11248a2..becb0c83 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_AllSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb index e3bbcf7a..73a0cf97 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_careteamSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb index cb681a7b..904383d3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_coverageSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb index 52958a50..21ac7d30 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_insurerSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb index 59718874..ea6005c6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_patientSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb index 4020df7f..5502c53f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_payeeSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb index e1cf1bb5..09adaeb6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_providerSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb index e771ffc6..2e972578 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitOralIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb index 2cc819df..c6865fa2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb index 8bef05e6..83fbf11f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb index 99501f00..eec0a689 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb index 2b649c54..54bab465 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb index 183e0daf..ed9dd895 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb index 2dba0709..35d1fbf3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb index 84208293..09bcf487 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitOralValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb index efc7527f..e0ba02a9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOralGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Oral as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Oral as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb index abedbe93..eccd5955 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialBillablePeriodStartSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb index f0f6c345..d8d3fe29 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_AllSearchTest < I title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb index 305a0024..cb45485e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_careteamSearchTes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb index 581c2082..14afc06f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_coverageSearchTes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb index 2ab45bc9..f2d6133b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_insurerSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb index dad0fcf1..38e3687c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_patientSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb index 9ad515d4..a762ac2c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_payeeSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb index bdfb0b0b..f3186c57 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_providerSearchTes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb index a311af7c..3aa041e4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitOralNonFinancialIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb index 64ec4e0a..03c06a5e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb index 8b939a4b..0aab1b05 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb index 0f720e09..9ad7c891 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb index 72f8e2f2..b37d6ada 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb index 9263afc0..f8861dc8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialServiceStartDateSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb index fe75fb1a..451f7b05 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralNonFinancialTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb index 7841462f..08f2743e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitOralNonFinancialValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral - Non-Financial' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb index 182c3b3e..9d8a2e36 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOralNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral - Non-Financial.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Oral - Non-Financial sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Oral - Non-Financial as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Oral - Non-Financial sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Oral - Non-Financial as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb index 8581ca12..58eabea7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalBillablePeriodStartSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb index 9fe09100..a783d02e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb index 827f535a..bb22e6a1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb index 24306b72..269c1aef 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb index f6431cae..ac872b1f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb index d714f522..af17a082 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb index fe448c15..fff10492 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_payeeSearc title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb index 66f55d23..c11b19e9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb index 9d2958c4..6328f5cf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb index 5eb53b95..d01bc38a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb index cd18df02..7a4994e0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb index ee79856c..1063ae5e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb index 2bd2bea9..5bbbd621 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb index 78a811e5..aef76948 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceStartDateSearchTest < In title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb index b702fe22..26e23e92 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 45c18d06..5b94389c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb index 09416ef7..064bf3cc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb index dcd0b7df..1795358c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialBillablePeriodStart title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb index 4e23f14c..a3446fcd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb index e6a64be2..b35677d4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb index 47bb0faa..e78d1931 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb index 9477af39..aa7c482b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb index 3c4fd7a6..8fcc430f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb index fbd135a8..5074ee6e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb index 65a3121b..5b3a3925 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb index 4950fe1e..743e27bb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialIdSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb index ce460c6f..3a7df4cc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialIdentifierSearchTes title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb index 87d2c7fb..6c68175d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialLastupdatedSearchTe title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb index b66131ec..cfb0a655 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialPatientSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb index 778a2605..8530de52 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialServiceDateSearchTe title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb index a8ca6897..58faf3d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialServiceStartDateSea title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb index 16c2c3b9..a445cd90 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialTypeSearchTest < In title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb index bdbb3734..a98fcdbe 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialValidationTest < In id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb index c7a97dda..d890a5b9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialGroup < Inferno::Te title 'ExplanationOfBenefit Outpatient Institutional - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional - Non-Financial sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional - Non-Financial sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb index ff82aea0..667fee38 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb index 7f912760..3002448e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb index 3042b687..b1515437 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb index d2378374..39221087 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb index e5a6c167..8b22b287 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb index 919a4bdd..298000db 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb index e925819f..430ac0d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_payeeSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb index 85417b2d..a4709050 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index b12e16ab..c30b9395 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index 1c61dda9..40615501 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index b8a0f3dd..6f94df73 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index 06683757..ff36ae38 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index 1cbf2fa9..0cee73cb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb index 1f189a5c..144bce34 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index 98fc5866..6de05dd0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 4fd4084d..6fa69aaf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb index 442b63a8..ef2a8624 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb index 77dc6119..9a9c0675 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialBillablePeriodStartSearchTest < In title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb index dcfabc18..0b87bdf7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_AllSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb index ecbe2ed0..a9032d88 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_careteamSearc title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb index b32583f7..28c86f29 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_coverageSearc title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb index b4989996..7934e2e9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_insurerSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb index ed92d30b..862f420e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_patientSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb index c06187e0..0bdce2b7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_payeeSearchTe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb index e2b2e805..1e7e4968 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_providerSearc title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb index c4ca6fbc..a0111207 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitPharmacyNonFinancialIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb index 38704782..a6ef4adf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialIdentifierSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb index 0a2a1a1c..2c74c4ac 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialLastupdatedSearchTest < Inferno::T title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb index 8b66a460..310c3931 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb index 81d79703..c1ba3b23 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialServiceDateSearchTest < Inferno::T title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb index 899f0096..bea7edfc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialServiceStartDateSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb index cf0efe04..b6196811 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyNonFinancialTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb index 3ebeaa7f..0ec4b1de 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitPharmacyNonFinancialValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb index 848426f7..b26d0051 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitPharmacyNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy - Non-Financial.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Pharmacy - Non-Financial sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Pharmacy - Non-Financial sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb index 1253f5ba..6cdbbc50 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianBillablePeriodStartSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb index df13fb83..9f96c51e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb index 34c81b77..43679902 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb index 7c7674d7..f705721e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb index 63373e91..c2d473e7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb index 1862414b..91eac0d8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb index 2c9057d9..9284b414 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_payeeSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb index 35a21aa3..1ab40125 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb index 7a18f1a8..edfa2ddf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb index 2e6bfe6b..ad670dac 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb index f92369f3..31c574fe 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb index 2a089fe5..b48d39d4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb index d8167fd5..aa127f85 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb index fbabb3f3..7c466980 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceStartDateSearchTest < I title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb index 1603c03f..20ab7292 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb index 1f45a7a4..fd5a07e7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb index d1bea0ee..6557a1ac 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb index 52c02605..bbe6c056 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialBillablePeriodStar title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb index 2fd9bcea..ea5460d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb index 49d6201b..ca178b4f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb index b7f8b392..c61852fc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb index 9cfbac3f..f0cd62c1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb index a0988296..4662a33d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb index 3033ed45..b2379ec9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb index 8530ff20..5eace721 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb index c57c7a4c..81b8bcd4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialIdSearchTest < Inf title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb index 096b79f8..de9ce0a2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialIdentifierSearchTe title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb index 7c111ebf..5e724316 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialLastupdatedSearchT title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb index 3a92d706..68539642 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialPatientSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb index 2cece5e3..8de6b40c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialServiceDateSearchT title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb index 9375b1bc..d5b8d014 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialServiceStartDateSe title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb index 0a6ec17a..ee5d2020 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialTypeSearchTest < I title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb index 24960387..16b51776 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialValidationTest < I id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb index 8021b27a..afe7ef88 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialGroup < Inferno::T title 'ExplanationOfBenefit Professional NonClinician - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician - Non-Financial sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician - Non-Financial sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb index 3cffede1..0be94ade 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb @@ -10,15 +10,15 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' description %( -This test verifies resources returned from the first search conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb index 37cff755..8a3eae4b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb @@ -8,60 +8,60 @@ class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' description %( - # Background + # Background -The CARIN for Blue Button Organization sequence verifies that the system under test is -able to provide correct responses for Organization queries. These queries -must contain resources conforming to the C4BB Organization as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button Organization sequence verifies that the system under test is + able to provide correct responses for Organization queries. These queries + must contain resources conforming to the C4BB Organization as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Organization resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Organization resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Organization resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Organization resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb index db168da6..06883b5a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb @@ -10,15 +10,15 @@ class PatientValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' description %( -This test verifies resources returned from the first search conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb index a3e2643e..7e4e79a2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb @@ -8,60 +8,60 @@ class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' description %( - # Background + # Background -The CARIN for Blue Button Patient sequence verifies that the system under test is -able to provide correct responses for Patient queries. These queries -must contain resources conforming to the C4BB Patient as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button Patient sequence verifies that the system under test is + able to provide correct responses for Patient queries. These queries + must contain resources conforming to the C4BB Patient as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Patient resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Patient resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Patient resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Patient resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb index bf03678f..09b71f9d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb @@ -10,15 +10,15 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' description %( -This test verifies resources returned from the first search conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb index 9effa4db..786322ee 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb @@ -8,60 +8,60 @@ class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' description %( - # Background + # Background -The CARIN for Blue Button Practitioner sequence verifies that the system under test is -able to provide correct responses for Practitioner queries. These queries -must contain resources conforming to the C4BB Practitioner as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button Practitioner sequence verifies that the system under test is + able to provide correct responses for Practitioner queries. These queries + must contain resources conforming to the C4BB Practitioner as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Practitioner resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Practitioner resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Practitioner resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Practitioner resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb index ec11d5a7..2051f7d4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb @@ -10,15 +10,15 @@ class RelatedPersonValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_related_person_validation_test title 'RelatedPerson resources returned during previous tests conform to the C4BB RelatedPerson' description %( -This test verifies resources returned from the first search conform to -the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb index 440263cb..4bf9ab1a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb @@ -8,60 +8,60 @@ class RelatedPersonGroup < Inferno::TestGroup title 'RelatedPerson Tests' short_description 'Verify support for the server capabilities required by the C4BB RelatedPerson.' description %( - # Background + # Background -The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is -able to provide correct responses for RelatedPerson queries. These queries -must contain resources conforming to the C4BB RelatedPerson as -specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is + able to provide correct responses for RelatedPerson queries. These queries + must contain resources conforming to the C4BB RelatedPerson as + specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -RelatedPerson resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + RelatedPerson resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the RelatedPerson resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the RelatedPerson resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb index d953abeb..7888ed27 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb @@ -22,8 +22,6 @@ class C4BBTestKit < Inferno::TestSuite title 'CARIN IG for Blue Button® v2.0.0' description %( The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU2). - - ) version VERSION links [ diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb index 5f6ffa2f..bd00512c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb @@ -8,8 +8,7 @@ class CoverageCoverage_payorSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by id + _include=Coverage:payor' description %( -Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter - + Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb index 976ba522..21f67f76 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb @@ -8,20 +8,18 @@ class CoverageIdSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by _id' description %( -A server SHALL support searching by -_id on the Coverage resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the Coverage resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_coverage__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb index c5c8f578..8f6642b4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class CoverageLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for Coverage search by _lastUpdated' description %( -A server SHOULD support searching by -_lastUpdated on the Coverage resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHOULD support searching by + _lastUpdated on the Coverage resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_coverage__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb index d754941a..361dfcd2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb @@ -10,16 +10,15 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v200_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' description %( -This test verifies resources returned from the first search conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb index b240ef54..8b1148ae 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb @@ -11,60 +11,60 @@ class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' description %( - # Background + # Background -The CARIN for Blue Button Coverage sequence verifies that the system under test is -able to provide correct responses for Coverage queries. These queries -must contain resources conforming to the C4BB Coverage as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button Coverage sequence verifies that the system under test is + able to provide correct responses for Coverage queries. These queries + must contain resources conforming to the C4BB Coverage as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Coverage resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Coverage resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Coverage resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Coverage resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb index e793a9d8..52b31953 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index 415d4b21..fd248c5d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index dacb8c95..5cbea62c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index 824c2897..23ec3835 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index fa9a4961..5b27b8c0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 9f4c01b8..20efa57d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb index 132f4d80..5efb20df 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_payeeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index b796f3bf..c323d1b2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -8,8 +8,7 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index cb1d918a..c7dd81c5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -8,19 +8,18 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index 20443a86..2aad90f4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -8,11 +8,10 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index ec63e1d2..80352898 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -8,11 +8,10 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 261e7d45..29e7b2c7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -8,12 +8,11 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + ) id :c4bb_v200_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index 68ece945..b2d496c2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -8,12 +8,11 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + ) id :c4bb_v200_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb index c21847de..cd0f61b5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb @@ -8,11 +8,10 @@ class ExplanationOfBenefitServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index e802a317..d0ec8891 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -8,11 +8,10 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb index 5f78f922..cb79831c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' description %( -This test verifies resources returned from the first search conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb index dc1645b0..381d887d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb @@ -23,67 +23,67 @@ class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' description %( - # Background + # Background -The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB Explanation Of Benefit as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB Explanation Of Benefit as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id -* patient -* _lastUpdated -* type -* identifier -* service-date -* service-start-date -* billable-period-start + * _id + * patient + * _lastUpdated + * type + * identifier + * service-date + * service-start-date + * billable-period-start -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -ExplanationOfBenefit resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + ExplanationOfBenefit resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index 633ec127..b916e6f7 100644 --- a/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 +++ b/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 @@ -8,12 +8,11 @@ class ExplanationOfBenefitInpatientInstitutionalBillablePeriodStartSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_billable_period_start_search_test diff --git a/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 b/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 index 679a4a28..fd373a56 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index b1cf047f..e43bf43f 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 95be1dff..d5b1a7f7 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 38258eb1..4757ee11 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 3187a828..ae632344 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index 3c4907e9..b569ec25 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_payeeSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/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 b/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 index 1beacce2..15d4f06e 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index e4a8d558..80f5f7c6 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/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 b/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 index b78778bc..9bb30130 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/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 b/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 index 3318ccc7..b714703f 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index 1003ecbe..de83a4b7 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/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 b/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 index d3f1dc6e..cdf42149 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/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 b/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 index 78be326d..d17c544e 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalServiceStartDateSearchTest < Inf title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_service_start_date_search_test diff --git a/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 b/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 index 4123e3ab..b166db41 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index 46c6e57d..25662c19 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb index a1992e13..a60038e1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index c47e8466..39798710 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_billable_period_start_search_test diff --git a/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 b/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 index 67d1c719..0c077aee 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_AllSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 796b1801..69990b42 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_careteamSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 839ab6d7..55c16f63 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_coverageSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 2c84902d..e9c9e0bc 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_insurerSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index bcfadff6..e123e10c 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_patientSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index 0cdbeb2c..27c2983e 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_payeeSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/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 b/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 index e2444adb..37c71631 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOralExplanationOfBenefit_providerSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb index ee9a05aa..94b1563f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitOralIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_explanation_of_benefit_oral__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb index e6ec3c3b..2e0f9c5e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb index 6c394a47..e7118f57 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb index e777b032..ce1af0e8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb index 71471fc6..3f1d482f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_service_date_search_test diff --git a/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 b/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 index 6c0eb5dc..c25ecb27 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb index 2a53ddc9..2469384a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitOralTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_oral_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb index 7dcf7d4b..860064ef 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb @@ -10,15 +10,15 @@ class ExplanationOfBenefitOralValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_oral_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb index 0e24aec7..925ffbc5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOralGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Oral as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Oral as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index 4728787e..670f0732 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalBillablePeriodStartSearchTest < title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_billable_period_start_search_test diff --git a/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 b/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 index dddc440e..87cd89bf 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index c9b82bce..ac3ff72e 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index dac2f9fe..16f84b0b 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 7a899b26..74b0ee0e 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 4b4a2b9c..369641cf 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index 5ebf91ef..294aac69 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_payeeSearc title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/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 b/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 index 713275f9..db11a517 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index a5e56c74..004f343f 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/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 b/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 index 9855d958..a6845b96 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/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 b/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 index e0dd223f..c9b85363 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index 4141774a..0c73650c 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/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 b/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 index e5a00b10..1b0d184d 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/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 b/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 index fd0ac3ca..06eb3688 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceStartDateSearchTest < In title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_start_date_search_test diff --git a/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 b/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 index 46de4fc4..358e38ec 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 51c334d6..77f40be5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb index 9cf5bd85..6a90e620 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index b22c6d8b..d71e05e9 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyBillablePeriodStartSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_billable_period_start_search_test diff --git a/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 b/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 index e26bc5f9..82d9c3af 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 0243fd38..755431cf 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 37ace2c0..b67b6eaf 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index f947479c..e5722aae 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 17abbce6..205be869 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index 0fc1a87d..7cd0d9bd 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_payeeSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/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 b/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 index 25aacb97..03cbc693 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index 6961c4cc..142afa5e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -8,20 +8,18 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index 5dab1025..bd14437c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index 371797a8..39c2a31e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index 273d3668..594ef5b2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index baec311b..e628cd8d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/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 b/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 index 87ad5917..7e26f535 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyServiceStartDateSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index 7526bd58..04beafac 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -8,12 +8,10 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 350ecfab..57bce85a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -10,16 +10,15 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb index 1128b46e..ca8a8511 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/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 b/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 index c7f32181..3245673d 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianBillablePeriodStartSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' description %( -A server SHALL support searching by -billable-period-start on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + billable-period-start on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_billable_period_start_search_test diff --git a/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 b/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 index dae1f593..4d23bfc4 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter ) def self.properties diff --git a/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 b/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 index 388c6b6e..032d49ee 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter ) def self.properties diff --git a/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 b/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 index 1e9dcbce..ed61edd6 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter ) def self.properties diff --git a/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 b/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 index 14fab08b..c5446855 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter ) def self.properties diff --git a/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 b/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 index 338d1530..77c5d00a 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter ) def self.properties diff --git a/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 b/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 index af61f991..eb635793 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_payeeSear title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter ) def self.properties diff --git a/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 b/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 index 4f2bb7db..5da7d627 100644 --- a/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 +++ b/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 @@ -8,8 +8,7 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' description %( -Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter - + Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter ) def self.properties diff --git a/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 b/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 index adacbaa4..58ab11de 100644 --- a/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 +++ b/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 @@ -8,20 +8,18 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by _id' description %( -A server SHALL support searching by -_id on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - -Because this is the first search of the sequence, resources in the -response will be used for subsequent tests. - -Additionally, this test will check that GET and POST search methods -return the same number of results. Search by POST is required by the -FHIR R4 specification, and these tests interpret search by GET as a -requirement of CARIN IG for Blue Button® v2.0.0. - - + A server SHALL support searching by + _id on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. + + Because this is the first search of the sequence, resources in the + response will be used for subsequent tests. + + Additionally, this test will check that GET and POST search methods + return the same number of results. Search by POST is required by the + FHIR R4 specification, and these tests interpret search by GET as a + requirement of CARIN IG for Blue Button® v2.0.0. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/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 b/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 index 5b4075fc..e549202a 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno title 'Server returns valid results for ExplanationOfBenefit search by identifier' description %( -A server SHALL support searching by -identifier on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + identifier on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/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 b/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 index 7b39158e..fdaefc92 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' description %( -A server SHALL support searching by -_lastUpdated on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + _lastUpdated on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/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 b/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 index a98b766d..1ed3f5b7 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T title 'Server returns valid results for ExplanationOfBenefit search by patient' description %( -A server SHALL support searching by -patient on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + patient on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/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 b/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 index 33a67c29..b487fbcd 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern title 'Server returns valid results for ExplanationOfBenefit search by service-date' description %( -A server SHALL support searching by -service-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/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 b/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 index a68fa80d..527fe3dd 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceStartDateSearchTest < I title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' description %( -A server SHALL support searching by -service-start-date on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + service-start-date on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_service_start_date_search_test diff --git a/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 b/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 index 27e1f020..433dbb9f 100644 --- a/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 +++ b/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 @@ -8,12 +8,10 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test title 'Server returns valid results for ExplanationOfBenefit search by type' description %( -A server SHALL support searching by -type on the ExplanationOfBenefit resource. This test -will pass if resources are returned and match the search criteria. If -none are returned, the test is skipped. - - + A server SHALL support searching by + type on the ExplanationOfBenefit resource. This test + will pass if resources are returned and match the search criteria. If + none are returned, the test is skipped. ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/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 b/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 index 20691f96..271976a0 100644 --- a/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 +++ b/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 @@ -10,16 +10,15 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' description %( -This test verifies resources returned from the first search conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb index c9a6ff5c..c117a294 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb @@ -8,37 +8,37 @@ class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' description %( - # Background + # Background -The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is -able to provide correct responses for ExplanationOfBenefit queries. These queries -must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is + able to provide correct responses for ExplanationOfBenefit queries. These queries + must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology + # Testing Methodology -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the ExplanationOfBenefit resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the ExplanationOfBenefit resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb index cca41762..d3046a57 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb @@ -10,16 +10,15 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v200_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' description %( -This test verifies resources returned from the first search conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb index c4729dc9..b2b91e5c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb @@ -8,60 +8,60 @@ class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' description %( - # Background + # Background -The CARIN for Blue Button Organization sequence verifies that the system under test is -able to provide correct responses for Organization queries. These queries -must contain resources conforming to the C4BB Organization as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button Organization sequence verifies that the system under test is + able to provide correct responses for Organization queries. These queries + must contain resources conforming to the C4BB Organization as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Organization resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Organization resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Organization resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Organization resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb index 84b3ed6b..404e2760 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb @@ -10,16 +10,15 @@ class PatientValidationTest < Inferno::Test id :c4bb_v200_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' description %( -This test verifies resources returned from the first search conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). -Systems must demonstrate at least one valid example in order to pass this test. - -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + This test verifies resources returned from the first search conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). + Systems must demonstrate at least one valid example in order to pass this test. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb index e64b1871..4dff488e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb @@ -8,60 +8,60 @@ class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' description %( - # Background + # Background -The CARIN for Blue Button Patient sequence verifies that the system under test is -able to provide correct responses for Patient queries. These queries -must contain resources conforming to the C4BB Patient as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button Patient sequence verifies that the system under test is + able to provide correct responses for Patient queries. These queries + must contain resources conforming to the C4BB Patient as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Patient resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Patient resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Patient resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Patient resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb index 8412d197..59961ea5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb @@ -10,15 +10,15 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v200_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' description %( -This test verifies resources returned from the first search conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb index a2240305..7880ade9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb @@ -8,60 +8,60 @@ class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' description %( - # Background + # Background -The CARIN for Blue Button Practitioner sequence verifies that the system under test is -able to provide correct responses for Practitioner queries. These queries -must contain resources conforming to the C4BB Practitioner as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button Practitioner sequence verifies that the system under test is + able to provide correct responses for Practitioner queries. These queries + must contain resources conforming to the C4BB Practitioner as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -Practitioner resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + Practitioner resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the Practitioner resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the Practitioner resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb index 7a362456..cd9bc94e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb @@ -10,15 +10,15 @@ class RelatedPersonValidationTest < Inferno::Test id :c4bb_v200_related_person_validation_test title 'RelatedPerson resources returned during previous tests conform to the C4BB RelatedPerson' description %( -This test verifies resources returned from the first search conform to -the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). -Systems must demonstrate at least one valid example in order to pass this test. + This test verifies resources returned from the first search conform to + the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). + Systems must demonstrate at least one valid example in order to pass this test. -It verifies the presence of mandatory elements and that elements with -required bindings contain appropriate values. CodeableConcept element -bindings will fail if none of their codings have a code/system belonging -to the bound ValueSet. Quantity, Coding, and code element bindings will -fail if their code/system are not found in the valueset. + It verifies the presence of mandatory elements and that elements with + required bindings contain appropriate values. CodeableConcept element + bindings will fail if none of their codings have a code/system belonging + to the bound ValueSet. Quantity, Coding, and code element bindings will + fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb index 2494eaa5..f16830a1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb @@ -8,60 +8,60 @@ class RelatedPersonGroup < Inferno::TestGroup title 'RelatedPerson Tests' short_description 'Verify support for the server capabilities required by the C4BB RelatedPerson.' description %( - # Background + # Background -The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is -able to provide correct responses for RelatedPerson queries. These queries -must contain resources conforming to the C4BB RelatedPerson as -specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is + able to provide correct responses for RelatedPerson queries. These queries + must contain resources conforming to the C4BB RelatedPerson as + specified in the CARIN for Blue Button v2.0.0 Implementation Guide. -# Testing Methodology -## Searching -This test sequence will first perform each required search associated -with this resource. This sequence will perform searches with the -following parameters: + # Testing Methodology + ## Searching + This test sequence will first perform each required search associated + with this resource. This sequence will perform searches with the + following parameters: -* _id + * _id -### Search Parameters -The first search uses the selected patient(s) from the prior launch -sequence. Any subsequent searches will look for its parameter values -from the results of the first search. For example, the `identifier` -search in the patient sequence is performed by looking for an existing -`Patient.identifier` from any of the resources returned in the `_id` -search. If a value cannot be found this way, the search is skipped. + ### Search Parameters + The first search uses the selected patient(s) from the prior launch + sequence. Any subsequent searches will look for its parameter values + from the results of the first search. For example, the `identifier` + search in the patient sequence is performed by looking for an existing + `Patient.identifier` from any of the resources returned in the `_id` + search. If a value cannot be found this way, the search is skipped. -### Search Validation -Inferno will retrieve up to the first 20 bundle pages of the reply for -RelatedPerson resources and save them for subsequent tests. -Each resource is then checked to see if it matches the searched -parameters in accordance with [FHIR search -guidelines](https://www.hl7.org/fhir/search.html). The test will fail, -for example, if a Patient search for `gender=male` returns a `female` -patient. + ### Search Validation + Inferno will retrieve up to the first 20 bundle pages of the reply for + RelatedPerson resources and save them for subsequent tests. + Each resource is then checked to see if it matches the searched + parameters in accordance with [FHIR search + guidelines](https://www.hl7.org/fhir/search.html). The test will fail, + for example, if a Patient search for `gender=male` returns a `female` + patient. -## Must Support -Each profile contains elements marked as "must support". This test -sequence expects to see each of these elements at least once. If at -least one cannot be found, the test will fail. The test will look -through the RelatedPerson resources found in the first test for these -elements. + ## Must Support + Each profile contains elements marked as "must support". This test + sequence expects to see each of these elements at least once. If at + least one cannot be found, the test will fail. The test will look + through the RelatedPerson resources found in the first test for these + elements. -## Profile Validation -Each resource returned from the first search is expected to conform to -the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against -terminology binding and cardinality requirements. + ## Profile Validation + Each resource returned from the first search is expected to conform to + the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against + terminology binding and cardinality requirements. -Elements with a required binding are validated against their bound -ValueSet. If the code/system in the element is not part of the ValueSet, -then the test will fail. + Elements with a required binding are validated against their bound + ValueSet. If the code/system in the element is not part of the ValueSet, + then the test will fail. -## Reference Validation -At least one instance of each external reference in elements marked as -"must support" within the resources provided by the system must resolve. -The test will attempt to read each reference found and will fail if no -read succeeds. + ## Reference Validation + At least one instance of each external reference in elements marked as + "must support" within the resources provided by the system must resolve. + The test will attempt to read each reference found and will fail if no + read succeeds. ) From 1d7c3a6c485d2f994bbf821b9c2890468481fd7c Mon Sep 17 00:00:00 2001 From: Emily Michaud <59289146+emichaud998@users.noreply.github.com> Date: Wed, 1 Nov 2023 12:56:42 -0400 Subject: [PATCH 2/2] Adjust description formatting in generator files so that markdown formatting for description section is fixed --- .../generated/v1.1.0/c4bb_test_suite.rb | 4 +- .../coverage/coverage_must_support_test.rb | 2 +- .../coverage/coverage_validation_test.rb | 17 ++- .../generated/v1.1.0/coverage_group.rb | 63 ++++++----- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- .../explanation_of_benefit_id_search_test.rb | 27 ++--- ...ation_of_benefit_identifier_search_test.rb | 11 +- ...tion_of_benefit_lastupdated_search_test.rb | 11 +- ...xplanation_of_benefit_must_support_test.rb | 2 +- ...lanation_of_benefit_patient_search_test.rb | 11 +- ...ion_of_benefit_service_date_search_test.rb | 11 +- ...explanation_of_benefit_type_search_test.rb | 11 +- .../explanation_of_benefit_validation_test.rb | 18 +-- .../v1.1.0/explanation_of_benefit_group.rb | 99 +++++++++-------- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ..._inpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...npatient_institutional_type_search_test.rb | 11 +- ...inpatient_institutional_validation_test.rb | 18 +-- ...f_benefit_inpatient_institutional_group.rb | 63 ++++++----- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...outpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...tpatient_institutional_type_search_test.rb | 11 +- ...utpatient_institutional_validation_test.rb | 18 +-- ..._benefit_outpatient_institutional_group.rb | 63 ++++++----- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 27 ++--- ...benefit_pharmacy_identifier_search_test.rb | 11 +- ...enefit_pharmacy_lastupdated_search_test.rb | 11 +- ...n_of_benefit_pharmacy_must_support_test.rb | 2 +- ...of_benefit_pharmacy_patient_search_test.rb | 11 +- ...nefit_pharmacy_service_date_search_test.rb | 11 +- ...on_of_benefit_pharmacy_type_search_test.rb | 11 +- ...ion_of_benefit_pharmacy_validation_test.rb | 18 +-- .../explanation_of_benefit_pharmacy_group.rb | 63 ++++++----- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...ofessional_non_clinician_id_search_test.rb | 27 ++--- ...al_non_clinician_identifier_search_test.rb | 11 +- ...l_non_clinician_lastupdated_search_test.rb | 11 +- ...ssional_non_clinician_must_support_test.rb | 2 +- ...ional_non_clinician_patient_search_test.rb | 11 +- ..._non_clinician_service_date_search_test.rb | 11 +- ...essional_non_clinician_type_search_test.rb | 11 +- ...fessional_non_clinician_validation_test.rb | 18 +-- ...enefit_professional_non_clinician_group.rb | 63 ++++++----- .../organization_must_support_test.rb | 2 +- .../organization_validation_test.rb | 18 +-- .../generated/v1.1.0/organization_group.rb | 63 ++++++----- .../patient/patient_must_support_test.rb | 2 +- .../v1.1.0/patient/patient_validation_test.rb | 18 +-- .../generated/v1.1.0/patient_group.rb | 63 ++++++----- .../practitioner_must_support_test.rb | 2 +- .../practitioner_validation_test.rb | 18 +-- .../generated/v1.1.0/practitioner_group.rb | 63 ++++++----- .../coverage_coverage_payor_search_test.rb | 4 +- .../coverage/coverage_id_search_test.rb | 27 ++--- .../coverage_lastupdated_search_test.rb | 11 +- .../coverage/coverage_must_support_test.rb | 2 +- .../coverage/coverage_validation_test.rb | 17 ++- .../v2.0.0-dev-nonfinancial/coverage_group.rb | 89 ++++++++------- ...nefit_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- .../explanation_of_benefit_id_search_test.rb | 27 ++--- ...ation_of_benefit_identifier_search_test.rb | 11 +- ...tion_of_benefit_lastupdated_search_test.rb | 11 +- ...xplanation_of_benefit_must_support_test.rb | 2 +- ...lanation_of_benefit_patient_search_test.rb | 11 +- ...ion_of_benefit_service_date_search_test.rb | 11 +- ..._benefit_service_start_date_search_test.rb | 11 +- ...explanation_of_benefit_type_search_test.rb | 11 +- .../explanation_of_benefit_validation_test.rb | 17 ++- .../explanation_of_benefit_group.rb | 103 +++++++++--------- ...ional_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ..._inpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...tutional_service_start_date_search_test.rb | 11 +- ...npatient_institutional_type_search_test.rb | 11 +- ...inpatient_institutional_validation_test.rb | 17 ++- ...f_benefit_inpatient_institutional_group.rb | 63 ++++++----- ...ncial_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...titutional_non_financial_id_search_test.rb | 27 ++--- ...al_non_financial_identifier_search_test.rb | 11 +- ...l_non_financial_lastupdated_search_test.rb | 11 +- ...utional_non_financial_must_support_test.rb | 2 +- ...ional_non_financial_patient_search_test.rb | 11 +- ..._non_financial_service_date_search_test.rb | 11 +- ...inancial_service_start_date_search_test.rb | 11 +- ...tutional_non_financial_type_search_test.rb | 11 +- ...itutional_non_financial_validation_test.rb | 17 ++- ...tient_institutional_non_financial_group.rb | 63 ++++++----- ..._oral_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...lanation_of_benefit_oral_id_search_test.rb | 27 ++--- ..._of_benefit_oral_identifier_search_test.rb | 11 +- ...of_benefit_oral_lastupdated_search_test.rb | 11 +- ...ation_of_benefit_oral_must_support_test.rb | 2 +- ...ion_of_benefit_oral_patient_search_test.rb | 11 +- ...f_benefit_oral_service_date_search_test.rb | 11 +- ...fit_oral_service_start_date_search_test.rb | 11 +- ...nation_of_benefit_oral_type_search_test.rb | 11 +- ...anation_of_benefit_oral_validation_test.rb | 17 ++- .../explanation_of_benefit_oral_group.rb | 63 ++++++----- ...ncial_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...nefit_oral_non_financial_id_search_test.rb | 27 ++--- ...al_non_financial_identifier_search_test.rb | 11 +- ...l_non_financial_lastupdated_search_test.rb | 11 +- ...it_oral_non_financial_must_support_test.rb | 2 +- ..._oral_non_financial_patient_search_test.rb | 11 +- ..._non_financial_service_date_search_test.rb | 11 +- ...inancial_service_start_date_search_test.rb | 11 +- ...fit_oral_non_financial_type_search_test.rb | 11 +- ...efit_oral_non_financial_validation_test.rb | 17 ++- ...ion_of_benefit_oral_non_financial_group.rb | 63 ++++++----- ...ional_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...outpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...tutional_service_start_date_search_test.rb | 11 +- ...tpatient_institutional_type_search_test.rb | 11 +- ...utpatient_institutional_validation_test.rb | 17 ++- ..._benefit_outpatient_institutional_group.rb | 63 ++++++----- ...ncial_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...titutional_non_financial_id_search_test.rb | 27 ++--- ...al_non_financial_identifier_search_test.rb | 11 +- ...l_non_financial_lastupdated_search_test.rb | 11 +- ...utional_non_financial_must_support_test.rb | 2 +- ...ional_non_financial_patient_search_test.rb | 11 +- ..._non_financial_service_date_search_test.rb | 11 +- ...inancial_service_start_date_search_test.rb | 11 +- ...tutional_non_financial_type_search_test.rb | 11 +- ...itutional_non_financial_validation_test.rb | 17 ++- ...tient_institutional_non_financial_group.rb | 63 ++++++----- ...rmacy_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 27 ++--- ...benefit_pharmacy_identifier_search_test.rb | 11 +- ...enefit_pharmacy_lastupdated_search_test.rb | 11 +- ...n_of_benefit_pharmacy_must_support_test.rb | 2 +- ...of_benefit_pharmacy_patient_search_test.rb | 11 +- ...nefit_pharmacy_service_date_search_test.rb | 11 +- ...pharmacy_service_start_date_search_test.rb | 11 +- ...on_of_benefit_pharmacy_type_search_test.rb | 11 +- ...ion_of_benefit_pharmacy_validation_test.rb | 18 +-- .../explanation_of_benefit_pharmacy_group.rb | 63 ++++++----- ...ncial_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...t_pharmacy_non_financial_id_search_test.rb | 27 ++--- ...cy_non_financial_identifier_search_test.rb | 11 +- ...y_non_financial_lastupdated_search_test.rb | 11 +- ...harmacy_non_financial_must_support_test.rb | 2 +- ...rmacy_non_financial_patient_search_test.rb | 11 +- ..._non_financial_service_date_search_test.rb | 11 +- ...inancial_service_start_date_search_test.rb | 11 +- ...pharmacy_non_financial_type_search_test.rb | 11 +- ..._pharmacy_non_financial_validation_test.rb | 17 ++- ...of_benefit_pharmacy_non_financial_group.rb | 63 ++++++----- ...ician_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...ofessional_non_clinician_id_search_test.rb | 27 ++--- ...al_non_clinician_identifier_search_test.rb | 11 +- ...l_non_clinician_lastupdated_search_test.rb | 11 +- ...ssional_non_clinician_must_support_test.rb | 2 +- ...ional_non_clinician_patient_search_test.rb | 11 +- ..._non_clinician_service_date_search_test.rb | 11 +- ...linician_service_start_date_search_test.rb | 11 +- ...essional_non_clinician_type_search_test.rb | 11 +- ...fessional_non_clinician_validation_test.rb | 17 ++- ...enefit_professional_non_clinician_group.rb | 63 ++++++----- ...ncial_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ..._clinician_non_financial_id_search_test.rb | 27 ++--- ...an_non_financial_identifier_search_test.rb | 11 +- ...n_non_financial_lastupdated_search_test.rb | 11 +- ...inician_non_financial_must_support_test.rb | 2 +- ...ician_non_financial_patient_search_test.rb | 11 +- ..._non_financial_service_date_search_test.rb | 11 +- ...inancial_service_start_date_search_test.rb | 11 +- ...linician_non_financial_type_search_test.rb | 11 +- ...clinician_non_financial_validation_test.rb | 17 ++- ...ional_non_clinician_non_financial_group.rb | 63 ++++++----- .../organization_must_support_test.rb | 2 +- .../organization_validation_test.rb | 17 ++- .../organization_group.rb | 89 ++++++++------- .../patient/patient_must_support_test.rb | 2 +- .../patient/patient_validation_test.rb | 17 ++- .../v2.0.0-dev-nonfinancial/patient_group.rb | 89 ++++++++------- .../practitioner_must_support_test.rb | 2 +- .../practitioner_validation_test.rb | 17 ++- .../practitioner_group.rb | 89 ++++++++------- .../related_person_must_support_test.rb | 2 +- .../related_person_validation_test.rb | 17 ++- .../related_person_group.rb | 89 ++++++++------- .../generated/v2.0.0/c4bb_test_suite.rb | 2 + .../coverage_coverage_payor_search_test.rb | 4 +- .../coverage/coverage_id_search_test.rb | 27 ++--- .../coverage_lastupdated_search_test.rb | 11 +- .../coverage/coverage_must_support_test.rb | 2 +- .../coverage/coverage_validation_test.rb | 18 +-- .../generated/v2.0.0/coverage_group.rb | 89 ++++++++------- ...nefit_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- .../explanation_of_benefit_id_search_test.rb | 26 ++--- ...ation_of_benefit_identifier_search_test.rb | 10 +- ...tion_of_benefit_lastupdated_search_test.rb | 10 +- ...xplanation_of_benefit_must_support_test.rb | 2 +- ...lanation_of_benefit_patient_search_test.rb | 12 +- ...ion_of_benefit_service_date_search_test.rb | 12 +- ..._benefit_service_start_date_search_test.rb | 10 +- ...explanation_of_benefit_type_search_test.rb | 10 +- .../explanation_of_benefit_validation_test.rb | 17 ++- .../v2.0.0/explanation_of_benefit_group.rb | 103 +++++++++--------- ...ional_billable_period_start_search_test.rb | 12 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ..._inpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...tutional_service_start_date_search_test.rb | 11 +- ...npatient_institutional_type_search_test.rb | 11 +- ...inpatient_institutional_validation_test.rb | 17 ++- ...f_benefit_inpatient_institutional_group.rb | 63 ++++++----- ..._oral_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...lanation_of_benefit_oral_id_search_test.rb | 27 ++--- ..._of_benefit_oral_identifier_search_test.rb | 11 +- ...of_benefit_oral_lastupdated_search_test.rb | 11 +- ...ation_of_benefit_oral_must_support_test.rb | 2 +- ...ion_of_benefit_oral_patient_search_test.rb | 11 +- ...f_benefit_oral_service_date_search_test.rb | 11 +- ...fit_oral_service_start_date_search_test.rb | 11 +- ...nation_of_benefit_oral_type_search_test.rb | 11 +- ...anation_of_benefit_oral_validation_test.rb | 17 ++- .../explanation_of_benefit_oral_group.rb | 63 ++++++----- ...ional_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...outpatient_institutional_id_search_test.rb | 27 ++--- ...nt_institutional_identifier_search_test.rb | 11 +- ...t_institutional_lastupdated_search_test.rb | 11 +- ...patient_institutional_must_support_test.rb | 2 +- ...tient_institutional_patient_search_test.rb | 11 +- ..._institutional_service_date_search_test.rb | 11 +- ...tutional_service_start_date_search_test.rb | 11 +- ...tpatient_institutional_type_search_test.rb | 11 +- ...utpatient_institutional_validation_test.rb | 18 +-- ..._benefit_outpatient_institutional_group.rb | 63 ++++++----- ...rmacy_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...tion_of_benefit_pharmacy_id_search_test.rb | 27 ++--- ...benefit_pharmacy_identifier_search_test.rb | 11 +- ...enefit_pharmacy_lastupdated_search_test.rb | 11 +- ...n_of_benefit_pharmacy_must_support_test.rb | 2 +- ...of_benefit_pharmacy_patient_search_test.rb | 11 +- ...nefit_pharmacy_service_date_search_test.rb | 11 +- ...pharmacy_service_start_date_search_test.rb | 11 +- ...on_of_benefit_pharmacy_type_search_test.rb | 11 +- ...ion_of_benefit_pharmacy_validation_test.rb | 18 +-- .../explanation_of_benefit_pharmacy_group.rb | 63 ++++++----- ...ician_billable_period_start_search_test.rb | 11 +- ..._explanation_of_benefit_all_search_test.rb | 4 +- ...anation_of_benefit_careteam_search_test.rb | 4 +- ...anation_of_benefit_coverage_search_test.rb | 4 +- ...lanation_of_benefit_insurer_search_test.rb | 4 +- ...lanation_of_benefit_patient_search_test.rb | 4 +- ...xplanation_of_benefit_payee_search_test.rb | 4 +- ...anation_of_benefit_provider_search_test.rb | 4 +- ...ofessional_non_clinician_id_search_test.rb | 27 ++--- ...al_non_clinician_identifier_search_test.rb | 11 +- ...l_non_clinician_lastupdated_search_test.rb | 11 +- ...ssional_non_clinician_must_support_test.rb | 2 +- ...ional_non_clinician_patient_search_test.rb | 11 +- ..._non_clinician_service_date_search_test.rb | 11 +- ...linician_service_start_date_search_test.rb | 11 +- ...essional_non_clinician_type_search_test.rb | 11 +- ...fessional_non_clinician_validation_test.rb | 18 +-- ...enefit_professional_non_clinician_group.rb | 63 ++++++----- .../organization_must_support_test.rb | 2 +- .../organization_validation_test.rb | 18 +-- .../generated/v2.0.0/organization_group.rb | 89 ++++++++------- .../patient/patient_must_support_test.rb | 2 +- .../v2.0.0/patient/patient_validation_test.rb | 18 +-- .../generated/v2.0.0/patient_group.rb | 89 ++++++++------- .../practitioner_must_support_test.rb | 2 +- .../practitioner_validation_test.rb | 17 ++- .../generated/v2.0.0/practitioner_group.rb | 89 ++++++++------- .../related_person_must_support_test.rb | 2 +- .../related_person_validation_test.rb | 17 ++- .../generated/v2.0.0/related_person_group.rb | 89 ++++++++------- .../generator/templates/group.rb.erb | 4 +- .../generator/templates/include_search.rb.erb | 4 +- .../generator/templates/must_support.rb.erb | 4 +- .../generator/templates/search.rb.erb | 4 +- .../generator/templates/validation.rb.erb | 4 +- 436 files changed, 3167 insertions(+), 3058 deletions(-) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb index e1bcf742..ffd7cfe2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/c4bb_test_suite.rb @@ -19,7 +19,9 @@ module CARIN4BBV110 class C4BBTestKit < Inferno::TestSuite title 'CARIN IG for Blue Button® v1.1.0' description %( - The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU1.1). + The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU1.1). + + ) version VERSION links [ diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_must_support_test.rb index 6cd34d91..1e497be9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_must_support_test.rb @@ -15,7 +15,7 @@ class CoverageMustSupportTest < Inferno::Test Statement. This test will look through the Coverage resources found previously for the following must support elements: - * Coverage.beneficiary + * Coverage.beneficiary * Coverage.class * Coverage.class.name * Coverage.class.value diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb index 0223a363..36328cb3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage/coverage_validation_test.rb @@ -9,16 +9,15 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v110_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb index 10c4e0fa..b10fa822 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/coverage_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' - description %( - # Background - - The CARIN for Blue Button Coverage sequence verifies that the system under test is - able to provide correct responses for Coverage queries. These queries - must contain resources conforming to the C4BB Coverage as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Coverage resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button Coverage sequence verifies that the system under test is +able to provide correct responses for Coverage queries. These queries +must contain resources conforming to the C4BB Coverage as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Coverage resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index a01d3f91..f0e2988e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index be6ff93d..0ba062be 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index 38ff7736..84358369 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index 59804963..6b75af67 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 48368649..cdc35cf9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index 33d11eff..007fed74 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index 411141ea..f04a2258 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v1.1.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v1.1.0. + + ) id :c4bb_v110_explanation_of_benefit__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index 55542897..1c891ef6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index e8927759..52bd79bd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb index 8f40142b..fc934a05 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.billablePeriod + * ExplanationOfBenefit.billablePeriod * ExplanationOfBenefit.careTeam * ExplanationOfBenefit.careTeam.provider * ExplanationOfBenefit.careTeam.role diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 2e0f82f4..6b00ae5a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index 92998ca0..45e360fc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index b3013c57..f8a9fbec 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb index e3390e0f..cfc0dc86 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb index dc7a384d..268403b8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_group.rb @@ -19,66 +19,65 @@ module CARIN4BBV110 class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB Explanation Of Benefit as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. +The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB Explanation Of Benefit as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id - * patient - * _lastUpdated - * type - * identifier - * service-date +* _id +* patient +* _lastUpdated +* type +* identifier +* service-date - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - ExplanationOfBenefit resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +ExplanationOfBenefit resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 0e7cdc3e..f5202b8f 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index c8016ee7..d3c93339 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index e923e1e7..2b7a9554 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 188e043a..ddb2aa1f 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index e7e712c6..0f68f5fc 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 1d5c8226..a2fa66be 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index 43ee0e6c..db250adb 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v1.1.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v1.1.0. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/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 b/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 index 9b4f4ad5..59decc72 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/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 b/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 index cda611ea..6e4bbe20 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index c7fb6924..b6c44717 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitInpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:adjudicationamounttype diff --git a/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 b/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 index 8f1860bb..9c0b8746 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/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 b/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 index 233add70..5927ba0f 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/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 b/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 index c371fd12..ad7b53b4 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index 080ed77b..1bb2750f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb index c38c5882..2d0562c5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_inpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 3d101f0d..3f4ce870 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index 479635b7..cdfa0524 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index d05063b3..019f70b2 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 8ba65b35..cb969f7c 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 4f7dd135..0a640ee8 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 1192fcad..fb46019c 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index d3fad5a8..9e5dcee2 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v1.1.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v1.1.0. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/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 b/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 index f16de50c..d771368c 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/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 b/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 index a8c65503..1528b090 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index 441775ce..94182b9a 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitOutpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.amount * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason diff --git a/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 b/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 index e920e8ef..ea584d65 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/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 b/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 index de09937e..c8523007 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/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 b/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 index b95e2de3..fbe70371 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 8b1ea689..7e537bd8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb index 3322048c..2583a37f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_outpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 92cf9a16..6266f027 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index 2d14b757..1bd2b35f 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index 9acb02aa..8ff55c51 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 02b481b8..75fc5b6c 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 68e1ce8c..5dcfefd1 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 5648f03f..412acac7 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index 390d3c00..13ef9442 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v1.1.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v1.1.0. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index da426b16..ea224c3d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index 421e03f1..d9ef9699 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb index 13ec43f7..5dd4875c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitPharmacyMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.billablePeriod + * ExplanationOfBenefit.billablePeriod * ExplanationOfBenefit.careTeam * ExplanationOfBenefit.careTeam.provider * ExplanationOfBenefit.careTeam.role diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index a22ec3e2..05ade6ad 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index 309cfb10..a78738f6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index f95ba3e8..bb19d476 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 777f0d3b..c2ce7f25 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb index 77b96629..30138b17 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_pharmacy_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index b5fdbd8c..0608544a 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index b075c2cb..193c1ac9 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index eb8609b3..a5293c2a 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 97013087..10952f86 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 2f8de1d7..55387736 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 727459b3..bff3b07c 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index 49637a53..dc270e93 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v1.1.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v1.1.0. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/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 b/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 index c23157ee..1063f8b8 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/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 b/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 index b905ff53..6965cc7b 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/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 b/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 index 03360acb..6978e853 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitProfessionalNonClinicianMustSupportTest < Inferno::Tes Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.billablePeriod + * ExplanationOfBenefit.billablePeriod * ExplanationOfBenefit.careTeam * ExplanationOfBenefit.careTeam.provider * ExplanationOfBenefit.careTeam.qualification diff --git a/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 b/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 index f5d3c036..1712decb 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/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 b/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 index 6617cab9..c7bd712c 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/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 b/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 index a6a906e8..1bd59bec 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v110_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/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 b/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 index ee039316..364ecb03 100644 --- a/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 +++ b/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 @@ -9,16 +9,16 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v110_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb index 5b35defe..c3561e9f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/explanation_of_benefit_professional_non_clinician_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb index a4972d2a..9c858482 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb @@ -15,7 +15,7 @@ class OrganizationMustSupportTest < Inferno::Test Statement. This test will look through the Organization resources found previously for the following must support elements: - * Organization.active + * Organization.active * Organization.address * Organization.address.city * Organization.address.country diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb index c341fced..38eedaf8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/organization_validation_test.rb @@ -9,16 +9,16 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v110_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb index b3c8d249..9bedb07f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' - description %( - # Background - - The CARIN for Blue Button Organization sequence verifies that the system under test is - able to provide correct responses for Organization queries. These queries - must contain resources conforming to the C4BB Organization as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Organization resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button Organization sequence verifies that the system under test is +able to provide correct responses for Organization queries. These queries +must contain resources conforming to the C4BB Organization as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Organization resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_must_support_test.rb index c0be57a6..4348657c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_must_support_test.rb @@ -15,7 +15,7 @@ class PatientMustSupportTest < Inferno::Test Statement. This test will look through the Patient resources found previously for the following must support elements: - * Patient.address + * Patient.address * Patient.address.city * Patient.address.country * Patient.address.district diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb index 07e062fc..95a14cfb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient/patient_validation_test.rb @@ -9,16 +9,16 @@ class PatientValidationTest < Inferno::Test id :c4bb_v110_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb index ecbcf472..2816e9f9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/patient_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' - description %( - # Background - - The CARIN for Blue Button Patient sequence verifies that the system under test is - able to provide correct responses for Patient queries. These queries - must contain resources conforming to the C4BB Patient as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Patient resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button Patient sequence verifies that the system under test is +able to provide correct responses for Patient queries. These queries +must contain resources conforming to the C4BB Patient as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Patient resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb index 87808c03..c2de4eff 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb @@ -15,7 +15,7 @@ class PractitionerMustSupportTest < Inferno::Test Statement. This test will look through the Practitioner resources found previously for the following must support elements: - * Practitioner.identifier + * Practitioner.identifier * Practitioner.identifier:NPI * Practitioner.identifier:tax * Practitioner.meta diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb index c4b22fef..3caef911 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb @@ -9,16 +9,16 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v110_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb index c3ac8542..62701c45 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v1.1.0/practitioner_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV110 class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' - description %( - # Background - - The CARIN for Blue Button Practitioner sequence verifies that the system under test is - able to provide correct responses for Practitioner queries. These queries - must contain resources conforming to the C4BB Practitioner as - specified in the CARIN for Blue Button v1.1.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Practitioner resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button Practitioner sequence verifies that the system under test is +able to provide correct responses for Practitioner queries. These queries +must contain resources conforming to the C4BB Practitioner as +specified in the CARIN for Blue Button v1.1.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Practitioner resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb index 29aab37d..b4e593b1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_coverage_payor_search_test.rb @@ -7,8 +7,8 @@ class CoverageCoverage_payorSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by id + _include=Coverage:payor' - description %( - Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter + description %(Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb index f3819438..706641e2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_id_search_test.rb @@ -7,19 +7,20 @@ class CoverageIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by _id' - description %( - A server SHALL support searching by - _id on the Coverage resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the Coverage resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_coverage__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb index 7f6df49e..9a8ff9d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class CoverageLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by _lastUpdated' - description %( - A server SHOULD support searching by - _lastUpdated on the Coverage resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHOULD support searching by +_lastUpdated on the Coverage resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_coverage__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_must_support_test.rb index 79e49536..8ecb971f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_must_support_test.rb @@ -15,7 +15,7 @@ class CoverageMustSupportTest < Inferno::Test Statement. This test will look through the Coverage resources found previously for the following must support elements: - * Coverage.beneficiary + * Coverage.beneficiary * Coverage.class * Coverage.class.name * Coverage.class.value diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb index 8cc422ab..c1053254 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage/coverage_validation_test.rb @@ -9,16 +9,15 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb index 69e57d1c..9b603812 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/coverage_group.rb @@ -10,61 +10,60 @@ module CARIN4BBV200DEVNONFINANCIAL class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Coverage sequence verifies that the system under test is - able to provide correct responses for Coverage queries. These queries - must contain resources conforming to the C4BB Coverage as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button Coverage sequence verifies that the system under test is +able to provide correct responses for Coverage queries. These queries +must contain resources conforming to the C4BB Coverage as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Coverage resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Coverage resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Coverage resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Coverage resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb index ced84811..3f756c1b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index 48fc0b05..19538a01 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index ac0152de..03eeb58c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index a5313182..1ad43ddc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index 4c046b1c..ce31bb9c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 1a800351..b2ada013 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb index 9047fb82..9d06119f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_payeeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index 07578683..e728652a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index 1f76ea4d..b025531b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index 047a90cd..943a275a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index fc1c9dfb..b14c1d5e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_must_support_test.rb index cf85c9e3..69586025 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.billablePeriod + * ExplanationOfBenefit.billablePeriod * ExplanationOfBenefit.billablePeriod.start * ExplanationOfBenefit.careTeam * ExplanationOfBenefit.careTeam.provider diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 9dd43464..9ca50049 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index 083ed9ef..bd76e520 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb index f43ac9a8..76561c0c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index a7659bae..6c0e8611 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb index 1a9b85b3..a2693137 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb index 976ff6ab..4bb39fb2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_group.rb @@ -22,68 +22,67 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB Explanation Of Benefit as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB Explanation Of Benefit as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id - * patient - * _lastUpdated - * type - * identifier - * service-date - * service-start-date - * billable-period-start +* _id +* patient +* _lastUpdated +* type +* identifier +* service-date +* service-start-date +* billable-period-start - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - ExplanationOfBenefit resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +ExplanationOfBenefit resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb index 017d171e..a3465ce1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalBillablePeriodStartSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb index aaef83cd..8a665b6c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb index 86c46d86..7b9249de 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb index 8b8bed3e..7b7798f0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb index 1144e136..11c149a1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb index b0b60194..f1761977 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb index 171666a5..99e6d770 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_payeeSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb index 3d589c96..64e8c0d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb index 3ccb8a77..654c7ff7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb index 377c343d..f64db6ae 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb index 3c2cb035..5124c373 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb index 55c5bff5..5913c597 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitInpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:adjudicationamounttype diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb index 02c65a72..1e854bd8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb index b5702491..fb31bd8a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb index 89eb1b54..1cb91f00 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalServiceStartDateSearchTest < Inf include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb index c48c5c08..1b1059e4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index 2cef9ea8..db6f5827 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb index 21fffa07..4848c2c9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb index 103ca408..7b30484f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialBillablePeriodStartS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb index a55613fa..1eaab1e2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb index 8a0335a9..f2572669 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb index e3d66a6c..0b309ff5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb index 48f4bc84..f4a87e42 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb index ea6f206f..8c0759a3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb index c63805fd..c29e7d31 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb index aa9c842c..5a199a8e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialExplanationOfBenefit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb index bfb297fc..ba45528c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialIdSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb index 30ec9b33..ff3f2593 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialIdentifierSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb index ced9a9f6..11c7e5b3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialLastupdatedSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_must_support_test.rb index c62fc6b0..efe541bc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialMustSupportTest < In Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:adjustmentreason diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb index e6288fa5..39470347 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialPatientSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb index a115652e..d6dc3ffe 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialServiceDateSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb index d68a0d2c..849bc36c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialServiceStartDateSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb index 0eec360e..7bd30ae2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialTypeSearchTest < Inf include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb index 264327ba..c62ad2aa 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial/explanation_of_benefit_inpatient_institutional_non_financial_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitInpatientInstitutionalNonFinancialValidationTest < Inf id :c4bb_v200devnonfinancial_explanation_of_benefit_inpatient_institutional_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb index d82c040a..5d82f5a0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_inpatient_institutional_non_financial_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitInpatientInstitutionalNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional - Non-Financial sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional - Non-Financial sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional-NonFinancial). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb index 1de6c0dc..7d116808 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb index becb0c83..5a9a5a8d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_AllSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb index 73a0cf97..175baf86 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_careteamSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb index 904383d3..8c803f86 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_coverageSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb index 21ac7d30..1bf1b8fd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_insurerSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb index ea6005c6..27a06462 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_patientSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb index 5502c53f..be3d4a10 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_payeeSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb index 09adaeb6..f372e61b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_providerSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb index 2e972578..f04aa4a2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitOralIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb index c6865fa2..da443c97 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb index 83fbf11f..1d94d8df 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb index 8d27ff41..54ee66cb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitOralMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb index eec0a689..da849fa4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb index 54bab465..e80066b2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb index ed9dd895..8355182a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb index 35d1fbf3..10408af2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb index 09bcf487..2d7cc7fa 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitOralValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb index e0ba02a9..ac2b6769 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitOralGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Oral as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Oral as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb index eccd5955..0a851500 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialBillablePeriodStartSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb index d8d3fe29..ccce2196 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_AllSearchTest < I include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb index cb45485e..626b4915 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_careteamSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb index 14afc06f..ac029525 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_coverageSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb index f2d6133b..6ec7a6ab 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_insurerSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb index 38e3687c..088b4df4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_patientSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb index a762ac2c..ab381021 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_payeeSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb index f3186c57..40d74df6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralNonFinancialExplanationOfBenefit_providerSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb index 3aa041e4..45b42a12 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitOralNonFinancialIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb index 03c06a5e..d2498835 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb index 0aab1b05..ba089298 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_must_support_test.rb index e0ef9910..545d894f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitOralNonFinancialMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb index 9ad7c891..a986bf97 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb index b37d6ada..3a71c6a4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb index f8861dc8..fb8c8a34 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialServiceStartDateSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb index 451f7b05..8eb4e7c9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralNonFinancialTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb index 08f2743e..692aacb9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial/explanation_of_benefit_oral_non_financial_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitOralNonFinancialValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_oral_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral - Non-Financial' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb index 9d8a2e36..f5549359 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_oral_non_financial_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitOralNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral - Non-Financial.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Oral - Non-Financial sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Oral - Non-Financial as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Oral - Non-Financial sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Oral - Non-Financial as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Oral - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral-NonFinancial). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb index 58eabea7..207eabca 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalBillablePeriodStartSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb index a783d02e..3dc182e7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb index bb22e6a1..20a45367 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb index 269c1aef..7a6da6d8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb index ac872b1f..474b472e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb index af17a082..59fad9ca 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb index fff10492..24af6dca 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_payeeSearc include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb index c11b19e9..d172c0b3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb index 6328f5cf..b49161f5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb index d01bc38a..7b1923ae 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb index 7a4994e0..25822e0a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb index ef8cd61c..d9c1cb43 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitOutpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.amount * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb index 1063ae5e..3b74e0bc 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb index 5bbbd621..a832ffcb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb index aef76948..86755b0b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceStartDateSearchTest < In include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb index 26e23e92..7e8e475f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 5b94389c..9681eaf8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb index 064bf3cc..66a5d750 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb index 1795358c..d10f3fe5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialBillablePeriodStart include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb index a3446fcd..898e18ac 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb index b35677d4..b1d1b8c8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb index e78d1931..7d5f3fd0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb index aa7c482b..e704c4e5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb index 8fcc430f..1d6a17e8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb index 5074ee6e..f0bc3fa1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb index 5b3a3925..30a452a7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialExplanationOfBenefi include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb index 743e27bb..ed33c877 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialIdSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb index 3a7df4cc..76d8965f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialIdentifierSearchTes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb index 6c68175d..982a641a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialLastupdatedSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_must_support_test.rb index 09c1fbe7..730df68f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialMustSupportTest < I Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:adjustmentreason diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb index cfb0a655..cc157cee 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialPatientSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb index 8530de52..c153a807 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialServiceDateSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb index 58faf3d6..ffb1c6f3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialServiceStartDateSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb index a445cd90..a4635ad6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialTypeSearchTest < In include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb index a98fcdbe..e1582971 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial/explanation_of_benefit_outpatient_institutional_non_financial_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitOutpatientInstitutionalNonFinancialValidationTest < In id :c4bb_v200devnonfinancial_explanation_of_benefit_outpatient_institutional_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb index d890a5b9..35b527ae 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_outpatient_institutional_non_financial_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitOutpatientInstitutionalNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional - Non-Financial sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional - Non-Financial sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional-NonFinancial). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb index 667fee38..f1402010 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb index 3002448e..7cffa6d9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb index b1515437..e179cce4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb index 39221087..aee94ebd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb index 8b22b287..a2386a36 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb index 298000db..a871a682 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb index 430ac0d6..596df806 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_payeeSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb index a4709050..27247110 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index c30b9395..24bbaa64 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index 40615501..6450dd2e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index 6f94df73..b313ced4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb index 95bfb000..b544d94b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitPharmacyMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index ff36ae38..09e43b75 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index 0cee73cb..e1f8da49 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb index 144bce34..d4dba011 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index 6de05dd0..eba2922e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 6fa69aaf..ca9a6b8f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb index ef2a8624..b790c5cd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb index 9a9c0675..c698de83 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialBillablePeriodStartSearchTest < In include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb index 0b87bdf7..bd8f1510 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_AllSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb index a9032d88..e96c0470 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_careteamSearc include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb index 28c86f29..1f399f2a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_coverageSearc include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb index 7934e2e9..4f45fb42 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_insurerSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb index 862f420e..8369040b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_patientSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb index 0bdce2b7..8ebeb06b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_payeeSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb index 1e7e4968..ba304169 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyNonFinancialExplanationOfBenefit_providerSearc include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb index a0111207..022cbd2c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitPharmacyNonFinancialIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb index a6ef4adf..f7645ed0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialIdentifierSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb index 2c74c4ac..bac4b597 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialLastupdatedSearchTest < Inferno::T include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_must_support_test.rb index 4e85e59d..c0ed7a97 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitPharmacyNonFinancialMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb index 310c3931..7de3036f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb index c1ba3b23..08f73430 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialServiceDateSearchTest < Inferno::T include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb index bea7edfc..1e929538 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialServiceStartDateSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb index b6196811..983db46b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyNonFinancialTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb index 0ec4b1de..a2bf97dd 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial/explanation_of_benefit_pharmacy_non_financial_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitPharmacyNonFinancialValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_pharmacy_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb index b26d0051..6583f65f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_pharmacy_non_financial_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitPharmacyNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy - Non-Financial.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Pharmacy - Non-Financial sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Pharmacy - Non-Financial sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy - Non-Financial as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Pharmacy - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy-NonFinancial). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb index 6cdbbc50..22098fd6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianBillablePeriodStartSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb index 9f96c51e..e4615054 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb index 43679902..b558768f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb index f705721e..dfab2aa8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb index c2d473e7..f7330ec7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb index 91eac0d8..e299ed79 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb index 9284b414..0d4d49ff 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_payeeSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb index 1ab40125..171ec9e5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb index edfa2ddf..8e2b3678 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb index ad670dac..5db49dd5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb index 31c574fe..1824a7c0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb index 3eb2da93..64af6195 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitProfessionalNonClinicianMustSupportTest < Inferno::Tes Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:billingnetworkstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb index b48d39d4..1981954c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb index aa127f85..f5a60ba9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb index 7c466980..9d515a34 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceStartDateSearchTest < I include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb index 20ab7292..31aee1e2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb index fd5a07e7..9ef78db9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician/explanation_of_benefit_professional_non_clinician_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb index 6557a1ac..1c881b5f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb index bbe6c056..b59ad7f7 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialBillablePeriodStar include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb index ea5460d6..17d05c98 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb index ca178b4f..6f43626a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb index c61852fc..9a24c24b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb index f0cd62c1..8abc3118 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb index 4662a33d..fab4c366 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb index b2379ec9..5c42922e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb index 5eace721..d951e036 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialExplanationOfBenef include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb index 81b8bcd4..9cde2158 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialIdSearchTest < Inf include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0-dev-nonfinancial. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb index de9ce0a2..017ab6d6 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialIdentifierSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb index 5e724316..67210bc4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialLastupdatedSearchT include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_must_support_test.rb index 5f23df72..4038a6d8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialMustSupportTest < Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:billingnetworkstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb index 68539642..c26dbce3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialPatientSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb index 8de6b40c..df610b2e 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialServiceDateSearchT include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb index d5b8d014..3a8a7fc9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialServiceStartDateSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb index ee5d2020..c0d1fca4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialTypeSearchTest < I include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb index 16b51776..e7ae62db 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial/explanation_of_benefit_professional_non_clinician_non_financial_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitProfessionalNonClinicianNonFinancialValidationTest < I id :c4bb_v200devnonfinancial_explanation_of_benefit_professional_non_clinician_non_financial_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb index afe7ef88..814671b3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/explanation_of_benefit_professional_non_clinician_non_financial_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200DEVNONFINANCIAL class ExplanationOfBenefitProfessionalNonClinicianNonFinancialGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician - Non-Financial Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician - Non-Financial sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician - Non-Financial sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Professional NonClinician - Non-Financial](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician-NonFinancial). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_must_support_test.rb index ba34139a..987fcbc9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_must_support_test.rb @@ -15,7 +15,7 @@ class OrganizationMustSupportTest < Inferno::Test Statement. This test will look through the Organization resources found previously for the following must support elements: - * Organization.active + * Organization.active * Organization.address * Organization.address.city * Organization.address.country diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb index 0be94ade..12966eb1 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization/organization_validation_test.rb @@ -9,16 +9,15 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb index 8a3eae4b..1483ca90 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/organization_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200DEVNONFINANCIAL class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Organization sequence verifies that the system under test is - able to provide correct responses for Organization queries. These queries - must contain resources conforming to the C4BB Organization as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button Organization sequence verifies that the system under test is +able to provide correct responses for Organization queries. These queries +must contain resources conforming to the C4BB Organization as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Organization resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Organization resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Organization resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Organization resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_must_support_test.rb index bb384467..1d705bf4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_must_support_test.rb @@ -15,7 +15,7 @@ class PatientMustSupportTest < Inferno::Test Statement. This test will look through the Patient resources found previously for the following must support elements: - * Patient.address + * Patient.address * Patient.address.city * Patient.address.country * Patient.address.line diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb index 06883b5a..a45f8560 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient/patient_validation_test.rb @@ -9,16 +9,15 @@ class PatientValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb index 7e4e79a2..bd757de2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/patient_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200DEVNONFINANCIAL class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Patient sequence verifies that the system under test is - able to provide correct responses for Patient queries. These queries - must contain resources conforming to the C4BB Patient as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button Patient sequence verifies that the system under test is +able to provide correct responses for Patient queries. These queries +must contain resources conforming to the C4BB Patient as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Patient resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Patient resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Patient resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Patient resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_must_support_test.rb index e6301ce0..19328fc4 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_must_support_test.rb @@ -15,7 +15,7 @@ class PractitionerMustSupportTest < Inferno::Test Statement. This test will look through the Practitioner resources found previously for the following must support elements: - * Practitioner.identifier + * Practitioner.identifier * Practitioner.identifier:NPI * Practitioner.identifier:tax * Practitioner.meta diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb index 09b71f9d..739835c8 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner/practitioner_validation_test.rb @@ -9,16 +9,15 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb index 786322ee..aa42e962 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/practitioner_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200DEVNONFINANCIAL class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Practitioner sequence verifies that the system under test is - able to provide correct responses for Practitioner queries. These queries - must contain resources conforming to the C4BB Practitioner as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button Practitioner sequence verifies that the system under test is +able to provide correct responses for Practitioner queries. These queries +must contain resources conforming to the C4BB Practitioner as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Practitioner resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Practitioner resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Practitioner resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Practitioner resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_must_support_test.rb index 101e08e0..43ad8ead 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_must_support_test.rb @@ -15,7 +15,7 @@ class RelatedPersonMustSupportTest < Inferno::Test Statement. This test will look through the RelatedPerson resources found previously for the following must support elements: - * RelatedPerson.active + * RelatedPerson.active * RelatedPerson.address * RelatedPerson.meta * RelatedPerson.meta.lastUpdated diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb index 2051f7d4..028c9ad3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person/related_person_validation_test.rb @@ -9,16 +9,15 @@ class RelatedPersonValidationTest < Inferno::Test id :c4bb_v200devnonfinancial_related_person_validation_test title 'RelatedPerson resources returned during previous tests conform to the C4BB RelatedPerson' - description %( - This test verifies resources returned from the first search conform to - the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb index 4bf9ab1a..956c5207 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0-dev-nonfinancial/related_person_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200DEVNONFINANCIAL class RelatedPersonGroup < Inferno::TestGroup title 'RelatedPerson Tests' short_description 'Verify support for the server capabilities required by the C4BB RelatedPerson.' - description %( - # Background + description %(# Background - The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is - able to provide correct responses for RelatedPerson queries. These queries - must contain resources conforming to the C4BB RelatedPerson as - specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. +The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is +able to provide correct responses for RelatedPerson queries. These queries +must contain resources conforming to the C4BB RelatedPerson as +specified in the CARIN for Blue Button v2.0.0-dev-nonfinancial Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - RelatedPerson resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +RelatedPerson resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the RelatedPerson resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the RelatedPerson resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb index 7888ed27..d953abeb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/c4bb_test_suite.rb @@ -22,6 +22,8 @@ class C4BBTestKit < Inferno::TestSuite title 'CARIN IG for Blue Button® v2.0.0' description %( The CARIN for Blue Button test suite validates system conformance to the HL7® FHIR® [CARIN for Blue Button® Implementation Guide](http://hl7.org/fhir/us/carin-bb/STU2). + + ) version VERSION links [ diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb index bd00512c..26f6391d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_coverage_payor_search_test.rb @@ -7,8 +7,8 @@ class CoverageCoverage_payorSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by id + _include=Coverage:payor' - description %( - Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter + description %(Tests that the server responds correctly when using _include="Coverage:payor" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb index 21f67f76..8e4b2572 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_id_search_test.rb @@ -7,19 +7,20 @@ class CoverageIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by _id' - description %( - A server SHALL support searching by - _id on the Coverage resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the Coverage resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_coverage__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb index 8f6642b4..80035960 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class CoverageLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for Coverage search by _lastUpdated' - description %( - A server SHOULD support searching by - _lastUpdated on the Coverage resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHOULD support searching by +_lastUpdated on the Coverage resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_coverage__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_must_support_test.rb index b8586309..ce24d573 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_must_support_test.rb @@ -15,7 +15,7 @@ class CoverageMustSupportTest < Inferno::Test Statement. This test will look through the Coverage resources found previously for the following must support elements: - * Coverage.beneficiary + * Coverage.beneficiary * Coverage.class * Coverage.class.name * Coverage.class.value diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb index 361dfcd2..835062d5 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage/coverage_validation_test.rb @@ -9,16 +9,16 @@ class CoverageValidationTest < Inferno::Test id :c4bb_v200_coverage_validation_test title 'Coverage resources returned during previous tests conform to the C4BB Coverage' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb index 8b1148ae..93cdf508 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/coverage_group.rb @@ -10,61 +10,60 @@ module CARIN4BBV200 class CoverageGroup < Inferno::TestGroup title 'Coverage Tests' short_description 'Verify support for the server capabilities required by the C4BB Coverage.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Coverage sequence verifies that the system under test is - able to provide correct responses for Coverage queries. These queries - must contain resources conforming to the C4BB Coverage as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button Coverage sequence verifies that the system under test is +able to provide correct responses for Coverage queries. These queries +must contain resources conforming to the C4BB Coverage as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Coverage resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Coverage resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Coverage resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Coverage resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Coverage](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Coverage). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb index 52b31953..665a690c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_billable_period_start_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_billable_period_start_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb index fd248c5d..7200b842 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_all_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_AllSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb index 5cbea62c..e36faa44 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_careteam_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_careteamSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb index 23ec3835..89cd1904 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_coverage_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_coverageSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb index 5b27b8c0..66a3d53c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_insurer_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_insurerSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb index 20efa57d..86deba5a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_patient_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_patientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb index 5efb20df..a6738f84 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_payee_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_payeeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb index c323d1b2..cb7e3332 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_explanation_of_benefit_provider_search_test.rb @@ -7,8 +7,8 @@ class ExplanationOfBenefitExplanationOfBenefit_providerSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb index c7dd81c5..4c570004 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_id_search_test.rb @@ -7,19 +7,19 @@ class ExplanationOfBenefitIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb index 2aad90f4..87cfaa29 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_identifier_search_test.rb @@ -7,11 +7,11 @@ class ExplanationOfBenefitIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb index 80352898..5781dad0 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_lastupdated_search_test.rb @@ -7,11 +7,11 @@ class ExplanationOfBenefitLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb index d5ae78d9..99117257 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.billablePeriod + * ExplanationOfBenefit.billablePeriod * ExplanationOfBenefit.billablePeriod.start * ExplanationOfBenefit.careTeam * ExplanationOfBenefit.careTeam.provider diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb index 29e7b2c7..c626220c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_patient_search_test.rb @@ -7,12 +7,12 @@ class ExplanationOfBenefitPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb index b2d496c2..0f9c7137 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_date_search_test.rb @@ -7,12 +7,12 @@ class ExplanationOfBenefitServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_service_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb index cd0f61b5..0493aaba 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_service_start_date_search_test.rb @@ -7,11 +7,11 @@ class ExplanationOfBenefitServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb index d0ec8891..865e3a51 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_type_search_test.rb @@ -7,11 +7,11 @@ class ExplanationOfBenefitTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb index cb79831c..94bd5484 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit/explanation_of_benefit_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB Explanation Of Benefit' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb index 381d887d..643e6ebb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_group.rb @@ -22,68 +22,67 @@ module CARIN4BBV200 class ExplanationOfBenefitGroup < Inferno::TestGroup title 'Explanation Of Benefit Tests' short_description 'Verify support for the server capabilities required by the C4BB Explanation Of Benefit.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB Explanation Of Benefit as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button Explanation Of Benefit sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB Explanation Of Benefit as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id - * patient - * _lastUpdated - * type - * identifier - * service-date - * service-start-date - * billable-period-start +* _id +* patient +* _lastUpdated +* type +* identifier +* service-date +* service-start-date +* billable-period-start - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - ExplanationOfBenefit resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +ExplanationOfBenefit resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Explanation Of Benefit](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index b916e6f7..22f7d862 100644 --- a/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 +++ b/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 @@ -7,12 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalBillablePeriodStartSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_billable_period_start_search_test diff --git a/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 b/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 index fd373a56..92e4bdbc 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_AllSearchTe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index e43bf43f..4cd26aa3 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_careteamSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index d5b1a7f7..171cf239 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_coverageSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 4757ee11..564017ef 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_insurerSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index ae632344..c37a4ae0 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_patientSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index b569ec25..5bf5acde 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_payeeSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/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 b/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 index 15d4f06e..dcb2061b 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitInpatientInstitutionalExplanationOfBenefit_providerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index 80f5f7c6..8a460c05 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitInpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional__id_search_test diff --git a/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 b/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 index 9bb30130..38e019b1 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalIdentifierSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_identifier_search_test diff --git a/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 b/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 index b714703f..19c4bca4 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalLastupdatedSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index cf3985bc..d5eabd51 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitInpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:adjudicationamounttype diff --git a/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 b/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 index de83a4b7..9472de9c 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalPatientSearchTest < Inferno::Tes include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_patient_search_test diff --git a/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 b/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 index cdf42149..c0086f43 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalServiceDateSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_service_date_search_test diff --git a/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 b/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 index d17c544e..d0a273f7 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalServiceStartDateSearchTest < Inf include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_service_start_date_search_test diff --git a/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 b/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 index b166db41..567f9b1b 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitInpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_inpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb index 25662c19..ce4a9fbf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional/explanation_of_benefit_inpatient_institutional_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitInpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_inpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Inpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb index a60038e1..08bb5b89 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_inpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200 class ExplanationOfBenefitInpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Inpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Inpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Inpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Inpatient Institutional as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Inpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Inpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 39798710..0ecf60b6 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_billable_period_start_search_test diff --git a/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 b/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 index 0c077aee..5adb4444 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_AllSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index 69990b42..c983ece6 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_careteamSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index 55c16f63..51b72827 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_coverageSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index e9c9e0bc..3868a73c 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_insurerSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index e123e10c..26d57ceb 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_patientSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 27c2983e..0b8ee2ba 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_payeeSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/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 b/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 index 37c71631..45797f12 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOralExplanationOfBenefit_providerSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb index 94b1563f..f3224774 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitOralIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_explanation_of_benefit_oral__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb index 2e0f9c5e..33bf1d8c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb index e7118f57..86db25b2 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb index 6c402e6a..3fb4b87f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitOralMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb index ce1af0e8..45504c6d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb index 3f1d482f..a013d59c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_service_date_search_test diff --git a/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 b/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 index c25ecb27..97c1e665 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb index 2469384a..b8294f06 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitOralTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_oral_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb index 860064ef..fed400ed 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral/explanation_of_benefit_oral_validation_test.rb @@ -9,16 +9,15 @@ class ExplanationOfBenefitOralValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_oral_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Oral' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb index 925ffbc5..0bae919b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_oral_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200 class ExplanationOfBenefitOralGroup < Inferno::TestGroup title 'ExplanationOfBenefit Oral Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Oral.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Oral as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Oral sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Oral as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Oral](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Oral). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 670f0732..40005304 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalBillablePeriodStartSearchTest < include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_billable_period_start_search_test diff --git a/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 b/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 index 87cd89bf..a46ba634 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_AllSearchT include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index ac3ff72e..8a4f61e6 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_careteamSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index 16f84b0b..65a38898 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_coverageSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index 74b0ee0e..a71b1c01 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_insurerSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 369641cf..285b243e 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_patientSea include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 294aac69..0e416f72 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_payeeSearc include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/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 b/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 index db11a517..328b0bc6 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitOutpatientInstitutionalExplanationOfBenefit_providerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index 004f343f..1bf2080d 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitOutpatientInstitutionalIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional__id_search_test diff --git a/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 b/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 index a6845b96..a7032072 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalIdentifierSearchTest < Inferno: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_identifier_search_test diff --git a/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 b/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 index c9b85363..99c33ead 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalLastupdatedSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional__lastUpdated_search_test diff --git a/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 b/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 index e41f645d..d793dc58 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitOutpatientInstitutionalMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.amount * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason diff --git a/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 b/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 index 0c73650c..60ed9e54 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalPatientSearchTest < Inferno::Te include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_patient_search_test diff --git a/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 b/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 index 1b0d184d..c6e14af8 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceDateSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_date_search_test diff --git a/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 b/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 index 06eb3688..11c79fe8 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalServiceStartDateSearchTest < In include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_service_start_date_search_test diff --git a/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 b/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 index 358e38ec..4cdd8930 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitOutpatientInstitutionalTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_outpatient_institutional_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb index 77f40be5..28823b25 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional/explanation_of_benefit_outpatient_institutional_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitOutpatientInstitutionalValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_outpatient_institutional_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Outpatient Institutional' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb index 6a90e620..1f8faeeb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_outpatient_institutional_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200 class ExplanationOfBenefitOutpatientInstitutionalGroup < Inferno::TestGroup title 'ExplanationOfBenefit Outpatient Institutional Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Outpatient Institutional.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Outpatient Institutional sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Outpatient Institutional as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Outpatient Institutional](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Outpatient-Institutional). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index d71e05e9..c9cd4fe8 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyBillablePeriodStartSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_billable_period_start_search_test diff --git a/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 b/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 index 82d9c3af..eab81884 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_AllSearchTest < Inferno:: include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index 755431cf..af0ee950 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_careteamSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index b67b6eaf..39e13aef 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_coverageSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index e5722aae..156fa596 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_insurerSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 205be869..373284a9 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_patientSearchTest < Infer include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index 7cd0d9bd..e4c86fc0 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_payeeSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/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 b/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 index 03cbc693..fdc0aa34 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitPharmacyExplanationOfBenefit_providerSearchTest < Infe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb index 142afa5e..29caf105 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_id_search_test.rb @@ -7,19 +7,20 @@ class ExplanationOfBenefitPharmacyIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy__id_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb index bd14437c..6b33efeb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_identifier_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyIdentifierSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_identifier_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb index 39c2a31e..ca1ac18c 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_lastupdated_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyLastupdatedSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy__lastUpdated_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb index a641fc4c..b4d90d5a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_must_support_test.rb @@ -15,7 +15,7 @@ class ExplanationOfBenefitPharmacyMustSupportTest < Inferno::Test Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:benefitpaymentstatus diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb index 594ef5b2..a2c0c8e9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_patient_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyPatientSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_patient_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb index e628cd8d..faddc833 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_service_date_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyServiceDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_service_date_search_test diff --git a/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 b/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 index 7e26f535..cd54c49f 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyServiceStartDateSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_service_start_date_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb index 04beafac..2cf2468d 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_type_search_test.rb @@ -7,11 +7,12 @@ class ExplanationOfBenefitPharmacyTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_pharmacy_type_search_test diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb index 57bce85a..b896eceb 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy/explanation_of_benefit_pharmacy_validation_test.rb @@ -9,16 +9,16 @@ class ExplanationOfBenefitPharmacyValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_pharmacy_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Pharmacy' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb index ca8a8511..1b179d34 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_pharmacy_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200 class ExplanationOfBenefitPharmacyGroup < Inferno::TestGroup title 'ExplanationOfBenefit Pharmacy Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Pharmacy.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Pharmacy sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Pharmacy as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Pharmacy](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Pharmacy). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/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 b/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 index 3245673d..8646071f 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianBillablePeriodStartSearchTest include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by billable-period-start' - description %( - A server SHALL support searching by - billable-period-start on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +billable-period-start on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_billable_period_start_search_test diff --git a/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 b/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 index 4d23bfc4..099a6d64 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_AllSearch include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:*' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:*" as a search parameter + ) def self.properties diff --git a/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 b/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 index 032d49ee..1ae56412 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_careteamS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:care-team' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:care-team" as a search parameter + ) def self.properties diff --git a/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 b/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 index ed61edd6..7be4f9b2 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_coverageS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:coverage' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:coverage" as a search parameter + ) def self.properties diff --git a/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 b/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 index c5446855..1bfc2976 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_insurerSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:insurer' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:insurer" as a search parameter + ) def self.properties diff --git a/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 b/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 index 77c5d00a..58c05061 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_patientSe include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:patient' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:patient" as a search parameter + ) def self.properties diff --git a/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 b/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 index eb635793..d84b5c94 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_payeeSear include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:payee' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:payee" as a search parameter + ) def self.properties diff --git a/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 b/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 index 5da7d627..eea63de4 100644 --- a/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 +++ b/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 @@ -7,8 +7,8 @@ class ExplanationOfBenefitProfessionalNonClinicianExplanationOfBenefit_providerS include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by id + _include=ExplanationOfBenefit:provider' - description %( - Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + description %(Tests that the server responds correctly when using _include="ExplanationOfBenefit:provider" as a search parameter + ) def self.properties diff --git a/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 b/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 index 58ab11de..45b6293a 100644 --- a/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 +++ b/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 @@ -7,19 +7,20 @@ class ExplanationOfBenefitProfessionalNonClinicianIdSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _id' - description %( - A server SHALL support searching by - _id on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. - - Because this is the first search of the sequence, resources in the - response will be used for subsequent tests. - - Additionally, this test will check that GET and POST search methods - return the same number of results. Search by POST is required by the - FHIR R4 specification, and these tests interpret search by GET as a - requirement of CARIN IG for Blue Button® v2.0.0. + description %(A server SHALL support searching by +_id on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + +Because this is the first search of the sequence, resources in the +response will be used for subsequent tests. + +Additionally, this test will check that GET and POST search methods +return the same number of results. Search by POST is required by the +FHIR R4 specification, and these tests interpret search by GET as a +requirement of CARIN IG for Blue Button® v2.0.0. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician__id_search_test diff --git a/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 b/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 index e549202a..2a4ca789 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianIdentifierSearchTest < Inferno include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by identifier' - description %( - A server SHALL support searching by - identifier on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +identifier on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_identifier_search_test diff --git a/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 b/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 index fdaefc92..fced467e 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianLastupdatedSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by _lastUpdated' - description %( - A server SHALL support searching by - _lastUpdated on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +_lastUpdated on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician__lastUpdated_search_test diff --git a/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 b/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 index a08a40a3..bc4ce78f 100644 --- a/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 +++ b/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 @@ -15,7 +15,7 @@ class ExplanationOfBenefitProfessionalNonClinicianMustSupportTest < Inferno::Tes Statement. This test will look through the ExplanationOfBenefit resources found previously for the following must support elements: - * ExplanationOfBenefit.adjudication + * ExplanationOfBenefit.adjudication * ExplanationOfBenefit.adjudication.category * ExplanationOfBenefit.adjudication.reason * ExplanationOfBenefit.adjudication:billingnetworkstatus diff --git a/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 b/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 index 1ed3f5b7..3d29ef35 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianPatientSearchTest < Inferno::T include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by patient' - description %( - A server SHALL support searching by - patient on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +patient on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_patient_search_test diff --git a/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 b/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 index b487fbcd..a6320d70 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceDateSearchTest < Infern include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-date' - description %( - A server SHALL support searching by - service-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_service_date_search_test diff --git a/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 b/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 index 527fe3dd..ae88d71c 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianServiceStartDateSearchTest < I include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by service-start-date' - description %( - A server SHALL support searching by - service-start-date on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +service-start-date on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_service_start_date_search_test diff --git a/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 b/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 index 433dbb9f..103f63d6 100644 --- a/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 +++ b/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 @@ -7,11 +7,12 @@ class ExplanationOfBenefitProfessionalNonClinicianTypeSearchTest < Inferno::Test include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for ExplanationOfBenefit search by type' - description %( - A server SHALL support searching by - type on the ExplanationOfBenefit resource. This test - will pass if resources are returned and match the search criteria. If - none are returned, the test is skipped. + description %(A server SHALL support searching by +type on the ExplanationOfBenefit resource. This test +will pass if resources are returned and match the search criteria. If +none are returned, the test is skipped. + + ) id :c4bb_v200_explanation_of_benefit_professional_non_clinician_type_search_test diff --git a/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 b/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 index 271976a0..a55ab904 100644 --- a/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 +++ b/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 @@ -9,16 +9,16 @@ class ExplanationOfBenefitProfessionalNonClinicianValidationTest < Inferno::Test id :c4bb_v200_explanation_of_benefit_professional_non_clinician_validation_test title 'ExplanationOfBenefit resources returned during previous tests conform to the C4BB ExplanationOfBenefit Professional NonClinician' - description %( - This test verifies resources returned from the first search conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb index c117a294..a22674cf 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/explanation_of_benefit_professional_non_clinician_group.rb @@ -7,38 +7,37 @@ module CARIN4BBV200 class ExplanationOfBenefitProfessionalNonClinicianGroup < Inferno::TestGroup title 'ExplanationOfBenefit Professional NonClinician Tests' short_description 'Verify support for the server capabilities required by the C4BB ExplanationOfBenefit Professional NonClinician.' - description %( - # Background - - The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is - able to provide correct responses for ExplanationOfBenefit queries. These queries - must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - - # Testing Methodology - - - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the ExplanationOfBenefit resources found in the first test for these - elements. - - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against - terminology binding and cardinality requirements. - - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. - - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. + description %(# Background + +The CARIN for Blue Button ExplanationOfBenefit Professional NonClinician sequence verifies that the system under test is +able to provide correct responses for ExplanationOfBenefit queries. These queries +must contain resources conforming to the C4BB ExplanationOfBenefit Professional NonClinician as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. + +# Testing Methodology + + +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the ExplanationOfBenefit resources found in the first test for these +elements. + +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB ExplanationOfBenefit Professional NonClinician](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-ExplanationOfBenefit-Professional-NonClinician). Each element is checked against +terminology binding and cardinality requirements. + +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. + +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_must_support_test.rb index 98d40e47..96c91cf9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_must_support_test.rb @@ -15,7 +15,7 @@ class OrganizationMustSupportTest < Inferno::Test Statement. This test will look through the Organization resources found previously for the following must support elements: - * Organization.active + * Organization.active * Organization.address * Organization.address.city * Organization.address.country diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb index d3046a57..570e4550 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization/organization_validation_test.rb @@ -9,16 +9,16 @@ class OrganizationValidationTest < Inferno::Test id :c4bb_v200_organization_validation_test title 'Organization resources returned during previous tests conform to the C4BB Organization' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb index b2b91e5c..68c469ce 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/organization_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200 class OrganizationGroup < Inferno::TestGroup title 'Organization Tests' short_description 'Verify support for the server capabilities required by the C4BB Organization.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Organization sequence verifies that the system under test is - able to provide correct responses for Organization queries. These queries - must contain resources conforming to the C4BB Organization as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button Organization sequence verifies that the system under test is +able to provide correct responses for Organization queries. These queries +must contain resources conforming to the C4BB Organization as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Organization resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Organization resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Organization resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Organization resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Organization](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Organization). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_must_support_test.rb index f2a0d860..668a28a9 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_must_support_test.rb @@ -15,7 +15,7 @@ class PatientMustSupportTest < Inferno::Test Statement. This test will look through the Patient resources found previously for the following must support elements: - * Patient.address + * Patient.address * Patient.address.city * Patient.address.country * Patient.address.line diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb index 404e2760..5fa15248 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient/patient_validation_test.rb @@ -9,16 +9,16 @@ class PatientValidationTest < Inferno::Test id :c4bb_v200_patient_validation_test title 'Patient resources returned during previous tests conform to the C4BB Patient' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). +Systems must demonstrate at least one valid example in order to pass this test. + +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. ) output :dar_code_found, :dar_extension_found diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb index 4dff488e..18fbc462 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/patient_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200 class PatientGroup < Inferno::TestGroup title 'Patient Tests' short_description 'Verify support for the server capabilities required by the C4BB Patient.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Patient sequence verifies that the system under test is - able to provide correct responses for Patient queries. These queries - must contain resources conforming to the C4BB Patient as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button Patient sequence verifies that the system under test is +able to provide correct responses for Patient queries. These queries +must contain resources conforming to the C4BB Patient as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Patient resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Patient resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Patient resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Patient resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Patient](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_must_support_test.rb index 3c661433..d281cfd3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_must_support_test.rb @@ -15,7 +15,7 @@ class PractitionerMustSupportTest < Inferno::Test Statement. This test will look through the Practitioner resources found previously for the following must support elements: - * Practitioner.identifier + * Practitioner.identifier * Practitioner.identifier:NPI * Practitioner.identifier:tax * Practitioner.meta diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb index 59961ea5..cf4c202a 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner/practitioner_validation_test.rb @@ -9,16 +9,15 @@ class PractitionerValidationTest < Inferno::Test id :c4bb_v200_practitioner_validation_test title 'Practitioner resources returned during previous tests conform to the C4BB Practitioner' - description %( - This test verifies resources returned from the first search conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb index 7880ade9..89bce9a3 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/practitioner_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200 class PractitionerGroup < Inferno::TestGroup title 'Practitioner Tests' short_description 'Verify support for the server capabilities required by the C4BB Practitioner.' - description %( - # Background + description %(# Background - The CARIN for Blue Button Practitioner sequence verifies that the system under test is - able to provide correct responses for Practitioner queries. These queries - must contain resources conforming to the C4BB Practitioner as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button Practitioner sequence verifies that the system under test is +able to provide correct responses for Practitioner queries. These queries +must contain resources conforming to the C4BB Practitioner as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - Practitioner resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +Practitioner resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the Practitioner resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the Practitioner resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB Practitioner](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Practitioner). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_must_support_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_must_support_test.rb index 84a69064..1664e62f 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_must_support_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_must_support_test.rb @@ -15,7 +15,7 @@ class RelatedPersonMustSupportTest < Inferno::Test Statement. This test will look through the RelatedPerson resources found previously for the following must support elements: - * RelatedPerson.active + * RelatedPerson.active * RelatedPerson.address * RelatedPerson.meta * RelatedPerson.meta.lastUpdated diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb index cd9bc94e..ef8a41ce 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person/related_person_validation_test.rb @@ -9,16 +9,15 @@ class RelatedPersonValidationTest < Inferno::Test id :c4bb_v200_related_person_validation_test title 'RelatedPerson resources returned during previous tests conform to the C4BB RelatedPerson' - description %( - This test verifies resources returned from the first search conform to - the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). - Systems must demonstrate at least one valid example in order to pass this test. + description %(This test verifies resources returned from the first search conform to +the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). +Systems must demonstrate at least one valid example in order to pass this test. - It verifies the presence of mandatory elements and that elements with - required bindings contain appropriate values. CodeableConcept element - bindings will fail if none of their codings have a code/system belonging - to the bound ValueSet. Quantity, Coding, and code element bindings will - fail if their code/system are not found in the valueset. +It verifies the presence of mandatory elements and that elements with +required bindings contain appropriate values. CodeableConcept element +bindings will fail if none of their codings have a code/system belonging +to the bound ValueSet. Quantity, Coding, and code element bindings will +fail if their code/system are not found in the valueset. ) diff --git a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb index f16830a1..37c4a08b 100644 --- a/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb +++ b/lib/carin_for_blue_button_test_kit/generated/v2.0.0/related_person_group.rb @@ -7,61 +7,60 @@ module CARIN4BBV200 class RelatedPersonGroup < Inferno::TestGroup title 'RelatedPerson Tests' short_description 'Verify support for the server capabilities required by the C4BB RelatedPerson.' - description %( - # Background + description %(# Background - The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is - able to provide correct responses for RelatedPerson queries. These queries - must contain resources conforming to the C4BB RelatedPerson as - specified in the CARIN for Blue Button v2.0.0 Implementation Guide. +The CARIN for Blue Button RelatedPerson sequence verifies that the system under test is +able to provide correct responses for RelatedPerson queries. These queries +must contain resources conforming to the C4BB RelatedPerson as +specified in the CARIN for Blue Button v2.0.0 Implementation Guide. - # Testing Methodology - ## Searching - This test sequence will first perform each required search associated - with this resource. This sequence will perform searches with the - following parameters: +# Testing Methodology +## Searching +This test sequence will first perform each required search associated +with this resource. This sequence will perform searches with the +following parameters: - * _id +* _id - ### Search Parameters - The first search uses the selected patient(s) from the prior launch - sequence. Any subsequent searches will look for its parameter values - from the results of the first search. For example, the `identifier` - search in the patient sequence is performed by looking for an existing - `Patient.identifier` from any of the resources returned in the `_id` - search. If a value cannot be found this way, the search is skipped. +### Search Parameters +The first search uses the selected patient(s) from the prior launch +sequence. Any subsequent searches will look for its parameter values +from the results of the first search. For example, the `identifier` +search in the patient sequence is performed by looking for an existing +`Patient.identifier` from any of the resources returned in the `_id` +search. If a value cannot be found this way, the search is skipped. - ### Search Validation - Inferno will retrieve up to the first 20 bundle pages of the reply for - RelatedPerson resources and save them for subsequent tests. - Each resource is then checked to see if it matches the searched - parameters in accordance with [FHIR search - guidelines](https://www.hl7.org/fhir/search.html). The test will fail, - for example, if a Patient search for `gender=male` returns a `female` - patient. +### Search Validation +Inferno will retrieve up to the first 20 bundle pages of the reply for +RelatedPerson resources and save them for subsequent tests. +Each resource is then checked to see if it matches the searched +parameters in accordance with [FHIR search +guidelines](https://www.hl7.org/fhir/search.html). The test will fail, +for example, if a Patient search for `gender=male` returns a `female` +patient. - ## Must Support - Each profile contains elements marked as "must support". This test - sequence expects to see each of these elements at least once. If at - least one cannot be found, the test will fail. The test will look - through the RelatedPerson resources found in the first test for these - elements. +## Must Support +Each profile contains elements marked as "must support". This test +sequence expects to see each of these elements at least once. If at +least one cannot be found, the test will fail. The test will look +through the RelatedPerson resources found in the first test for these +elements. - ## Profile Validation - Each resource returned from the first search is expected to conform to - the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against - terminology binding and cardinality requirements. +## Profile Validation +Each resource returned from the first search is expected to conform to +the [C4BB RelatedPerson](http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-RelatedPerson). Each element is checked against +terminology binding and cardinality requirements. - Elements with a required binding are validated against their bound - ValueSet. If the code/system in the element is not part of the ValueSet, - then the test will fail. +Elements with a required binding are validated against their bound +ValueSet. If the code/system in the element is not part of the ValueSet, +then the test will fail. - ## Reference Validation - At least one instance of each external reference in elements marked as - "must support" within the resources provided by the system must resolve. - The test will attempt to read each reference found and will fail if no - read succeeds. +## Reference Validation +At least one instance of each external reference in elements marked as +"must support" within the resources provided by the system must resolve. +The test will attempt to read each reference found and will fail if no +read succeeds. ) diff --git a/lib/carin_for_blue_button_test_kit/generator/templates/group.rb.erb b/lib/carin_for_blue_button_test_kit/generator/templates/group.rb.erb index fd9b0812..d5be2919 100644 --- a/lib/carin_for_blue_button_test_kit/generator/templates/group.rb.erb +++ b/lib/carin_for_blue_button_test_kit/generator/templates/group.rb.erb @@ -5,8 +5,8 @@ class <%= class_name %> < Inferno::TestGroup title '<%= title %> Tests' short_description '<%= short_description %>' - description %( - <%= description %> + description %(<%= + description %> ) id :<%= group_id %> diff --git a/lib/carin_for_blue_button_test_kit/generator/templates/include_search.rb.erb b/lib/carin_for_blue_button_test_kit/generator/templates/include_search.rb.erb index 0acda4b3..68d77bd6 100644 --- a/lib/carin_for_blue_button_test_kit/generator/templates/include_search.rb.erb +++ b/lib/carin_for_blue_button_test_kit/generator/templates/include_search.rb.erb @@ -7,8 +7,8 @@ module CarinForBlueButtonTestKit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for <%= resource_type %> search by id + _include=<%= search_param %>' - description %( -<%= description %> + description %(<%= + description %> ) def self.properties diff --git a/lib/carin_for_blue_button_test_kit/generator/templates/must_support.rb.erb b/lib/carin_for_blue_button_test_kit/generator/templates/must_support.rb.erb index dbcc3f43..6bf17bc5 100644 --- a/lib/carin_for_blue_button_test_kit/generator/templates/must_support.rb.erb +++ b/lib/carin_for_blue_button_test_kit/generator/templates/must_support.rb.erb @@ -15,11 +15,11 @@ module CarinForBlueButtonTestKit Statement. This test will look through the <%= resource_type %> resources found previously for the following must support elements: -<%= must_support_list_string %><% if uscdi_list_string.present? %> + <%= must_support_list_string %><% if uscdi_list_string.present? %> For ONC USCDI requirements, each <%= resource_type %> must support the following additional elements: -<%= uscdi_list_string %><% end %> + <%= uscdi_list_string %><% end %> ) id :<%= test_id %> diff --git a/lib/carin_for_blue_button_test_kit/generator/templates/search.rb.erb b/lib/carin_for_blue_button_test_kit/generator/templates/search.rb.erb index 06e190bb..f8d07911 100644 --- a/lib/carin_for_blue_button_test_kit/generator/templates/search.rb.erb +++ b/lib/carin_for_blue_button_test_kit/generator/templates/search.rb.erb @@ -7,8 +7,8 @@ module CarinForBlueButtonTestKit include CarinForBlueButtonTestKit::CarinSearchTest title 'Server returns valid results for <%= resource_type %> search by <%= search_param_name_string %>' - description %( -<%= description %> + description %(<%= + description %> ) id :<%= test_id %> diff --git a/lib/carin_for_blue_button_test_kit/generator/templates/validation.rb.erb b/lib/carin_for_blue_button_test_kit/generator/templates/validation.rb.erb index 6eb9a9f3..8491aa6b 100644 --- a/lib/carin_for_blue_button_test_kit/generator/templates/validation.rb.erb +++ b/lib/carin_for_blue_button_test_kit/generator/templates/validation.rb.erb @@ -9,8 +9,8 @@ module CarinForBlueButtonTestKit id :<%= test_id %> title '<%= resource_type %> resources returned during previous tests conform to the <%= profile_name %>' - description %( -<%= description %> + description %(<%= + description %> ) output :dar_code_found, :dar_extension_found