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
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class PediatricWeightForHeightReferenceResolutionTest < Inferno::Test
|
7
|
+
include USCoreTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within Observation 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
|
+
* Observation.subject
|
21
|
+
)
|
22
|
+
|
23
|
+
id :us_core_v610_pediatric_weight_for_height_reference_resolution_test
|
24
|
+
|
25
|
+
def resource_type
|
26
|
+
'Observation'
|
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[:pediatric_weight_for_height_resources] ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
run do
|
38
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class PediatricWeightForHeightValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v610_pediatric_weight_for_height_validation_test
|
9
|
+
title 'Observation resources returned during previous tests conform to the US Core Pediatric Weight for Height Observation Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core Pediatric Weight for Height Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height).
|
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[:pediatric_weight_for_height_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height',
|
35
|
+
'6.1.0',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,96 @@
|
|
1
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test'
|
2
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test'
|
3
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test'
|
4
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test'
|
5
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test'
|
6
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_read_test'
|
7
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test'
|
8
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_validation_test'
|
9
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_must_support_test'
|
10
|
+
require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test'
|
11
|
+
|
12
|
+
module USCoreTestKit
|
13
|
+
module USCoreV610
|
14
|
+
class PediatricWeightForHeightGroup < Inferno::TestGroup
|
15
|
+
title 'Observation Pediatric Weight for Height Tests'
|
16
|
+
short_description 'Verify support for the server capabilities required by the US Core Pediatric Weight for Height Observation Profile.'
|
17
|
+
description %(
|
18
|
+
# Background
|
19
|
+
|
20
|
+
The US Core Observation Pediatric Weight for Height 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 Pediatric Weight for Height Observation Profile as
|
23
|
+
specified in the US Core v6.1.0 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 + date
|
33
|
+
* patient + category
|
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 Pediatric Weight for Height Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height). 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_v610_pediatric_weight_for_height
|
78
|
+
run_as_group
|
79
|
+
|
80
|
+
def self.metadata
|
81
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'pediatric_weight_for_height', 'metadata.yml'), aliases: true))
|
82
|
+
end
|
83
|
+
|
84
|
+
test from: :us_core_v610_pediatric_weight_for_height_patient_code_search_test
|
85
|
+
test from: :us_core_v610_pediatric_weight_for_height_patient_code_date_search_test
|
86
|
+
test from: :us_core_v610_pediatric_weight_for_height_patient_category_status_search_test
|
87
|
+
test from: :us_core_v610_pediatric_weight_for_height_patient_category_date_search_test
|
88
|
+
test from: :us_core_v610_pediatric_weight_for_height_patient_category_search_test
|
89
|
+
test from: :us_core_v610_pediatric_weight_for_height_read_test
|
90
|
+
test from: :us_core_v610_pediatric_weight_for_height_provenance_revinclude_search_test
|
91
|
+
test from: :us_core_v610_pediatric_weight_for_height_validation_test
|
92
|
+
test from: :us_core_v610_pediatric_weight_for_height_must_support_test
|
93
|
+
test from: :us_core_v610_pediatric_weight_for_height_reference_resolution_test
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,165 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_practitioner
|
3
|
+
:class_name: USCorev610PractitionerSequence
|
4
|
+
:version: v6.1.0
|
5
|
+
:reformatted_version: v610
|
6
|
+
:resource: Practitioner
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
8
|
+
:profile_name: US Core Practitioner Profile
|
9
|
+
:profile_version: 6.1.0
|
10
|
+
:title: Practitioner
|
11
|
+
:short_description: Verify support for the server capabilities required by the US
|
12
|
+
Core Practitioner Profile.
|
13
|
+
:interactions:
|
14
|
+
- :code: create
|
15
|
+
:expectation: MAY
|
16
|
+
- :code: search-type
|
17
|
+
:expectation: SHALL
|
18
|
+
- :code: read
|
19
|
+
:expectation: SHALL
|
20
|
+
- :code: vread
|
21
|
+
:expectation: SHOULD
|
22
|
+
- :code: update
|
23
|
+
:expectation: MAY
|
24
|
+
- :code: patch
|
25
|
+
:expectation: MAY
|
26
|
+
- :code: delete
|
27
|
+
:expectation: MAY
|
28
|
+
- :code: history-instance
|
29
|
+
:expectation: SHOULD
|
30
|
+
- :code: history-type
|
31
|
+
:expectation: MAY
|
32
|
+
:operations: []
|
33
|
+
:searches:
|
34
|
+
- :names:
|
35
|
+
- _id
|
36
|
+
:expectation: SHOULD
|
37
|
+
:names_not_must_support_or_mandatory: []
|
38
|
+
:must_support_or_mandatory: true
|
39
|
+
- :names:
|
40
|
+
- name
|
41
|
+
:expectation: SHALL
|
42
|
+
:names_not_must_support_or_mandatory: []
|
43
|
+
:must_support_or_mandatory: true
|
44
|
+
- :names:
|
45
|
+
- identifier
|
46
|
+
:expectation: SHALL
|
47
|
+
:names_not_must_support_or_mandatory: []
|
48
|
+
:must_support_or_mandatory: true
|
49
|
+
:search_definitions:
|
50
|
+
:_id:
|
51
|
+
:paths:
|
52
|
+
- id
|
53
|
+
:full_paths:
|
54
|
+
- Practitioner.id
|
55
|
+
:comparators: {}
|
56
|
+
:values: []
|
57
|
+
:type: http://hl7.org/fhirpath/System.String
|
58
|
+
:contains_multiple: false
|
59
|
+
:multiple_or: MAY
|
60
|
+
:name:
|
61
|
+
:paths:
|
62
|
+
- name
|
63
|
+
:full_paths:
|
64
|
+
- Practitioner.name
|
65
|
+
:comparators: {}
|
66
|
+
:values: []
|
67
|
+
:type: HumanName
|
68
|
+
:contains_multiple: true
|
69
|
+
:multiple_or: MAY
|
70
|
+
:identifier:
|
71
|
+
:paths:
|
72
|
+
- identifier
|
73
|
+
:full_paths:
|
74
|
+
- Practitioner.identifier
|
75
|
+
:comparators: {}
|
76
|
+
:values: []
|
77
|
+
:type: Identifier
|
78
|
+
:contains_multiple: true
|
79
|
+
:multiple_or: MAY
|
80
|
+
:include_params: []
|
81
|
+
:revincludes: []
|
82
|
+
:required_concepts: []
|
83
|
+
:must_supports:
|
84
|
+
:extensions: []
|
85
|
+
:slices:
|
86
|
+
- :name: Practitioner.identifier:NPI
|
87
|
+
:path: identifier
|
88
|
+
:discriminator:
|
89
|
+
:type: patternIdentifier
|
90
|
+
:path: ''
|
91
|
+
:system: http://hl7.org/fhir/sid/us-npi
|
92
|
+
:elements:
|
93
|
+
- :path: identifier
|
94
|
+
- :path: identifier.system
|
95
|
+
- :path: identifier.value
|
96
|
+
- :path: name
|
97
|
+
- :path: name.family
|
98
|
+
- :path: telecom
|
99
|
+
- :path: telecom.system
|
100
|
+
- :path: telecom.value
|
101
|
+
- :path: address
|
102
|
+
- :path: address.line
|
103
|
+
- :path: address.city
|
104
|
+
- :path: address.state
|
105
|
+
- :path: address.postalCode
|
106
|
+
- :path: address.country
|
107
|
+
:mandatory_elements:
|
108
|
+
- Practitioner.identifier
|
109
|
+
- Practitioner.identifier.system
|
110
|
+
- Practitioner.identifier.value
|
111
|
+
- Practitioner.name
|
112
|
+
- Practitioner.name.family
|
113
|
+
- Practitioner.qualification.code
|
114
|
+
:bindings:
|
115
|
+
- :type: code
|
116
|
+
:strength: required
|
117
|
+
:system: http://hl7.org/fhir/ValueSet/identifier-use
|
118
|
+
:path: identifier.use
|
119
|
+
- :type: code
|
120
|
+
:strength: required
|
121
|
+
:system: http://hl7.org/fhir/ValueSet/name-use
|
122
|
+
:path: name.use
|
123
|
+
- :type: code
|
124
|
+
:strength: required
|
125
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-system
|
126
|
+
:path: telecom.system
|
127
|
+
- :type: code
|
128
|
+
:strength: required
|
129
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-use
|
130
|
+
:path: telecom.use
|
131
|
+
- :type: code
|
132
|
+
:strength: required
|
133
|
+
:system: http://hl7.org/fhir/ValueSet/address-use
|
134
|
+
:path: address.use
|
135
|
+
- :type: code
|
136
|
+
:strength: required
|
137
|
+
:system: http://hl7.org/fhir/ValueSet/address-type
|
138
|
+
:path: address.type
|
139
|
+
- :type: code
|
140
|
+
:strength: required
|
141
|
+
:system: http://hl7.org/fhir/ValueSet/administrative-gender
|
142
|
+
:path: gender
|
143
|
+
:references:
|
144
|
+
- :path: Practitioner.identifier.assigner
|
145
|
+
:profiles:
|
146
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
147
|
+
- :path: Practitioner.qualification.issuer
|
148
|
+
:profiles:
|
149
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
150
|
+
:tests:
|
151
|
+
- :id: us_core_v610_practitioner_read_test
|
152
|
+
:file_name: practitioner_read_test.rb
|
153
|
+
- :id: us_core_v610_practitioner__id_search_test
|
154
|
+
:file_name: practitioner_id_search_test.rb
|
155
|
+
- :id: us_core_v610_practitioner_name_search_test
|
156
|
+
:file_name: practitioner_name_search_test.rb
|
157
|
+
- :id: us_core_v610_practitioner_identifier_search_test
|
158
|
+
:file_name: practitioner_identifier_search_test.rb
|
159
|
+
- :id: us_core_v610_practitioner_validation_test
|
160
|
+
:file_name: practitioner_validation_test.rb
|
161
|
+
- :id: us_core_v610_practitioner_must_support_test
|
162
|
+
:file_name: practitioner_must_support_test.rb
|
163
|
+
:id: us_core_v610_practitioner
|
164
|
+
:file_name: practitioner_group.rb
|
165
|
+
:delayed_references: []
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class PractitionerIdSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by _id'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
_id on the Practitioner 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
|
+
Because this is the first search of the sequence, resources in the
|
17
|
+
response will be used for subsequent tests.
|
18
|
+
|
19
|
+
Additionally, this test will check that GET and POST search methods
|
20
|
+
return the same number of results. Search by POST is required by the
|
21
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
22
|
+
requirement of US Core v6.1.0.
|
23
|
+
|
24
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
25
|
+
|
26
|
+
)
|
27
|
+
|
28
|
+
id :us_core_v610_practitioner__id_search_test
|
29
|
+
optional
|
30
|
+
|
31
|
+
def self.properties
|
32
|
+
@properties ||= SearchTestProperties.new(
|
33
|
+
first_search: true,
|
34
|
+
resource_type: 'Practitioner',
|
35
|
+
search_param_names: ['_id'],
|
36
|
+
test_post_search: true
|
37
|
+
)
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.metadata
|
41
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
42
|
+
end
|
43
|
+
|
44
|
+
def scratch_resources
|
45
|
+
scratch[:practitioner_resources] ||= {}
|
46
|
+
end
|
47
|
+
|
48
|
+
run do
|
49
|
+
run_search_test
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/lib/us_core_test_kit/generated/v6.1.0/practitioner/practitioner_identifier_search_test.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class PractitionerIdentifierSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by identifier'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
identifier on the Practitioner 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_practitioner_identifier_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Practitioner',
|
24
|
+
search_param_names: ['identifier'],
|
25
|
+
token_search_params: ['identifier']
|
26
|
+
)
|
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[:practitioner_resources] ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
run do
|
38
|
+
run_search_test
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class PractitionerMustSupportTest < Inferno::Test
|
6
|
+
include USCoreTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the Practitioner 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 Practitioner resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
* Practitioner.address
|
16
|
+
* Practitioner.address.city
|
17
|
+
* Practitioner.address.country
|
18
|
+
* Practitioner.address.line
|
19
|
+
* Practitioner.address.postalCode
|
20
|
+
* Practitioner.address.state
|
21
|
+
* Practitioner.identifier
|
22
|
+
* Practitioner.identifier.system
|
23
|
+
* Practitioner.identifier.value
|
24
|
+
* Practitioner.identifier:NPI
|
25
|
+
* Practitioner.name
|
26
|
+
* Practitioner.name.family
|
27
|
+
* Practitioner.telecom
|
28
|
+
* Practitioner.telecom.system
|
29
|
+
* Practitioner.telecom.value
|
30
|
+
)
|
31
|
+
|
32
|
+
id :us_core_v610_practitioner_must_support_test
|
33
|
+
|
34
|
+
def resource_type
|
35
|
+
'Practitioner'
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.metadata
|
39
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
40
|
+
end
|
41
|
+
|
42
|
+
def scratch_resources
|
43
|
+
scratch[:practitioner_resources] ||= {}
|
44
|
+
end
|
45
|
+
|
46
|
+
run do
|
47
|
+
perform_must_support_test(all_scratch_resources)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV610
|
6
|
+
class PractitionerNameSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by name'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
name on the Practitioner 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_practitioner_name_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Practitioner',
|
24
|
+
search_param_names: ['name']
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
30
|
+
end
|
31
|
+
|
32
|
+
def scratch_resources
|
33
|
+
scratch[:practitioner_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class PractitionerReadTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct Practitioner resource from Practitioner read interaction'
|
9
|
+
description 'A server SHALL support the Practitioner read interaction.'
|
10
|
+
|
11
|
+
id :us_core_v610_practitioner_read_test
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'Practitioner'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:practitioner_resources] ||= {}
|
19
|
+
end
|
20
|
+
|
21
|
+
run do
|
22
|
+
perform_read_test(scratch.dig(:references, 'Practitioner'))
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV610
|
5
|
+
class PractitionerValidationTest < Inferno::Test
|
6
|
+
include USCoreTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :us_core_v610_practitioner_validation_test
|
9
|
+
title 'Practitioner resources returned during previous tests conform to the US Core Practitioner Profile'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [US Core Practitioner Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner).
|
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
|
+
'Practitioner'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:practitioner_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner',
|
35
|
+
'6.1.0',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require_relative 'practitioner/practitioner_read_test'
|
2
|
+
require_relative 'practitioner/practitioner_id_search_test'
|
3
|
+
require_relative 'practitioner/practitioner_name_search_test'
|
4
|
+
require_relative 'practitioner/practitioner_identifier_search_test'
|
5
|
+
require_relative 'practitioner/practitioner_validation_test'
|
6
|
+
require_relative 'practitioner/practitioner_must_support_test'
|
7
|
+
|
8
|
+
module USCoreTestKit
|
9
|
+
module USCoreV610
|
10
|
+
class PractitionerGroup < Inferno::TestGroup
|
11
|
+
title 'Practitioner Tests'
|
12
|
+
short_description 'Verify support for the server capabilities required by the US Core Practitioner Profile.'
|
13
|
+
description %(
|
14
|
+
# Background
|
15
|
+
|
16
|
+
The US Core Practitioner sequence verifies that the system under test is
|
17
|
+
able to provide correct responses for Practitioner queries. These queries
|
18
|
+
must contain resources conforming to the US Core Practitioner Profile as
|
19
|
+
specified in the US Core v6.1.0 Implementation Guide.
|
20
|
+
|
21
|
+
# Testing Methodology
|
22
|
+
## Searching
|
23
|
+
This test sequence will first perform each required search associated
|
24
|
+
with this resource. This sequence will perform searches with the
|
25
|
+
following parameters:
|
26
|
+
|
27
|
+
* name
|
28
|
+
* identifier
|
29
|
+
|
30
|
+
### Search Parameters
|
31
|
+
The first search uses the selected patient(s) from the prior launch
|
32
|
+
sequence. Any subsequent searches will look for its parameter values
|
33
|
+
from the results of the first search. For example, the `identifier`
|
34
|
+
search in the patient sequence is performed by looking for an existing
|
35
|
+
`Patient.identifier` from any of the resources returned in the `_id`
|
36
|
+
search. If a value cannot be found this way, the search is skipped.
|
37
|
+
|
38
|
+
### Search Validation
|
39
|
+
Inferno will retrieve up to the first 20 bundle pages of the reply for
|
40
|
+
Practitioner resources and save them for subsequent tests. Each of
|
41
|
+
these resources is then checked to see if it matches the searched
|
42
|
+
parameters in accordance with [FHIR search
|
43
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
44
|
+
for example, if a Patient search for `gender=male` returns a `female`
|
45
|
+
patient.
|
46
|
+
|
47
|
+
|
48
|
+
## Must Support
|
49
|
+
Each profile contains elements marked as "must support". This test
|
50
|
+
sequence expects to see each of these elements at least once. If at
|
51
|
+
least one cannot be found, the test will fail. The test will look
|
52
|
+
through the Practitioner resources found in the first test for these
|
53
|
+
elements.
|
54
|
+
|
55
|
+
## Profile Validation
|
56
|
+
Each resource returned from the first search is expected to conform to
|
57
|
+
the [US Core Practitioner Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner). Each element is checked against
|
58
|
+
teminology binding and cardinality requirements.
|
59
|
+
|
60
|
+
Elements with a required binding are validated against their bound
|
61
|
+
ValueSet. If the code/system in the element is not part of the ValueSet,
|
62
|
+
then the test will fail.
|
63
|
+
|
64
|
+
## Reference Validation
|
65
|
+
At least one instance of each external reference in elements marked as
|
66
|
+
"must support" within the resources provided by the system must resolve.
|
67
|
+
The test will attempt to read each reference found and will fail if no
|
68
|
+
read succeeds.
|
69
|
+
|
70
|
+
)
|
71
|
+
|
72
|
+
id :us_core_v610_practitioner
|
73
|
+
run_as_group
|
74
|
+
|
75
|
+
def self.metadata
|
76
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'practitioner', 'metadata.yml'), aliases: true))
|
77
|
+
end
|
78
|
+
|
79
|
+
test from: :us_core_v610_practitioner_read_test
|
80
|
+
test from: :us_core_v610_practitioner__id_search_test
|
81
|
+
test from: :us_core_v610_practitioner_name_search_test
|
82
|
+
test from: :us_core_v610_practitioner_identifier_search_test
|
83
|
+
test from: :us_core_v610_practitioner_validation_test
|
84
|
+
test from: :us_core_v610_practitioner_must_support_test
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|