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
@@ -1,12 +1,13 @@
|
|
1
1
|
module USCoreTestKit
|
2
2
|
class Generator
|
3
3
|
class MustSupportMetadataExtractor
|
4
|
-
attr_accessor :profile_elements, :profile, :resource
|
4
|
+
attr_accessor :profile_elements, :profile, :resource, :ig_resources
|
5
5
|
|
6
|
-
def initialize(profile_elements, profile, resource)
|
6
|
+
def initialize(profile_elements, profile, resource, ig_resources)
|
7
7
|
self.profile_elements = profile_elements
|
8
8
|
self.profile = profile
|
9
9
|
self.resource = resource
|
10
|
+
self.ig_resources = ig_resources
|
10
11
|
end
|
11
12
|
|
12
13
|
def must_supports
|
@@ -93,6 +94,22 @@ module USCoreTestKit
|
|
93
94
|
path: discriminator_path,
|
94
95
|
system: pattern_element.patternIdentifier.system
|
95
96
|
}
|
97
|
+
elsif pattern_element.binding&.strength == 'required' &&
|
98
|
+
pattern_element.binding&.valueSet.present?
|
99
|
+
|
100
|
+
value_set = ig_resources.value_set_by_url(pattern_element.binding.valueSet)
|
101
|
+
bound_systems = value_set&.compose&.include&.reject { |code| code.concept.blank? }
|
102
|
+
values = []
|
103
|
+
|
104
|
+
if bound_systems.present?
|
105
|
+
values = bound_systems&.flat_map { |system| system.concept.map { |code| code.code } }.uniq
|
106
|
+
end
|
107
|
+
|
108
|
+
{
|
109
|
+
type: 'requiredBinding',
|
110
|
+
path: discriminator_path,
|
111
|
+
values: values
|
112
|
+
}
|
96
113
|
else
|
97
114
|
raise StandardError, 'Unsupported discriminator pattern type'
|
98
115
|
end
|
@@ -152,7 +169,6 @@ module USCoreTestKit
|
|
152
169
|
element.path == "#{current_element.path}.#{discriminator.path}"
|
153
170
|
end
|
154
171
|
|
155
|
-
binding.pry if fixed_element.nil?
|
156
172
|
{
|
157
173
|
path: discriminator.path,
|
158
174
|
value: fixed_element.fixedUri || fixed_element.fixedCode
|
@@ -251,7 +267,7 @@ module USCoreTestKit
|
|
251
267
|
supported_types = current_element.type.select { |type| save_type_code?(type) }.map { |type| type.code }
|
252
268
|
current_metadata[:types] = supported_types if supported_types.present?
|
253
269
|
|
254
|
-
handle_type_must_support_target_profiles(current_element.type.first, current_metadata) if current_element.type.first
|
270
|
+
handle_type_must_support_target_profiles(current_element.type.first, current_metadata) if current_element.type.first&.code == 'Reference'
|
255
271
|
|
256
272
|
handle_fixed_values(current_metadata, current_element)
|
257
273
|
|
@@ -277,6 +293,9 @@ module USCoreTestKit
|
|
277
293
|
when '4.0.0'
|
278
294
|
add_device_distinct_identifier
|
279
295
|
add_patient_uscdi_elements
|
296
|
+
when '5.0.1'
|
297
|
+
add_patient_uscdi_elements
|
298
|
+
add_document_reference_category_values
|
280
299
|
end
|
281
300
|
end
|
282
301
|
|
@@ -361,6 +380,32 @@ module USCoreTestKit
|
|
361
380
|
uscdi_only: true
|
362
381
|
}
|
363
382
|
end
|
383
|
+
when '5.0.1'
|
384
|
+
case profile.type
|
385
|
+
when 'CareTeam'
|
386
|
+
choices << {
|
387
|
+
target_profiles: [
|
388
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner',
|
389
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'
|
390
|
+
]
|
391
|
+
}
|
392
|
+
when 'Condition'
|
393
|
+
choices << {
|
394
|
+
paths: ['onsetDateTime'],
|
395
|
+
extension_ids: ['Condition.extension:assertedDate']
|
396
|
+
}
|
397
|
+
when 'Encounter'
|
398
|
+
choices << { paths: ['reasonCode', 'reasonReference'] }
|
399
|
+
choices << { paths: ['location.location', 'serviceProvider'] }
|
400
|
+
when 'MedicationRequest'
|
401
|
+
choices << { paths: ['reportedBoolean', 'reportedReference'] }
|
402
|
+
when 'Patient'
|
403
|
+
choices << {
|
404
|
+
paths: ['name.period.end', 'name.use'],
|
405
|
+
uscdi_only: true
|
406
|
+
}
|
407
|
+
end
|
408
|
+
|
364
409
|
end
|
365
410
|
|
366
411
|
@must_supports[:choices] = choices if choices.present?
|
@@ -377,50 +422,76 @@ module USCoreTestKit
|
|
377
422
|
end
|
378
423
|
|
379
424
|
def add_patient_uscdi_elements
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
425
|
+
return unless profile.type == 'Patient'
|
426
|
+
|
427
|
+
#US Core 4.0.0 Section 10.112.1.1 Additional USCDI v1 Requirement:
|
428
|
+
@must_supports[:extensions] << {
|
429
|
+
id: 'Patient.extension:race',
|
430
|
+
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race',
|
431
|
+
uscdi_only: true
|
432
|
+
}
|
433
|
+
@must_supports[:extensions] << {
|
434
|
+
id: 'Patient.extension:ethnicity',
|
435
|
+
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity',
|
436
|
+
uscdi_only: true
|
437
|
+
}
|
438
|
+
@must_supports[:extensions] << {
|
439
|
+
id: 'Patient.extension:birthsex',
|
440
|
+
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex',
|
441
|
+
uscdi_only: true
|
442
|
+
}
|
443
|
+
@must_supports[:elements] << {
|
444
|
+
path: 'name.suffix',
|
445
|
+
uscdi_only: true
|
446
|
+
}
|
447
|
+
@must_supports[:elements] << {
|
448
|
+
path: 'name.use',
|
449
|
+
fixed_value: 'old',
|
450
|
+
uscdi_only: true
|
451
|
+
}
|
452
|
+
@must_supports[:elements] << {
|
453
|
+
path: 'name.period.end',
|
454
|
+
uscdi_only: true
|
455
|
+
}
|
456
|
+
@must_supports[:elements] << {
|
457
|
+
path: 'telecom',
|
458
|
+
uscdi_only: true
|
459
|
+
}
|
460
|
+
@must_supports[:elements] << {
|
461
|
+
path: 'communication',
|
462
|
+
uscdi_only: true
|
463
|
+
}
|
464
|
+
# Though telecom.system, telecom.value, telecom.use, and communication.language are marked as MustSupport since US Core v4.0.0,
|
465
|
+
# their parent elements telecom, and communication are not MustSupport but listed under "Additional USCDI requirements"
|
466
|
+
# According to the updated FHIR spec that "When a child element is defined as Must Support and the parent element isn't,
|
467
|
+
# a system must support the child if it support the parent, but there's no expectation that the system must support the parent.",
|
468
|
+
# We add uscdi_only tag to these elements
|
469
|
+
@must_supports[:elements].each do |element|
|
470
|
+
path = element[:path]
|
471
|
+
element[:uscdi_only] = true if path.include?('telecom.') || path.include?('communication.')
|
472
|
+
end
|
473
|
+
|
474
|
+
if profile.version == '5.0.1'
|
392
475
|
@must_supports[:extensions] << {
|
393
|
-
id: 'Patient.extension:
|
394
|
-
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-
|
395
|
-
uscdi_only: true
|
396
|
-
}
|
397
|
-
@must_supports[:elements] << {
|
398
|
-
path: 'name.suffix',
|
476
|
+
id: 'Patient.extension:genderIdentity',
|
477
|
+
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity',
|
399
478
|
uscdi_only: true
|
400
479
|
}
|
401
480
|
@must_supports[:elements] << {
|
402
|
-
path: '
|
481
|
+
path: 'address.use',
|
403
482
|
fixed_value: 'old',
|
404
483
|
uscdi_only: true
|
405
484
|
}
|
406
|
-
@must_supports[:elements] << {
|
407
|
-
path: 'name.period.end',
|
408
|
-
uscdi_only: true
|
409
|
-
}
|
410
|
-
@must_supports[:elements] << {
|
411
|
-
path: 'telecom',
|
412
|
-
uscdi_only: true
|
413
|
-
}
|
414
|
-
@must_supports[:elements] << {
|
415
|
-
path: 'communication',
|
416
|
-
uscdi_only: true
|
417
|
-
}
|
418
|
-
@must_supports[:elements].each do |element|
|
419
|
-
path = element[:path]
|
420
|
-
element[:uscdi_only] = true if path.include?('telecom.') || path.include?('communication.')
|
421
|
-
end
|
422
485
|
end
|
423
486
|
end
|
487
|
+
|
488
|
+
def add_document_reference_category_values
|
489
|
+
return unless profile.type == 'DocumentReference'
|
490
|
+
|
491
|
+
slice = @must_supports[:slices].find{|slice| slice[:path] == 'category'}
|
492
|
+
|
493
|
+
slice[:discriminator][:values] << 'clinical-note' if slice.present?
|
494
|
+
end
|
424
495
|
end
|
425
496
|
end
|
426
497
|
end
|
@@ -89,7 +89,8 @@ module USCoreTestKit
|
|
89
89
|
.map { |extension| extension[:id] }
|
90
90
|
|
91
91
|
group_metadata.must_supports[:choices]&.each do |choice|
|
92
|
-
next unless choice[:uscdi_only].presence == uscdi_only.presence
|
92
|
+
next unless choice[:uscdi_only].presence == uscdi_only.presence && choice.key?(:paths)
|
93
|
+
|
93
94
|
choice[:paths].each { |path| element_names.delete("#{resource_type}.#{path}") }
|
94
95
|
element_names << choice[:paths].map { |path| "#{resource_type}.#{path}" }.join(' or ')
|
95
96
|
end
|
@@ -114,11 +114,12 @@ module USCoreTestKit
|
|
114
114
|
def values
|
115
115
|
values = (
|
116
116
|
(
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
117
|
+
values_from_pattern_codeable_concept_slices +
|
118
|
+
values_from_required_binding_slices +
|
119
|
+
values_from_fixed_codes +
|
120
|
+
values_from_pattern_coding +
|
121
|
+
values_from_pattern_codeable_concept
|
122
|
+
).uniq.presence || values_from_value_set_binding(profile_element)
|
122
123
|
).presence || values_from_resource_metadata
|
123
124
|
values
|
124
125
|
end
|
@@ -129,14 +130,25 @@ module USCoreTestKit
|
|
129
130
|
profile_elements.select do |element|
|
130
131
|
full_paths.include?(element.path) &&
|
131
132
|
element.sliceName.present? &&
|
132
|
-
|
133
|
+
(
|
134
|
+
element.patternCodeableConcept.present? ||
|
135
|
+
element.binding.present? && element.binding.strength == 'required'
|
136
|
+
)
|
133
137
|
end
|
134
138
|
end
|
135
139
|
|
136
|
-
def
|
140
|
+
def values_from_pattern_codeable_concept_slices
|
137
141
|
slices.map do |slice|
|
138
|
-
slice.patternCodeableConcept.coding.first.code
|
139
|
-
end
|
142
|
+
slice.patternCodeableConcept.coding.first.code if slice.patternCodeableConcept.present?
|
143
|
+
end.compact
|
144
|
+
end
|
145
|
+
|
146
|
+
def values_from_required_binding_slices
|
147
|
+
slices.map do |slice|
|
148
|
+
if slice.binding.present? && slice.binding.strength == 'required'
|
149
|
+
values_from_value_set_binding(slice)
|
150
|
+
end
|
151
|
+
end.flatten.compact
|
140
152
|
end
|
141
153
|
|
142
154
|
def values_from_fixed_codes
|
@@ -152,7 +164,7 @@ module USCoreTestKit
|
|
152
164
|
|
153
165
|
profile_elements
|
154
166
|
.select { |element| element.path == "#{profile_element.path}.coding" && element.patternCoding.present? }
|
155
|
-
.map { |element| element.patternCoding.code }
|
167
|
+
.map { |element| element.patternCoding.code }
|
156
168
|
end
|
157
169
|
|
158
170
|
def values_from_pattern_codeable_concept
|
@@ -161,19 +173,21 @@ module USCoreTestKit
|
|
161
173
|
[profile_element.patternCodeableConcept.coding.first.code]
|
162
174
|
end
|
163
175
|
|
164
|
-
def value_set_binding
|
165
|
-
|
176
|
+
def value_set_binding(the_element)
|
177
|
+
the_element&.binding
|
166
178
|
end
|
167
179
|
|
168
|
-
def value_set
|
169
|
-
ig_resources.value_set_by_url(value_set_binding&.valueSet)
|
180
|
+
def value_set(the_element)
|
181
|
+
ig_resources.value_set_by_url(value_set_binding(the_element)&.valueSet)
|
170
182
|
end
|
171
183
|
|
172
|
-
def bound_systems
|
173
|
-
value_set&.compose&.include&.reject { |code| code.concept.nil? }
|
184
|
+
def bound_systems(the_element)
|
185
|
+
value_set(the_element)&.compose&.include&.reject { |code| code.concept.nil? }
|
174
186
|
end
|
175
187
|
|
176
|
-
def values_from_value_set_binding
|
188
|
+
def values_from_value_set_binding(the_element)
|
189
|
+
bound_systems = bound_systems(the_element)
|
190
|
+
|
177
191
|
return [] if bound_systems.blank?
|
178
192
|
|
179
193
|
bound_systems.flat_map { |system| system.concept.map { |code| code.code } }.uniq
|
@@ -190,7 +204,7 @@ module USCoreTestKit
|
|
190
204
|
current_metadata = fhir_metadata(current_path)
|
191
205
|
|
192
206
|
if current_metadata&.dig('valid_codes').present?
|
193
|
-
values = values + current_metadata['valid_codes'].values.flatten
|
207
|
+
values = values + current_metadata['valid_codes'].values.flatten
|
194
208
|
end
|
195
209
|
end
|
196
210
|
|
@@ -4,10 +4,12 @@ module USCoreTestKit
|
|
4
4
|
RESOURCES_TO_EXCLUDE = [
|
5
5
|
'Location',
|
6
6
|
'Medication',
|
7
|
-
'PractitionerRole'
|
7
|
+
'PractitionerRole',
|
8
|
+
'QuestionnaireResponse'
|
8
9
|
].freeze
|
9
10
|
|
10
11
|
PROFILES_TO_EXCLUDE = [
|
12
|
+
'us_core_observation_survey',
|
11
13
|
'us_core_vital_signs'
|
12
14
|
].freeze
|
13
15
|
|
@@ -81,11 +81,19 @@ module USCoreTestKit
|
|
81
81
|
end
|
82
82
|
|
83
83
|
def clinical_notes_guidance_file_name
|
84
|
-
|
84
|
+
if ig_metadata.ig_version == 'v3.1.1'
|
85
|
+
"../../custom_groups/#{ig_metadata.ig_version}/clinical_notes_guidance_group"
|
86
|
+
else
|
87
|
+
'../../custom_groups/v4.0.0/clinical_notes_guidance_group'
|
88
|
+
end
|
85
89
|
end
|
86
90
|
|
87
91
|
def clinical_notes_guidance_group_id
|
88
|
-
|
92
|
+
if ig_metadata.reformatted_version == 'v311'
|
93
|
+
"us_core_#{ig_metadata.reformatted_version}_clinical_notes_guidance"
|
94
|
+
else
|
95
|
+
'us_core_v400_clinical_notes_guidance'
|
96
|
+
end
|
89
97
|
end
|
90
98
|
end
|
91
99
|
end
|
@@ -61,6 +61,9 @@ module USCoreTestKit
|
|
61
61
|
url = extension_profile_url(extension_profile_element)
|
62
62
|
extension = ig_resources.profile_by_url(url)
|
63
63
|
|
64
|
+
# TODO: Temporaray fix for extension defined out of US Core. FI-1623
|
65
|
+
next if extension.nil?
|
66
|
+
|
64
67
|
elements = extension.snapshot.element
|
65
68
|
elements_with_bindings = elements.select do |element|
|
66
69
|
element.binding.present? && !element.id.include?('Extension.extension')
|
@@ -16,26 +16,21 @@ require_relative 'generator/validation_test_generator'
|
|
16
16
|
module USCoreTestKit
|
17
17
|
class Generator
|
18
18
|
def self.generate
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
.map { |path| File.join(base_ig_directory, path) }
|
24
|
-
.select { |path| File.directory? path }
|
25
|
-
|
26
|
-
ig_directories.each do |ig_directory|
|
27
|
-
new(ig_directory).generate
|
19
|
+
ig_packages = Dir.glob(File.join(Dir.pwd, 'lib', 'us_core_test_kit', 'igs', '*.tgz'))
|
20
|
+
|
21
|
+
ig_packages.each do |ig_package|
|
22
|
+
new(ig_package).generate
|
28
23
|
end
|
29
24
|
end
|
30
25
|
|
31
|
-
attr_accessor :ig_resources, :ig_metadata, :
|
26
|
+
attr_accessor :ig_resources, :ig_metadata, :ig_file_name
|
32
27
|
|
33
|
-
def initialize(
|
34
|
-
self.
|
28
|
+
def initialize(ig_file_name)
|
29
|
+
self.ig_file_name = ig_file_name
|
35
30
|
end
|
36
31
|
|
37
32
|
def generate
|
38
|
-
puts "Generating tests for IG
|
33
|
+
puts "Generating tests for IG #{File.basename(ig_file_name)}"
|
39
34
|
load_ig_package
|
40
35
|
extract_metadata
|
41
36
|
generate_resource_list
|
@@ -68,7 +63,7 @@ module USCoreTestKit
|
|
68
63
|
|
69
64
|
def load_ig_package
|
70
65
|
FHIR.logger = Logger.new('/dev/null')
|
71
|
-
self.ig_resources = IGLoader.new(
|
66
|
+
self.ig_resources = IGLoader.new(ig_file_name).load
|
72
67
|
end
|
73
68
|
|
74
69
|
def generate_resource_list
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
Binary file
|
@@ -14,7 +14,13 @@ module USCoreTestKit
|
|
14
14
|
def perform_must_support_test(resources)
|
15
15
|
skip_if resources.blank?, "No #{resource_type} resources were found"
|
16
16
|
|
17
|
-
|
17
|
+
missing_elements(resources)
|
18
|
+
missing_slices(resources)
|
19
|
+
missing_extensions(resources)
|
20
|
+
|
21
|
+
handle_must_support_choices if metadata.must_supports[:choices].present?
|
22
|
+
|
23
|
+
if (missing_elements + missing_slices + missing_extensions).length.zero?
|
18
24
|
pass
|
19
25
|
end
|
20
26
|
|
@@ -22,6 +28,32 @@ module USCoreTestKit
|
|
22
28
|
"provided #{resource_type} resource(s)"
|
23
29
|
end
|
24
30
|
|
31
|
+
def handle_must_support_choices
|
32
|
+
missing_elements.delete_if do |element|
|
33
|
+
choices = metadata.must_supports[:choices].find { |choice| choice[:paths]&.include?(element[:path]) }
|
34
|
+
is_any_choice_supported?(choices)
|
35
|
+
end
|
36
|
+
|
37
|
+
missing_extensions.delete_if do |extension|
|
38
|
+
choices = metadata.must_supports[:choices].find { |choice| choice[:extension_ids]&.include?(extension[:id]) }
|
39
|
+
is_any_choice_supported?(choices)
|
40
|
+
end
|
41
|
+
|
42
|
+
missing_slices.delete_if do |slice|
|
43
|
+
choices = metadata.must_supports[:choices].find { |choice| choice[:slice_names]&.include?(slice[:name]) }
|
44
|
+
is_any_choice_supported?(choices)
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
def is_any_choice_supported? (choices)
|
49
|
+
choices.present? &&
|
50
|
+
(
|
51
|
+
choices[:paths]&.any? { |path| missing_elements.none? { |element| element[:path] == path } } ||
|
52
|
+
choices[:extension_ids]&.any? { |extension_id| missing_extensions.none? { |extension| extension[:id] == extension_id} } ||
|
53
|
+
choices[:slice_names]&.any? { |slice_name| missing_slices.none? { |slice| slice[:name] == slice_name} }
|
54
|
+
)
|
55
|
+
end
|
56
|
+
|
25
57
|
def missing_must_support_strings
|
26
58
|
missing_elements.map { |element_definition| missing_element_string(element_definition) } +
|
27
59
|
missing_slices.map { |slice_definition| slice_definition[:name] } +
|
@@ -36,15 +68,15 @@ module USCoreTestKit
|
|
36
68
|
end
|
37
69
|
end
|
38
70
|
|
39
|
-
def
|
40
|
-
config.options[:
|
71
|
+
def exclude_uscdi_only_test?
|
72
|
+
config.options[:exclude_uscdi_only_test] == true
|
41
73
|
end
|
42
74
|
|
43
75
|
def must_support_extensions
|
44
|
-
if
|
45
|
-
metadata.must_supports[:extensions]
|
46
|
-
else
|
76
|
+
if exclude_uscdi_only_test?
|
47
77
|
metadata.must_supports[:extensions].reject{ |extension| extension[:uscdi_only] }
|
78
|
+
else
|
79
|
+
metadata.must_supports[:extensions]
|
48
80
|
end
|
49
81
|
end
|
50
82
|
|
@@ -58,10 +90,10 @@ module USCoreTestKit
|
|
58
90
|
end
|
59
91
|
|
60
92
|
def must_support_elements
|
61
|
-
if
|
62
|
-
metadata.must_supports[:elements]
|
63
|
-
else
|
93
|
+
if exclude_uscdi_only_test?
|
64
94
|
metadata.must_supports[:elements].reject{ |element| element[:uscdi_only] }
|
95
|
+
else
|
96
|
+
metadata.must_supports[:elements]
|
65
97
|
end
|
66
98
|
end
|
67
99
|
|
@@ -84,23 +116,14 @@ module USCoreTestKit
|
|
84
116
|
end
|
85
117
|
end
|
86
118
|
|
87
|
-
if metadata.must_supports[:choices].present?
|
88
|
-
@missing_elements.delete_if do |element|
|
89
|
-
choice_paths = metadata.must_supports[:choices].find { |choice| choice[:paths].include?(element[:path]) }
|
90
|
-
|
91
|
-
choice_paths.present? &&
|
92
|
-
choice_paths[:paths].any? { |path| @missing_elements.none? { |element| element[:path] == path } }
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
119
|
@missing_elements
|
97
120
|
end
|
98
121
|
|
99
122
|
def must_support_slices
|
100
|
-
if
|
101
|
-
metadata.must_supports[:slices]
|
102
|
-
else
|
123
|
+
if exclude_uscdi_only_test?
|
103
124
|
metadata.must_supports[:slices].reject{ |slice| slice[:uscdi_only] }
|
125
|
+
else
|
126
|
+
metadata.must_supports[:slices]
|
104
127
|
end
|
105
128
|
end
|
106
129
|
|
@@ -140,11 +163,20 @@ module USCoreTestKit
|
|
140
163
|
rescue ArgumentError
|
141
164
|
false
|
142
165
|
end
|
166
|
+
when 'DateTime'
|
167
|
+
begin
|
168
|
+
DateTime.parse(element)
|
169
|
+
rescue ArgumentError
|
170
|
+
false
|
171
|
+
end
|
143
172
|
when 'String'
|
144
173
|
element.is_a? String
|
145
174
|
else
|
146
175
|
element.is_a? FHIR.const_get(discriminator[:code])
|
147
176
|
end
|
177
|
+
when 'requiredBinding'
|
178
|
+
coding_path = discriminator[:path].present? ? "#{discriminator[:path]}.coding" : 'coding'
|
179
|
+
find_a_value_at(element, coding_path) {|coding| discriminator[:values].include?(coding.code) }
|
148
180
|
end
|
149
181
|
end
|
150
182
|
end
|
@@ -18,7 +18,7 @@ module USCoreTestKit
|
|
18
18
|
def unresolved_references_strings
|
19
19
|
unresolved_reference_hash =
|
20
20
|
unresolved_references.each_with_object(Hash.new { |hash, key| hash[key] = [] }) do |missing, hash|
|
21
|
-
hash[missing[:path]] << missing[:target_profile]
|
21
|
+
hash[missing[:path]] << missing[:target_profile]
|
22
22
|
end
|
23
23
|
unresolved_reference_hash.map { |path, profiles| "#{path}#{"(#{profiles.join('|')})" unless profiles.first.empty?}" }
|
24
24
|
end
|
@@ -41,7 +41,7 @@ module USCoreTestKit
|
|
41
41
|
end
|
42
42
|
|
43
43
|
def must_support_references_with_target_profile
|
44
|
-
# mapping array of target_profiles to array of {path, target_profile} pair
|
44
|
+
# mapping array of target_profiles to array of {path, target_profile} pair
|
45
45
|
must_support_references.map do |element_definition|
|
46
46
|
(element_definition[:target_profiles] || ['']).map do |target_profile|
|
47
47
|
{
|
@@ -73,6 +73,17 @@ module USCoreTestKit
|
|
73
73
|
|
74
74
|
found_one_reference && !resolve_one_reference
|
75
75
|
end
|
76
|
+
|
77
|
+
if metadata.must_supports[:choices].present?
|
78
|
+
@unresolved_references.delete_if do |reference|
|
79
|
+
choice_profiles = metadata.must_supports[:choices].find { |choice| choice[:target_profiles].include?(reference[:target_profile]) }
|
80
|
+
|
81
|
+
choice_profiles.present? &&
|
82
|
+
choice_profiles[:target_profiles].any? { |profile| @unresolved_references.none? { |element| element[:target_profile] == profile } }
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
@unresolved_references
|
76
87
|
end
|
77
88
|
|
78
89
|
def validate_reference_resolution(resource, reference, target_profile)
|