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,48 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsPatientCategoryDateSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category + date'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + category + date on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v700_ballot_vital_signs_patient_category_date_search_test
|
21
|
+
input :patient_ids,
|
22
|
+
title: 'Patient IDs',
|
23
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
24
|
+
|
25
|
+
def self.properties
|
26
|
+
@properties ||= SearchTestProperties.new(
|
27
|
+
resource_type: 'Observation',
|
28
|
+
search_param_names: ['patient', 'category', 'date'],
|
29
|
+
possible_status_search: true,
|
30
|
+
token_search_params: ['category'],
|
31
|
+
params_with_comparators: ['date']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:vital_signs_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsPatientCategorySearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + category on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v700_ballot_vital_signs_patient_category_search_test
|
21
|
+
input :patient_ids,
|
22
|
+
title: 'Patient IDs',
|
23
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
24
|
+
|
25
|
+
def self.properties
|
26
|
+
@properties ||= SearchTestProperties.new(
|
27
|
+
resource_type: 'Observation',
|
28
|
+
search_param_names: ['patient', 'category'],
|
29
|
+
possible_status_search: true,
|
30
|
+
token_search_params: ['category']
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.metadata
|
35
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
36
|
+
end
|
37
|
+
|
38
|
+
def scratch_resources
|
39
|
+
scratch[:vital_signs_resources] ||= {}
|
40
|
+
end
|
41
|
+
|
42
|
+
run do
|
43
|
+
run_search_test
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsPatientCategoryStatusSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category + status'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + category + status on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v700_ballot_vital_signs_patient_category_status_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
input :patient_ids,
|
24
|
+
title: 'Patient IDs',
|
25
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
26
|
+
|
27
|
+
def self.properties
|
28
|
+
@properties ||= SearchTestProperties.new(
|
29
|
+
resource_type: 'Observation',
|
30
|
+
search_param_names: ['patient', 'category', 'status'],
|
31
|
+
token_search_params: ['category'],
|
32
|
+
multiple_or_search_params: ['status']
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:vital_signs_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_search_test
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsPatientCodeDateSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + code + date'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + code + date on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v700_ballot_vital_signs_patient_code_date_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
input :patient_ids,
|
24
|
+
title: 'Patient IDs',
|
25
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
26
|
+
|
27
|
+
def self.properties
|
28
|
+
@properties ||= SearchTestProperties.new(
|
29
|
+
resource_type: 'Observation',
|
30
|
+
search_param_names: ['patient', 'code', 'date'],
|
31
|
+
possible_status_search: true,
|
32
|
+
token_search_params: ['code'],
|
33
|
+
params_with_comparators: ['date']
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.metadata
|
38
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
39
|
+
end
|
40
|
+
|
41
|
+
def scratch_resources
|
42
|
+
scratch[:vital_signs_resources] ||= {}
|
43
|
+
end
|
44
|
+
|
45
|
+
run do
|
46
|
+
run_search_test
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsPatientCodeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + code'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + code on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
This test verifies that the server supports searching by reference using
|
17
|
+
the form `patient=[id]` as well as `patient=Patient/[id]`. The two
|
18
|
+
different forms are expected to return the same number of results. US
|
19
|
+
Core requires that both forms are supported by US Core responders.
|
20
|
+
|
21
|
+
Because this is the first search of the sequence, resources in the
|
22
|
+
response will be used for subsequent tests.
|
23
|
+
|
24
|
+
Additionally, this test will check that GET and POST search methods
|
25
|
+
return the same number of results. Search by POST is required by the
|
26
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
27
|
+
requirement of US Core v7.0.0-ballot.
|
28
|
+
|
29
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
30
|
+
|
31
|
+
)
|
32
|
+
|
33
|
+
id :us_core_v700_ballot_vital_signs_patient_code_search_test
|
34
|
+
input :patient_ids,
|
35
|
+
title: 'Patient IDs',
|
36
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
37
|
+
|
38
|
+
def self.properties
|
39
|
+
@properties ||= SearchTestProperties.new(
|
40
|
+
first_search: true,
|
41
|
+
fixed_value_search: true,
|
42
|
+
resource_type: 'Observation',
|
43
|
+
search_param_names: ['patient', 'code'],
|
44
|
+
possible_status_search: true,
|
45
|
+
token_search_params: ['code'],
|
46
|
+
test_reference_variants: true,
|
47
|
+
test_post_search: true
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.metadata
|
52
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
53
|
+
end
|
54
|
+
|
55
|
+
def scratch_resources
|
56
|
+
scratch[:vital_signs_resources] ||= {}
|
57
|
+
end
|
58
|
+
|
59
|
+
run do
|
60
|
+
run_search_test
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV700_BALLOT
|
6
|
+
class VitalSignsProvenanceRevincludeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns Provenance resources from Observation search by patient + code + revInclude:Provenance:target'
|
10
|
+
description %(
|
11
|
+
A server SHALL be capable of supporting _revIncludes:Provenance:target.
|
12
|
+
|
13
|
+
This test will perform a search by patient + code + revInclude:Provenance:target and
|
14
|
+
will pass if a Provenance resource is found in the response.
|
15
|
+
%)
|
16
|
+
|
17
|
+
id :us_core_v700_ballot_vital_signs_provenance_revinclude_search_test
|
18
|
+
|
19
|
+
input :patient_ids,
|
20
|
+
title: 'Patient IDs',
|
21
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
22
|
+
|
23
|
+
def properties
|
24
|
+
@properties ||= SearchTestProperties.new(
|
25
|
+
fixed_value_search: true,
|
26
|
+
resource_type: 'Observation',
|
27
|
+
search_param_names: ['patient', 'code'],
|
28
|
+
possible_status_search: true
|
29
|
+
)
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.metadata
|
33
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.provenance_metadata
|
37
|
+
@provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:vital_signs_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
def scratch_provenance_resources
|
45
|
+
scratch[:provenance_resources] ||= {}
|
46
|
+
end
|
47
|
+
|
48
|
+
run do
|
49
|
+
run_provenance_revinclude_search_test
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class VitalSignsReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct Observation resource from Observation read interaction'
|
9
|
+
description 'A server SHALL support the Observation read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v700_ballot_vital_signs_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'Observation'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:vital_signs_resources] ||= {}
|
19
|
+
end
|
20
|
+
|
21
|
+
run do
|
22
|
+
perform_read_test(all_scratch_resources)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class VitalSignsReferenceResolutionTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReferenceResolutionTest
|
7
|
+
|
8
|
+
title 'MustSupport references within Observation resources are valid'
|
9
|
+
description %(
|
10
|
+
This test will attempt to read external references provided within elements
|
11
|
+
marked as 'MustSupport', if any are available.
|
12
|
+
|
13
|
+
It verifies that at least one external reference for each MustSupport Reference element
|
14
|
+
can be accessed by the test client, and conforms to corresponding US Core profile.
|
15
|
+
|
16
|
+
Elements which may provide external references include:
|
17
|
+
|
18
|
+
* Observation.subject
|
19
|
+
)
|
20
|
+
|
21
|
+
id :us_core_v700_ballot_vital_signs_reference_resolution_test
|
22
|
+
|
23
|
+
def resource_type
|
24
|
+
'Observation'
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.metadata
|
28
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
29
|
+
end
|
30
|
+
|
31
|
+
def scratch_resources
|
32
|
+
scratch[:vital_signs_resources] ||= {}
|
33
|
+
end
|
34
|
+
|
35
|
+
run do
|
36
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV700_BALLOT
|
5
|
+
class VitalSignsValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v700_ballot_vital_signs_validation_test
|
9
|
+
title 'Observation resources returned during previous tests conform to the US Core Vital Signs Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core Vital Signs Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs).
|
13
|
+
Systems must demonstrate at least one valid example in order to pass this test.
|
14
|
+
|
15
|
+
It verifies the presence of mandatory elements and that elements with
|
16
|
+
required bindings contain appropriate values. CodeableConcept element
|
17
|
+
bindings will fail if none of their codings have a code/system belonging
|
18
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
19
|
+
fail if their code/system are not found in the valueset.
|
20
|
+
|
21
|
+
)
|
22
|
+
output :dar_code_found, :dar_extension_found
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'Observation'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:vital_signs_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs',
|
35
|
+
'7.0.0-ballot',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
require_relative 'vital_signs/vital_signs_patient_code_search_test'
|
2
|
+
require_relative 'vital_signs/vital_signs_patient_category_search_test'
|
3
|
+
require_relative 'vital_signs/vital_signs_patient_category_date_search_test'
|
4
|
+
require_relative 'vital_signs/vital_signs_patient_category_status_search_test'
|
5
|
+
require_relative 'vital_signs/vital_signs_patient_code_date_search_test'
|
6
|
+
require_relative 'vital_signs/vital_signs_read_test'
|
7
|
+
require_relative 'vital_signs/vital_signs_provenance_revinclude_search_test'
|
8
|
+
require_relative 'vital_signs/vital_signs_validation_test'
|
9
|
+
require_relative 'vital_signs/vital_signs_must_support_test'
|
10
|
+
require_relative 'vital_signs/vital_signs_reference_resolution_test'
|
11
|
+
|
12
|
+
module USCoreTestKit
|
13
|
+
module USCoreV700_BALLOT
|
14
|
+
class VitalSignsGroup < Inferno::TestGroup
|
15
|
+
title 'Observation Vital Signs Tests'
|
16
|
+
short_description 'Verify support for the server capabilities required by the US Core Vital Signs Profile.'
|
17
|
+
description %(
|
18
|
+
# Background
|
19
|
+
|
20
|
+
The US Core Observation Vital Signs sequence verifies that the system under test is
|
21
|
+
able to provide correct responses for Observation queries. These queries
|
22
|
+
must contain resources conforming to the US Core Vital Signs Profile as
|
23
|
+
specified in the US Core v7.0.0-ballot Implementation Guide.
|
24
|
+
|
25
|
+
# Testing Methodology
|
26
|
+
## Searching
|
27
|
+
This test sequence will first perform each required search associated
|
28
|
+
with this resource. This sequence will perform searches with the
|
29
|
+
following parameters:
|
30
|
+
|
31
|
+
* patient + code
|
32
|
+
* patient + category
|
33
|
+
* patient + category + date
|
34
|
+
|
35
|
+
### Search Parameters
|
36
|
+
The first search uses the selected patient(s) from the prior launch
|
37
|
+
sequence. Any subsequent searches will look for its parameter values
|
38
|
+
from the results of the first search. For example, the `identifier`
|
39
|
+
search in the patient sequence is performed by looking for an existing
|
40
|
+
`Patient.identifier` from any of the resources returned in the `_id`
|
41
|
+
search. If a value cannot be found this way, the search is skipped.
|
42
|
+
|
43
|
+
### Search Validation
|
44
|
+
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
45
|
+
Observation resources and save them for subsequent tests. Each of
|
46
|
+
these resources is then checked to see if it matches the searched
|
47
|
+
parameters in accordance with [FHIR search
|
48
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
49
|
+
for example, if a Patient search for `gender=male` returns a `female`
|
50
|
+
patient.
|
51
|
+
|
52
|
+
|
53
|
+
## Must Support
|
54
|
+
Each profile contains elements marked as "must support". This test
|
55
|
+
sequence expects to see each of these elements at least once. If at
|
56
|
+
least one cannot be found, the test will fail. The test will look
|
57
|
+
through the Observation resources found in the first test for these
|
58
|
+
elements.
|
59
|
+
|
60
|
+
## Profile Validation
|
61
|
+
Each resource returned from the first search is expected to conform to
|
62
|
+
the [US Core Vital Signs Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs). Each element is checked against
|
63
|
+
teminology binding and cardinality requirements.
|
64
|
+
|
65
|
+
Elements with a required binding are validated against their bound
|
66
|
+
ValueSet. If the code/system in the element is not part of the ValueSet,
|
67
|
+
then the test will fail.
|
68
|
+
|
69
|
+
## Reference Validation
|
70
|
+
At least one instance of each external reference in elements marked as
|
71
|
+
"must support" within the resources provided by the system must resolve.
|
72
|
+
The test will attempt to read each reference found and will fail if no
|
73
|
+
read succeeds.
|
74
|
+
|
75
|
+
)
|
76
|
+
|
77
|
+
id :us_core_v700_ballot_vital_signs
|
78
|
+
run_as_group
|
79
|
+
|
80
|
+
def self.metadata
|
81
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'vital_signs', 'metadata.yml'), aliases: true))
|
82
|
+
end
|
83
|
+
|
84
|
+
test from: :us_core_v700_ballot_vital_signs_patient_code_search_test
|
85
|
+
test from: :us_core_v700_ballot_vital_signs_patient_category_search_test
|
86
|
+
test from: :us_core_v700_ballot_vital_signs_patient_category_date_search_test
|
87
|
+
test from: :us_core_v700_ballot_vital_signs_patient_category_status_search_test
|
88
|
+
test from: :us_core_v700_ballot_vital_signs_patient_code_date_search_test
|
89
|
+
test from: :us_core_v700_ballot_vital_signs_read_test
|
90
|
+
test from: :us_core_v700_ballot_vital_signs_provenance_revinclude_search_test
|
91
|
+
test from: :us_core_v700_ballot_vital_signs_validation_test
|
92
|
+
test from: :us_core_v700_ballot_vital_signs_must_support_test
|
93
|
+
test from: :us_core_v700_ballot_vital_signs_reference_resolution_test
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,127 @@
|
|
1
|
+
require_relative 'naming'
|
2
|
+
require_relative '../custom_groups/smart_scopes_constants'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
class Generator
|
6
|
+
class GranularScopeGroupGenerator
|
7
|
+
class << self
|
8
|
+
def generate(ig_metadata, base_output_dir)
|
9
|
+
return unless ['6', '7'].include? ig_metadata.ig_version[1]
|
10
|
+
|
11
|
+
[1, 2].each do |group_number|
|
12
|
+
new(ig_metadata, base_output_dir, group_number).generate
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
attr_accessor :ig_metadata, :base_output_dir, :group_number
|
18
|
+
|
19
|
+
def initialize(ig_metadata, base_output_dir, group_number)
|
20
|
+
self.ig_metadata = ig_metadata
|
21
|
+
self.base_output_dir = base_output_dir
|
22
|
+
self.group_number = group_number
|
23
|
+
end
|
24
|
+
|
25
|
+
def template
|
26
|
+
@template ||= File.read(File.join(__dir__, 'templates', 'granular_scope_group.rb.erb'))
|
27
|
+
end
|
28
|
+
|
29
|
+
def output
|
30
|
+
@output ||= ERB.new(template).result(binding)
|
31
|
+
end
|
32
|
+
|
33
|
+
def base_output_file_name
|
34
|
+
"#{class_name.underscore}.rb"
|
35
|
+
end
|
36
|
+
|
37
|
+
def base_metadata_file_name
|
38
|
+
"metadata.yml"
|
39
|
+
end
|
40
|
+
|
41
|
+
def class_name
|
42
|
+
"GranularScopes#{group_number}Group"
|
43
|
+
end
|
44
|
+
|
45
|
+
def module_name
|
46
|
+
"USCore#{ig_metadata.reformatted_version.upcase}"
|
47
|
+
end
|
48
|
+
|
49
|
+
def title
|
50
|
+
"#US Core FHIR API w/Granular Scopes #{group_number}"
|
51
|
+
end
|
52
|
+
|
53
|
+
def short_description
|
54
|
+
# TODO
|
55
|
+
end
|
56
|
+
|
57
|
+
def output_file_name
|
58
|
+
File.join(base_output_dir, base_output_file_name)
|
59
|
+
end
|
60
|
+
|
61
|
+
def group_dir
|
62
|
+
File.join(base_output_dir, 'granular_scope_tests')
|
63
|
+
end
|
64
|
+
|
65
|
+
def group_id
|
66
|
+
"us_core_#{ig_metadata.reformatted_version}_smart_granular_scopes_#{group_number}"
|
67
|
+
end
|
68
|
+
|
69
|
+
def generate
|
70
|
+
FileUtils.mkdir_p(group_dir)
|
71
|
+
File.open(output_file_name, 'w') { |f| f.write(output) }
|
72
|
+
ig_metadata.granular_scope_groups <<
|
73
|
+
{
|
74
|
+
id: group_id,
|
75
|
+
file_name: base_output_file_name
|
76
|
+
}
|
77
|
+
end
|
78
|
+
|
79
|
+
def group_id_list
|
80
|
+
@group_id_list ||=
|
81
|
+
ig_metadata
|
82
|
+
.granular_scope_resource_type_groups
|
83
|
+
.values
|
84
|
+
.flatten
|
85
|
+
.map { |group| group[:id] }
|
86
|
+
.select { |id| id.include? "scope_#{group_number}" }
|
87
|
+
end
|
88
|
+
|
89
|
+
def group_file_list
|
90
|
+
@group_file_list ||=
|
91
|
+
ig_metadata.granular_scope_resource_type_groups
|
92
|
+
.values
|
93
|
+
.flatten
|
94
|
+
.select { |group| group[:file_name].include? "scope#{group_number}" }
|
95
|
+
.map do |group|
|
96
|
+
name_without_suffix = group[:file_name].delete_suffix('.rb')
|
97
|
+
"./#{name_without_suffix}"
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
def search_param_name_string
|
102
|
+
required_searches
|
103
|
+
.map { |search| search[:names].join(' + ') }
|
104
|
+
.map { |names| "* #{names}" }
|
105
|
+
.join("\n")
|
106
|
+
end
|
107
|
+
|
108
|
+
def scopes_string
|
109
|
+
SmartScopesConstants.const_get("SMART_GRANULAR_SCOPES_GROUP#{group_number}")
|
110
|
+
.dig(ig_metadata.reformatted_version)
|
111
|
+
.map { |scope| scope.delete_prefix 'patient/' }
|
112
|
+
.map { |scope| "* `#{scope}`" }
|
113
|
+
.join("\n")
|
114
|
+
end
|
115
|
+
|
116
|
+
def description
|
117
|
+
<<~DESCRIPTION
|
118
|
+
The tests in this group repeat all of the searches from the US Core
|
119
|
+
FHIR API tests, and verify that the resources returned are filtered
|
120
|
+
based on the following granular scopes:
|
121
|
+
|
122
|
+
#{scopes_string}
|
123
|
+
DESCRIPTION
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|