us_core_test_kit 0.4.7 → 0.6.0
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/v6.1.0/capability_statement_group.rb +131 -0
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +1 -1
- data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +11 -5
- data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +11 -5
- data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +9 -2
- data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +5 -0
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +11 -5
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/metadata.yml +152 -0
- data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance_group.rb +88 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/metadata.yml +305 -0
- data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/bmi_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_temperature_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.1.0/body_weight_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/care_plan_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan/metadata.yml +278 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_plan_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_patient_role_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_patient_status_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_role_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/care_team_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team/metadata.yml +175 -0
- data/lib/us_core_test_kit/generated/v6.1.0/care_team_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +347 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +367 -0
- data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage/metadata.yml +160 -0
- data/lib/us_core_test_kit/generated/v6.1.0/coverage_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_patient_status_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_patient_type_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/device_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device/metadata.yml +164 -0
- data/lib/us_core_test_kit/generated/v6.1.0/device_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/metadata.yml +253 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/metadata.yml +272 -0
- data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/document_reference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference/metadata.yml +315 -0
- data/lib/us_core_test_kit/generated/v6.1.0/document_reference_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_class_patient_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_date_patient_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_identifier_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_patient_location_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_patient_type_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_reference_resolution_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/encounter_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter/metadata.yml +364 -0
- data/lib/us_core_test_kit/generated/v6.1.0/encounter_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_patient_description_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_patient_target_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/goal_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal/metadata.yml +189 -0
- data/lib/us_core_test_kit/generated/v6.1.0/goal_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/heart_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_patient_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/immunization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization/metadata.yml +171 -0
- data/lib/us_core_test_kit/generated/v6.1.0/immunization_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_must_support_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_reference_resolution_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/medication_dispense_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/metadata.yml +230 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_must_support_test.rb +58 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_reference_resolution_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/medication_validation_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request/metadata.yml +311 -0
- data/lib/us_core_test_kit/generated/v6.1.0/medication_request_group.rb +95 -0
- data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +10859 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/metadata.yml +265 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +264 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/observation_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_lab_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/metadata.yml +277 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/metadata.yml +266 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/metadata.yml +266 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/metadata.yml +286 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/metadata.yml +256 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/metadata.yml +141 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/organization_address_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/organization_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/organization_name_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/organization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization/organization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/organization_group.rb +85 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/metadata.yml +387 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_birthdate_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_birthdate_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_death_date_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_family_gender_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_gender_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_id_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_must_support_test.rb +69 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/patient_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/metadata.yml +165 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_id_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/practitioner_group.rb +87 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/metadata.yml +232 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_patient_date_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure/procedure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/procedure_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/metadata.yml +161 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/provenance_group.rb +59 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/metadata.yml +348 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +231 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response_group.rb +97 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/metadata.yml +136 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_name_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_patient_name_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person/related_person_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/related_person_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.1.0/resource_list.rb +34 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/metadata.yml +321 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_authored_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_authored_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request/service_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/service_request_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/metadata.yml +291 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/simple_observation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/simple_observation_group.rb +98 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/metadata.yml +249 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/smokingstatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/metadata.yml +115 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_must_support_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen/specimen_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.1.0/specimen_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +169 -0
- data/lib/us_core_test_kit/generator/group_generator.rb +2 -1
- data/lib/us_core_test_kit/generator/group_metadata.rb +7 -6
- data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +14 -3
- data/lib/us_core_test_kit/generator/ig_metadata.rb +1 -1
- data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +2 -1
- data/lib/us_core_test_kit/generator/ig_resources.rb +4 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +34 -4
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +7 -0
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +0 -19
- data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +84 -0
- data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +3 -1
- data/lib/us_core_test_kit/generator/search_test_generator.rb +1 -1
- data/lib/us_core_test_kit/generator/suite_generator.rb +4 -0
- data/lib/us_core_test_kit/generator/value_extractor.rb +18 -2
- data/lib/us_core_test_kit/igs/us_core_501/ValueSet-servicerequest-category.json +69 -0
- data/lib/us_core_test_kit/igs/us_core_610/CodeSystem-observation-category.json +83 -0
- data/lib/us_core_test_kit/igs/us_core_610/StructureDefinition-condition-assertedDate.json +280 -0
- data/lib/us_core_test_kit/igs/us_core_610/ValueSet-observation-category.json +48 -0
- data/lib/us_core_test_kit/igs/us_core_610/ValueSet-servicerequest-category.json +69 -0
- data/lib/us_core_test_kit/igs/us_core_610.tgz +0 -0
- data/lib/us_core_test_kit/reference_resolution_test.rb +4 -2
- data/lib/us_core_test_kit/version.rb +1 -1
- data/lib/us_core_test_kit.rb +1 -0
- metadata +537 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40e057a850a263a83b69fceef4614ef23b22c60b7ee67eb69cc0df62cff855f7
|
4
|
+
data.tar.gz: 164d24c97bec0fadea35fc97370c141cd200c036f4a7e8e85da3796d5f667ea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f12164ae95d2a69fbd9b81042703060718950e673fba85df055efe76c54c96fbec777d847d92343f84ecb35844c72c655026cde47741792f161e0965f9170b1
|
7
|
+
data.tar.gz: 82a4245c83563487602247524e6ac1ff7b6b3ae1e07d5b736ea84efc2c6cc08f5445c12ce8b48dd316c8c533761a3a5f56d17ad143cb635ec697d4e93aa5b11b
|
@@ -0,0 +1,131 @@
|
|
1
|
+
require 'tls_test_kit'
|
2
|
+
require_relative '../capability_statement/conformance_support_test'
|
3
|
+
require_relative '../capability_statement/fhir_version_test'
|
4
|
+
require_relative '../capability_statement/json_support_test'
|
5
|
+
require_relative '../capability_statement/profile_support_test'
|
6
|
+
require_relative '../capability_statement/instantiate_test'
|
7
|
+
|
8
|
+
module USCoreTestKit
|
9
|
+
module USCoreV610
|
10
|
+
class CapabilityStatementGroup < Inferno::TestGroup
|
11
|
+
id :us_core_v610_capability_statement
|
12
|
+
title 'Capability Statement'
|
13
|
+
short_description 'Retrieve information about supported server functionality using the FHIR capabilties interaction.'
|
14
|
+
description %(
|
15
|
+
# Background
|
16
|
+
The #{title} Sequence tests a FHIR server's ability to formally describe
|
17
|
+
features supported by the API by using the [Capability
|
18
|
+
Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
|
19
|
+
The features described in the Capability Statement must be consistent with
|
20
|
+
the required capabilities of a US Core server. The Capability Statement
|
21
|
+
must also advertise the location of the required SMART on FHIR endpoints
|
22
|
+
that enable authenticated access to the FHIR server resources.
|
23
|
+
|
24
|
+
The Capability Statement resource allows clients to determine which
|
25
|
+
resources are supported by a FHIR Server. Not all servers are expected to
|
26
|
+
implement all possible queries and data elements described in the US Core
|
27
|
+
API. For example, the US Core Implementation Guide requires that the
|
28
|
+
Patient resource and only one additional resource profile from the US Core
|
29
|
+
Profiles.
|
30
|
+
|
31
|
+
# Test Methodology
|
32
|
+
|
33
|
+
This test sequence accesses the server endpoint at `/metadata` using a
|
34
|
+
`GET` request. It parses the Capability Statement and verifies that:
|
35
|
+
|
36
|
+
* The endpoint is secured by an appropriate cryptographic protocol
|
37
|
+
* The resource matches the expected FHIR version defined by the tests
|
38
|
+
* The resource is a valid FHIR resource
|
39
|
+
* The server claims support for JSON encoding of resources
|
40
|
+
* The server claims support for the Patient resource and one other
|
41
|
+
resource
|
42
|
+
|
43
|
+
It collects the following information that is saved in the testing session
|
44
|
+
for use by later tests:
|
45
|
+
|
46
|
+
* List of resources supported
|
47
|
+
* List of queries parameters supported
|
48
|
+
)
|
49
|
+
run_as_group
|
50
|
+
|
51
|
+
PROFILES = {
|
52
|
+
'AllergyIntolerance' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance'].freeze,
|
53
|
+
'CarePlan' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan'].freeze,
|
54
|
+
'CareTeam' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam'].freeze,
|
55
|
+
'Condition' => [
|
56
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis',
|
57
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns'
|
58
|
+
].freeze,
|
59
|
+
'Coverage' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage'].freeze,
|
60
|
+
'Device' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device'].freeze,
|
61
|
+
'DiagnosticReport' => [
|
62
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
|
63
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note'
|
64
|
+
].freeze,
|
65
|
+
'DocumentReference' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference'].freeze,
|
66
|
+
'Encounter' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'].freeze,
|
67
|
+
'Goal' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal'].freeze,
|
68
|
+
'Immunization' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization'].freeze,
|
69
|
+
'Location' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'].freeze,
|
70
|
+
'Medication' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication'].freeze,
|
71
|
+
'MedicationDispense' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense'].freeze,
|
72
|
+
'MedicationRequest' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest'].freeze,
|
73
|
+
'Observation' => [
|
74
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent',
|
75
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
|
76
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation',
|
77
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs',
|
78
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry',
|
79
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile',
|
80
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference',
|
81
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure',
|
82
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age',
|
83
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height',
|
84
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height',
|
85
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate',
|
86
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight',
|
87
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate',
|
88
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi',
|
89
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature',
|
90
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation',
|
91
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus',
|
92
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
|
93
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
94
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation',
|
95
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus'
|
96
|
+
].freeze,
|
97
|
+
'Organization' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization'].freeze,
|
98
|
+
'Patient' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'].freeze,
|
99
|
+
'Practitioner' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner'].freeze,
|
100
|
+
'PractitionerRole' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'].freeze,
|
101
|
+
'Procedure' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure'].freeze,
|
102
|
+
'Provenance' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance'].freeze,
|
103
|
+
'RelatedPerson' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson'].freeze,
|
104
|
+
'ServiceRequest' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest'].freeze,
|
105
|
+
'Specimen' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen'].freeze
|
106
|
+
}.freeze
|
107
|
+
|
108
|
+
test from: :tls_version_test,
|
109
|
+
id: :standalone_auth_tls,
|
110
|
+
title: 'FHIR server secured by transport layer security',
|
111
|
+
description: %(
|
112
|
+
Systems **SHALL** use TLS version 1.2 or higher for all transmissions
|
113
|
+
not taking place over a secure network connection.
|
114
|
+
),
|
115
|
+
config: {
|
116
|
+
options: { minimum_allowed_version: OpenSSL::SSL::TLS1_2_VERSION }
|
117
|
+
}
|
118
|
+
test from: :us_core_conformance_support
|
119
|
+
test from: :us_core_fhir_version
|
120
|
+
test from: :us_core_json_support
|
121
|
+
|
122
|
+
test from: :us_core_profile_support do
|
123
|
+
config(
|
124
|
+
options: { us_core_resources: PROFILES.keys }
|
125
|
+
)
|
126
|
+
end
|
127
|
+
|
128
|
+
test from: :us_core_instantiate
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -34,7 +34,7 @@ module USCoreTestKit
|
|
34
34
|
end
|
35
35
|
|
36
36
|
path_segments = path.split(/(?<!hl7)\./)
|
37
|
-
segment = path_segments.shift.delete_suffix('[x]').to_sym
|
37
|
+
segment = path_segments.shift.delete_suffix('[x]').gsub(/^class$/, 'local_class').to_sym
|
38
38
|
|
39
39
|
no_elements_present =
|
40
40
|
elements.none? do |element|
|
@@ -42,10 +42,11 @@ module USCoreTestKit
|
|
42
42
|
The US Core Test Kit tests systems for their conformance to the [US Core
|
43
43
|
Implementation Guide](http://hl7.org/fhir/us/core/STU3.1.1).
|
44
44
|
|
45
|
-
|
46
|
-
as the terminology server. Users should note that the
|
47
|
-
Certification (g)(10) Standardized API Test Suite
|
48
|
-
this suite, [it uses a different method to perform
|
45
|
+
HL7® FHIR® resources are validated with the Java validator using
|
46
|
+
`tx.fhir.org` as the terminology server. Users should note that the
|
47
|
+
although the ONC Certification (g)(10) Standardized API Test Suite
|
48
|
+
includes tests from this suite, [it uses a different method to perform
|
49
|
+
terminology
|
49
50
|
validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
|
50
51
|
As a result, resource validation results may not be consistent between
|
51
52
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
@@ -61,6 +62,8 @@ module USCoreTestKit
|
|
61
62
|
/Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
|
62
63
|
].freeze
|
63
64
|
|
65
|
+
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
66
|
+
|
64
67
|
def self.metadata
|
65
68
|
@metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
|
66
69
|
Generator::GroupMetadata.new(raw_metadata)
|
@@ -69,8 +72,11 @@ module USCoreTestKit
|
|
69
72
|
|
70
73
|
validator do
|
71
74
|
url ENV.fetch('V311_VALIDATOR_URL', 'http://validator_service:4567')
|
75
|
+
message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
76
|
+
|
72
77
|
exclude_message do |message|
|
73
|
-
|
78
|
+
|
79
|
+
message_filters.any? { |filter| filter.match? message.message }
|
74
80
|
end
|
75
81
|
|
76
82
|
perform_additional_validation do |resource, profile_url|
|
@@ -44,10 +44,11 @@ module USCoreTestKit
|
|
44
44
|
The US Core Test Kit tests systems for their conformance to the [US Core
|
45
45
|
Implementation Guide](http://hl7.org/fhir/us/core/STU4).
|
46
46
|
|
47
|
-
|
48
|
-
as the terminology server. Users should note that the
|
49
|
-
Certification (g)(10) Standardized API Test Suite
|
50
|
-
this suite, [it uses a different method to perform
|
47
|
+
HL7® FHIR® resources are validated with the Java validator using
|
48
|
+
`tx.fhir.org` as the terminology server. Users should note that the
|
49
|
+
although the ONC Certification (g)(10) Standardized API Test Suite
|
50
|
+
includes tests from this suite, [it uses a different method to perform
|
51
|
+
terminology
|
51
52
|
validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
|
52
53
|
As a result, resource validation results may not be consistent between
|
53
54
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
@@ -63,6 +64,8 @@ module USCoreTestKit
|
|
63
64
|
/Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
|
64
65
|
].freeze
|
65
66
|
|
67
|
+
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
68
|
+
|
66
69
|
def self.metadata
|
67
70
|
@metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
|
68
71
|
Generator::GroupMetadata.new(raw_metadata)
|
@@ -71,8 +74,11 @@ module USCoreTestKit
|
|
71
74
|
|
72
75
|
validator do
|
73
76
|
url ENV.fetch('V400_VALIDATOR_URL', 'http://validator_service:4567')
|
77
|
+
message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
78
|
+
|
74
79
|
exclude_message do |message|
|
75
|
-
|
80
|
+
|
81
|
+
message_filters.any? { |filter| filter.match? message.message }
|
76
82
|
end
|
77
83
|
|
78
84
|
perform_additional_validation do |resource, profile_url|
|
@@ -1871,7 +1871,8 @@
|
|
1871
1871
|
:full_paths:
|
1872
1872
|
- DocumentReference.category
|
1873
1873
|
:comparators: {}
|
1874
|
-
:values:
|
1874
|
+
:values:
|
1875
|
+
- clinical-note
|
1875
1876
|
:type: CodeableConcept
|
1876
1877
|
:contains_multiple: true
|
1877
1878
|
:multiple_or: MAY
|
@@ -9668,7 +9669,8 @@
|
|
9668
9669
|
:full_paths:
|
9669
9670
|
- QuestionnaireResponse.meta.tag
|
9670
9671
|
:comparators: {}
|
9671
|
-
:values:
|
9672
|
+
:values:
|
9673
|
+
- sdoh
|
9672
9674
|
:type: Coding
|
9673
9675
|
:contains_multiple: true
|
9674
9676
|
:multiple_or: MAY
|
@@ -9987,6 +9989,11 @@
|
|
9987
9989
|
- sdoh
|
9988
9990
|
- '386053000'
|
9989
9991
|
- '410606002'
|
9992
|
+
- '108252007'
|
9993
|
+
- '363679005'
|
9994
|
+
- '409063005'
|
9995
|
+
- '409073007'
|
9996
|
+
- '387713003'
|
9990
9997
|
:type: CodeableConcept
|
9991
9998
|
:contains_multiple: true
|
9992
9999
|
:multiple_or: MAY
|
@@ -53,10 +53,11 @@ module USCoreTestKit
|
|
53
53
|
The US Core Test Kit tests systems for their conformance to the [US Core
|
54
54
|
Implementation Guide](http://hl7.org/fhir/us/core/STU5.0.1).
|
55
55
|
|
56
|
-
|
57
|
-
as the terminology server. Users should note that the
|
58
|
-
Certification (g)(10) Standardized API Test Suite
|
59
|
-
this suite, [it uses a different method to perform
|
56
|
+
HL7® FHIR® resources are validated with the Java validator using
|
57
|
+
`tx.fhir.org` as the terminology server. Users should note that the
|
58
|
+
although the ONC Certification (g)(10) Standardized API Test Suite
|
59
|
+
includes tests from this suite, [it uses a different method to perform
|
60
|
+
terminology
|
60
61
|
validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
|
61
62
|
As a result, resource validation results may not be consistent between
|
62
63
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
@@ -72,6 +73,8 @@ module USCoreTestKit
|
|
72
73
|
/Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
|
73
74
|
].freeze
|
74
75
|
|
76
|
+
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
77
|
+
|
75
78
|
def self.metadata
|
76
79
|
@metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
|
77
80
|
Generator::GroupMetadata.new(raw_metadata)
|
@@ -80,8 +83,11 @@ module USCoreTestKit
|
|
80
83
|
|
81
84
|
validator do
|
82
85
|
url ENV.fetch('V501_VALIDATOR_URL', 'http://validator_service:4567')
|
86
|
+
message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
87
|
+
|
83
88
|
exclude_message do |message|
|
84
|
-
|
89
|
+
|
90
|
+
message_filters.any? { |filter| filter.match? message.message }
|
85
91
|
end
|
86
92
|
|
87
93
|
perform_additional_validation do |resource, profile_url|
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class AllergyIntoleranceMustSupportTest < Inferno::Test
|
6
|
+
include USCoreTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the AllergyIntolerance resources returned'
|
9
|
+
description %(
|
10
|
+
US Core Responders SHALL be capable of populating all data elements as
|
11
|
+
part of the query results as specified by the US Core Server Capability
|
12
|
+
Statement. This test will look through the AllergyIntolerance resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
* AllergyIntolerance.clinicalStatus
|
16
|
+
* AllergyIntolerance.code
|
17
|
+
* AllergyIntolerance.patient
|
18
|
+
* AllergyIntolerance.reaction
|
19
|
+
* AllergyIntolerance.reaction.manifestation
|
20
|
+
* AllergyIntolerance.verificationStatus
|
21
|
+
)
|
22
|
+
|
23
|
+
id :us_core_v610_allergy_intolerance_must_support_test
|
24
|
+
|
25
|
+
def resource_type
|
26
|
+
'AllergyIntolerance'
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
def scratch_resources
|
34
|
+
scratch[:allergy_intolerance_resources] ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
run do
|
38
|
+
perform_must_support_test(all_scratch_resources)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class AllergyIntolerancePatientClinicalStatusSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for AllergyIntolerance search by patient + clinical-status'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + clinical-status on the AllergyIntolerance 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_v610_allergy_intolerance_patient_clinical_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: 'AllergyIntolerance',
|
30
|
+
search_param_names: ['patient', 'clinical-status'],
|
31
|
+
token_search_params: ['clinical-status']
|
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[:allergy_intolerance_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class AllergyIntolerancePatientSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for AllergyIntolerance search by patient'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient on the AllergyIntolerance 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 v6.1.0.
|
28
|
+
|
29
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
30
|
+
|
31
|
+
)
|
32
|
+
|
33
|
+
id :us_core_v610_allergy_intolerance_patient_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
|
+
resource_type: 'AllergyIntolerance',
|
42
|
+
search_param_names: ['patient'],
|
43
|
+
possible_status_search: true,
|
44
|
+
test_reference_variants: true,
|
45
|
+
test_post_search: true
|
46
|
+
)
|
47
|
+
end
|
48
|
+
|
49
|
+
def self.metadata
|
50
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
51
|
+
end
|
52
|
+
|
53
|
+
def scratch_resources
|
54
|
+
scratch[:allergy_intolerance_resources] ||= {}
|
55
|
+
end
|
56
|
+
|
57
|
+
run do
|
58
|
+
run_search_test
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class AllergyIntoleranceProvenanceRevincludeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns Provenance resources from AllergyIntolerance search by patient + 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 + revInclude:Provenance:target and
|
14
|
+
will pass if a Provenance resource is found in the response.
|
15
|
+
%)
|
16
|
+
|
17
|
+
id :us_core_v610_allergy_intolerance_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
|
+
resource_type: 'AllergyIntolerance',
|
26
|
+
search_param_names: ['patient']
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.metadata
|
31
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.provenance_metadata
|
35
|
+
@provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml'), aliases: true))
|
36
|
+
end
|
37
|
+
|
38
|
+
def scratch_resources
|
39
|
+
scratch[:allergy_intolerance_resources] ||= {}
|
40
|
+
end
|
41
|
+
|
42
|
+
def scratch_provenance_resources
|
43
|
+
scratch[:provenance_resources] ||= {}
|
44
|
+
end
|
45
|
+
|
46
|
+
run do
|
47
|
+
run_provenance_revinclude_search_test
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/allergy_intolerance_read_test.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class AllergyIntoleranceReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct AllergyIntolerance resource from AllergyIntolerance read interaction'
|
9
|
+
description 'A server SHALL support the AllergyIntolerance read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v610_allergy_intolerance_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'AllergyIntolerance'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:allergy_intolerance_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,42 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class AllergyIntoleranceReferenceResolutionTest < Inferno::Test
|
7
|
+
include USCoreTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within AllergyIntolerance resources are valid'
|
11
|
+
description %(
|
12
|
+
This test will attempt to read external references provided within elements
|
13
|
+
marked as 'MustSupport', if any are available.
|
14
|
+
|
15
|
+
It verifies that at least one external reference for each MustSupport Reference element
|
16
|
+
can be accessed by the test client, and conforms to corresponding US Core profile.
|
17
|
+
|
18
|
+
Elements which may provide external references include:
|
19
|
+
|
20
|
+
* AllergyIntolerance.patient
|
21
|
+
)
|
22
|
+
|
23
|
+
id :us_core_v610_allergy_intolerance_reference_resolution_test
|
24
|
+
|
25
|
+
def resource_type
|
26
|
+
'AllergyIntolerance'
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
def scratch_resources
|
34
|
+
scratch[:allergy_intolerance_resources] ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
run do
|
38
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|