us_core_test_kit 0.6.2 → 0.6.3
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 +651 -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 +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +1 -0
- data/lib/us_core_test_kit/generated/v3.1.1/pediatric_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 +701 -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 +1 -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 +947 -0
- 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 +1 -0
- 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/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 +80 -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/condition_patient_abatement_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_asserted_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_clinical_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_encounter_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_clinical_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_code_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_onset_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_patient_recorded_date_granular_scope_test.rb +45 -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_granular_scope1_group.rb +38 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_granular_scope2_group.rb +38 -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/diagnostic_report_patient_category_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_code_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_code_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_patient_status_granular_scope_test.rb +45 -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/document_reference_id_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_period_granular_scope_test.rb +45 -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/document_reference_granular_scope1_group.rb +39 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference_granular_scope2_group.rb +39 -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 +1102 -38
- 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_lab/observation_patient_category_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_category_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_code_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_patient_code_granular_scope_test.rb +45 -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 +1 -0
- 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/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/service_request/service_request_id_granular_scope_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_authored_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_authored_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request_granular_scope1_group.rb +39 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request_granular_scope2_group.rb +40 -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 +95 -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/condition_patient_abatement_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_asserted_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_clinical_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_encounter_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_clinical_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_code_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_onset_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_patient_recorded_date_granular_scope_test.rb +45 -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/diagnostic_report_patient_category_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_code_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_code_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_patient_status_granular_scope_test.rb +45 -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_granular_scope_test.rb +41 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_period_granular_scope_test.rb +45 -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_granular_scope2_group.rb +39 -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/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 +13464 -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/observation_patient_category_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_category_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_category_status_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_code_date_granular_scope_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_patient_code_granular_scope_test.rb +45 -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 +69 -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/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_granular_scope_test.rb +41 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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_granular_scope_test.rb +45 -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 +214 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/metadata.yml +273 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_reference_resolution_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs/vital_signs_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/vital_signs_group.rb +96 -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_metadata.rb +24 -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 +2 -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_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 +35 -0
- 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 +761 -3
- data/lib/us_core_test_kit/igs/us_core_610/ValueSet-observation-category.json +0 -48
@@ -0,0 +1,144 @@
|
|
1
|
+
require_relative 'naming'
|
2
|
+
require_relative 'special_cases'
|
3
|
+
require_relative '../custom_groups/smart_scopes_constants'
|
4
|
+
|
5
|
+
module USCoreTestKit
|
6
|
+
class Generator
|
7
|
+
class GranularScopeResourceTypeGroupGenerator
|
8
|
+
class << self
|
9
|
+
def generate(ig_metadata, base_output_dir)
|
10
|
+
return unless ['6', '7'].include? ig_metadata.ig_version[1]
|
11
|
+
|
12
|
+
[1, 2].each do |group_number|
|
13
|
+
groups = ig_metadata.groups.select { |group| group.granular_scope_tests.present? }
|
14
|
+
scopes =
|
15
|
+
SmartScopesConstants
|
16
|
+
.const_get("SMART_GRANULAR_SCOPES_GROUP#{group_number}")[ig_metadata.reformatted_version]
|
17
|
+
|
18
|
+
groups.each do |group_metadata|
|
19
|
+
next if scopes.none? { |scope| scope.start_with? "patient/#{group_metadata.resource}" }
|
20
|
+
|
21
|
+
new(GroupMetadata.new(group_metadata.to_hash), ig_metadata, base_output_dir, group_number).generate
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
attr_accessor :group_metadata, :ig_metadata, :base_output_dir, :group_number
|
28
|
+
|
29
|
+
def initialize(group_metadata, ig_metadata, base_output_dir, group_number)
|
30
|
+
self.group_metadata = group_metadata
|
31
|
+
self.ig_metadata = ig_metadata
|
32
|
+
self.base_output_dir = base_output_dir
|
33
|
+
self.group_number = group_number
|
34
|
+
end
|
35
|
+
|
36
|
+
def template
|
37
|
+
@template ||= File.read(File.join(__dir__, 'templates', 'granular_scope_resource_type_group.rb.erb'))
|
38
|
+
end
|
39
|
+
|
40
|
+
def output
|
41
|
+
@output ||= ERB.new(template).result(binding)
|
42
|
+
end
|
43
|
+
|
44
|
+
def base_output_file_name
|
45
|
+
"#{class_name.underscore}.rb"
|
46
|
+
end
|
47
|
+
|
48
|
+
def base_metadata_file_name
|
49
|
+
"metadata.yml"
|
50
|
+
end
|
51
|
+
|
52
|
+
def class_name
|
53
|
+
"#{resource_type}GranularScope#{group_number}Group"
|
54
|
+
end
|
55
|
+
|
56
|
+
def module_name
|
57
|
+
"USCore#{group_metadata.reformatted_version.upcase}"
|
58
|
+
end
|
59
|
+
|
60
|
+
def title
|
61
|
+
"#{resource_type} Granular Scope Tests"
|
62
|
+
end
|
63
|
+
|
64
|
+
def short_description
|
65
|
+
group_metadata.short_description
|
66
|
+
end
|
67
|
+
|
68
|
+
def output_file_name
|
69
|
+
File.join(base_output_dir, base_output_file_name)
|
70
|
+
end
|
71
|
+
|
72
|
+
def group_dir
|
73
|
+
File.join(base_output_dir, 'granular_scope_tests', resource_type.underscore)
|
74
|
+
end
|
75
|
+
|
76
|
+
def metadata_file_name
|
77
|
+
File.join(group_dir, base_metadata_file_name)
|
78
|
+
end
|
79
|
+
|
80
|
+
def group_id
|
81
|
+
"us_core_#{group_metadata.reformatted_version}_#{resource_type.underscore}_granular_scope_#{group_number}_group"
|
82
|
+
end
|
83
|
+
|
84
|
+
def resource_type
|
85
|
+
group_metadata.resource
|
86
|
+
end
|
87
|
+
|
88
|
+
def generate
|
89
|
+
FileUtils.mkdir_p(group_dir)
|
90
|
+
File.open(output_file_name, 'w') { |f| f.write(output) }
|
91
|
+
group_metadata.id = group_id
|
92
|
+
group_metadata.file_name = base_output_file_name
|
93
|
+
ig_metadata.granular_scope_resource_type_groups[resource_type] <<
|
94
|
+
group_metadata.to_hash.slice(:granular_scope_resource_type_groups, :id, :file_name)
|
95
|
+
File.open(metadata_file_name, 'w') { |f| f.write(YAML.dump(group_metadata.to_hash)) }
|
96
|
+
end
|
97
|
+
|
98
|
+
def test_id_list
|
99
|
+
@test_id_list ||=
|
100
|
+
group_metadata.granular_scope_tests.map { |test| test[:id] }
|
101
|
+
end
|
102
|
+
|
103
|
+
def test_file_list
|
104
|
+
@test_file_list ||=
|
105
|
+
group_metadata.granular_scope_tests.map do |test|
|
106
|
+
"./granular_scope_tests/#{resource_type.underscore}/#{test[:file_name].delete_suffix('.rb')}"
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
def required_searches
|
111
|
+
group_metadata.searches.select { |search| search[:expectation] == 'SHALL' }
|
112
|
+
end
|
113
|
+
|
114
|
+
def search_param_name_string
|
115
|
+
required_searches
|
116
|
+
.map { |search| search[:names].join(' + ') }
|
117
|
+
.map { |names| "* #{names}" }
|
118
|
+
.join("\n")
|
119
|
+
end
|
120
|
+
|
121
|
+
def scopes
|
122
|
+
SmartScopesConstants.const_get("SMART_GRANULAR_SCOPES_GROUP#{group_number}")[ig_metadata.reformatted_version]
|
123
|
+
end
|
124
|
+
|
125
|
+
def scopes_string
|
126
|
+
scopes
|
127
|
+
.map { |scope| scope.delete_prefix 'patient/' }
|
128
|
+
.select { |scope| scope.start_with? resource_type }
|
129
|
+
.map { |scope| "* `#{scope}`" }
|
130
|
+
.join("\n")
|
131
|
+
end
|
132
|
+
|
133
|
+
def description
|
134
|
+
<<~DESCRIPTION
|
135
|
+
The tests in this group repeat all of the searches from the US Core
|
136
|
+
FHIR API tests, and verify that the resources returned are filtered
|
137
|
+
based on the following granular scopes:
|
138
|
+
|
139
|
+
#{scopes_string}
|
140
|
+
DESCRIPTION
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
@@ -0,0 +1,164 @@
|
|
1
|
+
require_relative 'naming'
|
2
|
+
require_relative 'special_cases'
|
3
|
+
require_relative '../custom_groups/smart_scopes_constants'
|
4
|
+
|
5
|
+
module USCoreTestKit
|
6
|
+
class Generator
|
7
|
+
class GranularScopeTestGenerator
|
8
|
+
class << self
|
9
|
+
def generate(ig_metadata, base_output_dir)
|
10
|
+
return unless ['6', '7'].include? ig_metadata.ig_version[1]
|
11
|
+
|
12
|
+
scopes =
|
13
|
+
SmartScopesConstants::SMART_GRANULAR_SCOPES_GROUP1[ig_metadata.reformatted_version] +
|
14
|
+
SmartScopesConstants::SMART_GRANULAR_SCOPES_GROUP2[ig_metadata.reformatted_version]
|
15
|
+
|
16
|
+
SmartScopesConstants::SMART_GRANULAR_SCOPE_RESOURCES.each do |resource_type|
|
17
|
+
group = ig_metadata.groups.find { |group| group.resource == resource_type }
|
18
|
+
|
19
|
+
next if scopes.none? { |scope| scope.start_with? "patient/#{group.resource}" }
|
20
|
+
|
21
|
+
group.searches
|
22
|
+
.each { |search| new(group, search, base_output_dir).generate }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
attr_accessor :group_metadata, :search_metadata, :base_output_dir, :group_number
|
28
|
+
|
29
|
+
def initialize(group_metadata, search_metadata, base_output_dir)
|
30
|
+
self.group_metadata = group_metadata
|
31
|
+
self.search_metadata = search_metadata
|
32
|
+
self.base_output_dir = base_output_dir
|
33
|
+
end
|
34
|
+
|
35
|
+
def template
|
36
|
+
@template ||= File.read(File.join(__dir__, 'templates', 'granular_scope_test.rb.erb'))
|
37
|
+
end
|
38
|
+
|
39
|
+
def output
|
40
|
+
@output ||= ERB.new(template).result(binding)
|
41
|
+
end
|
42
|
+
|
43
|
+
def base_output_file_name
|
44
|
+
"#{class_name.underscore}.rb"
|
45
|
+
end
|
46
|
+
|
47
|
+
def output_file_directory
|
48
|
+
File.join(base_output_dir, 'granular_scope_tests', resource_type.underscore)
|
49
|
+
end
|
50
|
+
|
51
|
+
def output_file_name
|
52
|
+
File.join(output_file_directory, base_output_file_name)
|
53
|
+
end
|
54
|
+
|
55
|
+
def profile_identifier
|
56
|
+
Naming.snake_case_for_profile(group_metadata)
|
57
|
+
end
|
58
|
+
|
59
|
+
def test_id
|
60
|
+
"us_core_#{group_metadata.reformatted_version}_#{resource_type}_#{search_identifier}_granular_scope_test"
|
61
|
+
end
|
62
|
+
|
63
|
+
def search_identifier
|
64
|
+
search_metadata[:names].join('_').tr('-', '_')
|
65
|
+
end
|
66
|
+
|
67
|
+
def search_title
|
68
|
+
search_identifier.camelize
|
69
|
+
end
|
70
|
+
|
71
|
+
def class_name
|
72
|
+
"#{resource_type}#{search_title}GranularScopeTest"
|
73
|
+
end
|
74
|
+
|
75
|
+
def module_name
|
76
|
+
"USCore#{group_metadata.reformatted_version.upcase}"
|
77
|
+
end
|
78
|
+
|
79
|
+
def resource_type
|
80
|
+
group_metadata.resource
|
81
|
+
end
|
82
|
+
|
83
|
+
def search_params
|
84
|
+
@search_params ||=
|
85
|
+
search_metadata[:names].map do |name|
|
86
|
+
{
|
87
|
+
name: name,
|
88
|
+
path: search_definition(name)[:path]
|
89
|
+
}
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
def search_param_name_string
|
94
|
+
search_metadata[:names].join(' + ')
|
95
|
+
end
|
96
|
+
|
97
|
+
def needs_patient_id?
|
98
|
+
search_metadata[:names].include?('patient') ||
|
99
|
+
(resource_type == 'Patient' && search_metadata[:names].include?('_id'))
|
100
|
+
end
|
101
|
+
|
102
|
+
def search_param_names
|
103
|
+
search_params.map { |param| param[:name] }
|
104
|
+
end
|
105
|
+
|
106
|
+
def search_param_names_array
|
107
|
+
array_of_strings(search_param_names)
|
108
|
+
end
|
109
|
+
|
110
|
+
def path_for_value(path)
|
111
|
+
path == 'class' ? 'local_class' : path
|
112
|
+
end
|
113
|
+
|
114
|
+
def search_definition(name)
|
115
|
+
group_metadata.search_definitions[name.to_sym]
|
116
|
+
end
|
117
|
+
|
118
|
+
def array_of_strings(array)
|
119
|
+
quoted_strings = array.map { |element| "'#{element}'" }
|
120
|
+
"[#{quoted_strings.join(', ')}]"
|
121
|
+
end
|
122
|
+
|
123
|
+
def search_properties
|
124
|
+
{}.tap do |properties|
|
125
|
+
properties[:resource_type] = "'#{resource_type}'"
|
126
|
+
properties[:search_param_names] = search_param_names_array
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
def url_version
|
131
|
+
case group_metadata.version
|
132
|
+
when 'v3.1.1'
|
133
|
+
'STU3.1.1'
|
134
|
+
when 'v4.0.0'
|
135
|
+
'STU4'
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
def search_test_properties_string
|
140
|
+
search_properties
|
141
|
+
.map { |key, value| "#{' ' * 8}#{key}: #{value}" }
|
142
|
+
.join(",\n")
|
143
|
+
end
|
144
|
+
|
145
|
+
def generate
|
146
|
+
FileUtils.mkdir_p(output_file_directory)
|
147
|
+
File.open(output_file_name, 'w') { |f| f.write(output) }
|
148
|
+
|
149
|
+
group_metadata.add_granular_scope_test(
|
150
|
+
id: test_id,
|
151
|
+
file_name: base_output_file_name
|
152
|
+
)
|
153
|
+
end
|
154
|
+
|
155
|
+
def description
|
156
|
+
<<~DESCRIPTION.gsub(/\n{3,}/, "\n\n")
|
157
|
+
This test repeats all #{resource_type} searches by
|
158
|
+
#{search_param_name_string} and verifies that the results have been
|
159
|
+
filtered based on the granted granular scopes.
|
160
|
+
DESCRIPTION
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
end
|
@@ -12,6 +12,7 @@ module USCoreTestKit
|
|
12
12
|
:profile_version,
|
13
13
|
:title,
|
14
14
|
:short_description,
|
15
|
+
:is_delayed,
|
15
16
|
:interactions,
|
16
17
|
:operations,
|
17
18
|
:searches,
|
@@ -24,23 +25,12 @@ module USCoreTestKit
|
|
24
25
|
:bindings,
|
25
26
|
:references,
|
26
27
|
:tests,
|
28
|
+
:granular_scope_tests,
|
27
29
|
:id,
|
28
30
|
:file_name,
|
29
31
|
:delayed_references
|
30
32
|
].freeze
|
31
33
|
|
32
|
-
NON_USCDI_RESOURCES = {
|
33
|
-
'Encounter' => ['v311', 'v400'],
|
34
|
-
'Location' => ['v311', 'v400', 'v501', 'v610'],
|
35
|
-
'Organization' => ['v311', 'v400', 'v501', 'v610'],
|
36
|
-
'Practitioner' => ['v311', 'v400', 'v501', 'v610'],
|
37
|
-
'PractitionerRole' => ['v311', 'v400', 'v501', 'v610'],
|
38
|
-
'Provenance' => ['v311', 'v400', 'v501', 'v610'],
|
39
|
-
'RelatedPerson' => ['v501', 'v610'],
|
40
|
-
'Specimen' => ['v610']
|
41
|
-
}.freeze
|
42
|
-
|
43
|
-
|
44
34
|
ATTRIBUTES.each { |name| attr_accessor name }
|
45
35
|
|
46
36
|
def initialize(metadata)
|
@@ -52,9 +42,15 @@ module USCoreTestKit
|
|
52
42
|
end
|
53
43
|
|
54
44
|
def delayed?
|
55
|
-
|
45
|
+
@is_delayed ||= if resource == 'Patient'
|
46
|
+
false
|
47
|
+
else
|
48
|
+
no_patient_searches? || non_uscdi_resource?
|
49
|
+
end
|
50
|
+
end
|
56
51
|
|
57
|
-
|
52
|
+
def exclude_search_tests?
|
53
|
+
delayed? && !searchable_delayed_resource
|
58
54
|
end
|
59
55
|
|
60
56
|
def no_patient_searches?
|
@@ -62,7 +58,11 @@ module USCoreTestKit
|
|
62
58
|
end
|
63
59
|
|
64
60
|
def non_uscdi_resource?
|
65
|
-
NON_USCDI_RESOURCES.key?(resource) && NON_USCDI_RESOURCES[resource].include?(reformatted_version)
|
61
|
+
SpecialCases::NON_USCDI_RESOURCES.key?(resource) && SpecialCases::NON_USCDI_RESOURCES[resource].include?(reformatted_version)
|
62
|
+
end
|
63
|
+
|
64
|
+
def searchable_delayed_resource?
|
65
|
+
SpecialCases::SEARCHABLE_DELAYED_RESOURCES.key?(resource) && SpecialCases::SEARCHABLE_DELAYED_RESOURCES[resource].include?(reformatted_version)
|
66
66
|
end
|
67
67
|
|
68
68
|
def add_test(id:, file_name:)
|
@@ -80,6 +80,15 @@ module USCoreTestKit
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
def add_granular_scope_test(id:, file_name:)
|
84
|
+
self.granular_scope_tests ||= []
|
85
|
+
|
86
|
+
self.granular_scope_tests << {
|
87
|
+
id:,
|
88
|
+
file_name:
|
89
|
+
}
|
90
|
+
end
|
91
|
+
|
83
92
|
def to_hash
|
84
93
|
ATTRIBUTES.each_with_object({}) { |key, hash| hash[key] = send(key) unless send(key).nil? }
|
85
94
|
end
|
@@ -94,30 +94,9 @@ module USCoreTestKit
|
|
94
94
|
end
|
95
95
|
|
96
96
|
### BEGIN SPECIAL CASES ###
|
97
|
-
|
98
|
-
ALL_VERSION_CATEGORY_FIRST_PROFILES = [
|
99
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
|
100
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
|
101
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
|
102
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
|
103
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test',
|
104
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging',
|
105
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
106
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
|
107
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment',
|
108
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history',
|
109
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
|
110
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
|
111
|
-
]
|
112
|
-
|
113
|
-
VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES = {
|
114
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis' => ['v610'],
|
115
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns' => ['v610']
|
116
|
-
}
|
117
|
-
|
118
97
|
def category_first_profile?
|
119
|
-
ALL_VERSION_CATEGORY_FIRST_PROFILES.include?(profile_url) ||
|
120
|
-
VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES[profile_url]&.include?(reformatted_version)
|
98
|
+
SpecialCases::ALL_VERSION_CATEGORY_FIRST_PROFILES.include?(profile_url) ||
|
99
|
+
SpecialCases::VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES[profile_url]&.include?(reformatted_version)
|
121
100
|
end
|
122
101
|
|
123
102
|
def first_search_params
|
@@ -229,8 +208,16 @@ module USCoreTestKit
|
|
229
208
|
end
|
230
209
|
|
231
210
|
def search_metadata_extractor
|
232
|
-
@search_metadata_extractor ||=
|
233
|
-
|
211
|
+
@search_metadata_extractor ||= SearchMetadataExtractor.new(
|
212
|
+
resource_capabilities,
|
213
|
+
ig_resources,
|
214
|
+
profile_elements,
|
215
|
+
{
|
216
|
+
resource: resource,
|
217
|
+
profile_url: profile_url,
|
218
|
+
must_supports: must_supports
|
219
|
+
}
|
220
|
+
)
|
234
221
|
end
|
235
222
|
|
236
223
|
def searches
|
@@ -38,10 +38,21 @@ module USCoreTestKit
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
def granular_scope_resource_type_groups
|
42
|
+
@granular_scope_resource_type_groups ||=
|
43
|
+
Hash.new { |hash, key| hash[key] = [] }
|
44
|
+
end
|
45
|
+
|
46
|
+
def granular_scope_groups
|
47
|
+
@granular_scope_groups ||= []
|
48
|
+
end
|
49
|
+
|
41
50
|
def to_hash
|
42
51
|
{
|
43
|
-
ig_version
|
44
|
-
groups: groups.map(&:to_hash)
|
52
|
+
ig_version:,
|
53
|
+
groups: groups.map(&:to_hash),
|
54
|
+
granular_scope_resource_type_groups:,
|
55
|
+
granular_scope_groups:
|
45
56
|
}
|
46
57
|
end
|
47
58
|
end
|
@@ -64,7 +64,9 @@ module USCoreTestKit
|
|
64
64
|
metadata.groups =
|
65
65
|
resources_in_capability_statement.flat_map do |resource|
|
66
66
|
resource.supportedProfile&.map do |supported_profile|
|
67
|
+
supported_profile = supported_profile.split('|').first
|
67
68
|
next if supported_profile == 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire'
|
69
|
+
|
68
70
|
GroupMetadataExtractor.new(resource, supported_profile, metadata, ig_resources).group_metadata
|
69
71
|
end
|
70
72
|
end.compact
|
@@ -3,6 +3,7 @@ require_relative 'must_support_metadata_extractor_us_core_3'
|
|
3
3
|
require_relative 'must_support_metadata_extractor_us_core_4'
|
4
4
|
require_relative 'must_support_metadata_extractor_us_core_5'
|
5
5
|
require_relative 'must_support_metadata_extractor_us_core_6'
|
6
|
+
require_relative 'must_support_metadata_extractor_us_core_7'
|
6
7
|
|
7
8
|
module USCoreTestKit
|
8
9
|
class Generator
|
@@ -344,6 +345,8 @@ module USCoreTestKit
|
|
344
345
|
MustSupportMetadataExtractorUsCore5.new(profile, @must_supports).handle_special_cases
|
345
346
|
when '6.1.0'
|
346
347
|
MustSupportMetadataExtractorUsCore6.new(profile, @must_supports).handle_special_cases
|
348
|
+
when '7.0.0-ballot'
|
349
|
+
MustSupportMetadataExtractorUsCore7.new(profile, @must_supports).handle_special_cases
|
347
350
|
end
|
348
351
|
end
|
349
352
|
|
@@ -355,7 +358,7 @@ module USCoreTestKit
|
|
355
358
|
end
|
356
359
|
|
357
360
|
def is_blood_pressure?
|
358
|
-
['
|
361
|
+
['bp', 'us-core-blood-pressure', 'us-core-average-blood-pressure'].include?(profile.id)
|
359
362
|
end
|
360
363
|
|
361
364
|
# Exclude Observation.component from vital sign profiles except observation-bp and observation-pulse-ox
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative 'must_support_metadata_extractor_us_core_6'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
class Generator
|
5
|
+
class MustSupportMetadataExtractorUsCore7
|
6
|
+
attr_accessor :profile, :must_supports
|
7
|
+
|
8
|
+
US_CORE_CATEGORY = ['sdoh', 'functional-status', 'disability-status', 'cognitive-status']
|
9
|
+
|
10
|
+
def initialize(profile, must_supports)
|
11
|
+
self.profile = profile
|
12
|
+
self.must_supports = must_supports
|
13
|
+
end
|
14
|
+
|
15
|
+
def us_core_6_extractor
|
16
|
+
@us_core_6_extractor ||= MustSupportMetadataExtractorUsCore6.new(profile, must_supports)
|
17
|
+
end
|
18
|
+
|
19
|
+
def handle_special_cases
|
20
|
+
us_core_6_extractor.handle_special_cases
|
21
|
+
add_must_support_choices
|
22
|
+
end
|
23
|
+
|
24
|
+
def add_must_support_choices
|
25
|
+
more_choices = []
|
26
|
+
|
27
|
+
case profile.type
|
28
|
+
when 'Procedure'
|
29
|
+
more_choices << {
|
30
|
+
paths: ['reasonCode', 'reasonReference'],
|
31
|
+
uscdi_only: true
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
if more_choices.present?
|
36
|
+
must_supports[:choices] ||= []
|
37
|
+
must_supports[:choices].concat(more_choices)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -3,13 +3,13 @@ require_relative 'value_extractor'
|
|
3
3
|
module USCoreTestKit
|
4
4
|
class Generator
|
5
5
|
class SearchDefinitionMetadataExtractor
|
6
|
-
attr_accessor :ig_resources, :name, :
|
6
|
+
attr_accessor :ig_resources, :name, :profile_elements, :group_metadata
|
7
7
|
|
8
|
-
def initialize(name, ig_resources,
|
8
|
+
def initialize(name, ig_resources, profile_elements, group_metadata)
|
9
9
|
self.name = name
|
10
10
|
self.ig_resources = ig_resources
|
11
|
-
self.resource = resource
|
12
11
|
self.profile_elements = profile_elements
|
12
|
+
self.group_metadata = group_metadata
|
13
13
|
end
|
14
14
|
|
15
15
|
def search_definition
|
@@ -26,6 +26,10 @@ module USCoreTestKit
|
|
26
26
|
}.compact
|
27
27
|
end
|
28
28
|
|
29
|
+
def resource
|
30
|
+
group_metadata[:resource]
|
31
|
+
end
|
32
|
+
|
29
33
|
def param
|
30
34
|
@param ||= ig_resources.search_param_by_resource_and_name(resource, name)
|
31
35
|
end
|
@@ -162,11 +166,50 @@ module USCoreTestKit
|
|
162
166
|
end
|
163
167
|
|
164
168
|
def values
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
169
|
+
values_from_must_supports(profile_element).presence ||
|
170
|
+
value_extractor.values_from_fixed_codes(profile_element, type).presence ||
|
171
|
+
#value_extractor.values_from_required_binding(profile_element).presence ||
|
172
|
+
value_extractor.values_from_value_set_binding(profile_element).presence ||
|
173
|
+
values_from_resource_metadata(paths).presence ||
|
174
|
+
[]
|
175
|
+
end
|
176
|
+
|
177
|
+
def values_from_must_supports(profile_element)
|
178
|
+
return if profile_element.nil?
|
179
|
+
|
180
|
+
short_path = profile_element.path.split('.', 2)[1]
|
181
|
+
|
182
|
+
values_from_must_support_slices(profile_element, short_path, true).presence ||
|
183
|
+
values_from_must_support_slices(profile_element, short_path, false).presence ||
|
184
|
+
values_from_must_support_elements(short_path).presence ||
|
185
|
+
[]
|
186
|
+
end
|
187
|
+
|
188
|
+
def values_from_must_support_slices(profile_element, short_path, mandatory_slice_only)
|
189
|
+
group_metadata[:must_supports][:slices]
|
190
|
+
.select { |slice| [short_path, "#{short_path}.coding"].include?(slice[:path]) }
|
191
|
+
.map do |slice|
|
192
|
+
slice_element = profile_elements.find { |element| slice[:slice_id] == element.id }
|
193
|
+
next if (profile_element.min > 0 && slice_element.min == 0 && mandatory_slice_only)
|
194
|
+
|
195
|
+
case slice[:discriminator][:type]
|
196
|
+
when 'patternCoding', 'patternCodeableConcept'
|
197
|
+
slice[:discriminator][:code]
|
198
|
+
when 'requiredBinding'
|
199
|
+
slice[:discriminator][:values]
|
200
|
+
when 'value'
|
201
|
+
slice[:discriminator][:values]
|
202
|
+
.select { |value| value[:path] == 'coding.code' }
|
203
|
+
.map { |value| value[:value] }
|
204
|
+
end
|
205
|
+
end
|
206
|
+
.compact.flatten
|
207
|
+
end
|
208
|
+
|
209
|
+
def values_from_must_support_elements(short_path)
|
210
|
+
group_metadata[:must_supports][:elements]
|
211
|
+
.select { |element| element[:path] == "#{short_path}.coding.code" }
|
212
|
+
.map { |element| element[:fixed_value] }
|
170
213
|
end
|
171
214
|
|
172
215
|
def values_from_resource_metadata(paths)
|
@@ -6,13 +6,13 @@ module USCoreTestKit
|
|
6
6
|
COMBO_EXTENSION_URL =
|
7
7
|
'http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination'.freeze
|
8
8
|
|
9
|
-
attr_accessor :resource_capabilities, :ig_resources, :
|
9
|
+
attr_accessor :resource_capabilities, :ig_resources, :profile_elements, :group_metadata
|
10
10
|
|
11
|
-
def initialize(resource_capabilities, ig_resources,
|
11
|
+
def initialize(resource_capabilities, ig_resources, profile_elements, group_metadata)
|
12
12
|
self.resource_capabilities = resource_capabilities
|
13
13
|
self.ig_resources = ig_resources
|
14
|
-
self.resource = resource
|
15
14
|
self.profile_elements = profile_elements
|
15
|
+
self.group_metadata = group_metadata
|
16
16
|
end
|
17
17
|
|
18
18
|
def searches
|
@@ -66,7 +66,7 @@ module USCoreTestKit
|
|
66
66
|
def search_definitions
|
67
67
|
search_param_names.each_with_object({}) do |name, definitions|
|
68
68
|
definitions[name.to_sym] =
|
69
|
-
SearchDefinitionMetadataExtractor.new(name, ig_resources,
|
69
|
+
SearchDefinitionMetadataExtractor.new(name, ig_resources, profile_elements, group_metadata).search_definition
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|