us_core_test_kit 0.2.3 → 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/v3.1.1/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/device/device_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +32 -0
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +2 -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/bmi_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +2 -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/body_height_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +2 -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/body_temperature_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +2 -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/body_weight_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +2 -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/care_plan/care_plan_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +2 -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/head_circumference_percentile_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +2 -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/heart_rate_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +2 -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/immunization/immunization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +50 -15
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +1 -0
- 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/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
- 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 +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
- 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/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
- 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 +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +1 -0
- 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 +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +2 -2
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.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 +12 -9
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +22 -4
- data/lib/us_core_test_kit/generator/ig_loader.rb +12 -5
- 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 -39
- 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/generator/validation_test_generator.rb +4 -0
- data/lib/us_core_test_kit/generator.rb +9 -14
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyheight.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodytemp.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyweight.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bp.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-heartrate.json +0 -0
- data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-resprate.json +0 -0
- data/lib/us_core_test_kit/igs/{v311/package.tgz → us_core_311.tgz} +0 -0
- data/lib/us_core_test_kit/igs/{v400/package.tgz → us_core_400.tgz} +0 -0
- data/lib/us_core_test_kit/igs/us_core_501.tgz +0 -0
- data/lib/us_core_test_kit/must_support_test.rb +53 -21
- data/lib/us_core_test_kit/reference_resolution_test.rb +13 -2
- data/lib/us_core_test_kit/search_test.rb +33 -2
- data/lib/us_core_test_kit/validation_test.rb +4 -2
- data/lib/us_core_test_kit/version.rb +1 -1
- data/lib/us_core_test_kit.rb +1 -0
- metadata +474 -13
data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV501
|
6
|
+
class SmokingstatusReferenceResolutionTest < Inferno::Test
|
7
|
+
include USCoreTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within Observation 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
|
+
* Observation.subject
|
17
|
+
)
|
18
|
+
|
19
|
+
id :us_core_v501_smokingstatus_reference_resolution_test
|
20
|
+
|
21
|
+
def resource_type
|
22
|
+
'Observation'
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.metadata
|
26
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
27
|
+
end
|
28
|
+
|
29
|
+
def scratch_resources
|
30
|
+
scratch[:smokingstatus_resources] ||= {}
|
31
|
+
end
|
32
|
+
|
33
|
+
run do
|
34
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV501
|
5
|
+
class SmokingstatusValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v501_smokingstatus_validation_test
|
9
|
+
title 'Observation resources returned during previous tests conform to the US Core Smoking Status Observation Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core Smoking Status Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus).
|
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
|
+
'Observation'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:smokingstatus_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus',
|
35
|
+
'5.0.1',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
require_relative 'smokingstatus/smokingstatus_patient_code_search_test'
|
2
|
+
require_relative 'smokingstatus/smokingstatus_patient_category_date_search_test'
|
3
|
+
require_relative 'smokingstatus/smokingstatus_patient_code_date_search_test'
|
4
|
+
require_relative 'smokingstatus/smokingstatus_patient_category_search_test'
|
5
|
+
require_relative 'smokingstatus/smokingstatus_patient_category_status_search_test'
|
6
|
+
require_relative 'smokingstatus/smokingstatus_read_test'
|
7
|
+
require_relative 'smokingstatus/smokingstatus_provenance_revinclude_search_test'
|
8
|
+
require_relative 'smokingstatus/smokingstatus_validation_test'
|
9
|
+
require_relative 'smokingstatus/smokingstatus_must_support_test'
|
10
|
+
require_relative 'smokingstatus/smokingstatus_reference_resolution_test'
|
11
|
+
|
12
|
+
module USCoreTestKit
|
13
|
+
module USCoreV501
|
14
|
+
class SmokingstatusGroup < Inferno::TestGroup
|
15
|
+
title 'Observation Smoking Status Tests'
|
16
|
+
short_description 'Verify support for the server capabilities required by the US Core Smoking Status Observation Profile.'
|
17
|
+
description %(
|
18
|
+
# Background
|
19
|
+
|
20
|
+
The US Core Observation Smoking Status sequence verifies that the system under test is
|
21
|
+
able to provide correct responses for Observation queries. These queries
|
22
|
+
must contain resources conforming to the US Core Smoking Status Observation Profile as
|
23
|
+
specified in the US Core v5.0.1 Implementation Guide.
|
24
|
+
|
25
|
+
# Testing Methodology
|
26
|
+
## Searching
|
27
|
+
This test sequence will first perform each required search associated
|
28
|
+
with this resource. This sequence will perform searches with the
|
29
|
+
following parameters:
|
30
|
+
|
31
|
+
* patient + code
|
32
|
+
* patient + category + date
|
33
|
+
* patient + category
|
34
|
+
|
35
|
+
### Search Parameters
|
36
|
+
The first search uses the selected patient(s) from the prior launch
|
37
|
+
sequence. Any subsequent searches will look for its parameter values
|
38
|
+
from the results of the first search. For example, the `identifier`
|
39
|
+
search in the patient sequence is performed by looking for an existing
|
40
|
+
`Patient.identifier` from any of the resources returned in the `_id`
|
41
|
+
search. If a value cannot be found this way, the search is skipped.
|
42
|
+
|
43
|
+
### Search Validation
|
44
|
+
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
45
|
+
Observation resources and save them for subsequent tests. Each of
|
46
|
+
these resources is then checked to see if it matches the searched
|
47
|
+
parameters in accordance with [FHIR search
|
48
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
49
|
+
for example, if a Patient search for `gender=male` returns a `female`
|
50
|
+
patient.
|
51
|
+
|
52
|
+
|
53
|
+
## Must Support
|
54
|
+
Each profile contains elements marked as "must support". This test
|
55
|
+
sequence expects to see each of these elements at least once. If at
|
56
|
+
least one cannot be found, the test will fail. The test will look
|
57
|
+
through the Observation resources found in the first test for these
|
58
|
+
elements.
|
59
|
+
|
60
|
+
## Profile Validation
|
61
|
+
Each resource returned from the first search is expected to conform to
|
62
|
+
the [US Core Smoking Status Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus). Each element is checked against
|
63
|
+
teminology binding and cardinality requirements.
|
64
|
+
|
65
|
+
Elements with a required binding are validated against their bound
|
66
|
+
ValueSet. If the code/system in the element is not part of the ValueSet,
|
67
|
+
then the test will fail.
|
68
|
+
|
69
|
+
## Reference Validation
|
70
|
+
At least one instance of each external reference in elements marked as
|
71
|
+
"must support" within the resources provided by the system must resolve.
|
72
|
+
The test will attempt to read each reference found and will fail if no
|
73
|
+
read succeeds.
|
74
|
+
|
75
|
+
)
|
76
|
+
|
77
|
+
id :us_core_v501_smokingstatus
|
78
|
+
run_as_group
|
79
|
+
|
80
|
+
def self.metadata
|
81
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'smokingstatus', 'metadata.yml')))
|
82
|
+
end
|
83
|
+
|
84
|
+
test from: :us_core_v501_smokingstatus_patient_code_search_test
|
85
|
+
test from: :us_core_v501_smokingstatus_patient_category_date_search_test
|
86
|
+
test from: :us_core_v501_smokingstatus_patient_code_date_search_test
|
87
|
+
test from: :us_core_v501_smokingstatus_patient_category_search_test
|
88
|
+
test from: :us_core_v501_smokingstatus_patient_category_status_search_test
|
89
|
+
test from: :us_core_v501_smokingstatus_read_test
|
90
|
+
test from: :us_core_v501_smokingstatus_provenance_revinclude_search_test
|
91
|
+
test from: :us_core_v501_smokingstatus_validation_test
|
92
|
+
test from: :us_core_v501_smokingstatus_must_support_test
|
93
|
+
test from: :us_core_v501_smokingstatus_reference_resolution_test
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,132 @@
|
|
1
|
+
require 'inferno/dsl/oauth_credentials'
|
2
|
+
require_relative '../../version'
|
3
|
+
require_relative '../../custom_groups/v5.0.1/capability_statement_group'
|
4
|
+
require_relative '../../custom_groups/v4.0.0/clinical_notes_guidance_group'
|
5
|
+
require_relative '../../custom_groups/data_absent_reason_group'
|
6
|
+
require_relative 'patient_group'
|
7
|
+
require_relative 'allergy_intolerance_group'
|
8
|
+
require_relative 'care_plan_group'
|
9
|
+
require_relative 'care_team_group'
|
10
|
+
require_relative 'condition_encounter_diagnosis_group'
|
11
|
+
require_relative 'condition_problems_health_concerns_group'
|
12
|
+
require_relative 'device_group'
|
13
|
+
require_relative 'diagnostic_report_note_group'
|
14
|
+
require_relative 'diagnostic_report_lab_group'
|
15
|
+
require_relative 'document_reference_group'
|
16
|
+
require_relative 'encounter_group'
|
17
|
+
require_relative 'goal_group'
|
18
|
+
require_relative 'immunization_group'
|
19
|
+
require_relative 'medication_request_group'
|
20
|
+
require_relative 'observation_lab_group'
|
21
|
+
require_relative 'observation_sdoh_assessment_group'
|
22
|
+
require_relative 'respiratory_rate_group'
|
23
|
+
require_relative 'observation_social_history_group'
|
24
|
+
require_relative 'heart_rate_group'
|
25
|
+
require_relative 'body_temperature_group'
|
26
|
+
require_relative 'pediatric_weight_for_height_group'
|
27
|
+
require_relative 'pulse_oximetry_group'
|
28
|
+
require_relative 'smokingstatus_group'
|
29
|
+
require_relative 'observation_sexual_orientation_group'
|
30
|
+
require_relative 'head_circumference_group'
|
31
|
+
require_relative 'body_height_group'
|
32
|
+
require_relative 'bmi_group'
|
33
|
+
require_relative 'blood_pressure_group'
|
34
|
+
require_relative 'observation_imaging_group'
|
35
|
+
require_relative 'observation_clinical_test_group'
|
36
|
+
require_relative 'pediatric_bmi_for_age_group'
|
37
|
+
require_relative 'head_circumference_percentile_group'
|
38
|
+
require_relative 'body_weight_group'
|
39
|
+
require_relative 'procedure_group'
|
40
|
+
require_relative 'service_request_group'
|
41
|
+
require_relative 'organization_group'
|
42
|
+
require_relative 'practitioner_group'
|
43
|
+
require_relative 'provenance_group'
|
44
|
+
require_relative 'related_person_group'
|
45
|
+
|
46
|
+
module USCoreTestKit
|
47
|
+
module USCoreV501
|
48
|
+
class USCoreTestSuite < Inferno::TestSuite
|
49
|
+
title 'US Core v5.0.1'
|
50
|
+
version VERSION
|
51
|
+
|
52
|
+
VALIDATION_MESSAGE_FILTERS = [
|
53
|
+
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris$},
|
54
|
+
%r{Sub-extension url 'revoke' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris$},
|
55
|
+
/Observation\.effective\.ofType\(Period\): vs-1:/, # Invalid invariant in FHIR v4.0.1
|
56
|
+
/Observation\.effective\.ofType\(Period\): us-core-1:/ # Invalid invariant in US Core v3.1.1
|
57
|
+
].freeze
|
58
|
+
|
59
|
+
def self.metadata
|
60
|
+
@metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'))[:groups].map do |raw_metadata|
|
61
|
+
Generator::GroupMetadata.new(raw_metadata)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
validator do
|
66
|
+
url ENV.fetch('V501_VALIDATOR_URL', 'http://validator_service:4567')
|
67
|
+
exclude_message do |message|
|
68
|
+
VALIDATION_MESSAGE_FILTERS.any? { |filter| filter.match? message.message }
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
id :us_core_v501
|
73
|
+
|
74
|
+
input :url,
|
75
|
+
title: 'FHIR Endpoint',
|
76
|
+
description: 'URL of the FHIR endpoint'
|
77
|
+
input :smart_credentials,
|
78
|
+
title: 'OAuth Credentials',
|
79
|
+
type: :oauth_credentials,
|
80
|
+
optional: true
|
81
|
+
|
82
|
+
fhir_client do
|
83
|
+
url :url
|
84
|
+
oauth_credentials :smart_credentials
|
85
|
+
end
|
86
|
+
|
87
|
+
group from: :us_core_v501_capability_statement
|
88
|
+
|
89
|
+
group from: :us_core_v501_patient
|
90
|
+
group from: :us_core_v501_allergy_intolerance
|
91
|
+
group from: :us_core_v501_care_plan
|
92
|
+
group from: :us_core_v501_care_team
|
93
|
+
group from: :us_core_v501_condition_encounter_diagnosis
|
94
|
+
group from: :us_core_v501_condition_problems_health_concerns
|
95
|
+
group from: :us_core_v501_device
|
96
|
+
group from: :us_core_v501_diagnostic_report_note
|
97
|
+
group from: :us_core_v501_diagnostic_report_lab
|
98
|
+
group from: :us_core_v501_document_reference
|
99
|
+
group from: :us_core_v501_encounter
|
100
|
+
group from: :us_core_v501_goal
|
101
|
+
group from: :us_core_v501_immunization
|
102
|
+
group from: :us_core_v501_medication_request
|
103
|
+
group from: :us_core_v501_observation_lab
|
104
|
+
group from: :us_core_v501_observation_sdoh_assessment
|
105
|
+
group from: :us_core_v501_respiratory_rate
|
106
|
+
group from: :us_core_v501_observation_social_history
|
107
|
+
group from: :us_core_v501_heart_rate
|
108
|
+
group from: :us_core_v501_body_temperature
|
109
|
+
group from: :us_core_v501_pediatric_weight_for_height
|
110
|
+
group from: :us_core_v501_pulse_oximetry
|
111
|
+
group from: :us_core_v501_smokingstatus
|
112
|
+
group from: :us_core_v501_observation_sexual_orientation
|
113
|
+
group from: :us_core_v501_head_circumference
|
114
|
+
group from: :us_core_v501_body_height
|
115
|
+
group from: :us_core_v501_bmi
|
116
|
+
group from: :us_core_v501_blood_pressure
|
117
|
+
group from: :us_core_v501_observation_imaging
|
118
|
+
group from: :us_core_v501_observation_clinical_test
|
119
|
+
group from: :us_core_v501_pediatric_bmi_for_age
|
120
|
+
group from: :us_core_v501_head_circumference_percentile
|
121
|
+
group from: :us_core_v501_body_weight
|
122
|
+
group from: :us_core_v501_procedure
|
123
|
+
group from: :us_core_v501_service_request
|
124
|
+
group from: :us_core_v501_organization
|
125
|
+
group from: :us_core_v501_practitioner
|
126
|
+
group from: :us_core_v501_provenance
|
127
|
+
group from: :us_core_v501_related_person
|
128
|
+
group from: :us_core_v400_clinical_notes_guidance
|
129
|
+
group from: :us_core_311_data_absent_reason
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
@@ -71,6 +71,20 @@ module USCoreTestKit
|
|
71
71
|
group_metadata.resource
|
72
72
|
end
|
73
73
|
|
74
|
+
def search_validation_resource_type
|
75
|
+
text = "#{resource_type} resources"
|
76
|
+
if resource_type == 'Condition' && group_metadata.reformatted_version == 'v501'
|
77
|
+
case profile_url
|
78
|
+
when 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis'
|
79
|
+
text.concat(' with category `encounter-diagnosis`')
|
80
|
+
when 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns'
|
81
|
+
text.concat(' with category `problem-list-item | health-concern`')
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
text
|
86
|
+
end
|
87
|
+
|
74
88
|
def profile_name
|
75
89
|
group_metadata.profile_name
|
76
90
|
end
|
@@ -88,7 +102,7 @@ module USCoreTestKit
|
|
88
102
|
end
|
89
103
|
|
90
104
|
def add_special_tests
|
91
|
-
return
|
105
|
+
return if group_metadata.reformatted_version == 'v311'
|
92
106
|
|
93
107
|
case group_metadata.resource
|
94
108
|
when 'Device'
|
@@ -149,7 +163,7 @@ module USCoreTestKit
|
|
149
163
|
|
150
164
|
### Search Validation
|
151
165
|
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
152
|
-
#{
|
166
|
+
#{search_validation_resource_type} and save them for subsequent tests. Each of
|
153
167
|
these resources is then checked to see if it matches the searched
|
154
168
|
parameters in accordance with [FHIR search
|
155
169
|
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
@@ -9,6 +9,7 @@ module USCoreTestKit
|
|
9
9
|
:resource,
|
10
10
|
:profile_url,
|
11
11
|
:profile_name,
|
12
|
+
:profile_version,
|
12
13
|
:title,
|
13
14
|
:short_description,
|
14
15
|
:interactions,
|
@@ -28,14 +29,16 @@ module USCoreTestKit
|
|
28
29
|
:delayed_references
|
29
30
|
].freeze
|
30
31
|
|
31
|
-
NON_USCDI_RESOURCES =
|
32
|
-
'Encounter',
|
33
|
-
'Location',
|
34
|
-
'Organization',
|
35
|
-
'Practitioner',
|
36
|
-
'PractitionerRole',
|
37
|
-
'Provenance'
|
38
|
-
|
32
|
+
NON_USCDI_RESOURCES = {
|
33
|
+
'Encounter' => ['v311', 'v400'],
|
34
|
+
'Location' => ['v311', 'v400', 'v501'],
|
35
|
+
'Organization' => ['v311', 'v400', 'v501'],
|
36
|
+
'Practitioner' => ['v311', 'v400', 'v501'],
|
37
|
+
'PractitionerRole' => ['v311', 'v400', 'v501'],
|
38
|
+
'Provenance' => ['v311', 'v400', 'v501'],
|
39
|
+
'RelatedPerson' => ['v501']
|
40
|
+
}.freeze
|
41
|
+
|
39
42
|
|
40
43
|
ATTRIBUTES.each { |name| attr_accessor name }
|
41
44
|
|
@@ -58,7 +61,7 @@ module USCoreTestKit
|
|
58
61
|
end
|
59
62
|
|
60
63
|
def non_uscdi_resource?
|
61
|
-
NON_USCDI_RESOURCES.
|
64
|
+
NON_USCDI_RESOURCES.key?(resource) && NON_USCDI_RESOURCES[resource].include?(reformatted_version)
|
62
65
|
end
|
63
66
|
|
64
67
|
def add_test(id:, file_name:)
|
@@ -32,6 +32,7 @@ module USCoreTestKit
|
|
32
32
|
resource: resource,
|
33
33
|
profile_url: profile_url,
|
34
34
|
profile_name: profile_name,
|
35
|
+
profile_version: profile_version,
|
35
36
|
title: title,
|
36
37
|
short_description: short_description,
|
37
38
|
interactions: interactions,
|
@@ -92,9 +93,14 @@ module USCoreTestKit
|
|
92
93
|
|
93
94
|
CATEGORY_FIRST_PROFILES = [
|
94
95
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
|
95
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
96
96
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
|
97
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note'
|
97
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
|
98
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test',
|
99
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging',
|
100
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
101
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment',
|
102
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history',
|
103
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey'
|
98
104
|
]
|
99
105
|
|
100
106
|
def category_first_profile?
|
@@ -109,6 +115,8 @@ module USCoreTestKit
|
|
109
115
|
['patient', 'code']
|
110
116
|
elsif resource == 'MedicationRequest'
|
111
117
|
['patient', 'intent']
|
118
|
+
elsif resource == 'CareTeam'
|
119
|
+
['patient', 'status']
|
112
120
|
else
|
113
121
|
['patient']
|
114
122
|
end
|
@@ -169,8 +177,18 @@ module USCoreTestKit
|
|
169
177
|
profile.title.gsub(' ', ' ')
|
170
178
|
end
|
171
179
|
|
180
|
+
def profile_version
|
181
|
+
profile.version
|
182
|
+
end
|
183
|
+
|
172
184
|
def title
|
173
|
-
profile.title.gsub(/US\s*Core\s*/, '').gsub(/\s*Profile/, '').strip
|
185
|
+
title = profile.title.gsub(/US\s*Core\s*/, '').gsub(/\s*Profile/, '').strip
|
186
|
+
|
187
|
+
if (Naming.resources_with_multiple_profiles.include?(resource)) && !title.start_with?(resource) && version != 'v3.1.1'
|
188
|
+
title = resource + ' ' + title.split(resource).map(&:strip).join(' ')
|
189
|
+
end
|
190
|
+
|
191
|
+
title
|
174
192
|
end
|
175
193
|
|
176
194
|
def short_description
|
@@ -241,7 +259,7 @@ module USCoreTestKit
|
|
241
259
|
|
242
260
|
def must_support_metadata_extractor
|
243
261
|
@must_support_metadata_extractor ||=
|
244
|
-
MustSupportMetadataExtractor.new(profile_elements, profile, resource)
|
262
|
+
MustSupportMetadataExtractor.new(profile_elements, profile, resource, ig_resources)
|
245
263
|
end
|
246
264
|
|
247
265
|
def must_supports
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'active_support/all'
|
2
2
|
require 'fhir_models'
|
3
|
+
require 'pathname'
|
3
4
|
require 'rubygems/package'
|
4
5
|
require 'zlib'
|
5
6
|
require_relative 'ig_resources'
|
@@ -7,10 +8,10 @@ require_relative 'ig_resources'
|
|
7
8
|
module USCoreTestKit
|
8
9
|
class Generator
|
9
10
|
class IGLoader
|
10
|
-
attr_accessor :
|
11
|
+
attr_accessor :ig_file_name
|
11
12
|
|
12
|
-
def initialize(
|
13
|
-
self.
|
13
|
+
def initialize(ig_file_name)
|
14
|
+
self.ig_file_name = ig_file_name
|
14
15
|
end
|
15
16
|
|
16
17
|
def ig_resources
|
@@ -23,7 +24,9 @@ module USCoreTestKit
|
|
23
24
|
end
|
24
25
|
|
25
26
|
def load_ig
|
26
|
-
tar = Gem::Package::TarReader.new(
|
27
|
+
tar = Gem::Package::TarReader.new(
|
28
|
+
Zlib::GzipReader.open(ig_file_name)
|
29
|
+
)
|
27
30
|
|
28
31
|
tar.each do |entry|
|
29
32
|
next if entry.directory?
|
@@ -49,7 +52,11 @@ module USCoreTestKit
|
|
49
52
|
end
|
50
53
|
|
51
54
|
def load_standalone_resources
|
52
|
-
|
55
|
+
ig_directory = ig_file_name.chomp('.tgz')
|
56
|
+
|
57
|
+
return ig_resources unless File.exist? ig_directory
|
58
|
+
|
59
|
+
Dir.glob(File.join(ig_directory, '*.json')).each do |file_path|
|
53
60
|
begin
|
54
61
|
resource = FHIR.from_contents(File.read(file_path))
|
55
62
|
next if resource.nil?
|
@@ -8,7 +8,7 @@ module USCoreTestKit
|
|
8
8
|
|
9
9
|
def initialize(ig_resources)
|
10
10
|
self.ig_resources = ig_resources
|
11
|
-
|
11
|
+
add_missing_supported_profiles
|
12
12
|
self.metadata = IGMetadata.new
|
13
13
|
end
|
14
14
|
|
@@ -26,10 +26,11 @@ module USCoreTestKit
|
|
26
26
|
ig_resources.capability_statement.rest.first.resource
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
def add_missing_supported_profiles
|
30
|
+
case ig_resources.ig.version
|
31
|
+
when '3.1.1'
|
32
|
+
# The US Core v3.1.1 Server Capability Statement does not list support for the
|
33
|
+
# required vital signs profiles, so they need to be added
|
33
34
|
ig_resources.capability_statement.rest.first.resource
|
34
35
|
.find { |resource| resource.type == 'Observation' }
|
35
36
|
.supportedProfile.concat [
|
@@ -40,6 +41,13 @@ module USCoreTestKit
|
|
40
41
|
'http://hl7.org/fhir/StructureDefinition/heartrate',
|
41
42
|
'http://hl7.org/fhir/StructureDefinition/resprate'
|
42
43
|
]
|
44
|
+
when '5.0.1'
|
45
|
+
# The US Core v5.0.1 Server Capability Statement does not have supported-profile for Encounter
|
46
|
+
ig_resources.capability_statement.rest.first.resource
|
47
|
+
.find { |resource| resource.type == 'Encounter' }
|
48
|
+
.supportedProfile.concat [
|
49
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'
|
50
|
+
]
|
43
51
|
end
|
44
52
|
end
|
45
53
|
|
@@ -32,7 +32,8 @@ module USCoreTestKit
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def search_param_by_resource_and_name(resource, name)
|
35
|
-
|
35
|
+
# remove '_' from search parameter name, such as _id or _tag
|
36
|
+
normalized_name = normalized_name = name.to_s.delete_prefix('_')
|
36
37
|
|
37
38
|
resources_by_type['SearchParameter']
|
38
39
|
.find { |param| param.id == "us-core-#{resource.downcase}-#{normalized_name}" }
|