us_core_test_kit 0.6.0 → 0.6.2
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/capability_statement/profile_support_test.rb +18 -16
- data/lib/us_core_test_kit/custom_groups/v3.1.1/capability_statement_group.rb +1 -1
- data/lib/us_core_test_kit/custom_groups/v3.1.1/profile_support_test.rb +51 -0
- data/lib/us_core_test_kit/custom_groups/v4.0.0/capability_statement_group.rb +1 -1
- data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +1 -1
- data/lib/us_core_test_kit/custom_groups/v6.1.0/capability_statement_group.rb +1 -1
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +76 -8
- data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_must_support_test.rb +15 -7
- data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +25 -12
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/device/device_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +166 -121
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +6 -6
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_must_support_test.rb +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +33 -24
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +21 -14
- data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +11 -9
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_must_support_test.rb +15 -8
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +37 -20
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/device/device_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +275 -146
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +8 -6
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_must_support_test.rb +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +38 -22
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +15 -8
- data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +8 -3
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_must_support_test.rb +18 -8
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +40 -20
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v5.0.1/device/device_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +328 -161
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +8 -6
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_must_support_test.rb +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +38 -22
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +15 -8
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +13 -9
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +8 -3
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_must_support_test.rb +18 -8
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/metadata.yml +40 -20
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_must_support_test.rb +5 -3
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/metadata.yml +13 -7
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/device/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/goal/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_search_test.rb +2 -2
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_status_search_test.rb +2 -2
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_status_type_search_test.rb +2 -2
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/metadata.yml +4 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +417 -226
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +6 -1
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/metadata.yml +12 -7
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_must_support_test.rb +2 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/metadata.yml +8 -3
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/metadata.yml +8 -3
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/organization/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/metadata.yml +8 -6
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_must_support_test.rb +2 -1
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/metadata.yml +48 -31
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +19 -12
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/metadata.yml +17 -13
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/metadata.yml +4 -1
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/metadata.yml +6 -2
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/metadata.yml +2 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_reference_resolution_test.rb +0 -2
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +0 -1
- data/lib/us_core_test_kit/generator/ig_loader.rb +2 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +56 -26
- data/lib/us_core_test_kit/generator/must_support_test_generator.rb +1 -1
- data/lib/us_core_test_kit/generator/search_test_generator.rb +2 -2
- data/lib/us_core_test_kit/generator.rb +0 -6
- data/lib/us_core_test_kit/must_support_test.rb +2 -5
- data/lib/us_core_test_kit/reference_resolution_test.rb +2 -2
- data/lib/us_core_test_kit/search_test.rb +29 -7
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +3 -7
- data/lib/us_core_test_kit/generated/v3.1.1/resource_list.rb +0 -28
- data/lib/us_core_test_kit/generated/v4.0.0/resource_list.rb +0 -28
- data/lib/us_core_test_kit/generated/v5.0.1/resource_list.rb +0 -31
- data/lib/us_core_test_kit/generated/v6.1.0/resource_list.rb +0 -34
- data/lib/us_core_test_kit/generator/resource_list_generator.rb +0 -42
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class PulseOximetryReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -159,7 +159,8 @@
|
|
159
159
|
- :id: QuestionnaireResponse.questionnaire.extension:url
|
160
160
|
:url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri
|
161
161
|
:slices:
|
162
|
-
- :
|
162
|
+
- :slice_id: QuestionnaireResponse.meta.tag:sdoh
|
163
|
+
:slice_name: sdoh
|
163
164
|
:path: meta.tag
|
164
165
|
:discriminator:
|
165
166
|
:type: patternCoding
|
@@ -175,6 +176,8 @@
|
|
175
176
|
- :path: subject
|
176
177
|
:types:
|
177
178
|
- Reference
|
179
|
+
:target_profiles:
|
180
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
178
181
|
- :path: authored
|
179
182
|
- :path: author
|
180
183
|
:types:
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class QuestionnaireResponseReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within QuestionnaireResponse resources are valid'
|
11
9
|
description %(
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class RelatedPersonReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within RelatedPerson resources are valid'
|
11
9
|
description %(
|
@@ -141,12 +141,14 @@
|
|
141
141
|
:must_supports:
|
142
142
|
:extensions: []
|
143
143
|
:slices:
|
144
|
-
- :
|
144
|
+
- :slice_id: Observation.value[x]:valueQuantity
|
145
|
+
:slice_name: valueQuantity
|
145
146
|
:path: value[x]
|
146
147
|
:discriminator:
|
147
148
|
:type: type
|
148
149
|
:code: Quantity
|
149
|
-
- :
|
150
|
+
- :slice_id: Observation.category:VSCat
|
151
|
+
:slice_name: VSCat
|
150
152
|
:path: category
|
151
153
|
:discriminator:
|
152
154
|
:type: value
|
@@ -158,24 +160,26 @@
|
|
158
160
|
:elements:
|
159
161
|
- :path: status
|
160
162
|
- :path: category
|
161
|
-
- :path: category.coding
|
162
|
-
- :path: category.coding.system
|
163
|
+
- :path: category:VSCat.coding
|
164
|
+
- :path: category:VSCat.coding.system
|
163
165
|
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
164
|
-
- :path: category.coding.code
|
166
|
+
- :path: category:VSCat.coding.code
|
165
167
|
:fixed_value: vital-signs
|
166
168
|
- :path: code.coding.code
|
167
169
|
:fixed_value: 9279-1
|
168
170
|
- :path: subject
|
169
171
|
:types:
|
170
172
|
- Reference
|
173
|
+
:target_profiles:
|
174
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
171
175
|
- :path: effectiveDateTime
|
172
176
|
:original_path: effective[x]
|
173
177
|
- :path: value[x]
|
174
|
-
- :path: value[x].value
|
175
|
-
- :path: value[x].unit
|
176
|
-
- :path: value[x].system
|
178
|
+
- :path: value[x]:valueQuantity.value
|
179
|
+
- :path: value[x]:valueQuantity.unit
|
180
|
+
- :path: value[x]:valueQuantity.system
|
177
181
|
:fixed_value: http://unitsofmeasure.org
|
178
|
-
- :path: value[x].code
|
182
|
+
- :path: value[x]:valueQuantity.code
|
179
183
|
:fixed_value: "/min"
|
180
184
|
:mandatory_elements:
|
181
185
|
- Observation.status
|
data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb
CHANGED
@@ -13,20 +13,20 @@ module USCoreTestKit
|
|
13
13
|
found previously for the following must support elements:
|
14
14
|
|
15
15
|
* Observation.category
|
16
|
-
* Observation.category.coding
|
17
|
-
* Observation.category.coding.code
|
18
|
-
* Observation.category.coding.system
|
19
16
|
* Observation.category:VSCat
|
17
|
+
* Observation.category:VSCat.coding
|
18
|
+
* Observation.category:VSCat.coding.code
|
19
|
+
* Observation.category:VSCat.coding.system
|
20
20
|
* Observation.code.coding.code
|
21
21
|
* Observation.effectiveDateTime
|
22
22
|
* Observation.status
|
23
23
|
* Observation.subject
|
24
24
|
* Observation.value[x]
|
25
|
-
* Observation.value[x].code
|
26
|
-
* Observation.value[x].system
|
27
|
-
* Observation.value[x].unit
|
28
|
-
* Observation.value[x].value
|
29
25
|
* Observation.value[x]:valueQuantity
|
26
|
+
* Observation.value[x]:valueQuantity.code
|
27
|
+
* Observation.value[x]:valueQuantity.system
|
28
|
+
* Observation.value[x]:valueQuantity.unit
|
29
|
+
* Observation.value[x]:valueQuantity.value
|
30
30
|
)
|
31
31
|
|
32
32
|
id :us_core_v501_respiratory_rate_must_support_test
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class RespiratoryRateReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -166,7 +166,8 @@
|
|
166
166
|
:must_supports:
|
167
167
|
:extensions: []
|
168
168
|
:slices:
|
169
|
-
- :
|
169
|
+
- :slice_id: ServiceRequest.category:us-core
|
170
|
+
:slice_name: us-core
|
170
171
|
:path: category
|
171
172
|
:discriminator:
|
172
173
|
:type: requiredBinding
|
@@ -188,6 +189,8 @@
|
|
188
189
|
- :path: subject
|
189
190
|
:types:
|
190
191
|
- Reference
|
192
|
+
:target_profiles:
|
193
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
191
194
|
- :path: occurrencePeriod
|
192
195
|
:original_path: occurrence[x]
|
193
196
|
- :path: authoredOn
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class ServiceRequestReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within ServiceRequest resources are valid'
|
11
9
|
description %(
|
@@ -135,19 +135,22 @@
|
|
135
135
|
:must_supports:
|
136
136
|
:extensions: []
|
137
137
|
:slices:
|
138
|
-
- :
|
138
|
+
- :slice_id: Observation.category:SocialHistory
|
139
|
+
:slice_name: SocialHistory
|
139
140
|
:path: category
|
140
141
|
:discriminator:
|
141
142
|
:type: patternCodeableConcept
|
142
143
|
:path: ''
|
143
144
|
:code: social-history
|
144
145
|
:system: http://terminology.hl7.org/CodeSystem/observation-category
|
145
|
-
- :
|
146
|
+
- :slice_id: Observation.effective[x]:effectiveDateTime
|
147
|
+
:slice_name: effectiveDateTime
|
146
148
|
:path: effective[x]
|
147
149
|
:discriminator:
|
148
150
|
:type: type
|
149
151
|
:code: DateTime
|
150
|
-
- :
|
152
|
+
- :slice_id: Observation.value[x]:valueCodeableConcept
|
153
|
+
:slice_name: valueCodeableConcept
|
151
154
|
:path: value[x]
|
152
155
|
:discriminator:
|
153
156
|
:type: type
|
@@ -159,6 +162,8 @@
|
|
159
162
|
- :path: subject
|
160
163
|
:types:
|
161
164
|
- Reference
|
165
|
+
:target_profiles:
|
166
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
162
167
|
:mandatory_elements:
|
163
168
|
- Observation.status
|
164
169
|
- Observation.category
|
data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV501
|
6
5
|
class SmokingstatusReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV610
|
6
5
|
class AllergyIntoleranceReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within AllergyIntolerance resources are valid'
|
11
9
|
description %(
|
data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_must_support_test.rb
CHANGED
@@ -13,21 +13,31 @@ module USCoreTestKit
|
|
13
13
|
found previously for the following must support elements:
|
14
14
|
|
15
15
|
* Observation.category
|
16
|
-
* Observation.category.coding
|
17
|
-
* Observation.category.coding.code
|
18
|
-
* Observation.category.coding.system
|
19
16
|
* Observation.category:VSCat
|
17
|
+
* Observation.category:VSCat.coding
|
18
|
+
* Observation.category:VSCat.coding.code
|
19
|
+
* Observation.category:VSCat.coding.system
|
20
20
|
* Observation.code.coding.code
|
21
21
|
* Observation.component
|
22
22
|
* Observation.component.code
|
23
|
-
* Observation.component.
|
23
|
+
* Observation.component.dataAbsentReason
|
24
24
|
* Observation.component.valueQuantity
|
25
|
-
* Observation.component.valueQuantity.code
|
26
|
-
* Observation.component.valueQuantity.system
|
27
|
-
* Observation.component.valueQuantity.unit
|
28
|
-
* Observation.component.valueQuantity.value
|
29
25
|
* Observation.component:diastolic
|
26
|
+
* Observation.component:diastolic.code
|
27
|
+
* Observation.component:diastolic.dataAbsentReason
|
28
|
+
* Observation.component:diastolic.valueQuantity
|
29
|
+
* Observation.component:diastolic.valueQuantity.code
|
30
|
+
* Observation.component:diastolic.valueQuantity.system
|
31
|
+
* Observation.component:diastolic.valueQuantity.unit
|
32
|
+
* Observation.component:diastolic.valueQuantity.value
|
30
33
|
* Observation.component:systolic
|
34
|
+
* Observation.component:systolic.code
|
35
|
+
* Observation.component:systolic.dataAbsentReason
|
36
|
+
* Observation.component:systolic.valueQuantity
|
37
|
+
* Observation.component:systolic.valueQuantity.code
|
38
|
+
* Observation.component:systolic.valueQuantity.system
|
39
|
+
* Observation.component:systolic.valueQuantity.unit
|
40
|
+
* Observation.component:systolic.valueQuantity.value
|
31
41
|
* Observation.effectiveDateTime
|
32
42
|
* Observation.status
|
33
43
|
* Observation.subject
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV610
|
6
5
|
class BloodPressureReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -141,21 +141,24 @@
|
|
141
141
|
:must_supports:
|
142
142
|
:extensions: []
|
143
143
|
:slices:
|
144
|
-
- :
|
144
|
+
- :slice_id: Observation.component:systolic
|
145
|
+
:slice_name: systolic
|
145
146
|
:path: component
|
146
147
|
:discriminator:
|
147
148
|
:type: patternCodeableConcept
|
148
149
|
:path: code
|
149
150
|
:code: 8480-6
|
150
151
|
:system: http://loinc.org
|
151
|
-
- :
|
152
|
+
- :slice_id: Observation.component:diastolic
|
153
|
+
:slice_name: diastolic
|
152
154
|
:path: component
|
153
155
|
:discriminator:
|
154
156
|
:type: patternCodeableConcept
|
155
157
|
:path: code
|
156
158
|
:code: 8462-4
|
157
159
|
:system: http://loinc.org
|
158
|
-
- :
|
160
|
+
- :slice_id: Observation.category:VSCat
|
161
|
+
:slice_name: VSCat
|
159
162
|
:path: category
|
160
163
|
:discriminator:
|
161
164
|
:type: value
|
@@ -167,36 +170,53 @@
|
|
167
170
|
:elements:
|
168
171
|
- :path: status
|
169
172
|
- :path: category
|
170
|
-
- :path: category.coding
|
171
|
-
- :path: category.coding.system
|
173
|
+
- :path: category:VSCat.coding
|
174
|
+
- :path: category:VSCat.coding.system
|
172
175
|
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
173
|
-
- :path: category.coding.code
|
176
|
+
- :path: category:VSCat.coding.code
|
174
177
|
:fixed_value: vital-signs
|
175
178
|
- :path: code.coding.code
|
176
179
|
:fixed_value: 85354-9
|
177
180
|
- :path: subject
|
178
181
|
:types:
|
179
182
|
- Reference
|
183
|
+
:target_profiles:
|
184
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
180
185
|
- :path: effectiveDateTime
|
181
186
|
:original_path: effective[x]
|
182
187
|
- :path: component
|
183
188
|
- :path: component.code
|
184
|
-
- :path: component.code.coding.code
|
185
|
-
:fixed_value: 8480-6
|
186
|
-
- :path: component.valueQuantity.system
|
187
|
-
:original_path: component.value[x].system
|
188
|
-
:fixed_value: http://unitsofmeasure.org
|
189
|
-
- :path: component.valueQuantity.code
|
190
|
-
:original_path: component.value[x].code
|
191
|
-
:fixed_value: mm[Hg]
|
192
|
-
- :path: component.code.coding.code
|
193
|
-
:fixed_value: 8462-4
|
194
189
|
- :path: component.valueQuantity
|
195
190
|
:original_path: component.value[x]
|
196
|
-
- :path: component.
|
197
|
-
|
198
|
-
- :path: component.valueQuantity
|
199
|
-
:original_path: component.value[x]
|
191
|
+
- :path: component.dataAbsentReason
|
192
|
+
- :path: component:systolic.code
|
193
|
+
- :path: component:systolic.valueQuantity
|
194
|
+
:original_path: component:systolic.value[x]
|
195
|
+
- :path: component:systolic.valueQuantity.value
|
196
|
+
:original_path: component:systolic.value[x].value
|
197
|
+
- :path: component:systolic.valueQuantity.unit
|
198
|
+
:original_path: component:systolic.value[x].unit
|
199
|
+
- :path: component:systolic.valueQuantity.system
|
200
|
+
:original_path: component:systolic.value[x].system
|
201
|
+
:fixed_value: http://unitsofmeasure.org
|
202
|
+
- :path: component:systolic.valueQuantity.code
|
203
|
+
:original_path: component:systolic.value[x].code
|
204
|
+
:fixed_value: mm[Hg]
|
205
|
+
- :path: component:systolic.dataAbsentReason
|
206
|
+
- :path: component:diastolic.code
|
207
|
+
- :path: component:diastolic.valueQuantity
|
208
|
+
:original_path: component:diastolic.value[x]
|
209
|
+
- :path: component:diastolic.valueQuantity.value
|
210
|
+
:original_path: component:diastolic.value[x].value
|
211
|
+
- :path: component:diastolic.valueQuantity.unit
|
212
|
+
:original_path: component:diastolic.value[x].unit
|
213
|
+
- :path: component:diastolic.valueQuantity.system
|
214
|
+
:original_path: component:diastolic.value[x].system
|
215
|
+
:fixed_value: http://unitsofmeasure.org
|
216
|
+
- :path: component:diastolic.valueQuantity.code
|
217
|
+
:original_path: component:diastolic.value[x].code
|
218
|
+
:fixed_value: mm[Hg]
|
219
|
+
- :path: component:diastolic.dataAbsentReason
|
200
220
|
:mandatory_elements:
|
201
221
|
- Observation.status
|
202
222
|
- Observation.category
|
@@ -13,19 +13,19 @@ module USCoreTestKit
|
|
13
13
|
found previously for the following must support elements:
|
14
14
|
|
15
15
|
* Observation.category
|
16
|
-
* Observation.category.coding
|
17
|
-
* Observation.category.coding.code
|
18
|
-
* Observation.category.coding.system
|
19
16
|
* Observation.category:VSCat
|
17
|
+
* Observation.category:VSCat.coding
|
18
|
+
* Observation.category:VSCat.coding.code
|
19
|
+
* Observation.category:VSCat.coding.system
|
20
20
|
* Observation.code.coding.code
|
21
21
|
* Observation.effectiveDateTime
|
22
22
|
* Observation.status
|
23
23
|
* Observation.subject
|
24
24
|
* Observation.valueQuantity
|
25
|
-
* Observation.valueQuantity.code
|
26
|
-
* Observation.valueQuantity.system
|
27
|
-
* Observation.valueQuantity.unit
|
28
|
-
* Observation.valueQuantity.value
|
25
|
+
* Observation.valueQuantity:valueQuantity.code
|
26
|
+
* Observation.valueQuantity:valueQuantity.system
|
27
|
+
* Observation.valueQuantity:valueQuantity.unit
|
28
|
+
* Observation.valueQuantity:valueQuantity.value
|
29
29
|
* Observation.value[x]:valueQuantity
|
30
30
|
)
|
31
31
|
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV610
|
6
5
|
class BmiReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -141,12 +141,14 @@
|
|
141
141
|
:must_supports:
|
142
142
|
:extensions: []
|
143
143
|
:slices:
|
144
|
-
- :
|
144
|
+
- :slice_id: Observation.value[x]:valueQuantity
|
145
|
+
:slice_name: valueQuantity
|
145
146
|
:path: value[x]
|
146
147
|
:discriminator:
|
147
148
|
:type: type
|
148
149
|
:code: Quantity
|
149
|
-
- :
|
150
|
+
- :slice_id: Observation.category:VSCat
|
151
|
+
:slice_name: VSCat
|
150
152
|
:path: category
|
151
153
|
:discriminator:
|
152
154
|
:type: value
|
@@ -158,29 +160,31 @@
|
|
158
160
|
:elements:
|
159
161
|
- :path: status
|
160
162
|
- :path: category
|
161
|
-
- :path: category.coding
|
162
|
-
- :path: category.coding.system
|
163
|
+
- :path: category:VSCat.coding
|
164
|
+
- :path: category:VSCat.coding.system
|
163
165
|
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
164
|
-
- :path: category.coding.code
|
166
|
+
- :path: category:VSCat.coding.code
|
165
167
|
:fixed_value: vital-signs
|
166
168
|
- :path: code.coding.code
|
167
169
|
:fixed_value: 39156-5
|
168
170
|
- :path: subject
|
169
171
|
:types:
|
170
172
|
- Reference
|
173
|
+
:target_profiles:
|
174
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
171
175
|
- :path: effectiveDateTime
|
172
176
|
:original_path: effective[x]
|
173
177
|
- :path: valueQuantity
|
174
178
|
:original_path: value[x]
|
175
|
-
- :path: valueQuantity.value
|
176
|
-
:original_path: value[x].value
|
177
|
-
- :path: valueQuantity.unit
|
178
|
-
:original_path: value[x].unit
|
179
|
-
- :path: valueQuantity.system
|
180
|
-
:original_path: value[x].system
|
179
|
+
- :path: valueQuantity:valueQuantity.value
|
180
|
+
:original_path: value[x]:valueQuantity.value
|
181
|
+
- :path: valueQuantity:valueQuantity.unit
|
182
|
+
:original_path: value[x]:valueQuantity.unit
|
183
|
+
- :path: valueQuantity:valueQuantity.system
|
184
|
+
:original_path: value[x]:valueQuantity.system
|
181
185
|
:fixed_value: http://unitsofmeasure.org
|
182
|
-
- :path: valueQuantity.code
|
183
|
-
:original_path: value[x].code
|
186
|
+
- :path: valueQuantity:valueQuantity.code
|
187
|
+
:original_path: value[x]:valueQuantity.code
|
184
188
|
:fixed_value: kg/m2
|
185
189
|
:mandatory_elements:
|
186
190
|
- Observation.status
|
@@ -13,19 +13,19 @@ module USCoreTestKit
|
|
13
13
|
found previously for the following must support elements:
|
14
14
|
|
15
15
|
* Observation.category
|
16
|
-
* Observation.category.coding
|
17
|
-
* Observation.category.coding.code
|
18
|
-
* Observation.category.coding.system
|
19
16
|
* Observation.category:VSCat
|
17
|
+
* Observation.category:VSCat.coding
|
18
|
+
* Observation.category:VSCat.coding.code
|
19
|
+
* Observation.category:VSCat.coding.system
|
20
20
|
* Observation.code.coding.code
|
21
21
|
* Observation.effectiveDateTime
|
22
22
|
* Observation.status
|
23
23
|
* Observation.subject
|
24
24
|
* Observation.valueQuantity
|
25
|
-
* Observation.valueQuantity.code
|
26
|
-
* Observation.valueQuantity.system
|
27
|
-
* Observation.valueQuantity.unit
|
28
|
-
* Observation.valueQuantity.value
|
25
|
+
* Observation.valueQuantity:valueQuantity.code
|
26
|
+
* Observation.valueQuantity:valueQuantity.system
|
27
|
+
* Observation.valueQuantity:valueQuantity.unit
|
28
|
+
* Observation.valueQuantity:valueQuantity.value
|
29
29
|
* Observation.value[x]:valueQuantity
|
30
30
|
)
|
31
31
|
|
data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_reference_resolution_test.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV610
|
6
5
|
class BodyHeightReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|
@@ -141,12 +141,14 @@
|
|
141
141
|
:must_supports:
|
142
142
|
:extensions: []
|
143
143
|
:slices:
|
144
|
-
- :
|
144
|
+
- :slice_id: Observation.value[x]:valueQuantity
|
145
|
+
:slice_name: valueQuantity
|
145
146
|
:path: value[x]
|
146
147
|
:discriminator:
|
147
148
|
:type: type
|
148
149
|
:code: Quantity
|
149
|
-
- :
|
150
|
+
- :slice_id: Observation.category:VSCat
|
151
|
+
:slice_name: VSCat
|
150
152
|
:path: category
|
151
153
|
:discriminator:
|
152
154
|
:type: value
|
@@ -158,29 +160,31 @@
|
|
158
160
|
:elements:
|
159
161
|
- :path: status
|
160
162
|
- :path: category
|
161
|
-
- :path: category.coding
|
162
|
-
- :path: category.coding.system
|
163
|
+
- :path: category:VSCat.coding
|
164
|
+
- :path: category:VSCat.coding.system
|
163
165
|
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
164
|
-
- :path: category.coding.code
|
166
|
+
- :path: category:VSCat.coding.code
|
165
167
|
:fixed_value: vital-signs
|
166
168
|
- :path: code.coding.code
|
167
169
|
:fixed_value: 8302-2
|
168
170
|
- :path: subject
|
169
171
|
:types:
|
170
172
|
- Reference
|
173
|
+
:target_profiles:
|
174
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
171
175
|
- :path: effectiveDateTime
|
172
176
|
:original_path: effective[x]
|
173
177
|
- :path: valueQuantity
|
174
178
|
:original_path: value[x]
|
175
|
-
- :path: valueQuantity.value
|
176
|
-
:original_path: value[x].value
|
177
|
-
- :path: valueQuantity.unit
|
178
|
-
:original_path: value[x].unit
|
179
|
-
- :path: valueQuantity.system
|
180
|
-
:original_path: value[x].system
|
179
|
+
- :path: valueQuantity:valueQuantity.value
|
180
|
+
:original_path: value[x]:valueQuantity.value
|
181
|
+
- :path: valueQuantity:valueQuantity.unit
|
182
|
+
:original_path: value[x]:valueQuantity.unit
|
183
|
+
- :path: valueQuantity:valueQuantity.system
|
184
|
+
:original_path: value[x]:valueQuantity.system
|
181
185
|
:fixed_value: http://unitsofmeasure.org
|
182
|
-
- :path: valueQuantity.code
|
183
|
-
:original_path: value[x].code
|
186
|
+
- :path: valueQuantity:valueQuantity.code
|
187
|
+
:original_path: value[x]:valueQuantity.code
|
184
188
|
:mandatory_elements:
|
185
189
|
- Observation.status
|
186
190
|
- Observation.category
|
data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_must_support_test.rb
CHANGED
@@ -13,19 +13,19 @@ module USCoreTestKit
|
|
13
13
|
found previously for the following must support elements:
|
14
14
|
|
15
15
|
* Observation.category
|
16
|
-
* Observation.category.coding
|
17
|
-
* Observation.category.coding.code
|
18
|
-
* Observation.category.coding.system
|
19
16
|
* Observation.category:VSCat
|
17
|
+
* Observation.category:VSCat.coding
|
18
|
+
* Observation.category:VSCat.coding.code
|
19
|
+
* Observation.category:VSCat.coding.system
|
20
20
|
* Observation.code.coding.code
|
21
21
|
* Observation.effectiveDateTime
|
22
22
|
* Observation.status
|
23
23
|
* Observation.subject
|
24
24
|
* Observation.valueQuantity
|
25
|
-
* Observation.valueQuantity.code
|
26
|
-
* Observation.valueQuantity.system
|
27
|
-
* Observation.valueQuantity.unit
|
28
|
-
* Observation.valueQuantity.value
|
25
|
+
* Observation.valueQuantity:valueQuantity.code
|
26
|
+
* Observation.valueQuantity:valueQuantity.system
|
27
|
+
* Observation.valueQuantity:valueQuantity.unit
|
28
|
+
* Observation.valueQuantity:valueQuantity.value
|
29
29
|
* Observation.value[x]:valueQuantity
|
30
30
|
)
|
31
31
|
|
@@ -1,11 +1,9 @@
|
|
1
1
|
require_relative '../../../reference_resolution_test'
|
2
|
-
require_relative '../resource_list'
|
3
2
|
|
4
3
|
module USCoreTestKit
|
5
4
|
module USCoreV610
|
6
5
|
class BodyTemperatureReferenceResolutionTest < Inferno::Test
|
7
6
|
include USCoreTestKit::ReferenceResolutionTest
|
8
|
-
include ResourceList
|
9
7
|
|
10
8
|
title 'MustSupport references within Observation resources are valid'
|
11
9
|
description %(
|