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,168 @@
|
|
1
|
+
require 'inferno/dsl/oauth_credentials'
|
2
|
+
require_relative '../../version'
|
3
|
+
require_relative '../../custom_groups/v6.0.0/capability_statement_group'
|
4
|
+
require_relative '../../custom_groups/v4.0.0/clinical_notes_guidance_group'
|
5
|
+
require_relative '../../custom_groups/data_absent_reason_group'
|
6
|
+
require_relative '../../provenance_validator'
|
7
|
+
require_relative 'patient_group'
|
8
|
+
require_relative 'allergy_intolerance_group'
|
9
|
+
require_relative 'care_plan_group'
|
10
|
+
require_relative 'care_team_group'
|
11
|
+
require_relative 'condition_encounter_diagnosis_group'
|
12
|
+
require_relative 'condition_problems_health_concerns_group'
|
13
|
+
require_relative 'coverage_group'
|
14
|
+
require_relative 'device_group'
|
15
|
+
require_relative 'diagnostic_report_note_group'
|
16
|
+
require_relative 'diagnostic_report_lab_group'
|
17
|
+
require_relative 'document_reference_group'
|
18
|
+
require_relative 'encounter_group'
|
19
|
+
require_relative 'goal_group'
|
20
|
+
require_relative 'immunization_group'
|
21
|
+
require_relative 'medication_dispense_group'
|
22
|
+
require_relative 'medication_request_group'
|
23
|
+
require_relative 'observation_lab_group'
|
24
|
+
require_relative 'observation_pregnancystatus_group'
|
25
|
+
require_relative 'observation_pregnancyintent_group'
|
26
|
+
require_relative 'observation_occupation_group'
|
27
|
+
require_relative 'respiratory_rate_group'
|
28
|
+
require_relative 'simple_observation_group'
|
29
|
+
require_relative 'heart_rate_group'
|
30
|
+
require_relative 'body_temperature_group'
|
31
|
+
require_relative 'pediatric_weight_for_height_group'
|
32
|
+
require_relative 'pulse_oximetry_group'
|
33
|
+
require_relative 'smokingstatus_group'
|
34
|
+
require_relative 'observation_sexual_orientation_group'
|
35
|
+
require_relative 'head_circumference_group'
|
36
|
+
require_relative 'body_height_group'
|
37
|
+
require_relative 'bmi_group'
|
38
|
+
require_relative 'observation_screening_assessment_group'
|
39
|
+
require_relative 'blood_pressure_group'
|
40
|
+
require_relative 'observation_clinical_result_group'
|
41
|
+
require_relative 'pediatric_bmi_for_age_group'
|
42
|
+
require_relative 'head_circumference_percentile_group'
|
43
|
+
require_relative 'body_weight_group'
|
44
|
+
require_relative 'procedure_group'
|
45
|
+
require_relative 'questionnaire_response_group'
|
46
|
+
require_relative 'service_request_group'
|
47
|
+
require_relative 'organization_group'
|
48
|
+
require_relative 'practitioner_group'
|
49
|
+
require_relative 'provenance_group'
|
50
|
+
require_relative 'related_person_group'
|
51
|
+
require_relative 'specimen_group'
|
52
|
+
|
53
|
+
module USCoreTestKit
|
54
|
+
module USCoreV600
|
55
|
+
class USCoreTestSuite < Inferno::TestSuite
|
56
|
+
title 'US Core v6.0.0'
|
57
|
+
description %(
|
58
|
+
The US Core Test Kit tests systems for their conformance to the [US Core
|
59
|
+
Implementation Guide]().
|
60
|
+
|
61
|
+
Resources are validated with the FHIR Java validator using `tx.fhir.org`
|
62
|
+
as the terminology server. Users should note that the although the ONC
|
63
|
+
Certification (g)(10) Standardized API Test Suite includes tests from
|
64
|
+
this suite, [it uses a different method to perform terminology
|
65
|
+
validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
|
66
|
+
As a result, resource validation results may not be consistent between
|
67
|
+
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
68
|
+
API Test Suite.
|
69
|
+
)
|
70
|
+
version VERSION
|
71
|
+
|
72
|
+
VALIDATION_MESSAGE_FILTERS = [
|
73
|
+
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
74
|
+
%r{Sub-extension url 'revoke' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
75
|
+
/Observation\.effective\.ofType\(Period\): .*vs-1:/, # Invalid invariant in FHIR v4.0.1
|
76
|
+
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
77
|
+
/Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
|
78
|
+
].freeze
|
79
|
+
|
80
|
+
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
81
|
+
|
82
|
+
def self.metadata
|
83
|
+
@metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
|
84
|
+
Generator::GroupMetadata.new(raw_metadata)
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
validator do
|
89
|
+
url ENV.fetch('V600_VALIDATOR_URL', 'http://validator_service:4567')
|
90
|
+
message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
91
|
+
|
92
|
+
exclude_message do |message|
|
93
|
+
|
94
|
+
message_filters.any? { |filter| filter.match? message.message }
|
95
|
+
end
|
96
|
+
|
97
|
+
perform_additional_validation do |resource, profile_url|
|
98
|
+
ProvenanceValidator.validate(resource) if resource.instance_of?(FHIR::Provenance)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
id :us_core_v600
|
103
|
+
|
104
|
+
input :url,
|
105
|
+
title: 'FHIR Endpoint',
|
106
|
+
description: 'URL of the FHIR endpoint'
|
107
|
+
input :smart_credentials,
|
108
|
+
title: 'OAuth Credentials',
|
109
|
+
type: :oauth_credentials,
|
110
|
+
optional: true
|
111
|
+
|
112
|
+
fhir_client do
|
113
|
+
url :url
|
114
|
+
oauth_credentials :smart_credentials
|
115
|
+
end
|
116
|
+
|
117
|
+
group from: :us_core_v600_capability_statement
|
118
|
+
|
119
|
+
group from: :us_core_v600_patient
|
120
|
+
group from: :us_core_v600_allergy_intolerance
|
121
|
+
group from: :us_core_v600_care_plan
|
122
|
+
group from: :us_core_v600_care_team
|
123
|
+
group from: :us_core_v600_condition_encounter_diagnosis
|
124
|
+
group from: :us_core_v600_condition_problems_health_concerns
|
125
|
+
group from: :us_core_v600_coverage
|
126
|
+
group from: :us_core_v600_device
|
127
|
+
group from: :us_core_v600_diagnostic_report_note
|
128
|
+
group from: :us_core_v600_diagnostic_report_lab
|
129
|
+
group from: :us_core_v600_document_reference
|
130
|
+
group from: :us_core_v600_encounter
|
131
|
+
group from: :us_core_v600_goal
|
132
|
+
group from: :us_core_v600_immunization
|
133
|
+
group from: :us_core_v600_medication_dispense
|
134
|
+
group from: :us_core_v600_medication_request
|
135
|
+
group from: :us_core_v600_observation_lab
|
136
|
+
group from: :us_core_v600_observation_pregnancystatus
|
137
|
+
group from: :us_core_v600_observation_pregnancyintent
|
138
|
+
group from: :us_core_v600_observation_occupation
|
139
|
+
group from: :us_core_v600_respiratory_rate
|
140
|
+
group from: :us_core_v600_simple_observation
|
141
|
+
group from: :us_core_v600_heart_rate
|
142
|
+
group from: :us_core_v600_body_temperature
|
143
|
+
group from: :us_core_v600_pediatric_weight_for_height
|
144
|
+
group from: :us_core_v600_pulse_oximetry
|
145
|
+
group from: :us_core_v600_smokingstatus
|
146
|
+
group from: :us_core_v600_observation_sexual_orientation
|
147
|
+
group from: :us_core_v600_head_circumference
|
148
|
+
group from: :us_core_v600_body_height
|
149
|
+
group from: :us_core_v600_bmi
|
150
|
+
group from: :us_core_v600_observation_screening_assessment
|
151
|
+
group from: :us_core_v600_blood_pressure
|
152
|
+
group from: :us_core_v600_observation_clinical_result
|
153
|
+
group from: :us_core_v600_pediatric_bmi_for_age
|
154
|
+
group from: :us_core_v600_head_circumference_percentile
|
155
|
+
group from: :us_core_v600_body_weight
|
156
|
+
group from: :us_core_v600_procedure
|
157
|
+
group from: :us_core_v600_questionnaire_response
|
158
|
+
group from: :us_core_v600_service_request
|
159
|
+
group from: :us_core_v600_organization
|
160
|
+
group from: :us_core_v600_practitioner
|
161
|
+
group from: :us_core_v600_provenance
|
162
|
+
group from: :us_core_v600_related_person
|
163
|
+
group from: :us_core_v600_specimen
|
164
|
+
group from: :us_core_v400_clinical_notes_guidance
|
165
|
+
group from: :us_core_311_data_absent_reason
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
@@ -95,7 +95,8 @@ module USCoreTestKit
|
|
95
95
|
|
96
96
|
|
97
97
|
def optional?
|
98
|
-
resource_type == 'QuestionnaireResponse'
|
98
|
+
resource_type == 'QuestionnaireResponse' ||
|
99
|
+
profile_url == 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
|
99
100
|
end
|
100
101
|
|
101
102
|
def generate
|
@@ -31,12 +31,13 @@ module USCoreTestKit
|
|
31
31
|
|
32
32
|
NON_USCDI_RESOURCES = {
|
33
33
|
'Encounter' => ['v311', 'v400'],
|
34
|
-
'Location' => ['v311', 'v400', 'v501'],
|
35
|
-
'Organization' => ['v311', 'v400', 'v501'],
|
36
|
-
'Practitioner' => ['v311', 'v400', 'v501'],
|
37
|
-
'PractitionerRole' => ['v311', 'v400', 'v501'],
|
38
|
-
'Provenance' => ['v311', 'v400', 'v501'],
|
39
|
-
'RelatedPerson' => ['v501']
|
34
|
+
'Location' => ['v311', 'v400', 'v501', 'v600'],
|
35
|
+
'Organization' => ['v311', 'v400', 'v501', 'v600'],
|
36
|
+
'Practitioner' => ['v311', 'v400', 'v501', 'v600'],
|
37
|
+
'PractitionerRole' => ['v311', 'v400', 'v501', 'v600'],
|
38
|
+
'Provenance' => ['v311', 'v400', 'v501', 'v600'],
|
39
|
+
'RelatedPerson' => ['v501', 'v600'],
|
40
|
+
'Specimen' => ['v600']
|
40
41
|
}.freeze
|
41
42
|
|
42
43
|
|
@@ -95,20 +95,29 @@ module USCoreTestKit
|
|
95
95
|
|
96
96
|
### BEGIN SPECIAL CASES ###
|
97
97
|
|
98
|
-
|
98
|
+
ALL_VERSION_CATEGORY_FIRST_PROFILES = [
|
99
99
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
|
100
100
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
|
101
101
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
|
102
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
|
102
103
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test',
|
103
104
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging',
|
104
105
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
|
106
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
|
105
107
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment',
|
106
108
|
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history',
|
107
|
-
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey'
|
109
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
|
110
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
|
108
111
|
]
|
109
112
|
|
113
|
+
VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES = {
|
114
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis' => [ 'v600' ],
|
115
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns' => [ 'v600' ]
|
116
|
+
}
|
117
|
+
|
110
118
|
def category_first_profile?
|
111
|
-
|
119
|
+
ALL_VERSION_CATEGORY_FIRST_PROFILES.include?(profile_url) ||
|
120
|
+
VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES[profile_url]&.include?(reformatted_version)
|
112
121
|
end
|
113
122
|
|
114
123
|
def first_search_params
|
@@ -178,6 +187,7 @@ module USCoreTestKit
|
|
178
187
|
end
|
179
188
|
|
180
189
|
def profile_name
|
190
|
+
binding.pry if profile.nil?
|
181
191
|
profile.title.gsub(' ', ' ')
|
182
192
|
end
|
183
193
|
|
@@ -249,6 +259,7 @@ module USCoreTestKit
|
|
249
259
|
.select { |element| element.type&.any? { |type| type.code == 'CodeableConcept' } }
|
250
260
|
.select { |element| element.binding&.strength == 'required' }
|
251
261
|
.map { |element| element.path.gsub("#{resource}.", '').gsub('[x]', 'CodeableConcept') }
|
262
|
+
.uniq
|
252
263
|
end
|
253
264
|
|
254
265
|
def terminology_binding_metadata_extractor
|
@@ -64,9 +64,10 @@ module USCoreTestKit
|
|
64
64
|
metadata.groups =
|
65
65
|
resources_in_capability_statement.flat_map do |resource|
|
66
66
|
resource.supportedProfile&.map do |supported_profile|
|
67
|
+
next if supported_profile == 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire'
|
67
68
|
GroupMetadataExtractor.new(resource, supported_profile, metadata, ig_resources).group_metadata
|
68
69
|
end
|
69
|
-
end
|
70
|
+
end.compact
|
70
71
|
|
71
72
|
metadata.postprocess_groups(ig_resources)
|
72
73
|
end
|
@@ -31,6 +31,10 @@ module USCoreTestKit
|
|
31
31
|
resources_by_type['ValueSet'].find { |profile| profile.url == url }
|
32
32
|
end
|
33
33
|
|
34
|
+
def code_system_by_url(url)
|
35
|
+
resources_by_type['CodeSystem'].find { |system| system.url == url }
|
36
|
+
end
|
37
|
+
|
34
38
|
def search_param_by_resource_and_name(resource, name)
|
35
39
|
# remove '_' from search parameter name, such as _id or _tag
|
36
40
|
normalized_name = normalized_name = name.to_s.delete_prefix('_')
|
@@ -2,6 +2,7 @@ require_relative 'value_extractor'
|
|
2
2
|
require_relative 'must_support_metadata_extractor_us_core_3'
|
3
3
|
require_relative 'must_support_metadata_extractor_us_core_4'
|
4
4
|
require_relative 'must_support_metadata_extractor_us_core_5'
|
5
|
+
require_relative 'must_support_metadata_extractor_us_core_6'
|
5
6
|
|
6
7
|
module USCoreTestKit
|
7
8
|
class Generator
|
@@ -27,8 +28,15 @@ module USCoreTestKit
|
|
27
28
|
@must_supports
|
28
29
|
end
|
29
30
|
|
31
|
+
def is_uscdi_requirement_element?(element)
|
32
|
+
element.extension.any? do |extension|
|
33
|
+
extension.url == 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement' &&
|
34
|
+
extension.valueBoolean
|
35
|
+
end && !element.mustSupport
|
36
|
+
end
|
37
|
+
|
30
38
|
def all_must_support_elements
|
31
|
-
profile_elements.select { |element| element.mustSupport }
|
39
|
+
profile_elements.select { |element| element.mustSupport || is_uscdi_requirement_element?(element) }
|
32
40
|
end
|
33
41
|
|
34
42
|
def must_support_extension_elements
|
@@ -40,7 +48,11 @@ module USCoreTestKit
|
|
40
48
|
{
|
41
49
|
id: element.id,
|
42
50
|
url: element.type.first.profile.first
|
43
|
-
}
|
51
|
+
}.tap do |metadata|
|
52
|
+
if is_uscdi_requirement_element?(element)
|
53
|
+
metadata[:uscdi_only] = true
|
54
|
+
end
|
55
|
+
end
|
44
56
|
end
|
45
57
|
end
|
46
58
|
|
@@ -49,7 +61,7 @@ module USCoreTestKit
|
|
49
61
|
end
|
50
62
|
|
51
63
|
def sliced_element(slice)
|
52
|
-
profile_elements.find { |element| element.id == slice.path }
|
64
|
+
profile_elements.find { |element| element.id == slice.path || element.id == slice.id.sub(":#{slice.sliceName}", '') }
|
53
65
|
end
|
54
66
|
|
55
67
|
def discriminators(slice)
|
@@ -115,6 +127,10 @@ module USCoreTestKit
|
|
115
127
|
else
|
116
128
|
raise StandardError, 'Unsupported discriminator pattern type'
|
117
129
|
end
|
130
|
+
|
131
|
+
if is_uscdi_requirement_element?(current_element)
|
132
|
+
metadata[:uscdi_only] = true
|
133
|
+
end
|
118
134
|
end
|
119
135
|
end
|
120
136
|
end
|
@@ -146,7 +162,11 @@ module USCoreTestKit
|
|
146
162
|
type: 'type',
|
147
163
|
code: type_code.upcase_first
|
148
164
|
}
|
149
|
-
}
|
165
|
+
}.tap do |metadata|
|
166
|
+
if is_uscdi_requirement_element?(current_element)
|
167
|
+
metadata[:uscdi_only] = true
|
168
|
+
end
|
169
|
+
end
|
150
170
|
end
|
151
171
|
end
|
152
172
|
|
@@ -176,6 +196,10 @@ module USCoreTestKit
|
|
176
196
|
value: fixed_element.fixedUri || fixed_element.fixedCode
|
177
197
|
}
|
178
198
|
end
|
199
|
+
|
200
|
+
if is_uscdi_requirement_element?(current_element)
|
201
|
+
metadata[:uscdi_only] = true
|
202
|
+
end
|
179
203
|
end
|
180
204
|
end
|
181
205
|
end
|
@@ -261,6 +285,10 @@ module USCoreTestKit
|
|
261
285
|
{
|
262
286
|
path: current_element.path.gsub("#{resource}.", '')
|
263
287
|
}.tap do |current_metadata|
|
288
|
+
if is_uscdi_requirement_element?(current_element)
|
289
|
+
current_metadata[:uscdi_only] = true
|
290
|
+
end
|
291
|
+
|
264
292
|
type_must_support_metadata = get_type_must_support_metadata(current_metadata, current_element)
|
265
293
|
|
266
294
|
if type_must_support_metadata.any?
|
@@ -299,6 +327,8 @@ module USCoreTestKit
|
|
299
327
|
MustSupportMetadataExtractorUsCore4.new(profile, @must_supports).handle_special_cases
|
300
328
|
when '5.0.1'
|
301
329
|
MustSupportMetadataExtractorUsCore5.new(profile, @must_supports).handle_special_cases
|
330
|
+
when '6.0.0'
|
331
|
+
MustSupportMetadataExtractorUsCore6.new(profile, @must_supports).handle_special_cases
|
302
332
|
end
|
303
333
|
end
|
304
334
|
|
@@ -95,6 +95,13 @@ module USCoreTestKit
|
|
95
95
|
path: 'communication',
|
96
96
|
uscdi_only: true
|
97
97
|
}
|
98
|
+
|
99
|
+
add_patient_telecom_communication_uscdi
|
100
|
+
end
|
101
|
+
|
102
|
+
def add_patient_telecom_communication_uscdi
|
103
|
+
return unless profile.type == 'Patient'
|
104
|
+
|
98
105
|
# Though telecom.system, telecom.value, telecom.use, and communication.language are marked as MustSupport since US Core v4.0.0,
|
99
106
|
# their parent elements telecom, and communication are not MustSupport but listed under "Additional USCDI requirements"
|
100
107
|
# According to the updated FHIR spec that "When a child element is defined as Must Support and the parent element isn't,
|
@@ -19,7 +19,6 @@ module USCoreTestKit
|
|
19
19
|
add_must_support_choices
|
20
20
|
remove_patient_address_period
|
21
21
|
add_patient_uscdi_elements
|
22
|
-
add_value_set_expansion
|
23
22
|
remove_survey_questionnaire_response
|
24
23
|
end
|
25
24
|
|
@@ -80,24 +79,6 @@ module USCoreTestKit
|
|
80
79
|
add_service_request_category_values
|
81
80
|
end
|
82
81
|
|
83
|
-
def add_document_reference_category_values
|
84
|
-
return unless profile.type == 'DocumentReference'
|
85
|
-
|
86
|
-
slice = must_supports[:slices].find{|slice| slice[:path] == 'category'}
|
87
|
-
|
88
|
-
slice[:discriminator][:values] = ['clinical-note'] if slice.present?
|
89
|
-
end
|
90
|
-
|
91
|
-
def add_service_request_category_values
|
92
|
-
return unless profile.type == 'ServiceRequest'
|
93
|
-
|
94
|
-
slice = must_supports[:slices].find{|slice| slice[:path] == 'category'}
|
95
|
-
|
96
|
-
if slice.present?
|
97
|
-
slice[:discriminator][:values].concat(['108252007', '363679005', '409063005', '409073007', '387713003'])
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
82
|
# FHIR-37794 Server systems are not required to support US Core QuestionnaireResponse
|
102
83
|
def remove_survey_questionnaire_response
|
103
84
|
return unless profile.type == 'Observation' &&
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require_relative 'must_support_metadata_extractor_us_core_5'
|
2
|
+
|
3
|
+
module USCoreTestKit
|
4
|
+
class Generator
|
5
|
+
class MustSupportMetadataExtractorUsCore6
|
6
|
+
attr_accessor :profile, :must_supports
|
7
|
+
|
8
|
+
US_CORE_CATEGORY = ['sdoh', 'functional-status', 'disability-status', 'cognitive-status']
|
9
|
+
|
10
|
+
def initialize(profile, must_supports)
|
11
|
+
self.profile = profile
|
12
|
+
self.must_supports = must_supports
|
13
|
+
end
|
14
|
+
|
15
|
+
def us_core_4_extractor
|
16
|
+
@us_core_4_extractor ||= MustSupportMetadataExtractorUsCore4.new(profile, must_supports)
|
17
|
+
end
|
18
|
+
|
19
|
+
def us_core_5_extractor
|
20
|
+
@us_core_5_extractor ||= MustSupportMetadataExtractorUsCore5.new(profile, must_supports)
|
21
|
+
end
|
22
|
+
|
23
|
+
def handle_special_cases
|
24
|
+
add_must_support_choices
|
25
|
+
add_patient_uscdi_elements
|
26
|
+
end
|
27
|
+
|
28
|
+
def add_must_support_choices
|
29
|
+
us_core_5_extractor.add_must_support_choices
|
30
|
+
|
31
|
+
more_choices = []
|
32
|
+
|
33
|
+
case profile.type
|
34
|
+
when 'Goal'
|
35
|
+
more_choices << {
|
36
|
+
paths: ['startDate', 'target.dueDate']
|
37
|
+
}
|
38
|
+
when 'MedicationRequest'
|
39
|
+
more_choices << {
|
40
|
+
paths: ['reasonCode', 'reasonReference'],
|
41
|
+
uscdi_only: true
|
42
|
+
}
|
43
|
+
when 'ServiceRequest'
|
44
|
+
more_choices << {
|
45
|
+
paths: ['reasonCode', 'reasonReference'],
|
46
|
+
uscdi_only: true
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
if profile.id == 'us-core-observation-screening-assessment'
|
51
|
+
more_choices << {
|
52
|
+
target_profiles: [
|
53
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
|
54
|
+
'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse'
|
55
|
+
]
|
56
|
+
}
|
57
|
+
end
|
58
|
+
|
59
|
+
if more_choices.present?
|
60
|
+
must_supports[:choices] ||= []
|
61
|
+
must_supports[:choices].concat(more_choices)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def add_patient_uscdi_elements
|
66
|
+
return unless profile.type == 'Patient'
|
67
|
+
|
68
|
+
us_core_4_extractor.add_patient_telecom_communication_uscdi
|
69
|
+
|
70
|
+
must_supports[:elements].each do |element|
|
71
|
+
case element[:path]
|
72
|
+
when 'address.use', 'name.use'
|
73
|
+
element[:fixed_value] = 'old'
|
74
|
+
when 'deceased[x]'
|
75
|
+
element[:original_path] = element[:path]
|
76
|
+
element[:path] = 'deceasedDateTime'
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -163,8 +163,10 @@ module USCoreTestKit
|
|
163
163
|
|
164
164
|
def values
|
165
165
|
value_extractor.values_from_slicing(profile_element, type).presence ||
|
166
|
+
value_extractor.values_from_required_binding(profile_element).presence ||
|
166
167
|
value_extractor.values_from_value_set_binding(profile_element).presence ||
|
167
|
-
values_from_resource_metadata(paths).presence ||
|
168
|
+
values_from_resource_metadata(paths).presence ||
|
169
|
+
[]
|
168
170
|
end
|
169
171
|
|
170
172
|
def values_from_resource_metadata(paths)
|
@@ -11,7 +11,6 @@ module USCoreTestKit
|
|
11
11
|
|
12
12
|
def values_from_slicing(profile_element, type)
|
13
13
|
(
|
14
|
-
values_from_required_binding(profile_element) +
|
15
14
|
values_from_fixed_codes(profile_element, type) +
|
16
15
|
values_from_pattern_coding(profile_element, type) +
|
17
16
|
values_from_pattern_codeable_concept(profile_element, type)
|
@@ -68,7 +67,24 @@ module USCoreTestKit
|
|
68
67
|
end
|
69
68
|
|
70
69
|
def bound_systems(the_element)
|
71
|
-
value_set(the_element)
|
70
|
+
bound_systems_from_valueset(value_set(the_element))
|
71
|
+
end
|
72
|
+
|
73
|
+
def bound_systems_from_valueset(value_set)
|
74
|
+
systems = value_set&.compose&.include&.map do |include|
|
75
|
+
if include.concept.present?
|
76
|
+
include
|
77
|
+
elsif include.system.present? && include.filter&.empty? # Cannot process intensional value set with filters
|
78
|
+
ig_resources.code_system_by_url(include.system)
|
79
|
+
elsif include.valueSet.present?
|
80
|
+
include.valueSet.map do |vs|
|
81
|
+
a_value_set = ig_resources.value_set_by_url(vs)
|
82
|
+
bound_systems_from_valueset(a_value_set)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end&.flatten&.compact
|
86
|
+
|
87
|
+
systems
|
72
88
|
end
|
73
89
|
|
74
90
|
def values_from_value_set_binding(the_element)
|
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"resourceType" : "ValueSet",
|
3
|
+
"id" : "servicerequest-category",
|
4
|
+
"meta" : {
|
5
|
+
"lastUpdated" : "2019-11-01T09:29:23.356+11:00",
|
6
|
+
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
|
7
|
+
},
|
8
|
+
"text" : {
|
9
|
+
"status" : "generated",
|
10
|
+
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>Service Request Category Codes</h2><div><p>An example value set of SNOMED CT concepts that can classify a requested service</p>\n</div><p><b>Copyright Statement:</b></p><div><p>This specification includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org.</p>\n</div><p>This value set includes codes from the following code systems:</p><ul><li>Include these codes as defined in <a href=\"http://www.snomed.org/\"><code>http://snomed.info/sct</code></a><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td><a href=\"http://browser.ihtsdotools.org/?perspective=full&conceptId1=108252007\">108252007</a></td><td>Laboratory procedure</td><td/></tr><tr><td><a href=\"http://browser.ihtsdotools.org/?perspective=full&conceptId1=363679005\">363679005</a></td><td>Imaging</td><td/></tr><tr><td><a href=\"http://browser.ihtsdotools.org/?perspective=full&conceptId1=409063005\">409063005</a></td><td>Counselling</td><td/></tr><tr><td><a href=\"http://browser.ihtsdotools.org/?perspective=full&conceptId1=409073007\">409073007</a></td><td>Education</td><td/></tr><tr><td><a href=\"http://browser.ihtsdotools.org/?perspective=full&conceptId1=387713003\">387713003</a></td><td>Surgical procedure</td><td/></tr></table></li></ul></div>"
|
11
|
+
},
|
12
|
+
"extension" : [{
|
13
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
|
14
|
+
"valueCode" : "oo"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
|
18
|
+
"valueCode" : "draft"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
|
22
|
+
"valueInteger" : 1
|
23
|
+
}],
|
24
|
+
"url" : "http://hl7.org/fhir/ValueSet/servicerequest-category",
|
25
|
+
"identifier" : [{
|
26
|
+
"system" : "urn:ietf:rfc:3986",
|
27
|
+
"value" : "urn:oid:2.16.840.1.113883.4.642.3.434"
|
28
|
+
}],
|
29
|
+
"version" : "4.0.1",
|
30
|
+
"name" : "ServiceRequestCategoryCodes",
|
31
|
+
"title" : "Service Request Category Codes",
|
32
|
+
"status" : "draft",
|
33
|
+
"experimental" : false,
|
34
|
+
"date" : "2019-11-01T09:29:23+11:00",
|
35
|
+
"publisher" : "Orders and Observations Workgroup",
|
36
|
+
"contact" : [{
|
37
|
+
"telecom" : [{
|
38
|
+
"system" : "url",
|
39
|
+
"value" : "http://www.hl7.org/Special/committees/orders/index.cfm"
|
40
|
+
}]
|
41
|
+
}],
|
42
|
+
"description" : "An example value set of SNOMED CT concepts that can classify a requested service",
|
43
|
+
"copyright" : "This specification includes content from SNOMED Clinical Terms® (SNOMED CT®) which is copyright of the International Health Terminology Standards Development Organisation (IHTSDO). Implementers of these specifications must have the appropriate SNOMED CT Affiliate license - for more information contact http://www.snomed.org/snomed-ct/get-snomed-ct or info@snomed.org.",
|
44
|
+
"compose" : {
|
45
|
+
"include" : [{
|
46
|
+
"system" : "http://snomed.info/sct",
|
47
|
+
"concept" : [{
|
48
|
+
"code" : "108252007",
|
49
|
+
"display" : "Laboratory procedure"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"code" : "363679005",
|
53
|
+
"display" : "Imaging"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"code" : "409063005",
|
57
|
+
"display" : "Counselling"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"code" : "409073007",
|
61
|
+
"display" : "Education"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"code" : "387713003",
|
65
|
+
"display" : "Surgical procedure"
|
66
|
+
}]
|
67
|
+
}]
|
68
|
+
}
|
69
|
+
}
|