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,51 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class MedicationRequestPatientIntentStatusSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for MedicationRequest search by patient + intent + status'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + intent + status on the MedicationRequest 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
|
+
If any MedicationRequest resources use external references to
|
17
|
+
Medications, the search will be repeated with
|
18
|
+
`_include=MedicationRequest:medication`.
|
19
|
+
|
20
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
21
|
+
|
22
|
+
)
|
23
|
+
|
24
|
+
id :us_core_v501_medication_request_patient_intent_status_search_test
|
25
|
+
input :patient_ids,
|
26
|
+
title: 'Patient IDs',
|
27
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
28
|
+
|
29
|
+
def self.properties
|
30
|
+
@properties ||= SearchTestProperties.new(
|
31
|
+
resource_type: 'MedicationRequest',
|
32
|
+
search_param_names: ['patient', 'intent', 'status'],
|
33
|
+
test_medication_inclusion: true,
|
34
|
+
multiple_or_search_params: ['intent', 'status']
|
35
|
+
)
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.metadata
|
39
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
40
|
+
end
|
41
|
+
|
42
|
+
def scratch_resources
|
43
|
+
scratch[:medication_request_resources] ||= {}
|
44
|
+
end
|
45
|
+
|
46
|
+
run do
|
47
|
+
run_search_test
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class MedicationRequestProvenanceRevincludeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns Provenance resources from MedicationRequest search by patient + intent + 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 + intent + revInclude:Provenance:target and
|
14
|
+
will pass if a Provenance resource is found in the response.
|
15
|
+
%)
|
16
|
+
|
17
|
+
id :us_core_v501_medication_request_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: 'MedicationRequest',
|
27
|
+
search_param_names: ['patient', 'intent'],
|
28
|
+
possible_status_search: true
|
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 self.provenance_metadata
|
37
|
+
@provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml')))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:medication_request_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def scratch_provenance_resources
|
45
|
+
scratch[:provenance_resources] ||= {}
|
46
|
+
end
|
47
|
+
|
48
|
+
run do
|
49
|
+
run_provenance_revinclude_search_test
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class MedicationRequestReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct MedicationRequest resource from MedicationRequest read interaction'
|
9
|
+
description 'A server SHALL support the MedicationRequest read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v501_medication_request_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'MedicationRequest'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:medication_request_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,41 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class MedicationRequestReferenceResolutionTest < Inferno::Test
|
7
|
+
include USCoreTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within MedicationRequest 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
|
+
* MedicationRequest.encounter
|
17
|
+
* MedicationRequest.medication[x]
|
18
|
+
* MedicationRequest.requester
|
19
|
+
* MedicationRequest.subject
|
20
|
+
)
|
21
|
+
|
22
|
+
id :us_core_v501_medication_request_reference_resolution_test
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'MedicationRequest'
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
30
|
+
end
|
31
|
+
|
32
|
+
def scratch_resources
|
33
|
+
scratch[:medication_request_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_validation_test.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class MedicationRequestValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v501_medication_request_validation_test
|
9
|
+
title 'MedicationRequest resources returned during previous tests conform to the US Core MedicationRequest Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core MedicationRequest Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest).
|
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
|
+
'MedicationRequest'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:medication_request_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest',
|
35
|
+
'5.0.1',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class MedicationValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v501_medication_validation_test
|
9
|
+
title 'Medication resources returned during previous tests conform to the US Core Medication Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from previous tests conform to
|
12
|
+
the [US Core Medication Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication).
|
13
|
+
|
14
|
+
It verifies the presence of mandatory elements and that elements with
|
15
|
+
required bindings contain appropriate values. CodeableConcept element
|
16
|
+
bindings will fail if none of their codings have a code/system belonging
|
17
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
18
|
+
fail if their code/system are not found in the valueset.
|
19
|
+
|
20
|
+
)
|
21
|
+
output :dar_code_found, :dar_extension_found
|
22
|
+
|
23
|
+
def resource_type
|
24
|
+
'Medication'
|
25
|
+
end
|
26
|
+
|
27
|
+
def scratch_resources
|
28
|
+
scratch[:medication_resources] ||= {}
|
29
|
+
end
|
30
|
+
|
31
|
+
run do
|
32
|
+
perform_validation_test(scratch_resources[:all] || [],
|
33
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication',
|
34
|
+
'5.0.1',
|
35
|
+
skip_if_empty: false)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,355 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_medicationrequest
|
3
|
+
:class_name: USCorev501MedicationrequestSequence
|
4
|
+
:version: v5.0.1
|
5
|
+
:reformatted_version: v501
|
6
|
+
:resource: MedicationRequest
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
|
8
|
+
:profile_name: US Core MedicationRequest Profile
|
9
|
+
:profile_version: 5.0.1
|
10
|
+
:title: MedicationRequest
|
11
|
+
:short_description: Verify support for the server capabilities required by the US
|
12
|
+
Core MedicationRequest 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
|
+
- intent
|
38
|
+
:names_not_must_support_or_mandatory: []
|
39
|
+
:must_support_or_mandatory: true
|
40
|
+
- :expectation: SHALL
|
41
|
+
:names:
|
42
|
+
- patient
|
43
|
+
- intent
|
44
|
+
- status
|
45
|
+
:names_not_must_support_or_mandatory: []
|
46
|
+
:must_support_or_mandatory: true
|
47
|
+
- :expectation: SHOULD
|
48
|
+
:names:
|
49
|
+
- patient
|
50
|
+
- intent
|
51
|
+
- authoredon
|
52
|
+
:names_not_must_support_or_mandatory: []
|
53
|
+
:must_support_or_mandatory: true
|
54
|
+
- :expectation: SHOULD
|
55
|
+
:names:
|
56
|
+
- patient
|
57
|
+
- intent
|
58
|
+
- encounter
|
59
|
+
:names_not_must_support_or_mandatory: []
|
60
|
+
:must_support_or_mandatory: true
|
61
|
+
:search_definitions:
|
62
|
+
:patient:
|
63
|
+
:paths:
|
64
|
+
- subject
|
65
|
+
:full_paths:
|
66
|
+
- MedicationRequest.subject
|
67
|
+
:comparators: {}
|
68
|
+
:values: []
|
69
|
+
:type: Reference
|
70
|
+
:contains_multiple: false
|
71
|
+
:multiple_or: MAY
|
72
|
+
:intent:
|
73
|
+
:paths:
|
74
|
+
- intent
|
75
|
+
:full_paths:
|
76
|
+
- MedicationRequest.intent
|
77
|
+
:comparators: {}
|
78
|
+
:values:
|
79
|
+
- proposal
|
80
|
+
- plan
|
81
|
+
- order
|
82
|
+
- original-order
|
83
|
+
- reflex-order
|
84
|
+
- filler-order
|
85
|
+
- instance-order
|
86
|
+
- option
|
87
|
+
:type: code
|
88
|
+
:contains_multiple: false
|
89
|
+
:multiple_or: SHALL
|
90
|
+
:status:
|
91
|
+
:paths:
|
92
|
+
- status
|
93
|
+
:full_paths:
|
94
|
+
- MedicationRequest.status
|
95
|
+
:comparators: {}
|
96
|
+
:values:
|
97
|
+
- active
|
98
|
+
- on-hold
|
99
|
+
- cancelled
|
100
|
+
- completed
|
101
|
+
- entered-in-error
|
102
|
+
- stopped
|
103
|
+
- draft
|
104
|
+
- unknown
|
105
|
+
:type: code
|
106
|
+
:contains_multiple: false
|
107
|
+
:multiple_or: SHALL
|
108
|
+
:authoredon:
|
109
|
+
:paths:
|
110
|
+
- authoredOn
|
111
|
+
:full_paths:
|
112
|
+
- MedicationRequest.authoredOn
|
113
|
+
:comparators:
|
114
|
+
:eq: MAY
|
115
|
+
:ne: MAY
|
116
|
+
:gt: SHALL
|
117
|
+
:ge: SHALL
|
118
|
+
:lt: SHALL
|
119
|
+
:le: SHALL
|
120
|
+
:sa: MAY
|
121
|
+
:eb: MAY
|
122
|
+
:ap: MAY
|
123
|
+
:values: []
|
124
|
+
:type: dateTime
|
125
|
+
:contains_multiple: false
|
126
|
+
:multiple_or: MAY
|
127
|
+
:encounter:
|
128
|
+
:paths:
|
129
|
+
- encounter
|
130
|
+
:full_paths:
|
131
|
+
- MedicationRequest.encounter
|
132
|
+
:comparators: {}
|
133
|
+
:values: []
|
134
|
+
:type: Reference
|
135
|
+
:contains_multiple: false
|
136
|
+
:multiple_or: MAY
|
137
|
+
:include_params:
|
138
|
+
- MedicationRequest:medication
|
139
|
+
:revincludes:
|
140
|
+
- Provenance:target
|
141
|
+
:required_concepts:
|
142
|
+
- category
|
143
|
+
:must_supports:
|
144
|
+
:extensions: []
|
145
|
+
:slices:
|
146
|
+
- :name: MedicationRequest.category:us-core
|
147
|
+
:path: category
|
148
|
+
:discriminator:
|
149
|
+
:type: requiredBinding
|
150
|
+
:path: ''
|
151
|
+
:values: []
|
152
|
+
:elements:
|
153
|
+
- :path: status
|
154
|
+
- :path: intent
|
155
|
+
- :path: category
|
156
|
+
- :path: reportedBoolean
|
157
|
+
:original_path: reported[x]
|
158
|
+
- :path: reportedReference
|
159
|
+
:original_path: reported[x]
|
160
|
+
:type:
|
161
|
+
- Reference
|
162
|
+
:target_profiles:
|
163
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
164
|
+
- :path: medication[x]
|
165
|
+
:types:
|
166
|
+
- Reference
|
167
|
+
- :path: subject
|
168
|
+
:types:
|
169
|
+
- Reference
|
170
|
+
- :path: encounter
|
171
|
+
:types:
|
172
|
+
- Reference
|
173
|
+
- :path: authoredOn
|
174
|
+
- :path: requester
|
175
|
+
:types:
|
176
|
+
- Reference
|
177
|
+
:target_profiles:
|
178
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
179
|
+
- :path: dosageInstruction
|
180
|
+
- :path: dosageInstruction.text
|
181
|
+
:choices:
|
182
|
+
- :paths:
|
183
|
+
- reportedBoolean
|
184
|
+
- reportedReference
|
185
|
+
:mandatory_elements:
|
186
|
+
- MedicationRequest.status
|
187
|
+
- MedicationRequest.intent
|
188
|
+
- MedicationRequest.medication[x]
|
189
|
+
- MedicationRequest.subject
|
190
|
+
- MedicationRequest.requester
|
191
|
+
- MedicationRequest.substitution.allowed[x]
|
192
|
+
:bindings:
|
193
|
+
- :type: code
|
194
|
+
:strength: preferred
|
195
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
196
|
+
:path: language
|
197
|
+
- :type: code
|
198
|
+
:strength: required
|
199
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-status
|
200
|
+
:path: status
|
201
|
+
- :type: CodeableConcept
|
202
|
+
:strength: example
|
203
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
|
204
|
+
:path: statusReason
|
205
|
+
- :type: code
|
206
|
+
:strength: required
|
207
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-intent
|
208
|
+
:path: intent
|
209
|
+
- :type: CodeableConcept
|
210
|
+
:strength: example
|
211
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-category
|
212
|
+
:path: category
|
213
|
+
- :type: CodeableConcept
|
214
|
+
:strength: required
|
215
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-category
|
216
|
+
:path: category
|
217
|
+
- :type: code
|
218
|
+
:strength: required
|
219
|
+
:system: http://hl7.org/fhir/ValueSet/request-priority
|
220
|
+
:path: priority
|
221
|
+
- :type: CodeableConcept
|
222
|
+
:strength: extensible
|
223
|
+
:system: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4
|
224
|
+
:path: medication
|
225
|
+
- :type: CodeableConcept
|
226
|
+
:strength: example
|
227
|
+
:system: http://hl7.org/fhir/ValueSet/performer-role
|
228
|
+
:path: performerType
|
229
|
+
- :type: CodeableConcept
|
230
|
+
:strength: example
|
231
|
+
:system: http://hl7.org/fhir/ValueSet/condition-code
|
232
|
+
:path: reasonCode
|
233
|
+
- :type: CodeableConcept
|
234
|
+
:strength: example
|
235
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
|
236
|
+
:path: courseOfTherapyType
|
237
|
+
- :type: CodeableConcept
|
238
|
+
:strength: example
|
239
|
+
:system: http://hl7.org/fhir/ValueSet/additional-instruction-codes
|
240
|
+
:path: dosageInstruction.additionalInstruction
|
241
|
+
- :type: boolean
|
242
|
+
:strength: example
|
243
|
+
:system: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
|
244
|
+
:path: dosageInstruction.asNeeded
|
245
|
+
- :type: CodeableConcept
|
246
|
+
:strength: example
|
247
|
+
:system: http://hl7.org/fhir/ValueSet/approach-site-codes
|
248
|
+
:path: dosageInstruction.site
|
249
|
+
- :type: CodeableConcept
|
250
|
+
:strength: example
|
251
|
+
:system: http://hl7.org/fhir/ValueSet/route-codes
|
252
|
+
:path: dosageInstruction.route
|
253
|
+
- :type: CodeableConcept
|
254
|
+
:strength: example
|
255
|
+
:system: http://hl7.org/fhir/ValueSet/administration-method-codes
|
256
|
+
:path: dosageInstruction.method
|
257
|
+
- :type: CodeableConcept
|
258
|
+
:strength: example
|
259
|
+
:system: http://hl7.org/fhir/ValueSet/dose-rate-type
|
260
|
+
:path: dosageInstruction.doseAndRate.type
|
261
|
+
- :type: boolean
|
262
|
+
:strength: example
|
263
|
+
:system: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
|
264
|
+
:path: substitution.allowed
|
265
|
+
- :type: CodeableConcept
|
266
|
+
:strength: example
|
267
|
+
:system: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason
|
268
|
+
:path: substitution.reason
|
269
|
+
:references:
|
270
|
+
- :path: MedicationRequest.subject
|
271
|
+
:profiles:
|
272
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
273
|
+
- :path: MedicationRequest.encounter
|
274
|
+
:profiles:
|
275
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
|
276
|
+
- :path: MedicationRequest.supportingInformation
|
277
|
+
:profiles:
|
278
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
279
|
+
- :path: MedicationRequest.requester
|
280
|
+
:profiles:
|
281
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
282
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
283
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
|
284
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole
|
285
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson
|
286
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
287
|
+
- :path: MedicationRequest.performer
|
288
|
+
:profiles:
|
289
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
290
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
291
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
292
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
293
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
294
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
295
|
+
- http://hl7.org/fhir/StructureDefinition/CareTeam
|
296
|
+
- :path: MedicationRequest.recorder
|
297
|
+
:profiles:
|
298
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
299
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
300
|
+
- :path: MedicationRequest.reasonReference
|
301
|
+
:profiles:
|
302
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
303
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
304
|
+
- :path: MedicationRequest.basedOn
|
305
|
+
:profiles:
|
306
|
+
- http://hl7.org/fhir/StructureDefinition/CarePlan
|
307
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
308
|
+
- http://hl7.org/fhir/StructureDefinition/ServiceRequest
|
309
|
+
- http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
|
310
|
+
- :path: MedicationRequest.insurance
|
311
|
+
:profiles:
|
312
|
+
- http://hl7.org/fhir/StructureDefinition/Coverage
|
313
|
+
- http://hl7.org/fhir/StructureDefinition/ClaimResponse
|
314
|
+
- :path: MedicationRequest.dispenseRequest.performer
|
315
|
+
:profiles:
|
316
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
317
|
+
- :path: MedicationRequest.priorPrescription
|
318
|
+
:profiles:
|
319
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
320
|
+
- :path: MedicationRequest.detectedIssue
|
321
|
+
:profiles:
|
322
|
+
- http://hl7.org/fhir/StructureDefinition/DetectedIssue
|
323
|
+
- :path: MedicationRequest.eventHistory
|
324
|
+
:profiles:
|
325
|
+
- http://hl7.org/fhir/StructureDefinition/Provenance
|
326
|
+
:tests:
|
327
|
+
- :id: us_core_v501_medication_request_patient_intent_search_test
|
328
|
+
:file_name: medication_request_patient_intent_search_test.rb
|
329
|
+
- :id: us_core_v501_medication_request_patient_intent_status_search_test
|
330
|
+
:file_name: medication_request_patient_intent_status_search_test.rb
|
331
|
+
- :id: us_core_v501_medication_request_patient_intent_authoredon_search_test
|
332
|
+
:file_name: medication_request_patient_intent_authoredon_search_test.rb
|
333
|
+
- :id: us_core_v501_medication_request_patient_intent_encounter_search_test
|
334
|
+
:file_name: medication_request_patient_intent_encounter_search_test.rb
|
335
|
+
- :id: us_core_v501_medication_request_read_test
|
336
|
+
:file_name: medication_request_read_test.rb
|
337
|
+
- :id: us_core_v501_medication_request_provenance_revinclude_search_test
|
338
|
+
:file_name: medication_request_provenance_revinclude_search_test.rb
|
339
|
+
- :id: us_core_v501_medication_request_validation_test
|
340
|
+
:file_name: medication_request_validation_test.rb
|
341
|
+
- :id: us_core_v501_medication_validation_test
|
342
|
+
:file_name: medication_validation_test.rb
|
343
|
+
- :id: us_core_v501_medication_request_must_support_test
|
344
|
+
:file_name: medication_request_must_support_test.rb
|
345
|
+
- :id: us_core_v501_medication_request_reference_resolution_test
|
346
|
+
:file_name: medication_request_reference_resolution_test.rb
|
347
|
+
:id: us_core_v501_medication_request
|
348
|
+
:file_name: medication_request_group.rb
|
349
|
+
:delayed_references:
|
350
|
+
- :path: requester
|
351
|
+
:resources:
|
352
|
+
- Practitioner
|
353
|
+
- Organization
|
354
|
+
- PractitionerRole
|
355
|
+
- RelatedPerson
|