us_core_test_kit 0.6.2 → 0.6.4
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/base_smart_granular_scopes_group.rb +124 -0
- data/lib/us_core_test_kit/custom_groups/clinical_note_type_test.rb +8 -1
- data/lib/us_core_test_kit/custom_groups/smart_app_launch_group.rb +53 -0
- data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb +40 -0
- data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb +40 -0
- data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +55 -0
- data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu1_group.rb +40 -0
- data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_group.rb +40 -0
- data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +73 -0
- data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/capability_statement_group.rb +133 -0
- data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/smart_granular_scopes_group.rb +81 -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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +661 -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/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +11 -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_weight_for_height/metadata.yml +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/procedure/metadata.yml +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/pulse_oximetry/metadata.yml +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/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +69 -43
- 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/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +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/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +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/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +711 -0
- data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -0
- 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/patient/metadata.yml +11 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +1 -0
- 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/procedure/metadata.yml +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/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +71 -45
- data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +968 -2
- data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +7 -2
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/metadata.yml +155 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +82 -54
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +22 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope1_group.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope2_group.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +1 -4
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/metadata.yml +374 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/metadata.yml +281 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +1119 -40
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope1_group.rb +34 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope2_group.rb +32 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +12 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/metadata.yml +1 -8
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/metadata.yml +1 -8
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/metadata.yml +1 -8
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/metadata.yml +2 -10
- data/lib/us_core_test_kit/generated/v6.1.0/organization/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/metadata.yml +3 -2
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_must_support_test.rb +0 -2
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/metadata.yml +155 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +97 -58
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/metadata.yml +155 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance_group.rb +88 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_must_support_test.rb +72 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/metadata.yml +357 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_must_support_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/metadata.yml +326 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/metadata.yml +293 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/metadata.yml +293 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/metadata.yml +293 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/metadata.yml +256 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/metadata.yml +283 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_patient_role_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_patient_status_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_role_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/metadata.yml +179 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/metadata.yml +375 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope1_group.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope2_group.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/metadata.yml +371 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/metadata.yml +167 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_status_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_type_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/metadata.yml +167 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/device_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope1_group.rb +35 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope2_group.rb +35 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/metadata.yml +270 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/metadata.yml +297 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope1_group.rb +36 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_class_patient_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_date_patient_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_identifier_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_location_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_type_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/metadata.yml +375 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_description_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_target_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/metadata.yml +194 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/metadata.yml +375 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_category_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_code_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/metadata.yml +297 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_id_granular_scope_test.rb +37 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_category_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_type_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_type_period_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/metadata.yml +339 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/metadata.yml +294 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_code_date_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/metadata.yml +355 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_id_granular_scope_test.rb +37 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_category_authored_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_category_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_code_authored_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_code_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_status_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scopes1_group.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scopes2_group.rb +60 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/metadata.yml +293 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/metadata.yml +187 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_city_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_postalcode_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_state_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/metadata.yml +194 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/location_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/metadata.yml +241 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_must_support_test.rb +59 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_search_test.rb +70 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_reference_resolution_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_validation_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/metadata.yml +328 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request_group.rb +95 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +13229 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/metadata.yml +280 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope1_group.rb +35 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope2_group.rb +34 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/metadata.yml +294 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/metadata.yml +275 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/metadata.yml +264 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/metadata.yml +264 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/metadata.yml +299 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/metadata.yml +251 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/metadata.yml +143 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_address_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization_group.rb +85 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/metadata.yml +388 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_birthdate_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_birthdate_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_death_date_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_family_gender_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_gender_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_id_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_must_support_test.rb +67 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/metadata.yml +167 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_id_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_group.rb +87 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/metadata.yml +160 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_practitioner_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_specialty_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role_group.rb +89 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/metadata.yml +252 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_date_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/metadata.yml +164 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance_group.rb +59 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/metadata.yml +366 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_must_support_test.rb +71 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/metadata.yml +235 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_reference_resolution_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response_group.rb +97 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/metadata.yml +139 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_name_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_patient_name_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/metadata.yml +290 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/metadata.yml +355 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_must_support_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_authored_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_authored_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope1_group.rb +36 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope2_group.rb +37 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/metadata.yml +305 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation_group.rb +98 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/metadata.yml +254 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/metadata.yml +132 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_patient_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/metadata.yml +256 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +216 -0
- data/lib/us_core_test_kit/generator/granular_scope_group_generator.rb +127 -0
- data/lib/us_core_test_kit/generator/granular_scope_resource_type_group_generator.rb +144 -0
- data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +164 -0
- data/lib/us_core_test_kit/generator/group_generator.rb +2 -2
- data/lib/us_core_test_kit/generator/group_metadata.rb +26 -15
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +12 -25
- data/lib/us_core_test_kit/generator/ig_metadata.rb +13 -2
- data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +9 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +4 -1
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_3.rb +64 -18
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +1 -18
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +0 -15
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +5 -2
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_7.rb +42 -0
- data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +51 -8
- data/lib/us_core_test_kit/generator/search_metadata_extractor.rb +4 -4
- data/lib/us_core_test_kit/generator/special_cases.rb +51 -6
- data/lib/us_core_test_kit/generator/suite_generator.rb +16 -0
- data/lib/us_core_test_kit/generator/value_extractor.rb +0 -7
- data/lib/us_core_test_kit/generator.rb +26 -0
- data/lib/us_core_test_kit/granular_scope_checker.rb +138 -0
- data/lib/us_core_test_kit/igs/us_core_700_ballot/CodeSystem-observation-category.json +83 -0
- data/lib/us_core_test_kit/igs/us_core_700_ballot/StructureDefinition-condition-assertedDate.json +280 -0
- data/lib/us_core_test_kit/igs/us_core_700_ballot/ValueSet-servicerequest-category.json +69 -0
- data/lib/us_core_test_kit/igs/us_core_700_ballot.tgz +0 -0
- data/lib/us_core_test_kit/search_test.rb +132 -98
- data/lib/us_core_test_kit/us_core_options.rb +10 -0
- data/lib/us_core_test_kit/version.rb +1 -1
- data/lib/us_core_test_kit.rb +2 -0
- metadata +707 -3
- data/lib/us_core_test_kit/igs/us_core_610/ValueSet-observation-category.json +0 -48
@@ -17,7 +17,6 @@ module USCoreTestKit
|
|
17
17
|
|
18
18
|
def handle_special_cases
|
19
19
|
add_must_support_choices
|
20
|
-
remove_patient_address_period
|
21
20
|
add_patient_uscdi_elements
|
22
21
|
remove_survey_questionnaire_response
|
23
22
|
end
|
@@ -48,10 +47,6 @@ module USCoreTestKit
|
|
48
47
|
end
|
49
48
|
end
|
50
49
|
|
51
|
-
def remove_patient_address_period
|
52
|
-
us_core_4_extractor.remove_patient_address_period
|
53
|
-
end
|
54
|
-
|
55
50
|
def add_patient_uscdi_elements
|
56
51
|
return unless profile.type == 'Patient'
|
57
52
|
|
@@ -62,16 +57,6 @@ module USCoreTestKit
|
|
62
57
|
url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity',
|
63
58
|
uscdi_only: true
|
64
59
|
}
|
65
|
-
must_supports[:elements] << {
|
66
|
-
path: 'address.use',
|
67
|
-
fixed_value: 'old',
|
68
|
-
uscdi_only: true
|
69
|
-
}
|
70
|
-
must_supports[:elements] << {
|
71
|
-
path: 'name.use',
|
72
|
-
fixed_value: 'old',
|
73
|
-
uscdi_only: true
|
74
|
-
}
|
75
60
|
end
|
76
61
|
|
77
62
|
def add_value_set_expansion
|
@@ -12,6 +12,10 @@ module USCoreTestKit
|
|
12
12
|
self.must_supports = must_supports
|
13
13
|
end
|
14
14
|
|
15
|
+
def us_core_3_extractor
|
16
|
+
@us_core_3_extractor ||= MustSupportMetadataExtractorUsCore3.new(profile, must_supports)
|
17
|
+
end
|
18
|
+
|
15
19
|
def us_core_4_extractor
|
16
20
|
@us_core_4_extractor ||= MustSupportMetadataExtractorUsCore4.new(profile, must_supports)
|
17
21
|
end
|
@@ -66,11 +70,10 @@ module USCoreTestKit
|
|
66
70
|
return unless profile.type == 'Patient'
|
67
71
|
|
68
72
|
us_core_4_extractor.add_patient_telecom_communication_uscdi
|
73
|
+
us_core_3_extractor.update_patient_previous_name_address
|
69
74
|
|
70
75
|
must_supports[:elements].each do |element|
|
71
76
|
case element[:path]
|
72
|
-
when 'address.use', 'name.use'
|
73
|
-
element[:fixed_value] = 'old'
|
74
77
|
when 'deceased[x]'
|
75
78
|
element[:original_path] = element[:path]
|
76
79
|
element[:path] = 'deceasedDateTime'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative 'must_support_metadata_extractor_us_core_6'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
class Generator
|
5
|
+
class MustSupportMetadataExtractorUsCore7
|
6
|
+
attr_accessor :profile, :must_supports
|
7
|
+
|
8
|
+
US_CORE_CATEGORY = ['sdoh', 'functional-status', 'disability-status', 'cognitive-status']
|
9
|
+
|
10
|
+
def initialize(profile, must_supports)
|
11
|
+
self.profile = profile
|
12
|
+
self.must_supports = must_supports
|
13
|
+
end
|
14
|
+
|
15
|
+
def us_core_6_extractor
|
16
|
+
@us_core_6_extractor ||= MustSupportMetadataExtractorUsCore6.new(profile, must_supports)
|
17
|
+
end
|
18
|
+
|
19
|
+
def handle_special_cases
|
20
|
+
us_core_6_extractor.handle_special_cases
|
21
|
+
add_must_support_choices
|
22
|
+
end
|
23
|
+
|
24
|
+
def add_must_support_choices
|
25
|
+
more_choices = []
|
26
|
+
|
27
|
+
case profile.type
|
28
|
+
when 'Procedure'
|
29
|
+
more_choices << {
|
30
|
+
paths: ['reasonCode', 'reasonReference'],
|
31
|
+
uscdi_only: true
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
if more_choices.present?
|
36
|
+
must_supports[:choices] ||= []
|
37
|
+
must_supports[:choices].concat(more_choices)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -3,13 +3,13 @@ require_relative 'value_extractor'
|
|
3
3
|
module USCoreTestKit
|
4
4
|
class Generator
|
5
5
|
class SearchDefinitionMetadataExtractor
|
6
|
-
attr_accessor :ig_resources, :name, :
|
6
|
+
attr_accessor :ig_resources, :name, :profile_elements, :group_metadata
|
7
7
|
|
8
|
-
def initialize(name, ig_resources,
|
8
|
+
def initialize(name, ig_resources, profile_elements, group_metadata)
|
9
9
|
self.name = name
|
10
10
|
self.ig_resources = ig_resources
|
11
|
-
self.resource = resource
|
12
11
|
self.profile_elements = profile_elements
|
12
|
+
self.group_metadata = group_metadata
|
13
13
|
end
|
14
14
|
|
15
15
|
def search_definition
|
@@ -26,6 +26,10 @@ module USCoreTestKit
|
|
26
26
|
}.compact
|
27
27
|
end
|
28
28
|
|
29
|
+
def resource
|
30
|
+
group_metadata[:resource]
|
31
|
+
end
|
32
|
+
|
29
33
|
def param
|
30
34
|
@param ||= ig_resources.search_param_by_resource_and_name(resource, name)
|
31
35
|
end
|
@@ -162,11 +166,50 @@ module USCoreTestKit
|
|
162
166
|
end
|
163
167
|
|
164
168
|
def values
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
169
|
+
values_from_must_supports(profile_element).presence ||
|
170
|
+
value_extractor.values_from_fixed_codes(profile_element, type).presence ||
|
171
|
+
#value_extractor.values_from_required_binding(profile_element).presence ||
|
172
|
+
value_extractor.values_from_value_set_binding(profile_element).presence ||
|
173
|
+
values_from_resource_metadata(paths).presence ||
|
174
|
+
[]
|
175
|
+
end
|
176
|
+
|
177
|
+
def values_from_must_supports(profile_element)
|
178
|
+
return if profile_element.nil?
|
179
|
+
|
180
|
+
short_path = profile_element.path.split('.', 2)[1]
|
181
|
+
|
182
|
+
values_from_must_support_slices(profile_element, short_path, true).presence ||
|
183
|
+
values_from_must_support_slices(profile_element, short_path, false).presence ||
|
184
|
+
values_from_must_support_elements(short_path).presence ||
|
185
|
+
[]
|
186
|
+
end
|
187
|
+
|
188
|
+
def values_from_must_support_slices(profile_element, short_path, mandatory_slice_only)
|
189
|
+
group_metadata[:must_supports][:slices]
|
190
|
+
.select { |slice| [short_path, "#{short_path}.coding"].include?(slice[:path]) }
|
191
|
+
.map do |slice|
|
192
|
+
slice_element = profile_elements.find { |element| slice[:slice_id] == element.id }
|
193
|
+
next if (profile_element.min > 0 && slice_element.min == 0 && mandatory_slice_only)
|
194
|
+
|
195
|
+
case slice[:discriminator][:type]
|
196
|
+
when 'patternCoding', 'patternCodeableConcept'
|
197
|
+
slice[:discriminator][:code]
|
198
|
+
when 'requiredBinding'
|
199
|
+
slice[:discriminator][:values]
|
200
|
+
when 'value'
|
201
|
+
slice[:discriminator][:values]
|
202
|
+
.select { |value| value[:path] == 'coding.code' }
|
203
|
+
.map { |value| value[:value] }
|
204
|
+
end
|
205
|
+
end
|
206
|
+
.compact.flatten
|
207
|
+
end
|
208
|
+
|
209
|
+
def values_from_must_support_elements(short_path)
|
210
|
+
group_metadata[:must_supports][:elements]
|
211
|
+
.select { |element| element[:path] == "#{short_path}.coding.code" }
|
212
|
+
.map { |element| element[:fixed_value] }
|
170
213
|
end
|
171
214
|
|
172
215
|
def values_from_resource_metadata(paths)
|
@@ -6,13 +6,13 @@ module USCoreTestKit
|
|
6
6
|
COMBO_EXTENSION_URL =
|
7
7
|
'http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination'.freeze
|
8
8
|
|
9
|
-
attr_accessor :resource_capabilities, :ig_resources, :
|
9
|
+
attr_accessor :resource_capabilities, :ig_resources, :profile_elements, :group_metadata
|
10
10
|
|
11
|
-
def initialize(resource_capabilities, ig_resources,
|
11
|
+
def initialize(resource_capabilities, ig_resources, profile_elements, group_metadata)
|
12
12
|
self.resource_capabilities = resource_capabilities
|
13
13
|
self.ig_resources = ig_resources
|
14
|
-
self.resource = resource
|
15
14
|
self.profile_elements = profile_elements
|
15
|
+
self.group_metadata = group_metadata
|
16
16
|
end
|
17
17
|
|
18
18
|
def searches
|
@@ -66,7 +66,7 @@ module USCoreTestKit
|
|
66
66
|
def search_definitions
|
67
67
|
search_param_names.each_with_object({}) do |name, definitions|
|
68
68
|
definitions[name.to_sym] =
|
69
|
-
SearchDefinitionMetadataExtractor.new(name, ig_resources,
|
69
|
+
SearchDefinitionMetadataExtractor.new(name, ig_resources, profile_elements, group_metadata).search_definition
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
@@ -1,20 +1,65 @@
|
|
1
1
|
module USCoreTestKit
|
2
2
|
class Generator
|
3
3
|
module SpecialCases
|
4
|
-
RESOURCES_TO_EXCLUDE =
|
5
|
-
'Location',
|
6
|
-
'Medication',
|
7
|
-
'PractitionerRole'
|
8
|
-
|
4
|
+
RESOURCES_TO_EXCLUDE = {
|
5
|
+
'Location' => ['v311', 'v400', 'v501', 'v610'],
|
6
|
+
'Medication' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
|
7
|
+
'PractitionerRole' => ['v311', 'v400']
|
8
|
+
}.freeze
|
9
9
|
|
10
10
|
PROFILES_TO_EXCLUDE = [
|
11
11
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
|
12
12
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs'
|
13
13
|
].freeze
|
14
14
|
|
15
|
+
OPTIONAL_RESOURCES = [
|
16
|
+
'PractitionerRole',
|
17
|
+
'QuestionnaireResponse'
|
18
|
+
].freeze
|
19
|
+
|
20
|
+
OPTIONAL_PROFILES = [
|
21
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
|
22
|
+
].freeze
|
23
|
+
|
24
|
+
NON_USCDI_RESOURCES = {
|
25
|
+
'Encounter' => ['v311', 'v400'],
|
26
|
+
'Location' => ['v311', 'v400', 'v501', 'v610'],
|
27
|
+
'Organization' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
|
28
|
+
'Practitioner' => ['v311', 'v400'],
|
29
|
+
'PractitionerRole' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
|
30
|
+
'Provenance' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
|
31
|
+
'RelatedPerson' => ['v501', 'v610', 'v700_ballot'],
|
32
|
+
'Specimen' => ['v610', 'v700_ballot']
|
33
|
+
}.freeze
|
34
|
+
|
35
|
+
SEARCHABLE_DELAYED_RESOURCES = {
|
36
|
+
'Location' => ['v700_ballot'],
|
37
|
+
'Practitioner' => ['v501', 'v610', 'v700_ballot']
|
38
|
+
}.freeze
|
39
|
+
|
40
|
+
ALL_VERSION_CATEGORY_FIRST_PROFILES = [
|
41
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
|
42
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
|
43
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
|
44
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
|
45
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test',
|
46
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging',
|
47
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
48
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
|
49
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment',
|
50
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history',
|
51
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
|
52
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
|
53
|
+
].freeze
|
54
|
+
|
55
|
+
VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES = {
|
56
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis' => ['v610', 'v700_ballot'],
|
57
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns' => ['v610', 'v700_ballot']
|
58
|
+
}.freeze
|
59
|
+
|
15
60
|
class << self
|
16
61
|
def exclude_group?(group)
|
17
|
-
RESOURCES_TO_EXCLUDE.
|
62
|
+
RESOURCES_TO_EXCLUDE.key?(group.resource) && RESOURCES_TO_EXCLUDE[group.resource].include?(group.reformatted_version)
|
18
63
|
end
|
19
64
|
end
|
20
65
|
end
|
@@ -49,6 +49,10 @@ module USCoreTestKit
|
|
49
49
|
"us_core_#{ig_metadata.reformatted_version}"
|
50
50
|
end
|
51
51
|
|
52
|
+
def fhir_api_group_id
|
53
|
+
"us_core_#{ig_metadata.reformatted_version}_fhir_api"
|
54
|
+
end
|
55
|
+
|
52
56
|
def title
|
53
57
|
"US Core #{ig_metadata.ig_version}"
|
54
58
|
end
|
@@ -68,6 +72,10 @@ module USCoreTestKit
|
|
68
72
|
end
|
69
73
|
end
|
70
74
|
|
75
|
+
def test_granular_scopes?
|
76
|
+
ig_metadata.ig_version[1].to_i > 5
|
77
|
+
end
|
78
|
+
|
71
79
|
def generate
|
72
80
|
File.open(output_file_name, 'w') { |f| f.write(output) }
|
73
81
|
end
|
@@ -110,6 +118,14 @@ module USCoreTestKit
|
|
110
118
|
'us_core_v400_clinical_notes_guidance'
|
111
119
|
end
|
112
120
|
end
|
121
|
+
|
122
|
+
def granular_scopes_file_name
|
123
|
+
"../../custom_groups/#{ig_metadata.ig_version}/smart_granular_scopes_group"
|
124
|
+
end
|
125
|
+
|
126
|
+
def granular_scopes_id
|
127
|
+
"us_core_#{ig_metadata.reformatted_version}_smart_granular_scopes"
|
128
|
+
end
|
113
129
|
end
|
114
130
|
end
|
115
131
|
end
|
@@ -9,13 +9,6 @@ module USCoreTestKit
|
|
9
9
|
self.profile_elements = profile_elements
|
10
10
|
end
|
11
11
|
|
12
|
-
def values_from_slicing(profile_element, type)
|
13
|
-
(
|
14
|
-
values_from_fixed_codes(profile_element, type) +
|
15
|
-
values_from_pattern_coding(profile_element, type) +
|
16
|
-
values_from_pattern_codeable_concept(profile_element, type)
|
17
|
-
).uniq
|
18
|
-
end
|
19
12
|
|
20
13
|
def values_from_required_binding(profile_element)
|
21
14
|
return [] unless profile_element&.max == '*'
|
@@ -3,6 +3,9 @@ require 'inferno/ext/fhir_models'
|
|
3
3
|
|
4
4
|
require_relative 'generator/ig_loader'
|
5
5
|
require_relative 'generator/ig_metadata_extractor'
|
6
|
+
require_relative 'generator/granular_scope_group_generator'
|
7
|
+
require_relative 'generator/granular_scope_resource_type_group_generator'
|
8
|
+
require_relative 'generator/granular_scope_test_generator'
|
6
9
|
require_relative 'generator/group_generator'
|
7
10
|
require_relative 'generator/must_support_test_generator'
|
8
11
|
require_relative 'generator/provenance_revinclude_search_test_generator'
|
@@ -41,15 +44,26 @@ module USCoreTestKit
|
|
41
44
|
generate_must_support_tests
|
42
45
|
generate_reference_resolution_tests
|
43
46
|
|
47
|
+
generate_granular_scope_tests
|
48
|
+
|
44
49
|
generate_groups
|
45
50
|
|
51
|
+
generate_granular_scope_resource_type_groups
|
52
|
+
|
53
|
+
generate_granular_scope_groups
|
54
|
+
|
46
55
|
generate_suites
|
56
|
+
|
57
|
+
write_metadata
|
47
58
|
end
|
48
59
|
|
49
60
|
def extract_metadata
|
50
61
|
self.ig_metadata = IGMetadataExtractor.new(ig_resources).extract
|
51
62
|
|
52
63
|
FileUtils.mkdir_p(base_output_dir)
|
64
|
+
end
|
65
|
+
|
66
|
+
def write_metadata
|
53
67
|
File.open(File.join(base_output_dir, 'metadata.yml'), 'w') do |file|
|
54
68
|
file.write(YAML.dump(ig_metadata.to_hash))
|
55
69
|
end
|
@@ -88,10 +102,22 @@ module USCoreTestKit
|
|
88
102
|
ProvenanceRevincludeSearchTestGenerator.generate(ig_metadata, base_output_dir)
|
89
103
|
end
|
90
104
|
|
105
|
+
def generate_granular_scope_tests
|
106
|
+
GranularScopeTestGenerator.generate(ig_metadata, base_output_dir)
|
107
|
+
end
|
108
|
+
|
91
109
|
def generate_groups
|
92
110
|
GroupGenerator.generate(ig_metadata, base_output_dir)
|
93
111
|
end
|
94
112
|
|
113
|
+
def generate_granular_scope_resource_type_groups
|
114
|
+
GranularScopeResourceTypeGroupGenerator.generate(ig_metadata, base_output_dir)
|
115
|
+
end
|
116
|
+
|
117
|
+
def generate_granular_scope_groups
|
118
|
+
GranularScopeGroupGenerator.generate(ig_metadata, base_output_dir)
|
119
|
+
end
|
120
|
+
|
95
121
|
def generate_suites
|
96
122
|
SuiteGenerator.generate(ig_metadata, base_output_dir)
|
97
123
|
end
|
@@ -0,0 +1,138 @@
|
|
1
|
+
module USCoreTestKit
|
2
|
+
module GranularScopeChecker
|
3
|
+
def self.included(klass)
|
4
|
+
klass.input(:received_scopes)
|
5
|
+
klass.attr_accessor :previous_requests
|
6
|
+
end
|
7
|
+
|
8
|
+
def run_scope_check_test
|
9
|
+
assert granular_scopes.present?, "No granular scopes were received for #{resource_type} resources"
|
10
|
+
|
11
|
+
load_previous_requests
|
12
|
+
|
13
|
+
skip_if previous_requests.blank?,
|
14
|
+
"No #{resource_type} searches with search params #{search_param_names.join(' & ')} found"
|
15
|
+
|
16
|
+
previous_request_resources.each do |previous_request, all_previous_resources|
|
17
|
+
search_method = previous_request.verb.to_sym
|
18
|
+
params = search_method == :get ? previous_request.query_parameters : Hash[URI.decode_www_form(previous_request.request_body)]
|
19
|
+
fhir_search(resource_type, params:, search_method:)
|
20
|
+
|
21
|
+
found_resources =
|
22
|
+
if request.status != 200
|
23
|
+
[]
|
24
|
+
else
|
25
|
+
fetch_all_bundled_resources
|
26
|
+
end
|
27
|
+
|
28
|
+
mismatched_ids = mismatched_resource_ids(found_resources)
|
29
|
+
|
30
|
+
assert mismatched_ids.empty?,
|
31
|
+
'Resources with the following ids were received even though they do not match the ' \
|
32
|
+
"granted granular scopes: #{mismatched_ids.join(', ')}"
|
33
|
+
|
34
|
+
found_ids = found_resources.map(&:id)
|
35
|
+
previous_ids = expected_resource_ids(all_previous_resources)
|
36
|
+
missing_ids = previous_ids - found_ids
|
37
|
+
|
38
|
+
assert missing_ids.empty?,
|
39
|
+
'Resources with the following ids were received when using resource-level scopes, ' \
|
40
|
+
"but not when using granular scopes: #{missing_ids.join(', ')}"
|
41
|
+
|
42
|
+
unexpected_ids = found_ids - previous_ids
|
43
|
+
|
44
|
+
assert unexpected_ids.empty?,
|
45
|
+
'Resources with the following ids were received when using granular scopes, ' \
|
46
|
+
"but not when using resource-level scopes: #{unexpected_ids.join(', ')}"
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def previous_request_resources
|
51
|
+
first_request = previous_requests.first
|
52
|
+
next_page_url = nil
|
53
|
+
hash = Hash.new { |hash, key| hash[key] = [] }
|
54
|
+
previous_requests.each_with_object(hash) do |request, request_resource_hash|
|
55
|
+
request_resources =
|
56
|
+
if request.status == 200
|
57
|
+
request.resource.entry.map(&:resource).select { |resource| resource.resourceType == resource_type }
|
58
|
+
else
|
59
|
+
[]
|
60
|
+
end
|
61
|
+
|
62
|
+
first_request = request if request.url != next_page_url
|
63
|
+
|
64
|
+
request_resource_hash[first_request].concat(request_resources)
|
65
|
+
|
66
|
+
next if request.resource&.resourceType != 'Bundle'
|
67
|
+
|
68
|
+
next_page_url = request.resource&.link&.find { |link| link.relation == 'next' }&.url
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
def granular_scopes
|
73
|
+
@granular_scopes ||=
|
74
|
+
received_scopes
|
75
|
+
.split(' ')
|
76
|
+
.select do |scope|
|
77
|
+
(scope.start_with?("patient/#{resource_type}") || scope.start_with?("user/#{resource_type}")) &&
|
78
|
+
scope.include?('?')
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
def granular_scope_search_params
|
83
|
+
@granular_scope_search_params ||=
|
84
|
+
granular_scopes.map do |scope|
|
85
|
+
_, granular_scope = scope.split('?')
|
86
|
+
name, value = granular_scope.split('=')
|
87
|
+
|
88
|
+
{
|
89
|
+
name:,
|
90
|
+
value:
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
def load_previous_requests
|
96
|
+
search_params_as_hash = search_param_names.each_with_object({}) do |name, hash|
|
97
|
+
hash[name] = nil
|
98
|
+
end
|
99
|
+
@previous_requests ||=
|
100
|
+
load_tagged_requests(search_params_tag(search_params_as_hash))
|
101
|
+
.sort_by { |request| request.index }
|
102
|
+
end
|
103
|
+
|
104
|
+
def previous_resources(params)
|
105
|
+
previous_requests(params)
|
106
|
+
.flat_map do |request|
|
107
|
+
resource = request.resource
|
108
|
+
if resource.is_a?(FHIR::Bundle)
|
109
|
+
resource.entry&.map(&:resource)
|
110
|
+
else
|
111
|
+
resource
|
112
|
+
end
|
113
|
+
end
|
114
|
+
.compact
|
115
|
+
.select { |resource| resource.resourceType == resource_type }
|
116
|
+
end
|
117
|
+
|
118
|
+
def expected_resource_ids(resources)
|
119
|
+
resources
|
120
|
+
.select do |resource|
|
121
|
+
granular_scope_search_params.any? do |param|
|
122
|
+
resource_matches_param?(resource, param[:name], param[:value])
|
123
|
+
end
|
124
|
+
end
|
125
|
+
.map(&:id)
|
126
|
+
end
|
127
|
+
|
128
|
+
def mismatched_resource_ids(resources)
|
129
|
+
resources
|
130
|
+
.reject do |resource|
|
131
|
+
granular_scope_search_params.any? do |param|
|
132
|
+
resource_matches_param?(resource, param[:name], param[:value])
|
133
|
+
end
|
134
|
+
end
|
135
|
+
.map(&:id)
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,83 @@
|
|
1
|
+
{
|
2
|
+
"resourceType" : "CodeSystem",
|
3
|
+
"id" : "observation-category",
|
4
|
+
"meta" : {
|
5
|
+
"lastUpdated" : "2020-04-09T21:10:28.568+00:00",
|
6
|
+
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
|
7
|
+
},
|
8
|
+
"text" : {
|
9
|
+
"status" : "generated",
|
10
|
+
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://terminology.hl7.org/CodeSystem/observation-category</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">social-history<a name=\"observation-category-social-history\"> </a></td><td>Social History</td><td>Social History Observations define the patient's occupational, personal (e.g., lifestyle), social, familial, and environmental history and health risk factors that may impact the patient's health.</td></tr><tr><td style=\"white-space:nowrap\">vital-signs<a name=\"observation-category-vital-signs\"> </a></td><td>Vital Signs</td><td>Clinical observations measure the body's basic functions such as blood pressure, heart rate, respiratory rate, height, weight, body mass index, head circumference, pulse oximetry, temperature, and body surface area.</td></tr><tr><td style=\"white-space:nowrap\">imaging<a name=\"observation-category-imaging\"> </a></td><td>Imaging</td><td>Observations generated by imaging. The scope includes observations regarding plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, and nuclear medicine.</td></tr><tr><td style=\"white-space:nowrap\">laboratory<a name=\"observation-category-laboratory\"> </a></td><td>Laboratory</td><td>The results of observations generated by laboratories. Laboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology (including digital pathology), microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory.</td></tr><tr><td style=\"white-space:nowrap\">procedure<a name=\"observation-category-procedure\"> </a></td><td>Procedure</td><td>Observations generated by other procedures. This category includes observations resulting from interventional and non-interventional procedures excluding laboratory and imaging (e.g., cardiology catheterization, endoscopy, electrodiagnostics, etc.). Procedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure. An example would be when a gastroenterologist reports the size of a polyp observed during a colonoscopy.</td></tr><tr><td style=\"white-space:nowrap\">survey<a name=\"observation-category-survey\"> </a></td><td>Survey</td><td>Assessment tool/survey instrument observations (e.g., Apgar Scores, Montreal Cognitive Assessment (MoCA)).</td></tr><tr><td style=\"white-space:nowrap\">exam<a name=\"observation-category-exam\"> </a></td><td>Exam</td><td>Observations generated by physical exam findings including direct observations made by a clinician and use of simple instruments and the result of simple maneuvers performed directly on the patient's body.</td></tr><tr><td style=\"white-space:nowrap\">therapy<a name=\"observation-category-therapy\"> </a></td><td>Therapy</td><td>Observations generated by non-interventional treatment protocols (e.g. occupational, physical, radiation, nutritional and medication therapy)</td></tr><tr><td style=\"white-space:nowrap\">activity<a name=\"observation-category-activity\"> </a></td><td>Activity</td><td>Observations that measure or record any bodily activity that enhances or maintains physical fitness and overall health and wellness. Not under direct supervision of practitioner such as a physical therapist. (e.g., laps swum, steps, sleep data)</td></tr></table></div>"
|
11
|
+
},
|
12
|
+
"extension" : [{
|
13
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
|
14
|
+
"valueCode" : "oo"
|
15
|
+
}],
|
16
|
+
"url" : "http://terminology.hl7.org/CodeSystem/observation-category",
|
17
|
+
"identifier" : [{
|
18
|
+
"system" : "urn:ietf:rfc:3986",
|
19
|
+
"value" : "urn:oid:2.16.840.1.113883.4.642.1.1125"
|
20
|
+
}],
|
21
|
+
"version" : "0.1.0",
|
22
|
+
"name" : "ObservationCategoryCodes",
|
23
|
+
"title" : "Observation Category Codes",
|
24
|
+
"status" : "draft",
|
25
|
+
"experimental" : false,
|
26
|
+
"date" : "2023-02-25T11:07:30-07:00",
|
27
|
+
"publisher" : "FHIR Project team",
|
28
|
+
"contact" : [{
|
29
|
+
"telecom" : [{
|
30
|
+
"system" : "url",
|
31
|
+
"value" : "http://hl7.org/fhir"
|
32
|
+
}]
|
33
|
+
}],
|
34
|
+
"description" : "Observation Category codes.",
|
35
|
+
"caseSensitive" : true,
|
36
|
+
"valueSet" : "http://terminology.hl7.org/ValueSet/observation-category",
|
37
|
+
"content" : "complete",
|
38
|
+
"concept" : [{
|
39
|
+
"code" : "social-history",
|
40
|
+
"display" : "Social History",
|
41
|
+
"definition" : "Social History Observations define the patient's occupational, personal (e.g., lifestyle), social, familial, and environmental history and health risk factors that may impact the patient's health."
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"code" : "vital-signs",
|
45
|
+
"display" : "Vital Signs",
|
46
|
+
"definition" : "Clinical observations measure the body's basic functions such as blood pressure, heart rate, respiratory rate, height, weight, body mass index, head circumference, pulse oximetry, temperature, and body surface area."
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"code" : "imaging",
|
50
|
+
"display" : "Imaging",
|
51
|
+
"definition" : "Observations generated by imaging. The scope includes observations regarding plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, and nuclear medicine."
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"code" : "laboratory",
|
55
|
+
"display" : "Laboratory",
|
56
|
+
"definition" : "The results of observations generated by laboratories. Laboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology (including digital pathology), microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory."
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"code" : "procedure",
|
60
|
+
"display" : "Procedure",
|
61
|
+
"definition" : "Observations generated by other procedures. This category includes observations resulting from interventional and non-interventional procedures excluding laboratory and imaging (e.g., cardiology catheterization, endoscopy, electrodiagnostics, etc.). Procedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure. An example would be when a gastroenterologist reports the size of a polyp observed during a colonoscopy."
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"code" : "survey",
|
65
|
+
"display" : "Survey",
|
66
|
+
"definition" : "Assessment tool/survey instrument observations (e.g., Apgar Scores, Montreal Cognitive Assessment (MoCA))."
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"code" : "exam",
|
70
|
+
"display" : "Exam",
|
71
|
+
"definition" : "Observations generated by physical exam findings including direct observations made by a clinician and use of simple instruments and the result of simple maneuvers performed directly on the patient's body."
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"code" : "therapy",
|
75
|
+
"display" : "Therapy",
|
76
|
+
"definition" : "Observations generated by non-interventional treatment protocols (e.g. occupational, physical, radiation, nutritional and medication therapy)"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"code" : "activity",
|
80
|
+
"display" : "Activity",
|
81
|
+
"definition" : "Observations that measure or record any bodily activity that enhances or maintains physical fitness and overall health and wellness. Not under direct supervision of practitioner such as a physical therapist. (e.g., laps swum, steps, sleep data)"
|
82
|
+
}]
|
83
|
+
}
|