us_core_test_kit 0.4.7 → 0.5.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.0.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.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/metadata.yml +152 -0
- data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance_group.rb +88 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/metadata.yml +305 -0
- data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/bmi_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_temperature_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.0.0/body_weight_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan/metadata.yml +278 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_plan_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_role_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_status_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_role_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team/metadata.yml +175 -0
- data/lib/us_core_test_kit/generated/v6.0.0/care_team_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/metadata.yml +347 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.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.0.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.0.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.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.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.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/metadata.yml +367 -0
- data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns_group.rb +105 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage/metadata.yml +160 -0
- data/lib/us_core_test_kit/generated/v6.0.0/coverage_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_status_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_type_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/device_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device/metadata.yml +164 -0
- data/lib/us_core_test_kit/generated/v6.0.0/device_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/metadata.yml +253 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/metadata.yml +272 -0
- data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note_group.rb +99 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_must_support_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference/metadata.yml +315 -0
- data/lib/us_core_test_kit/generated/v6.0.0/document_reference_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_class_patient_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_date_patient_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_identifier_search_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_location_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_type_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_reference_resolution_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter/metadata.yml +364 -0
- data/lib/us_core_test_kit/generated/v6.0.0/encounter_group.rb +104 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_description_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_target_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal/metadata.yml +189 -0
- data/lib/us_core_test_kit/generated/v6.0.0/goal_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/metadata.yml +288 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/heart_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_date_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_status_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization/metadata.yml +171 -0
- data/lib/us_core_test_kit/generated/v6.0.0/immunization_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_must_support_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_reference_resolution_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/metadata.yml +230 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense_group.rb +90 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_must_support_test.rb +58 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_reference_resolution_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_validation_test.rb +39 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request/metadata.yml +311 -0
- data/lib/us_core_test_kit/generated/v6.0.0/medication_request_group.rb +95 -0
- data/lib/us_core_test_kit/generated/v6.0.0/metadata.yml +10853 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/metadata.yml +265 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_must_support_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/metadata.yml +264 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_lab_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/metadata.yml +277 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_must_support_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/metadata.yml +266 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/metadata.yml +266 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/metadata.yml +286 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +45 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/metadata.yml +256 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/metadata.yml +141 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_address_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_name_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/organization_group.rb +85 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/metadata.yml +381 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_death_date_family_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_family_gender_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_gender_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_id_search_test.rb +55 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_must_support_test.rb +69 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/patient_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.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.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.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.0.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.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/metadata.yml +165 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_id_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_identifier_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_name_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/practitioner_group.rb +87 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/metadata.yml +232 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_must_support_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_date_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_search_test.rb +62 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/procedure_group.rb +93 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance/metadata.yml +161 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_must_support_test.rb +46 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/provenance_group.rb +59 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/metadata.yml +348 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/metadata.yml +231 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_reference_resolution_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response_group.rb +97 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/metadata.yml +136 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_must_support_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_name_search_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_name_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/related_person_group.rb +92 -0
- data/lib/us_core_test_kit/generated/v6.0.0/resource_list.rb +34 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/metadata.yml +285 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/metadata.yml +321 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_id_search_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_must_support_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_authored_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_authored_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_status_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/service_request_group.rb +102 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/metadata.yml +291 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_must_support_test.rb +51 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_reference_resolution_test.rb +44 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/simple_observation_group.rb +98 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/metadata.yml +249 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus_group.rb +96 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/metadata.yml +115 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_id_search_test.rb +41 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_must_support_test.rb +38 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_patient_search_test.rb +63 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_read_test.rb +26 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_reference_resolution_test.rb +42 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_validation_test.rb +40 -0
- data/lib/us_core_test_kit/generated/v6.0.0/specimen_group.rb +86 -0
- data/lib/us_core_test_kit/generated/v6.0.0/us_core_test_suite.rb +168 -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_600/CodeSystem-observation-category.json +83 -0
- data/lib/us_core_test_kit/igs/us_core_600/StructureDefinition-condition-assertedDate.json +280 -0
- data/lib/us_core_test_kit/igs/us_core_600/ValueSet-observation-category.json +48 -0
- data/lib/us_core_test_kit/igs/us_core_600/ValueSet-servicerequest-category.json +69 -0
- data/lib/us_core_test_kit/igs/us_core_600.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,348 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_pulse_oximetry
|
3
|
+
:class_name: USCorev600PulseOximetrySequence
|
4
|
+
:version: v6.0.0
|
5
|
+
:reformatted_version: v600
|
6
|
+
:resource: Observation
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry
|
8
|
+
:profile_name: US Core Pulse Oximetry Profile
|
9
|
+
:profile_version: 6.0.0
|
10
|
+
:title: Observation Pulse Oximetry
|
11
|
+
:short_description: Verify support for the server capabilities required by the US
|
12
|
+
Core Pulse Oximetry 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
|
+
- :expectation: SHALL
|
35
|
+
:names:
|
36
|
+
- patient
|
37
|
+
- code
|
38
|
+
:names_not_must_support_or_mandatory: []
|
39
|
+
:must_support_or_mandatory: true
|
40
|
+
- :expectation: SHOULD
|
41
|
+
:names:
|
42
|
+
- patient
|
43
|
+
- code
|
44
|
+
- date
|
45
|
+
:names_not_must_support_or_mandatory: []
|
46
|
+
:must_support_or_mandatory: true
|
47
|
+
- :expectation: SHOULD
|
48
|
+
:names:
|
49
|
+
- patient
|
50
|
+
- category
|
51
|
+
- status
|
52
|
+
:names_not_must_support_or_mandatory: []
|
53
|
+
:must_support_or_mandatory: true
|
54
|
+
- :expectation: SHALL
|
55
|
+
:names:
|
56
|
+
- patient
|
57
|
+
- category
|
58
|
+
- date
|
59
|
+
:names_not_must_support_or_mandatory: []
|
60
|
+
:must_support_or_mandatory: true
|
61
|
+
- :expectation: SHALL
|
62
|
+
:names:
|
63
|
+
- patient
|
64
|
+
- category
|
65
|
+
:names_not_must_support_or_mandatory: []
|
66
|
+
:must_support_or_mandatory: true
|
67
|
+
:search_definitions:
|
68
|
+
:patient:
|
69
|
+
:paths:
|
70
|
+
- subject
|
71
|
+
:full_paths:
|
72
|
+
- Observation.subject
|
73
|
+
:comparators: {}
|
74
|
+
:values: []
|
75
|
+
:type: Reference
|
76
|
+
:contains_multiple: false
|
77
|
+
:multiple_or: MAY
|
78
|
+
:code:
|
79
|
+
:paths:
|
80
|
+
- code
|
81
|
+
:full_paths:
|
82
|
+
- Observation.code
|
83
|
+
:comparators: {}
|
84
|
+
:values:
|
85
|
+
- 59408-5
|
86
|
+
- 2708-6
|
87
|
+
:type: CodeableConcept
|
88
|
+
:contains_multiple: false
|
89
|
+
:multiple_or: SHOULD
|
90
|
+
:date:
|
91
|
+
:paths:
|
92
|
+
- effective
|
93
|
+
:full_paths:
|
94
|
+
- Observation.effective
|
95
|
+
:comparators:
|
96
|
+
:eq: MAY
|
97
|
+
:ne: MAY
|
98
|
+
:gt: SHALL
|
99
|
+
:ge: SHALL
|
100
|
+
:lt: SHALL
|
101
|
+
:le: SHALL
|
102
|
+
:sa: MAY
|
103
|
+
:eb: MAY
|
104
|
+
:ap: MAY
|
105
|
+
:values: []
|
106
|
+
:type: date
|
107
|
+
:contains_multiple: false
|
108
|
+
:multiple_or: MAY
|
109
|
+
:category:
|
110
|
+
:paths:
|
111
|
+
- category
|
112
|
+
:full_paths:
|
113
|
+
- Observation.category
|
114
|
+
:comparators: {}
|
115
|
+
:values:
|
116
|
+
- vital-signs
|
117
|
+
:type: CodeableConcept
|
118
|
+
:contains_multiple: true
|
119
|
+
:multiple_or: MAY
|
120
|
+
:status:
|
121
|
+
:paths:
|
122
|
+
- status
|
123
|
+
:full_paths:
|
124
|
+
- Observation.status
|
125
|
+
:comparators: {}
|
126
|
+
:values:
|
127
|
+
- registered
|
128
|
+
- preliminary
|
129
|
+
- final
|
130
|
+
- amended
|
131
|
+
- corrected
|
132
|
+
- cancelled
|
133
|
+
- entered-in-error
|
134
|
+
- unknown
|
135
|
+
:type: code
|
136
|
+
:contains_multiple: false
|
137
|
+
:multiple_or: SHALL
|
138
|
+
:include_params: []
|
139
|
+
:revincludes:
|
140
|
+
- Provenance:target
|
141
|
+
:required_concepts: []
|
142
|
+
:must_supports:
|
143
|
+
:extensions: []
|
144
|
+
:slices:
|
145
|
+
- :name: Observation.code.coding:PulseOx
|
146
|
+
:path: code.coding
|
147
|
+
:discriminator:
|
148
|
+
:type: patternCoding
|
149
|
+
:path: ''
|
150
|
+
:code: 59408-5
|
151
|
+
:system: http://loinc.org
|
152
|
+
- :name: Observation.code.coding:O2Sat
|
153
|
+
:path: code.coding
|
154
|
+
:discriminator:
|
155
|
+
:type: patternCoding
|
156
|
+
:path: ''
|
157
|
+
:code: 2708-6
|
158
|
+
:system: http://loinc.org
|
159
|
+
- :name: Observation.component:FlowRate
|
160
|
+
:path: component
|
161
|
+
:discriminator:
|
162
|
+
:type: patternCodeableConcept
|
163
|
+
:path: code
|
164
|
+
:code: 3151-8
|
165
|
+
:system: http://loinc.org
|
166
|
+
- :name: Observation.component:Concentration
|
167
|
+
:path: component
|
168
|
+
:discriminator:
|
169
|
+
:type: patternCodeableConcept
|
170
|
+
:path: code
|
171
|
+
:code: 3150-0
|
172
|
+
:system: http://loinc.org
|
173
|
+
- :name: Observation.value[x]:valueQuantity
|
174
|
+
:path: value[x]
|
175
|
+
:discriminator:
|
176
|
+
:type: type
|
177
|
+
:code: Quantity
|
178
|
+
- :name: Observation.category:VSCat
|
179
|
+
:path: category
|
180
|
+
:discriminator:
|
181
|
+
:type: value
|
182
|
+
:values:
|
183
|
+
- :path: coding.code
|
184
|
+
:value: vital-signs
|
185
|
+
- :path: coding.system
|
186
|
+
:value: http://terminology.hl7.org/CodeSystem/observation-category
|
187
|
+
:elements:
|
188
|
+
- :path: status
|
189
|
+
- :path: category
|
190
|
+
- :path: category.coding
|
191
|
+
- :path: category.coding.system
|
192
|
+
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
193
|
+
- :path: category.coding.code
|
194
|
+
:fixed_value: vital-signs
|
195
|
+
- :path: code
|
196
|
+
- :path: code.coding
|
197
|
+
- :path: subject
|
198
|
+
:types:
|
199
|
+
- Reference
|
200
|
+
- :path: effectiveDateTime
|
201
|
+
:original_path: effective[x]
|
202
|
+
- :path: valueQuantity
|
203
|
+
:original_path: value[x]
|
204
|
+
- :path: valueQuantity.value
|
205
|
+
:original_path: value[x].value
|
206
|
+
- :path: valueQuantity.unit
|
207
|
+
:original_path: value[x].unit
|
208
|
+
- :path: valueQuantity.system
|
209
|
+
:original_path: value[x].system
|
210
|
+
:fixed_value: http://unitsofmeasure.org
|
211
|
+
- :path: valueQuantity.code
|
212
|
+
:original_path: value[x].code
|
213
|
+
:fixed_value: "%"
|
214
|
+
- :path: component
|
215
|
+
- :path: component.code
|
216
|
+
- :path: component.valueQuantity
|
217
|
+
:original_path: component.value[x]
|
218
|
+
- :path: component.code.coding.code
|
219
|
+
:fixed_value: 3151-8
|
220
|
+
- :path: component.valueQuantity.system
|
221
|
+
:original_path: component.value[x].system
|
222
|
+
:fixed_value: http://unitsofmeasure.org
|
223
|
+
- :path: component.valueQuantity.code
|
224
|
+
:original_path: component.value[x].code
|
225
|
+
:fixed_value: L/min
|
226
|
+
- :path: component.code.coding.code
|
227
|
+
:fixed_value: 3150-0
|
228
|
+
- :path: component.valueQuantity.value
|
229
|
+
:original_path: component.value[x].value
|
230
|
+
- :path: component.valueQuantity.unit
|
231
|
+
:original_path: component.value[x].unit
|
232
|
+
- :path: component.valueQuantity.code
|
233
|
+
:original_path: component.value[x].code
|
234
|
+
:fixed_value: "%"
|
235
|
+
:mandatory_elements:
|
236
|
+
- Observation.status
|
237
|
+
- Observation.category
|
238
|
+
- Observation.category.coding
|
239
|
+
- Observation.category.coding.system
|
240
|
+
- Observation.category.coding.code
|
241
|
+
- Observation.code
|
242
|
+
- Observation.code.coding
|
243
|
+
- Observation.subject
|
244
|
+
- Observation.effective[x]
|
245
|
+
- Observation.value[x].value
|
246
|
+
- Observation.value[x].unit
|
247
|
+
- Observation.value[x].system
|
248
|
+
- Observation.value[x].code
|
249
|
+
- Observation.component.code
|
250
|
+
- Observation.component.value[x].value
|
251
|
+
- Observation.component.value[x].unit
|
252
|
+
- Observation.component.value[x].system
|
253
|
+
- Observation.component.value[x].code
|
254
|
+
:bindings:
|
255
|
+
- :type: code
|
256
|
+
:strength: required
|
257
|
+
:system: http://hl7.org/fhir/ValueSet/observation-status
|
258
|
+
:path: status
|
259
|
+
- :type: code
|
260
|
+
:strength: required
|
261
|
+
:system: http://hl7.org/fhir/ValueSet/quantity-comparator
|
262
|
+
:path: value.comparator
|
263
|
+
- :type: code
|
264
|
+
:strength: required
|
265
|
+
:system: http://hl7.org/fhir/ValueSet/quantity-comparator
|
266
|
+
:path: component.value.comparator
|
267
|
+
- :type: code
|
268
|
+
:strength: required
|
269
|
+
:system: http://hl7.org/fhir/ValueSet/quantity-comparator
|
270
|
+
:path: component.value.comparator
|
271
|
+
:references:
|
272
|
+
- :path: Observation.basedOn
|
273
|
+
:profiles:
|
274
|
+
- http://hl7.org/fhir/StructureDefinition/CarePlan
|
275
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceRequest
|
276
|
+
- http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
|
277
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
278
|
+
- http://hl7.org/fhir/StructureDefinition/NutritionOrder
|
279
|
+
- http://hl7.org/fhir/StructureDefinition/ServiceRequest
|
280
|
+
- :path: Observation.partOf
|
281
|
+
:profiles:
|
282
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationAdministration
|
283
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationDispense
|
284
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationStatement
|
285
|
+
- http://hl7.org/fhir/StructureDefinition/Procedure
|
286
|
+
- http://hl7.org/fhir/StructureDefinition/Immunization
|
287
|
+
- http://hl7.org/fhir/StructureDefinition/ImagingStudy
|
288
|
+
- :path: Observation.subject
|
289
|
+
:profiles:
|
290
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
291
|
+
- :path: Observation.focus
|
292
|
+
:profiles:
|
293
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
294
|
+
- :path: Observation.encounter
|
295
|
+
:profiles:
|
296
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
297
|
+
- :path: Observation.performer
|
298
|
+
:profiles:
|
299
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
300
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
301
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
302
|
+
- http://hl7.org/fhir/StructureDefinition/CareTeam
|
303
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
304
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
305
|
+
- :path: Observation.specimen
|
306
|
+
:profiles:
|
307
|
+
- http://hl7.org/fhir/StructureDefinition/Specimen
|
308
|
+
- :path: Observation.device
|
309
|
+
:profiles:
|
310
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
311
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceMetric
|
312
|
+
- :path: Observation.hasMember
|
313
|
+
:profiles:
|
314
|
+
- http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
|
315
|
+
- http://hl7.org/fhir/StructureDefinition/MolecularSequence
|
316
|
+
- http://hl7.org/fhir/StructureDefinition/vitalsigns
|
317
|
+
- :path: Observation.derivedFrom
|
318
|
+
:profiles:
|
319
|
+
- http://hl7.org/fhir/StructureDefinition/DocumentReference
|
320
|
+
- http://hl7.org/fhir/StructureDefinition/ImagingStudy
|
321
|
+
- http://hl7.org/fhir/StructureDefinition/Media
|
322
|
+
- http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
|
323
|
+
- http://hl7.org/fhir/StructureDefinition/MolecularSequence
|
324
|
+
- http://hl7.org/fhir/StructureDefinition/vitalsigns
|
325
|
+
:tests:
|
326
|
+
- :id: us_core_v600_pulse_oximetry_patient_code_search_test
|
327
|
+
:file_name: pulse_oximetry_patient_code_search_test.rb
|
328
|
+
- :id: us_core_v600_pulse_oximetry_patient_code_date_search_test
|
329
|
+
:file_name: pulse_oximetry_patient_code_date_search_test.rb
|
330
|
+
- :id: us_core_v600_pulse_oximetry_patient_category_status_search_test
|
331
|
+
:file_name: pulse_oximetry_patient_category_status_search_test.rb
|
332
|
+
- :id: us_core_v600_pulse_oximetry_patient_category_date_search_test
|
333
|
+
:file_name: pulse_oximetry_patient_category_date_search_test.rb
|
334
|
+
- :id: us_core_v600_pulse_oximetry_patient_category_search_test
|
335
|
+
:file_name: pulse_oximetry_patient_category_search_test.rb
|
336
|
+
- :id: us_core_v600_pulse_oximetry_read_test
|
337
|
+
:file_name: pulse_oximetry_read_test.rb
|
338
|
+
- :id: us_core_v600_pulse_oximetry_provenance_revinclude_search_test
|
339
|
+
:file_name: pulse_oximetry_provenance_revinclude_search_test.rb
|
340
|
+
- :id: us_core_v600_pulse_oximetry_validation_test
|
341
|
+
:file_name: pulse_oximetry_validation_test.rb
|
342
|
+
- :id: us_core_v600_pulse_oximetry_must_support_test
|
343
|
+
:file_name: pulse_oximetry_must_support_test.rb
|
344
|
+
- :id: us_core_v600_pulse_oximetry_reference_resolution_test
|
345
|
+
:file_name: pulse_oximetry_reference_resolution_test.rb
|
346
|
+
:id: us_core_v600_pulse_oximetry
|
347
|
+
:file_name: pulse_oximetry_group.rb
|
348
|
+
:delayed_references: []
|
@@ -0,0 +1,64 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
module USCoreV600
|
5
|
+
class PulseOximetryMustSupportTest < Inferno::Test
|
6
|
+
include USCoreTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the Observation 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 Observation resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
* Observation.category
|
16
|
+
* Observation.category.coding
|
17
|
+
* Observation.category.coding.code
|
18
|
+
* Observation.category.coding.system
|
19
|
+
* Observation.category:VSCat
|
20
|
+
* Observation.code
|
21
|
+
* Observation.code.coding
|
22
|
+
* Observation.code.coding:O2Sat
|
23
|
+
* Observation.code.coding:PulseOx
|
24
|
+
* Observation.component
|
25
|
+
* Observation.component.code
|
26
|
+
* Observation.component.code.coding.code
|
27
|
+
* Observation.component.valueQuantity
|
28
|
+
* Observation.component.valueQuantity.code
|
29
|
+
* Observation.component.valueQuantity.system
|
30
|
+
* Observation.component.valueQuantity.unit
|
31
|
+
* Observation.component.valueQuantity.value
|
32
|
+
* Observation.component:Concentration
|
33
|
+
* Observation.component:FlowRate
|
34
|
+
* Observation.effectiveDateTime
|
35
|
+
* Observation.status
|
36
|
+
* Observation.subject
|
37
|
+
* Observation.valueQuantity
|
38
|
+
* Observation.valueQuantity.code
|
39
|
+
* Observation.valueQuantity.system
|
40
|
+
* Observation.valueQuantity.unit
|
41
|
+
* Observation.valueQuantity.value
|
42
|
+
* Observation.value[x]:valueQuantity
|
43
|
+
)
|
44
|
+
|
45
|
+
id :us_core_v600_pulse_oximetry_must_support_test
|
46
|
+
|
47
|
+
def resource_type
|
48
|
+
'Observation'
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.metadata
|
52
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
53
|
+
end
|
54
|
+
|
55
|
+
def scratch_resources
|
56
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
57
|
+
end
|
58
|
+
|
59
|
+
run do
|
60
|
+
perform_must_support_test(all_scratch_resources)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV600
|
6
|
+
class PulseOximetryPatientCategoryDateSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category + date'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + category + date on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v600_pulse_oximetry_patient_category_date_search_test
|
21
|
+
input :patient_ids,
|
22
|
+
title: 'Patient IDs',
|
23
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
24
|
+
|
25
|
+
def self.properties
|
26
|
+
@properties ||= SearchTestProperties.new(
|
27
|
+
resource_type: 'Observation',
|
28
|
+
search_param_names: ['patient', 'category', 'date'],
|
29
|
+
possible_status_search: true,
|
30
|
+
token_search_params: ['category'],
|
31
|
+
params_with_comparators: ['date']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV600
|
6
|
+
class PulseOximetryPatientCategorySearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + category on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v600_pulse_oximetry_patient_category_search_test
|
21
|
+
input :patient_ids,
|
22
|
+
title: 'Patient IDs',
|
23
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
24
|
+
|
25
|
+
def self.properties
|
26
|
+
@properties ||= SearchTestProperties.new(
|
27
|
+
resource_type: 'Observation',
|
28
|
+
search_param_names: ['patient', 'category'],
|
29
|
+
possible_status_search: true,
|
30
|
+
token_search_params: ['category']
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.metadata
|
35
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
36
|
+
end
|
37
|
+
|
38
|
+
def scratch_resources
|
39
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
40
|
+
end
|
41
|
+
|
42
|
+
run do
|
43
|
+
run_search_test
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV600
|
6
|
+
class PulseOximetryPatientCategoryStatusSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + category + status'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + category + status on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v600_pulse_oximetry_patient_category_status_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
input :patient_ids,
|
24
|
+
title: 'Patient IDs',
|
25
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
26
|
+
|
27
|
+
def self.properties
|
28
|
+
@properties ||= SearchTestProperties.new(
|
29
|
+
resource_type: 'Observation',
|
30
|
+
search_param_names: ['patient', 'category', 'status'],
|
31
|
+
token_search_params: ['category'],
|
32
|
+
multiple_or_search_params: ['status']
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_search_test
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV600
|
6
|
+
class PulseOximetryPatientCodeDateSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + code + date'
|
10
|
+
description %(
|
11
|
+
A server SHOULD support searching by
|
12
|
+
patient + code + date on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :us_core_v600_pulse_oximetry_patient_code_date_search_test
|
21
|
+
optional
|
22
|
+
|
23
|
+
input :patient_ids,
|
24
|
+
title: 'Patient IDs',
|
25
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
26
|
+
|
27
|
+
def self.properties
|
28
|
+
@properties ||= SearchTestProperties.new(
|
29
|
+
resource_type: 'Observation',
|
30
|
+
search_param_names: ['patient', 'code', 'date'],
|
31
|
+
possible_status_search: true,
|
32
|
+
token_search_params: ['code'],
|
33
|
+
params_with_comparators: ['date']
|
34
|
+
)
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.metadata
|
38
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
39
|
+
end
|
40
|
+
|
41
|
+
def scratch_resources
|
42
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
43
|
+
end
|
44
|
+
|
45
|
+
run do
|
46
|
+
run_search_test
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module USCoreTestKit
|
5
|
+
module USCoreV600
|
6
|
+
class PulseOximetryPatientCodeSearchTest < Inferno::Test
|
7
|
+
include USCoreTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Observation search by patient + code'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
patient + code on the Observation resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
This test verifies that the server supports searching by reference using
|
17
|
+
the form `patient=[id]` as well as `patient=Patient/[id]`. The two
|
18
|
+
different forms are expected to return the same number of results. US
|
19
|
+
Core requires that both forms are supported by US Core responders.
|
20
|
+
|
21
|
+
Because this is the first search of the sequence, resources in the
|
22
|
+
response will be used for subsequent tests.
|
23
|
+
|
24
|
+
Additionally, this test will check that GET and POST search methods
|
25
|
+
return the same number of results. Search by POST is required by the
|
26
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
27
|
+
requirement of US Core v6.0.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_v600_pulse_oximetry_patient_code_search_test
|
34
|
+
input :patient_ids,
|
35
|
+
title: 'Patient IDs',
|
36
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
37
|
+
|
38
|
+
def self.properties
|
39
|
+
@properties ||= SearchTestProperties.new(
|
40
|
+
first_search: true,
|
41
|
+
fixed_value_search: true,
|
42
|
+
resource_type: 'Observation',
|
43
|
+
search_param_names: ['patient', 'code'],
|
44
|
+
possible_status_search: true,
|
45
|
+
token_search_params: ['code'],
|
46
|
+
test_reference_variants: true,
|
47
|
+
test_post_search: true
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
def self.metadata
|
52
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
53
|
+
end
|
54
|
+
|
55
|
+
def scratch_resources
|
56
|
+
scratch[:pulse_oximetry_resources] ||= {}
|
57
|
+
end
|
58
|
+
|
59
|
+
run do
|
60
|
+
run_search_test
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|