us_core_test_kit 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +128 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +23 -15
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +8 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +6 -4
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +1 -1
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +172 -0
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance_group.rb +88 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +385 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +307 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_role_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_status_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_reference_resolution_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_role_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +192 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +374 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +387 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_search_test.rb +67 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_type_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1155 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1273 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1293 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_must_support_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +394 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_class_patient_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_date_patient_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_identifier_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_location_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_type_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +447 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_description_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_target_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1219 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +220 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_must_support_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_search_test.rb +70 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_validation_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +355 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request_group.rb +95 -0
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +22745 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +766 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1305 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1305 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +383 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +308 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1329 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_must_support_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_reference_resolution_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +161 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_address_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_name_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization_group.rb +85 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +364 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_family_gender_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_gender_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_id_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_must_support_test.rb +66 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient_group.rb +100 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +185 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_id_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_group.rb +87 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1276 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_must_support_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_date_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +201 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance_group.rb +59 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +405 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +59 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +123 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person_group.rb +88 -0
- data/lib/us_core_test_kit/generated/v5.0.1/resource_list.rb +31 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +336 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1335 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_authored_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_authored_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_reference_resolution_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +310 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +132 -0
- data/lib/us_core_test_kit/generator/group_generator.rb +16 -2
- data/lib/us_core_test_kit/generator/group_metadata.rb +11 -9
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +17 -4
- data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +13 -5
- data/lib/us_core_test_kit/generator/ig_resources.rb +2 -1
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +110 -27
- data/lib/us_core_test_kit/generator/must_support_test_generator.rb +2 -1
- data/lib/us_core_test_kit/generator/naming.rb +1 -1
- data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +32 -18
- data/lib/us_core_test_kit/generator/special_cases.rb +3 -1
- data/lib/us_core_test_kit/generator/suite_generator.rb +10 -2
- data/lib/us_core_test_kit/generator/terminology_binding_metadata_extractor.rb +3 -0
- data/lib/us_core_test_kit/igs/us_core_501.tgz +0 -0
- data/lib/us_core_test_kit/must_support_test.rb +47 -21
- data/lib/us_core_test_kit/reference_resolution_test.rb +13 -2
- data/lib/us_core_test_kit/search_test.rb +17 -1
- data/lib/us_core_test_kit/version.rb +1 -1
- data/lib/us_core_test_kit.rb +1 -0
- metadata +463 -2
@@ -0,0 +1,63 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class CareTeamPatientStatusSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for CareTeam search by patient + status'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + status on the CareTeam resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
This test verifies that the server supports searching by reference using
|
17
|
+
the form `patient=[id]` as well as `patient=Patient/[id]`. The two
|
18
|
+
different forms are expected to return the same number of results. US
|
19
|
+
Core requires that both forms are supported by US Core responders.
|
20
|
+
|
21
|
+
Because this is the first search of the sequence, resources in the
|
22
|
+
response will be used for subsequent tests.
|
23
|
+
|
24
|
+
Additionally, this test will check that GET and POST search methods
|
25
|
+
return the same number of results. Search by POST is required by the
|
26
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
27
|
+
requirement of US Core v5.0.1.
|
28
|
+
|
29
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
30
|
+
|
31
|
+
)
|
32
|
+
|
33
|
+
id :us_core_v501_care_team_patient_status_search_test
|
34
|
+
input :patient_ids,
|
35
|
+
title: 'Patient IDs',
|
36
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
37
|
+
|
38
|
+
def self.properties
|
39
|
+
@properties ||= SearchTestProperties.new(
|
40
|
+
first_search: true,
|
41
|
+
fixed_value_search: true,
|
42
|
+
resource_type: 'CareTeam',
|
43
|
+
search_param_names: ['patient', 'status'],
|
44
|
+
saves_delayed_references: true,
|
45
|
+
test_reference_variants: true,
|
46
|
+
test_post_search: true
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.metadata
|
51
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
52
|
+
end
|
53
|
+
|
54
|
+
def scratch_resources
|
55
|
+
scratch[:care_team_resources] ||= {}
|
56
|
+
end
|
57
|
+
|
58
|
+
run do
|
59
|
+
run_search_test
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_provenance_revinclude_search_test.rb
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class CareTeamProvenanceRevincludeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns Provenance resources from CareTeam search by patient + status + revInclude:Provenance:target'
|
10
|
+
description %(
|
11
|
+
A server SHALL be capable of supporting _revIncludes:Provenance:target.
|
12
|
+
|
13
|
+
This test will perform a search by patient + status + revInclude:Provenance:target and
|
14
|
+
will pass if a Provenance resource is found in the response.
|
15
|
+
%)
|
16
|
+
|
17
|
+
id :us_core_v501_care_team_provenance_revinclude_search_test
|
18
|
+
|
19
|
+
input :patient_ids,
|
20
|
+
title: 'Patient IDs',
|
21
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
22
|
+
|
23
|
+
def properties
|
24
|
+
@properties ||= SearchTestProperties.new(
|
25
|
+
fixed_value_search: true,
|
26
|
+
resource_type: 'CareTeam',
|
27
|
+
search_param_names: ['patient', 'status']
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.metadata
|
32
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.provenance_metadata
|
36
|
+
@provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml')))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:care_team_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
def scratch_provenance_resources
|
44
|
+
scratch[:provenance_resources] ||= {}
|
45
|
+
end
|
46
|
+
|
47
|
+
run do
|
48
|
+
run_provenance_revinclude_search_test
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class CareTeamReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct CareTeam resource from CareTeam read interaction'
|
9
|
+
description 'A server SHALL support the CareTeam read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v501_care_team_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'CareTeam'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:care_team_resources] ||= {}
|
19
|
+
end
|
20
|
+
|
21
|
+
run do
|
22
|
+
perform_read_test(all_scratch_resources)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class CareTeamReferenceResolutionTest < Inferno::Test
|
7
|
+
include USCoreTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within CareTeam resources can be read'
|
11
|
+
description %(
|
12
|
+
This test will attempt to read external references provided within elements
|
13
|
+
marked as 'MustSupport', if any are available. Elements which may provide
|
14
|
+
external references include:
|
15
|
+
|
16
|
+
* CareTeam.participant.member
|
17
|
+
* CareTeam.subject
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v501_care_team_reference_resolution_test
|
21
|
+
|
22
|
+
def resource_type
|
23
|
+
'CareTeam'
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.metadata
|
27
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
28
|
+
end
|
29
|
+
|
30
|
+
def scratch_resources
|
31
|
+
scratch[:care_team_resources] ||= {}
|
32
|
+
end
|
33
|
+
|
34
|
+
run do
|
35
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class CareTeamRoleSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for CareTeam search by role'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
role on the CareTeam resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v501_care_team_role_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
def self.properties
|
24
|
+
@properties ||= SearchTestProperties.new(
|
25
|
+
resource_type: 'CareTeam',
|
26
|
+
search_param_names: ['role'],
|
27
|
+
possible_status_search: true,
|
28
|
+
token_search_params: ['role']
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.metadata
|
33
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
34
|
+
end
|
35
|
+
|
36
|
+
def scratch_resources
|
37
|
+
scratch[:care_team_resources] ||= {}
|
38
|
+
end
|
39
|
+
|
40
|
+
run do
|
41
|
+
run_search_test
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class CareTeamValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v501_care_team_validation_test
|
9
|
+
title 'CareTeam resources returned during previous tests conform to the US Core CareTeam Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core CareTeam Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam).
|
13
|
+
Systems must demonstrate at least one valid example in order to pass this test.
|
14
|
+
|
15
|
+
It verifies the presence of mandatory elements and that elements with
|
16
|
+
required bindings contain appropriate values. CodeableConcept element
|
17
|
+
bindings will fail if none of their codings have a code/system belonging
|
18
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
19
|
+
fail if their code/system are not found in the valueset.
|
20
|
+
|
21
|
+
)
|
22
|
+
output :dar_code_found, :dar_extension_found
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'CareTeam'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:care_team_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam',
|
35
|
+
'5.0.1',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,192 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_careteam
|
3
|
+
:class_name: USCorev501CareteamSequence
|
4
|
+
:version: v5.0.1
|
5
|
+
:reformatted_version: v501
|
6
|
+
:resource: CareTeam
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
|
8
|
+
:profile_name: US Core CareTeam Profile
|
9
|
+
:profile_version: 5.0.1
|
10
|
+
:title: CareTeam
|
11
|
+
:short_description: Verify support for the server capabilities required by the US
|
12
|
+
Core CareTeam Profile.
|
13
|
+
:interactions:
|
14
|
+
- :code: create
|
15
|
+
:expectation: MAY
|
16
|
+
- :code: search-type
|
17
|
+
:expectation: SHALL
|
18
|
+
- :code: read
|
19
|
+
:expectation: SHALL
|
20
|
+
- :code: vread
|
21
|
+
:expectation: SHOULD
|
22
|
+
- :code: update
|
23
|
+
:expectation: MAY
|
24
|
+
- :code: patch
|
25
|
+
:expectation: MAY
|
26
|
+
- :code: delete
|
27
|
+
:expectation: MAY
|
28
|
+
- :code: history-instance
|
29
|
+
:expectation: SHOULD
|
30
|
+
- :code: history-type
|
31
|
+
:expectation: MAY
|
32
|
+
:operations: []
|
33
|
+
:searches:
|
34
|
+
- :expectation: SHALL
|
35
|
+
:names:
|
36
|
+
- patient
|
37
|
+
- status
|
38
|
+
:names_not_must_support_or_mandatory: []
|
39
|
+
:must_support_or_mandatory: true
|
40
|
+
- :names:
|
41
|
+
- role
|
42
|
+
:expectation: SHOULD
|
43
|
+
:names_not_must_support_or_mandatory: []
|
44
|
+
:must_support_or_mandatory: true
|
45
|
+
- :expectation: SHOULD
|
46
|
+
:names:
|
47
|
+
- patient
|
48
|
+
- role
|
49
|
+
:names_not_must_support_or_mandatory: []
|
50
|
+
:must_support_or_mandatory: true
|
51
|
+
:search_definitions:
|
52
|
+
:role:
|
53
|
+
:paths:
|
54
|
+
- participant.role
|
55
|
+
:full_paths:
|
56
|
+
- CareTeam.participant.role
|
57
|
+
:comparators: {}
|
58
|
+
:values: []
|
59
|
+
:type: CodeableConcept
|
60
|
+
:contains_multiple: false
|
61
|
+
:multiple_or: MAY
|
62
|
+
:patient:
|
63
|
+
:paths:
|
64
|
+
- subject
|
65
|
+
:full_paths:
|
66
|
+
- CareTeam.subject
|
67
|
+
:comparators: {}
|
68
|
+
:values: []
|
69
|
+
:type: Reference
|
70
|
+
:contains_multiple: false
|
71
|
+
:multiple_or: MAY
|
72
|
+
:status:
|
73
|
+
:paths:
|
74
|
+
- status
|
75
|
+
:full_paths:
|
76
|
+
- CareTeam.status
|
77
|
+
:comparators: {}
|
78
|
+
:values:
|
79
|
+
- proposed
|
80
|
+
- active
|
81
|
+
- suspended
|
82
|
+
- inactive
|
83
|
+
- entered-in-error
|
84
|
+
:type: code
|
85
|
+
:contains_multiple: false
|
86
|
+
:multiple_or: SHOULD
|
87
|
+
:include_params:
|
88
|
+
- CareTeam:participant:PractitionerRole
|
89
|
+
- CareTeam:participant:Practitioner
|
90
|
+
- CareTeam:participant:Patient
|
91
|
+
- CareTeam:participant:RelatedPerson
|
92
|
+
:revincludes:
|
93
|
+
- Provenance:target
|
94
|
+
:required_concepts: []
|
95
|
+
:must_supports:
|
96
|
+
:extensions: []
|
97
|
+
:slices: []
|
98
|
+
:elements:
|
99
|
+
- :path: status
|
100
|
+
- :path: subject
|
101
|
+
:types:
|
102
|
+
- Reference
|
103
|
+
- :path: participant
|
104
|
+
- :path: participant.role
|
105
|
+
- :path: participant.member
|
106
|
+
:types:
|
107
|
+
- Reference
|
108
|
+
:target_profiles:
|
109
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
110
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
111
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
|
112
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
|
113
|
+
:choices:
|
114
|
+
- :target_profiles:
|
115
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
116
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
|
117
|
+
:mandatory_elements:
|
118
|
+
- CareTeam.subject
|
119
|
+
- CareTeam.participant
|
120
|
+
- CareTeam.participant.role
|
121
|
+
- CareTeam.participant.member
|
122
|
+
:bindings:
|
123
|
+
- :type: code
|
124
|
+
:strength: preferred
|
125
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
126
|
+
:path: language
|
127
|
+
- :type: code
|
128
|
+
:strength: required
|
129
|
+
:system: http://hl7.org/fhir/ValueSet/care-team-status
|
130
|
+
:path: status
|
131
|
+
- :type: CodeableConcept
|
132
|
+
:strength: example
|
133
|
+
:system: http://hl7.org/fhir/ValueSet/care-team-category
|
134
|
+
:path: category
|
135
|
+
- :type: CodeableConcept
|
136
|
+
:strength: extensible
|
137
|
+
:system: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30
|
138
|
+
:path: participant.role
|
139
|
+
- :type: CodeableConcept
|
140
|
+
:strength: example
|
141
|
+
:system: http://hl7.org/fhir/ValueSet/clinical-findings
|
142
|
+
:path: reasonCode
|
143
|
+
:references:
|
144
|
+
- :path: CareTeam.subject
|
145
|
+
:profiles:
|
146
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
147
|
+
- :path: CareTeam.encounter
|
148
|
+
:profiles:
|
149
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
150
|
+
- :path: CareTeam.participant.member
|
151
|
+
:profiles:
|
152
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
153
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
|
154
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
155
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
|
156
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
|
157
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
|
158
|
+
- :path: CareTeam.participant.onBehalfOf
|
159
|
+
:profiles:
|
160
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
161
|
+
- :path: CareTeam.reasonReference
|
162
|
+
:profiles:
|
163
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
164
|
+
- :path: CareTeam.managingOrganization
|
165
|
+
:profiles:
|
166
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
167
|
+
:tests:
|
168
|
+
- :id: us_core_v501_care_team_patient_status_search_test
|
169
|
+
:file_name: care_team_patient_status_search_test.rb
|
170
|
+
- :id: us_core_v501_care_team_role_search_test
|
171
|
+
:file_name: care_team_role_search_test.rb
|
172
|
+
- :id: us_core_v501_care_team_patient_role_search_test
|
173
|
+
:file_name: care_team_patient_role_search_test.rb
|
174
|
+
- :id: us_core_v501_care_team_read_test
|
175
|
+
:file_name: care_team_read_test.rb
|
176
|
+
- :id: us_core_v501_care_team_provenance_revinclude_search_test
|
177
|
+
:file_name: care_team_provenance_revinclude_search_test.rb
|
178
|
+
- :id: us_core_v501_care_team_validation_test
|
179
|
+
:file_name: care_team_validation_test.rb
|
180
|
+
- :id: us_core_v501_care_team_must_support_test
|
181
|
+
:file_name: care_team_must_support_test.rb
|
182
|
+
- :id: us_core_v501_care_team_reference_resolution_test
|
183
|
+
:file_name: care_team_reference_resolution_test.rb
|
184
|
+
:id: us_core_v501_care_team
|
185
|
+
:file_name: care_team_group.rb
|
186
|
+
:delayed_references:
|
187
|
+
- :path: participant.member
|
188
|
+
:resources:
|
189
|
+
- Practitioner
|
190
|
+
- Organization
|
191
|
+
- PractitionerRole
|
192
|
+
- RelatedPerson
|
@@ -0,0 +1,90 @@
|
|
1
|
+
require_relative 'care_team/care_team_patient_status_search_test'
|
2
|
+
require_relative 'care_team/care_team_role_search_test'
|
3
|
+
require_relative 'care_team/care_team_patient_role_search_test'
|
4
|
+
require_relative 'care_team/care_team_read_test'
|
5
|
+
require_relative 'care_team/care_team_provenance_revinclude_search_test'
|
6
|
+
require_relative 'care_team/care_team_validation_test'
|
7
|
+
require_relative 'care_team/care_team_must_support_test'
|
8
|
+
require_relative 'care_team/care_team_reference_resolution_test'
|
9
|
+
|
10
|
+
module USCoreTestKit
|
11
|
+
module USCoreV501
|
12
|
+
class CareTeamGroup < Inferno::TestGroup
|
13
|
+
title 'CareTeam Tests'
|
14
|
+
short_description 'Verify support for the server capabilities required by the US Core CareTeam Profile.'
|
15
|
+
description %(
|
16
|
+
# Background
|
17
|
+
|
18
|
+
The US Core CareTeam sequence verifies that the system under test is
|
19
|
+
able to provide correct responses for CareTeam queries. These queries
|
20
|
+
must contain resources conforming to the US Core CareTeam Profile as
|
21
|
+
specified in the US Core v5.0.1 Implementation Guide.
|
22
|
+
|
23
|
+
# Testing Methodology
|
24
|
+
## Searching
|
25
|
+
This test sequence will first perform each required search associated
|
26
|
+
with this resource. This sequence will perform searches with the
|
27
|
+
following parameters:
|
28
|
+
|
29
|
+
* patient + status
|
30
|
+
|
31
|
+
### Search Parameters
|
32
|
+
The first search uses the selected patient(s) from the prior launch
|
33
|
+
sequence. Any subsequent searches will look for its parameter values
|
34
|
+
from the results of the first search. For example, the `identifier`
|
35
|
+
search in the patient sequence is performed by looking for an existing
|
36
|
+
`Patient.identifier` from any of the resources returned in the `_id`
|
37
|
+
search. If a value cannot be found this way, the search is skipped.
|
38
|
+
|
39
|
+
### Search Validation
|
40
|
+
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
41
|
+
CareTeam resources and save them for subsequent tests. Each of
|
42
|
+
these resources is then checked to see if it matches the searched
|
43
|
+
parameters in accordance with [FHIR search
|
44
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
45
|
+
for example, if a Patient search for `gender=male` returns a `female`
|
46
|
+
patient.
|
47
|
+
|
48
|
+
|
49
|
+
## Must Support
|
50
|
+
Each profile contains elements marked as "must support". This test
|
51
|
+
sequence expects to see each of these elements at least once. If at
|
52
|
+
least one cannot be found, the test will fail. The test will look
|
53
|
+
through the CareTeam resources found in the first test for these
|
54
|
+
elements.
|
55
|
+
|
56
|
+
## Profile Validation
|
57
|
+
Each resource returned from the first search is expected to conform to
|
58
|
+
the [US Core CareTeam Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam). Each element is checked against
|
59
|
+
teminology binding and cardinality requirements.
|
60
|
+
|
61
|
+
Elements with a required binding are validated against their bound
|
62
|
+
ValueSet. If the code/system in the element is not part of the ValueSet,
|
63
|
+
then the test will fail.
|
64
|
+
|
65
|
+
## Reference Validation
|
66
|
+
At least one instance of each external reference in elements marked as
|
67
|
+
"must support" within the resources provided by the system must resolve.
|
68
|
+
The test will attempt to read each reference found and will fail if no
|
69
|
+
read succeeds.
|
70
|
+
|
71
|
+
)
|
72
|
+
|
73
|
+
id :us_core_v501_care_team
|
74
|
+
run_as_group
|
75
|
+
|
76
|
+
def self.metadata
|
77
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'care_team', 'metadata.yml')))
|
78
|
+
end
|
79
|
+
|
80
|
+
test from: :us_core_v501_care_team_patient_status_search_test
|
81
|
+
test from: :us_core_v501_care_team_role_search_test
|
82
|
+
test from: :us_core_v501_care_team_patient_role_search_test
|
83
|
+
test from: :us_core_v501_care_team_read_test
|
84
|
+
test from: :us_core_v501_care_team_provenance_revinclude_search_test
|
85
|
+
test from: :us_core_v501_care_team_validation_test
|
86
|
+
test from: :us_core_v501_care_team_must_support_test
|
87
|
+
test from: :us_core_v501_care_team_reference_resolution_test
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class ConditionEncounterDiagnosisMustSupportTest < Inferno::Test
|
6
|
+
include USCoreTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the Condition resources returned'
|
9
|
+
description %(
|
10
|
+
US Core Responders SHALL be capable of populating all data elements as
|
11
|
+
part of the query results as specified by the US Core Server Capability
|
12
|
+
Statement. This test will look through the Condition resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
* Condition.abatementDateTime
|
16
|
+
* Condition.category
|
17
|
+
* Condition.category:us-core
|
18
|
+
* Condition.clinicalStatus
|
19
|
+
* Condition.code
|
20
|
+
* Condition.encounter
|
21
|
+
* Condition.extension:assertedDate
|
22
|
+
* Condition.onsetDateTime
|
23
|
+
* Condition.recordedDate
|
24
|
+
* Condition.subject
|
25
|
+
* Condition.verificationStatus
|
26
|
+
)
|
27
|
+
|
28
|
+
id :us_core_v501_condition_encounter_diagnosis_must_support_test
|
29
|
+
|
30
|
+
def resource_type
|
31
|
+
'Condition'
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.metadata
|
35
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
36
|
+
end
|
37
|
+
|
38
|
+
def scratch_resources
|
39
|
+
scratch[:condition_encounter_diagnosis_resources] ||= {}
|
40
|
+
end
|
41
|
+
|
42
|
+
run do
|
43
|
+
perform_must_support_test(all_scratch_resources)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class ConditionEncounterDiagnosisPatientAbatementDateSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Condition search by patient + abatement-date'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + abatement-date on the Condition resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v501_condition_encounter_diagnosis_patient_abatement_date_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
input :patient_ids,
|
24
|
+
title: 'Patient IDs',
|
25
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
26
|
+
|
27
|
+
def self.properties
|
28
|
+
@properties ||= SearchTestProperties.new(
|
29
|
+
resource_type: 'Condition',
|
30
|
+
search_param_names: ['patient', 'abatement-date'],
|
31
|
+
possible_status_search: true,
|
32
|
+
params_with_comparators: ['abatement-date']
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:condition_encounter_diagnosis_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_search_test
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|