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
@@ -59,13 +59,15 @@ module USCoreTestKit
|
|
59
59
|
provenance_resources =
|
60
60
|
all_provenance_revinclude_search_params.flat_map do |_patient_id, params_list|
|
61
61
|
params_list.flat_map do |params|
|
62
|
-
fhir_search resource_type, params: params
|
62
|
+
fhir_search resource_type, params:, tags: tags(params)
|
63
63
|
|
64
64
|
perform_search_with_status(params, patient_id) if response[:status] == 400 && possible_status_search?
|
65
65
|
|
66
66
|
check_search_response
|
67
67
|
|
68
|
-
|
68
|
+
# TODO: check that only provenance resources for resources matching
|
69
|
+
# granular scopes returned
|
70
|
+
fetch_all_bundled_resources(additional_resource_types: ['Provenance'], params:)
|
69
71
|
.select { |resource| resource.resourceType == 'Provenance' }
|
70
72
|
end
|
71
73
|
end
|
@@ -93,14 +95,14 @@ module USCoreTestKit
|
|
93
95
|
end
|
94
96
|
|
95
97
|
def perform_search(params, patient_id)
|
96
|
-
fhir_search resource_type, params: params
|
98
|
+
fhir_search resource_type, params:, tags: tags(params)
|
97
99
|
|
98
100
|
perform_search_with_status(params, patient_id) if response[:status] == 400 && possible_status_search?
|
99
101
|
|
100
102
|
check_search_response
|
101
103
|
|
102
104
|
resources_returned =
|
103
|
-
fetch_all_bundled_resources.select { |resource| resource.resourceType == resource_type }
|
105
|
+
fetch_all_bundled_resources(params:).select { |resource| resource.resourceType == resource_type }
|
104
106
|
|
105
107
|
return [] if resources_returned.blank?
|
106
108
|
|
@@ -131,7 +133,7 @@ module USCoreTestKit
|
|
131
133
|
end
|
132
134
|
|
133
135
|
def perform_post_search(get_search_resources, params)
|
134
|
-
fhir_search resource_type, params
|
136
|
+
fhir_search resource_type, params:, search_method: :post
|
135
137
|
|
136
138
|
check_search_response
|
137
139
|
|
@@ -174,7 +176,7 @@ module USCoreTestKit
|
|
174
176
|
end
|
175
177
|
|
176
178
|
def search_and_check_response(params, resource_type = self.resource_type)
|
177
|
-
fhir_search resource_type, params: params
|
179
|
+
fhir_search resource_type, params:, tags: tags(params)
|
178
180
|
|
179
181
|
check_search_response
|
180
182
|
end
|
@@ -243,7 +245,7 @@ module USCoreTestKit
|
|
243
245
|
|
244
246
|
search_and_check_response(params_with_comparator)
|
245
247
|
|
246
|
-
fetch_all_bundled_resources.each do |resource|
|
248
|
+
comparator_resources = fetch_all_bundled_resources(params: params_with_comparator).each do |resource|
|
247
249
|
check_resource_against_params(resource, params_with_comparator) if resource.resourceType == resource_type
|
248
250
|
end
|
249
251
|
end
|
@@ -259,7 +261,9 @@ module USCoreTestKit
|
|
259
261
|
new_search_params = params.merge('patient' => "Patient/#{params['patient']}")
|
260
262
|
search_and_check_response(new_search_params)
|
261
263
|
|
262
|
-
reference_with_type_resources =
|
264
|
+
reference_with_type_resources =
|
265
|
+
fetch_all_bundled_resources(params: new_search_params)
|
266
|
+
.select { |resource| resource.resourceType == resource_type }
|
263
267
|
|
264
268
|
filter_conditions(reference_with_type_resources) if resource_type == 'Condition' && metadata.version == 'v5.0.1'
|
265
269
|
filter_devices(reference_with_type_resources) if resource_type == 'Device'
|
@@ -284,7 +288,7 @@ module USCoreTestKit
|
|
284
288
|
search_and_check_response(search_params)
|
285
289
|
|
286
290
|
resources_returned =
|
287
|
-
fetch_all_bundled_resources
|
291
|
+
fetch_all_bundled_resources(params: search_params)
|
288
292
|
.select { |resource| resource.resourceType == resource_type }
|
289
293
|
|
290
294
|
assert resources_returned.present?, "No resources were returned when searching by `system|code`"
|
@@ -355,7 +359,7 @@ module USCoreTestKit
|
|
355
359
|
search_and_check_response(search_params)
|
356
360
|
|
357
361
|
resources_returned =
|
358
|
-
fetch_all_bundled_resources
|
362
|
+
fetch_all_bundled_resources(params: search_params)
|
359
363
|
.select { |resource| resource.resourceType == resource_type }
|
360
364
|
|
361
365
|
multiple_or_search_params.each do |param_name|
|
@@ -402,7 +406,9 @@ module USCoreTestKit
|
|
402
406
|
|
403
407
|
search_and_check_response(search_params)
|
404
408
|
|
405
|
-
medications =
|
409
|
+
medications =
|
410
|
+
fetch_all_bundled_resources(params: search_params)
|
411
|
+
.select { |resource| resource.resourceType == 'Medication' }
|
406
412
|
assert medications.present?, 'No Medications were included in the search results'
|
407
413
|
|
408
414
|
included_medications = medications.map { |medication| "#{medication.resourceType}/#{medication.id}" }
|
@@ -542,7 +548,8 @@ module USCoreTestKit
|
|
542
548
|
reply_handler: nil,
|
543
549
|
max_pages: 20,
|
544
550
|
additional_resource_types: [],
|
545
|
-
resource_type: self.resource_type
|
551
|
+
resource_type: self.resource_type,
|
552
|
+
params: nil
|
546
553
|
)
|
547
554
|
page_count = 1
|
548
555
|
resources = []
|
@@ -557,7 +564,7 @@ module USCoreTestKit
|
|
557
564
|
|
558
565
|
reply = fhir_client.raw_read_url(next_bundle_link)
|
559
566
|
|
560
|
-
store_request('outgoing') { reply }
|
567
|
+
store_request('outgoing', tags: tags(params)) { reply }
|
561
568
|
error_message = cant_resolve_next_bundle_message(next_bundle_link)
|
562
569
|
|
563
570
|
assert_response_status(200)
|
@@ -700,104 +707,131 @@ module USCoreTestKit
|
|
700
707
|
|
701
708
|
def check_resource_against_params(resource, params)
|
702
709
|
params.each do |name, escaped_search_value|
|
703
|
-
#unescape search value
|
704
|
-
search_value = escaped_search_value&.gsub('\\,', ',')
|
705
|
-
paths = search_param_paths(name)
|
706
|
-
|
707
|
-
match_found = false
|
708
710
|
values_found = []
|
711
|
+
search_value = unescape_search_value(escaped_search_value)
|
709
712
|
|
710
|
-
|
711
|
-
type = metadata.search_definitions[name.to_sym][:type]
|
712
|
-
values_found =
|
713
|
-
resolve_path(resource, path)
|
714
|
-
.map do |value|
|
715
|
-
if value.is_a? FHIR::Reference
|
716
|
-
value.reference
|
717
|
-
else
|
718
|
-
value
|
719
|
-
end
|
720
|
-
end
|
713
|
+
match_found = resource_matches_param?(resource, name, escaped_search_value, values_found)
|
721
714
|
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
715
|
+
assert match_found,
|
716
|
+
"#{resource_type}/#{resource.id} did not match the search parameters:\n" \
|
717
|
+
"* Expected: #{unescape_search_value(search_value)}\n" \
|
718
|
+
"* Found: #{values_found.map(&:inspect).join(', ')}"
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
722
|
+
def unescape_search_value(value)
|
723
|
+
value&.gsub('\\,', ',')
|
724
|
+
end
|
725
|
+
|
726
|
+
def resource_matches_param?(resource, search_param_name, escaped_search_value, values_found = [])
|
727
|
+
search_value = unescape_search_value(escaped_search_value)
|
728
|
+
paths = search_param_paths(search_param_name)
|
729
|
+
|
730
|
+
match_found = false
|
731
|
+
|
732
|
+
paths.each do |path|
|
733
|
+
type = metadata.search_definitions[search_param_name.to_sym][:type]
|
734
|
+
values_found =
|
735
|
+
resolve_path(resource, path)
|
736
|
+
.map do |value|
|
737
|
+
if value.is_a? FHIR::Reference
|
738
|
+
value.reference
|
739
|
+
else
|
740
|
+
value
|
741
|
+
end
|
742
|
+
end
|
743
|
+
|
744
|
+
match_found =
|
745
|
+
case type
|
746
|
+
when 'Period', 'date', 'instant', 'dateTime'
|
747
|
+
values_found.any? { |date| validate_date_search(search_value, date) }
|
748
|
+
when 'HumanName'
|
749
|
+
# When a string search parameter refers to the types HumanName and Address,
|
750
|
+
# the search covers the elements of type string, and does not cover elements such as use and period
|
751
|
+
# https://www.hl7.org/fhir/search.html#string
|
752
|
+
search_value_downcase = search_value.downcase
|
753
|
+
values_found.any? do |name|
|
754
|
+
name&.text&.downcase&.start_with?(search_value_downcase) ||
|
755
|
+
name&.family&.downcase&.start_with?(search_value_downcase) ||
|
756
|
+
name&.given&.any? { |given| given.downcase.start_with?(search_value_downcase) } ||
|
757
|
+
name&.prefix&.any? { |prefix| prefix.downcase.start_with?(search_value_downcase) } ||
|
758
|
+
name&.suffix&.any? { |suffix| suffix.downcase.start_with?(search_value_downcase) }
|
759
|
+
end
|
760
|
+
when 'Address'
|
761
|
+
search_value_downcase = search_value.downcase
|
762
|
+
values_found.any? do |address|
|
763
|
+
address&.text&.downcase&.start_with?(search_value_downcase) ||
|
742
764
|
address&.city&.downcase&.start_with?(search_value_downcase) ||
|
743
765
|
address&.state&.downcase&.start_with?(search_value_downcase) ||
|
744
766
|
address&.postalCode&.downcase&.start_with?(search_value_downcase) ||
|
745
767
|
address&.country&.downcase&.start_with?(search_value_downcase)
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
else
|
757
|
-
codings&.any? { |coding| coding.code&.casecmp?(search_value) }
|
758
|
-
end
|
759
|
-
when 'Coding'
|
760
|
-
if search_value.include? '|'
|
761
|
-
system = search_value.split('|').first
|
762
|
-
code = search_value.split('|').last
|
763
|
-
values_found.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
|
764
|
-
else
|
765
|
-
values_found.any? { |coding| coding.code&.casecmp?(search_value) }
|
766
|
-
end
|
767
|
-
when 'Identifier'
|
768
|
-
if search_value.include? '|'
|
769
|
-
values_found.any? { |identifier| "#{identifier.system}|#{identifier.value}" == search_value }
|
770
|
-
else
|
771
|
-
values_found.any? { |identifier| identifier.value == search_value }
|
772
|
-
end
|
773
|
-
when 'string'
|
774
|
-
searched_values = search_value.downcase.split(/(?<!\\\\),/).map{ |string| string.gsub('\\,', ',') }
|
775
|
-
values_found.any? do |value_found|
|
776
|
-
searched_values.any? { |searched_value| value_found.downcase.starts_with? searched_value }
|
777
|
-
end
|
768
|
+
end
|
769
|
+
when 'CodeableConcept'
|
770
|
+
# FHIR token search (https://www.hl7.org/fhir/search.html#token): "When in doubt, servers SHOULD
|
771
|
+
# treat tokens in a case-insensitive manner, on the grounds that including undesired data has
|
772
|
+
# less safety implications than excluding desired behavior".
|
773
|
+
codings = values_found.flat_map(&:coding)
|
774
|
+
if search_value.include? '|'
|
775
|
+
system = search_value.split('|').first
|
776
|
+
code = search_value.split('|').last
|
777
|
+
codings&.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
|
778
778
|
else
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
779
|
+
codings&.any? { |coding| coding.code&.casecmp?(search_value) }
|
780
|
+
end
|
781
|
+
when 'Coding'
|
782
|
+
if search_value.include? '|'
|
783
|
+
system = search_value.split('|').first
|
784
|
+
code = search_value.split('|').last
|
785
|
+
values_found.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
|
786
|
+
else
|
787
|
+
values_found.any? { |coding| coding.code&.casecmp?(search_value) }
|
788
|
+
end
|
789
|
+
when 'Identifier'
|
790
|
+
if search_value.include? '|'
|
791
|
+
values_found.any? { |identifier| "#{identifier.system}|#{identifier.value}" == search_value }
|
792
|
+
else
|
793
|
+
values_found.any? { |identifier| identifier.value == search_value }
|
794
|
+
end
|
795
|
+
when 'string'
|
796
|
+
searched_values = search_value.downcase.split(/(?<!\\\\),/).map{ |string| string.gsub('\\,', ',') }
|
797
|
+
values_found.any? do |value_found|
|
798
|
+
searched_values.any? { |searched_value| value_found.downcase.starts_with? searched_value }
|
799
|
+
end
|
800
|
+
else
|
801
|
+
# searching by patient requires special case because we are searching by a resource identifier
|
802
|
+
# references can also be URLs, so we may need to resolve those URLs
|
803
|
+
if ['subject', 'patient'].include? search_param_name.to_s
|
804
|
+
id = search_value.split('Patient/').last
|
805
|
+
possible_values = [id, "Patient/#{id}", "#{url}/Patient/#{id}"]
|
806
|
+
values_found.any? do |reference|
|
807
|
+
possible_values.include? reference
|
790
808
|
end
|
809
|
+
else
|
810
|
+
search_values = search_value.split(/(?<!\\\\),/).map { |string| string.gsub('\\,', ',') }
|
811
|
+
values_found.any? { |value_found| search_values.include? value_found }
|
791
812
|
end
|
813
|
+
end
|
792
814
|
|
793
|
-
|
794
|
-
|
815
|
+
break if match_found
|
816
|
+
end
|
795
817
|
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
818
|
+
match_found
|
819
|
+
end
|
820
|
+
|
821
|
+
def tags(params)
|
822
|
+
return nil unless config.options[:tag_requests]
|
823
|
+
|
824
|
+
return nil if params.blank?
|
825
|
+
|
826
|
+
if ['Condition', 'DiagnosticReport', 'DocumentReference', 'Observation', 'ServiceRequest'].include? resource_type
|
827
|
+
return [search_params_tag(params)]
|
800
828
|
end
|
829
|
+
|
830
|
+
nil
|
831
|
+
end
|
832
|
+
|
833
|
+
def search_params_tag(params)
|
834
|
+
"#{resource_type}?#{params.keys.join('&')}"
|
801
835
|
end
|
802
836
|
end
|
803
837
|
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module USCoreTestKit
|
2
|
+
module USCoreOptions
|
3
|
+
SMART_1 = 'smart_app_launch_1'.freeze
|
4
|
+
SMART_2 = 'smart_app_launch_2'.freeze
|
5
|
+
|
6
|
+
SMART_1_REQUIREMENT = { smart_app_launch_version: SMART_1 }.freeze
|
7
|
+
SMART_2_REQUIREMENT = { smart_app_launch_version: SMART_2 }.freeze
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
data/lib/us_core_test_kit.rb
CHANGED
@@ -2,3 +2,5 @@ require_relative 'us_core_test_kit/generated/v3.1.1/us_core_test_suite'
|
|
2
2
|
require_relative 'us_core_test_kit/generated/v4.0.0/us_core_test_suite'
|
3
3
|
require_relative 'us_core_test_kit/generated/v5.0.1/us_core_test_suite'
|
4
4
|
require_relative 'us_core_test_kit/generated/v6.1.0/us_core_test_suite'
|
5
|
+
require_relative 'us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite'
|
6
|
+
|