ipa_test_kit 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/lib/ipa_test_kit/custom_groups/capability_statement/conformance_support_test.rb +41 -0
- data/lib/ipa_test_kit/custom_groups/capability_statement/fhir_version_test.rb +15 -0
- data/lib/ipa_test_kit/custom_groups/capability_statement/json_support_test.rb +39 -0
- data/lib/ipa_test_kit/custom_groups/capability_statement/profile_support_test.rb +76 -0
- data/lib/ipa_test_kit/custom_groups/capability_statement_group.rb +64 -0
- data/lib/ipa_test_kit/date_search_validation.rb +101 -0
- data/lib/ipa_test_kit/ext/fhir_models.rb +59 -0
- data/lib/ipa_test_kit/fhir_resource_navigation.rb +63 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_must_support_test.rb +40 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_search_test.rb +60 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/allergy_intolerance_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance/metadata.yml +165 -0
- data/lib/ipa_test_kit/generated/allergy_intolerance_group.rb +85 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/bmi/bmi_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/bmi/metadata.yml +322 -0
- data/lib/ipa_test_kit/generated/bmi_group.rb +93 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/bodyheight/bodyheight_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/bodyheight/metadata.yml +328 -0
- data/lib/ipa_test_kit/generated/bodyheight_group.rb +93 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/bodytemp/bodytemp_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/bodytemp/metadata.yml +328 -0
- data/lib/ipa_test_kit/generated/bodytemp_group.rb +93 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/bodyweight/bodyweight_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/bodyweight/metadata.yml +328 -0
- data/lib/ipa_test_kit/generated/bodyweight_group.rb +93 -0
- data/lib/ipa_test_kit/generated/bp/bp_must_support_test.rb +52 -0
- data/lib/ipa_test_kit/generated/bp/bp_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/bp/bp_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/bp/bp_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/bp/bp_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/bp/bp_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/bp/bp_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/bp/bp_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/bp/bp_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/bp/bp_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/bp/metadata.yml +379 -0
- data/lib/ipa_test_kit/generated/bp_group.rb +93 -0
- data/lib/ipa_test_kit/generated/condition/condition_must_support_test.rb +39 -0
- data/lib/ipa_test_kit/generated/condition/condition_patient_category_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/condition/condition_patient_clinical_status_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/condition/condition_patient_code_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/condition/condition_patient_onset_date_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/condition/condition_patient_search_test.rb +60 -0
- data/lib/ipa_test_kit/generated/condition/condition_provenance_revinclude_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/condition/condition_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/condition/condition_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/condition/condition_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/condition/metadata.yml +231 -0
- data/lib/ipa_test_kit/generated/condition_group.rb +91 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_id_search_test.rb +40 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_search_test.rb +61 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_status_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_type_period_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_patient_type_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_provenance_revinclude_search_test.rb +50 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/document_reference/document_reference_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/document_reference/metadata.yml +356 -0
- data/lib/ipa_test_kit/generated/document_reference_group.rb +99 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/head_circumference/head_circumference_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/head_circumference/metadata.yml +324 -0
- data/lib/ipa_test_kit/generated/head_circumference_group.rb +93 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/heartrate/heartrate_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/heartrate/metadata.yml +325 -0
- data/lib/ipa_test_kit/generated/heartrate_group.rb +93 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_must_support_test.rb +40 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_patient_date_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_patient_search_test.rb +60 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_patient_status_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_provenance_revinclude_search_test.rb +50 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/immunization/immunization_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/immunization/metadata.yml +210 -0
- data/lib/ipa_test_kit/generated/immunization_group.rb +87 -0
- data/lib/ipa_test_kit/generated/ipa_test_suite.rb +88 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_must_support_test.rb +44 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_patient_intent_authoredon_search_test.rb +53 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_patient_intent_encounter_search_test.rb +52 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_patient_intent_search_test.rb +68 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_patient_intent_status_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_request_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/medication_request/medication_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/medication_request/metadata.yml +307 -0
- data/lib/ipa_test_kit/generated/medication_request_group.rb +92 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_must_support_test.rb +43 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_patient_context_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_patient_effective_search_test.rb +52 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_patient_search_test.rb +68 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_patient_status_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_statement_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/medication_statement/medication_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/medication_statement/metadata.yml +230 -0
- data/lib/ipa_test_kit/generated/medication_statement_group.rb +92 -0
- data/lib/ipa_test_kit/generated/metadata.yml +6230 -0
- data/lib/ipa_test_kit/generated/observation/metadata.yml +1280 -0
- data/lib/ipa_test_kit/generated/observation/observation_must_support_test.rb +41 -0
- data/lib/ipa_test_kit/generated/observation/observation_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/observation/observation_patient_category_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/observation/observation_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/observation/observation_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/observation/observation_patient_code_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/observation/observation_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/observation/observation_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/observation/observation_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/observation/observation_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/observation_group.rb +93 -0
- data/lib/ipa_test_kit/generated/oxygensat/metadata.yml +366 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_must_support_test.rb +65 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/oxygensat/oxygensat_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/oxygensat_group.rb +93 -0
- data/lib/ipa_test_kit/generated/patient/metadata.yml +320 -0
- data/lib/ipa_test_kit/generated/patient/patient_birthdate_family_search_test.rb +41 -0
- data/lib/ipa_test_kit/generated/patient/patient_birthdate_name_search_test.rb +39 -0
- data/lib/ipa_test_kit/generated/patient/patient_family_gender_search_test.rb +41 -0
- data/lib/ipa_test_kit/generated/patient/patient_gender_name_search_test.rb +39 -0
- data/lib/ipa_test_kit/generated/patient/patient_id_search_test.rb +53 -0
- data/lib/ipa_test_kit/generated/patient/patient_identifier_search_test.rb +40 -0
- data/lib/ipa_test_kit/generated/patient/patient_must_support_test.rb +57 -0
- data/lib/ipa_test_kit/generated/patient/patient_name_search_test.rb +39 -0
- data/lib/ipa_test_kit/generated/patient/patient_provenance_revinclude_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/patient/patient_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/patient/patient_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/patient/patient_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/patient_group.rb +99 -0
- data/lib/ipa_test_kit/generated/practitioner/metadata.yml +124 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_identifier_search_test.rb +40 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_must_support_test.rb +40 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_name_search_test.rb +49 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/practitioner/practitioner_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/practitioner_group.rb +84 -0
- data/lib/ipa_test_kit/generated/practitioner_role/metadata.yml +141 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_identifier_search_test.rb +40 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_must_support_test.rb +40 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_practitioner_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/practitioner_role/practitioner_role_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/practitioner_role_group.rb +84 -0
- data/lib/ipa_test_kit/generated/provenance/metadata.yml +114 -0
- data/lib/ipa_test_kit/generated/provenance/provenance_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/provenance/provenance_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/provenance/provenance_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/provenance_group.rb +53 -0
- data/lib/ipa_test_kit/generated/resource_list.rb +18 -0
- data/lib/ipa_test_kit/generated/resprate/metadata.yml +325 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_must_support_test.rb +49 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_patient_category_date_search_test.rb +46 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_patient_category_search_test.rb +45 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_patient_category_status_search_test.rb +47 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_patient_code_date_search_test.rb +48 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_patient_code_search_test.rb +62 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_provenance_revinclude_search_test.rb +51 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_read_test.rb +24 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_reference_resolution_test.rb +28 -0
- data/lib/ipa_test_kit/generated/resprate/resprate_validation_test.rb +34 -0
- data/lib/ipa_test_kit/generated/resprate_group.rb +93 -0
- data/lib/ipa_test_kit/generator/group_generator.rb +171 -0
- data/lib/ipa_test_kit/generator/group_metadata.rb +98 -0
- data/lib/ipa_test_kit/generator/group_metadata_extractor.rb +278 -0
- data/lib/ipa_test_kit/generator/ig_loader.rb +63 -0
- data/lib/ipa_test_kit/generator/ig_metadata.rb +49 -0
- data/lib/ipa_test_kit/generator/ig_metadata_extractor.rb +56 -0
- data/lib/ipa_test_kit/generator/ig_resources.rb +48 -0
- data/lib/ipa_test_kit/generator/must_support_metadata_extractor.rb +221 -0
- data/lib/ipa_test_kit/generator/must_support_test_generator.rb +86 -0
- data/lib/ipa_test_kit/generator/naming.rb +46 -0
- data/lib/ipa_test_kit/generator/provenance_revinclude_search_test_generator.rb +186 -0
- data/lib/ipa_test_kit/generator/read_test_generator.rb +89 -0
- data/lib/ipa_test_kit/generator/reference_resolution_test_generator.rb +72 -0
- data/lib/ipa_test_kit/generator/resource_list_generator.rb +46 -0
- data/lib/ipa_test_kit/generator/search_definition_metadata_extractor.rb +181 -0
- data/lib/ipa_test_kit/generator/search_metadata_extractor.rb +74 -0
- data/lib/ipa_test_kit/generator/search_test_generator.rb +295 -0
- data/lib/ipa_test_kit/generator/special_cases.rb +16 -0
- data/lib/ipa_test_kit/generator/suite_generator.rb +67 -0
- data/lib/ipa_test_kit/generator/terminology_binding_metadata_extractor.rb +105 -0
- data/lib/ipa_test_kit/generator/validation_test_generator.rb +124 -0
- data/lib/ipa_test_kit/generator.rb +86 -0
- data/lib/ipa_test_kit/igs/package.tgz +0 -0
- data/lib/ipa_test_kit/must_support_test.rb +146 -0
- data/lib/ipa_test_kit/read_test.rb +62 -0
- data/lib/ipa_test_kit/reference_resolution_test.rb +111 -0
- data/lib/ipa_test_kit/request_logger.rb +46 -0
- data/lib/ipa_test_kit/search_test.rb +728 -0
- data/lib/ipa_test_kit/search_test_properties.rb +61 -0
- data/lib/ipa_test_kit/validation_test.rb +48 -0
- data/lib/ipa_test_kit/version.rb +3 -0
- data/lib/ipa_test_kit.rb +2 -0
- metadata +397 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
require_relative '../../search_test'
|
2
|
+
require_relative '../../generator/group_metadata'
|
3
|
+
|
4
|
+
module IpaTestKit
|
5
|
+
class BmiPatientCategoryStatusSearchTest < Inferno::Test
|
6
|
+
include IpaTestKit::SearchTest
|
7
|
+
|
8
|
+
title 'Server returns valid results for Observation search by patient + category + status'
|
9
|
+
description %(
|
10
|
+
A server SHOULD support searching by
|
11
|
+
patient + category + status on the Observation resource. This test
|
12
|
+
will pass if resources are returned and match the search criteria. If
|
13
|
+
none are returned, the test is skipped.
|
14
|
+
|
15
|
+
[IPA Server CapabilityStatement](https://build.fhir.org/ig/HL7/fhir-ipa/CapabilityStatement-ipa-server.html)
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :ipa_010_bmi_patient_category_status_search_test
|
20
|
+
optional
|
21
|
+
|
22
|
+
input :patient_ids,
|
23
|
+
title: 'Patient IDs',
|
24
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
25
|
+
|
26
|
+
def self.properties
|
27
|
+
@properties ||= SearchTestProperties.new(
|
28
|
+
resource_type: 'Observation',
|
29
|
+
search_param_names: ['patient', 'category', 'status'],
|
30
|
+
token_search_params: ['category'],
|
31
|
+
multiple_or_search_params: ['status']
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.metadata
|
36
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:bmi_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_search_test
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../search_test'
|
2
|
+
require_relative '../../generator/group_metadata'
|
3
|
+
|
4
|
+
module IpaTestKit
|
5
|
+
class BmiPatientCodeDateSearchTest < Inferno::Test
|
6
|
+
include IpaTestKit::SearchTest
|
7
|
+
|
8
|
+
title 'Server returns valid results for Observation search by patient + code + date'
|
9
|
+
description %(
|
10
|
+
A server SHOULD support searching by
|
11
|
+
patient + code + date on the Observation resource. This test
|
12
|
+
will pass if resources are returned and match the search criteria. If
|
13
|
+
none are returned, the test is skipped.
|
14
|
+
|
15
|
+
[IPA Server CapabilityStatement](https://build.fhir.org/ig/HL7/fhir-ipa/CapabilityStatement-ipa-server.html)
|
16
|
+
|
17
|
+
)
|
18
|
+
|
19
|
+
id :ipa_010_bmi_patient_code_date_search_test
|
20
|
+
optional
|
21
|
+
|
22
|
+
input :patient_ids,
|
23
|
+
title: 'Patient IDs',
|
24
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
25
|
+
|
26
|
+
def self.properties
|
27
|
+
@properties ||= SearchTestProperties.new(
|
28
|
+
resource_type: 'Observation',
|
29
|
+
search_param_names: ['patient', 'code', 'date'],
|
30
|
+
possible_status_search: true,
|
31
|
+
token_search_params: ['code'],
|
32
|
+
params_with_comparators: ['date']
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_resources
|
41
|
+
scratch[:bmi_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_search_test
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
require_relative '../../search_test'
|
2
|
+
require_relative '../../generator/group_metadata'
|
3
|
+
|
4
|
+
module IpaTestKit
|
5
|
+
class BmiPatientCodeSearchTest < Inferno::Test
|
6
|
+
include IpaTestKit::SearchTest
|
7
|
+
|
8
|
+
title 'Server returns valid results for Observation search by patient + code'
|
9
|
+
description %(
|
10
|
+
A server SHALL support searching by
|
11
|
+
patient + code on the Observation resource. This test
|
12
|
+
will pass if resources are returned and match the search criteria. If
|
13
|
+
none are returned, the test is skipped.
|
14
|
+
|
15
|
+
This test verifies that the server supports searching by reference using
|
16
|
+
the form `patient=[id]` as well as `patient=Patient/[id]`. The two
|
17
|
+
different forms are expected to return the same number of results. IPA
|
18
|
+
requires that both forms are supported by IPA responders.
|
19
|
+
|
20
|
+
Because this is the first search of the sequence, resources in the
|
21
|
+
response will be used for subsequent tests.
|
22
|
+
|
23
|
+
Additionally, this test will check that GET and POST search methods
|
24
|
+
return the same number of results. Search by POST is required by the
|
25
|
+
FHIR R4 specification, and these tests interpret search by GET as a
|
26
|
+
requirement of IPA v0.1.0.
|
27
|
+
|
28
|
+
[IPA Server CapabilityStatement](https://build.fhir.org/ig/HL7/fhir-ipa/CapabilityStatement-ipa-server.html)
|
29
|
+
|
30
|
+
)
|
31
|
+
|
32
|
+
id :ipa_010_bmi_patient_code_search_test
|
33
|
+
input :patient_ids,
|
34
|
+
title: 'Patient IDs',
|
35
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
36
|
+
|
37
|
+
def self.properties
|
38
|
+
@properties ||= SearchTestProperties.new(
|
39
|
+
first_search: true,
|
40
|
+
fixed_value_search: true,
|
41
|
+
resource_type: 'Observation',
|
42
|
+
search_param_names: ['patient', 'code'],
|
43
|
+
possible_status_search: true,
|
44
|
+
token_search_params: ['code'],
|
45
|
+
test_reference_variants: true,
|
46
|
+
test_post_search: true
|
47
|
+
)
|
48
|
+
end
|
49
|
+
|
50
|
+
def self.metadata
|
51
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
52
|
+
end
|
53
|
+
|
54
|
+
def scratch_resources
|
55
|
+
scratch[:bmi_resources] ||= {}
|
56
|
+
end
|
57
|
+
|
58
|
+
run do
|
59
|
+
run_search_test
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative '../../search_test'
|
2
|
+
require_relative '../../generator/group_metadata'
|
3
|
+
|
4
|
+
module IpaTestKit
|
5
|
+
class BmiProvenanceRevincludeSearchTest < Inferno::Test
|
6
|
+
include IpaTestKit::SearchTest
|
7
|
+
|
8
|
+
title 'Server returns Provenance resources from Observation search by patient + code + revInclude:Provenance:target'
|
9
|
+
description %(
|
10
|
+
A server SHALL be capable of supporting _revIncludes:Provenance:target.
|
11
|
+
|
12
|
+
This test will perform a search by patient + code + revInclude:Provenance:target and
|
13
|
+
will pass if a Provenance resource is found in the response.
|
14
|
+
%)
|
15
|
+
|
16
|
+
id :ipa_010_bmi_provenance_revinclude_search_test
|
17
|
+
|
18
|
+
input :patient_ids,
|
19
|
+
title: 'Patient IDs',
|
20
|
+
description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
|
21
|
+
|
22
|
+
def properties
|
23
|
+
@properties ||= SearchTestProperties.new(
|
24
|
+
fixed_value_search: true,
|
25
|
+
resource_type: 'Observation',
|
26
|
+
search_param_names: ['patient', 'code'],
|
27
|
+
possible_status_search: true
|
28
|
+
)
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.metadata
|
32
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.provenance_metadata
|
36
|
+
@provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml')))
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_resources
|
40
|
+
scratch[:bmi_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
def scratch_provenance_resources
|
44
|
+
scratch[:provenance_resources] ||= {}
|
45
|
+
end
|
46
|
+
|
47
|
+
run do
|
48
|
+
run_provenance_revinclude_search_test
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require_relative '../../read_test'
|
2
|
+
|
3
|
+
module IpaTestKit
|
4
|
+
class BmiReadTest < Inferno::Test
|
5
|
+
include IpaTestKit::ReadTest
|
6
|
+
|
7
|
+
title 'Server returns correct Observation resource from Observation read interaction'
|
8
|
+
description 'A server SHALL support the Observation read interaction.'
|
9
|
+
|
10
|
+
id :ipa_010_bmi_read_test
|
11
|
+
|
12
|
+
def resource_type
|
13
|
+
'Observation'
|
14
|
+
end
|
15
|
+
|
16
|
+
def scratch_resources
|
17
|
+
scratch[:bmi_resources] ||= {}
|
18
|
+
end
|
19
|
+
|
20
|
+
run do
|
21
|
+
perform_read_test(all_scratch_resources)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative '../../reference_resolution_test'
|
2
|
+
|
3
|
+
module IpaTestKit
|
4
|
+
class BmiReferenceResolutionTest < Inferno::Test
|
5
|
+
include IpaTestKit::ReferenceResolutionTest
|
6
|
+
|
7
|
+
title 'Every reference within Observation resources can be read'
|
8
|
+
description %(
|
9
|
+
This test will attempt to read the first 50 references found in the
|
10
|
+
resources from the first search. The test will fail if Inferno fails to
|
11
|
+
read any of those references.
|
12
|
+
)
|
13
|
+
|
14
|
+
id :ipa_010_bmi_reference_resolution_test
|
15
|
+
|
16
|
+
def resource_type
|
17
|
+
'Observation'
|
18
|
+
end
|
19
|
+
|
20
|
+
def scratch_resources
|
21
|
+
scratch[:bmi_resources] ||= {}
|
22
|
+
end
|
23
|
+
|
24
|
+
run do
|
25
|
+
perform_reference_resolution_test(scratch_resources[:all])
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require_relative '../../validation_test'
|
2
|
+
|
3
|
+
module IpaTestKit
|
4
|
+
class BmiValidationTest < Inferno::Test
|
5
|
+
include IpaTestKit::ValidationTest
|
6
|
+
|
7
|
+
id :ipa_010_bmi_validation_test
|
8
|
+
title 'Observation resources returned during previous tests conform to the Observation Body Mass Index Profile'
|
9
|
+
description %(
|
10
|
+
This test verifies resources returned from the first search conform to
|
11
|
+
the [Observation Body Mass Index Profile](http://hl7.org/fhir/StructureDefinition/bmi).
|
12
|
+
|
13
|
+
It verifies the presence of mandatory elements and that elements with
|
14
|
+
required bindings contain appropriate values. CodeableConcept element
|
15
|
+
bindings will fail if none of their codings have a code/system belonging
|
16
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
17
|
+
fail if their code/system are not found in the valueset.
|
18
|
+
|
19
|
+
)
|
20
|
+
output :dar_code_found, :dar_extension_found
|
21
|
+
|
22
|
+
def resource_type
|
23
|
+
'Observation'
|
24
|
+
end
|
25
|
+
|
26
|
+
def scratch_resources
|
27
|
+
scratch[:bmi_resources] ||= {}
|
28
|
+
end
|
29
|
+
|
30
|
+
run do
|
31
|
+
perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/StructureDefinition/bmi')
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,322 @@
|
|
1
|
+
---
|
2
|
+
:name: bmi
|
3
|
+
:class_name: BmiSequence
|
4
|
+
:version: v0.1.0
|
5
|
+
:reformatted_version: v010
|
6
|
+
:resource: Observation
|
7
|
+
:profile_url: http://hl7.org/fhir/StructureDefinition/bmi
|
8
|
+
:profile_name: Observation Body Mass Index Profile
|
9
|
+
:title: Observation Body Mass Index
|
10
|
+
:short_description: Verify support for the server capabilities required by the Observation Body Mass Index Profile.
|
11
|
+
:interactions:
|
12
|
+
- :code: create
|
13
|
+
:expectation: MAY
|
14
|
+
- :code: search-type
|
15
|
+
:expectation: SHALL
|
16
|
+
- :code: read
|
17
|
+
:expectation: SHALL
|
18
|
+
- :code: vread
|
19
|
+
:expectation: SHOULD
|
20
|
+
- :code: update
|
21
|
+
:expectation: MAY
|
22
|
+
- :code: patch
|
23
|
+
:expectation: MAY
|
24
|
+
- :code: delete
|
25
|
+
:expectation: MAY
|
26
|
+
- :code: history-instance
|
27
|
+
:expectation: SHOULD
|
28
|
+
- :code: history-type
|
29
|
+
:expectation: MAY
|
30
|
+
:operations: []
|
31
|
+
:searches:
|
32
|
+
- :expectation: SHALL
|
33
|
+
:names:
|
34
|
+
- patient
|
35
|
+
- code
|
36
|
+
:names_not_must_support_or_mandatory: []
|
37
|
+
:must_support_or_mandatory: true
|
38
|
+
- :expectation: SHALL
|
39
|
+
:names:
|
40
|
+
- patient
|
41
|
+
- category
|
42
|
+
- date
|
43
|
+
:names_not_must_support_or_mandatory: []
|
44
|
+
:must_support_or_mandatory: true
|
45
|
+
- :expectation: SHOULD
|
46
|
+
:names:
|
47
|
+
- patient
|
48
|
+
- category
|
49
|
+
- status
|
50
|
+
:names_not_must_support_or_mandatory: []
|
51
|
+
:must_support_or_mandatory: true
|
52
|
+
- :expectation: SHOULD
|
53
|
+
:names:
|
54
|
+
- patient
|
55
|
+
- code
|
56
|
+
- date
|
57
|
+
:names_not_must_support_or_mandatory: []
|
58
|
+
:must_support_or_mandatory: true
|
59
|
+
- :expectation: SHALL
|
60
|
+
:names:
|
61
|
+
- patient
|
62
|
+
- category
|
63
|
+
:names_not_must_support_or_mandatory: []
|
64
|
+
:must_support_or_mandatory: true
|
65
|
+
:search_definitions:
|
66
|
+
:patient:
|
67
|
+
:path: subject
|
68
|
+
:full_path: Observation.subject
|
69
|
+
:comparators: {}
|
70
|
+
:values: []
|
71
|
+
:type: Reference
|
72
|
+
:contains_multiple: false
|
73
|
+
:multiple_or: MAY
|
74
|
+
:category:
|
75
|
+
:path: category
|
76
|
+
:full_path: Observation.category
|
77
|
+
:comparators: {}
|
78
|
+
:values:
|
79
|
+
- vital-signs
|
80
|
+
:type: CodeableConcept
|
81
|
+
:contains_multiple: true
|
82
|
+
:multiple_or: MAY
|
83
|
+
:date:
|
84
|
+
:path: effective
|
85
|
+
:full_path: Observation.effective
|
86
|
+
:comparators:
|
87
|
+
:eq: MAY
|
88
|
+
:ne: MAY
|
89
|
+
:gt: SHALL
|
90
|
+
:ge: SHALL
|
91
|
+
:lt: SHALL
|
92
|
+
:le: SHALL
|
93
|
+
:sa: MAY
|
94
|
+
:eb: MAY
|
95
|
+
:ap: MAY
|
96
|
+
:values: []
|
97
|
+
:type: date
|
98
|
+
:contains_multiple: false
|
99
|
+
:multiple_or: MAY
|
100
|
+
:status:
|
101
|
+
:path: status
|
102
|
+
:full_path: Observation.status
|
103
|
+
:comparators: {}
|
104
|
+
:values:
|
105
|
+
- registered
|
106
|
+
- preliminary
|
107
|
+
- final
|
108
|
+
- amended
|
109
|
+
- corrected
|
110
|
+
- cancelled
|
111
|
+
- entered-in-error
|
112
|
+
- unknown
|
113
|
+
:type: code
|
114
|
+
:contains_multiple: false
|
115
|
+
:multiple_or: SHALL
|
116
|
+
:code:
|
117
|
+
:path: code
|
118
|
+
:full_path: Observation.code
|
119
|
+
:comparators: {}
|
120
|
+
:values:
|
121
|
+
- 39156-5
|
122
|
+
:type: CodeableConcept
|
123
|
+
:contains_multiple: false
|
124
|
+
:multiple_or: SHOULD
|
125
|
+
:include_params: []
|
126
|
+
:revincludes:
|
127
|
+
- Provenance:target
|
128
|
+
:required_concepts:
|
129
|
+
:must_supports:
|
130
|
+
:extensions: []
|
131
|
+
:slices:
|
132
|
+
- :name: Observation.value[x]:valueQuantity
|
133
|
+
:path: value[x]
|
134
|
+
:discriminator:
|
135
|
+
:type: type
|
136
|
+
:code: Quantity
|
137
|
+
- :name: Observation.category:VSCat
|
138
|
+
:path: category
|
139
|
+
:discriminator:
|
140
|
+
:type: value
|
141
|
+
:values:
|
142
|
+
- :path: coding.code
|
143
|
+
:value: vital-signs
|
144
|
+
- :path: coding.system
|
145
|
+
:value: http://terminology.hl7.org/CodeSystem/observation-category
|
146
|
+
:elements:
|
147
|
+
- :path: status
|
148
|
+
- :path: category
|
149
|
+
- :path: category.coding
|
150
|
+
- :path: category.coding.system
|
151
|
+
:fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
|
152
|
+
- :path: category.coding.code
|
153
|
+
:fixed_value: vital-signs
|
154
|
+
- :path: code.coding.code
|
155
|
+
:fixed_value: 39156-5
|
156
|
+
- :path: subject
|
157
|
+
- :path: effective[x]
|
158
|
+
- :path: value[x]
|
159
|
+
- :path: value[x].value
|
160
|
+
- :path: value[x].unit
|
161
|
+
- :path: value[x].system
|
162
|
+
:fixed_value: http://unitsofmeasure.org
|
163
|
+
- :path: value[x].code
|
164
|
+
:fixed_value: "kg/m2"
|
165
|
+
:mandatory_elements:
|
166
|
+
- Observation.status
|
167
|
+
- Observation.category
|
168
|
+
- Observation.category
|
169
|
+
- Observation.category.coding
|
170
|
+
- Observation.category.coding.system
|
171
|
+
- Observation.category.coding.code
|
172
|
+
- Observation.code
|
173
|
+
- Observation.subject
|
174
|
+
- Observation.effective[x]
|
175
|
+
- Observation.value[x].value
|
176
|
+
- Observation.value[x].unit
|
177
|
+
- Observation.value[x].system
|
178
|
+
- Observation.value[x].code
|
179
|
+
- Observation.component.code
|
180
|
+
:bindings:
|
181
|
+
- :type: code
|
182
|
+
:strength: preferred
|
183
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
184
|
+
:path: language
|
185
|
+
- :type: code
|
186
|
+
:strength: required
|
187
|
+
:system: http://hl7.org/fhir/ValueSet/observation-status
|
188
|
+
:path: status
|
189
|
+
- :type: CodeableConcept
|
190
|
+
:strength: preferred
|
191
|
+
:system: http://hl7.org/fhir/ValueSet/observation-category
|
192
|
+
:path: category
|
193
|
+
- :type: CodeableConcept
|
194
|
+
:strength: preferred
|
195
|
+
:system: http://hl7.org/fhir/ValueSet/observation-category
|
196
|
+
:path: category
|
197
|
+
- :type: CodeableConcept
|
198
|
+
:strength: extensible
|
199
|
+
:system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
|
200
|
+
:path: code
|
201
|
+
- :type: code
|
202
|
+
:strength: required
|
203
|
+
:system: http://hl7.org/fhir/ValueSet/quantity-comparator
|
204
|
+
:path: value.comparator
|
205
|
+
- :type: CodeableConcept
|
206
|
+
:strength: extensible
|
207
|
+
:system: http://hl7.org/fhir/ValueSet/data-absent-reason
|
208
|
+
:path: dataAbsentReason
|
209
|
+
- :type: CodeableConcept
|
210
|
+
:strength: extensible
|
211
|
+
:system: http://hl7.org/fhir/ValueSet/observation-interpretation
|
212
|
+
:path: interpretation
|
213
|
+
- :type: CodeableConcept
|
214
|
+
:strength: example
|
215
|
+
:system: http://hl7.org/fhir/ValueSet/body-site
|
216
|
+
:path: bodySite
|
217
|
+
- :type: CodeableConcept
|
218
|
+
:strength: example
|
219
|
+
:system: http://hl7.org/fhir/ValueSet/observation-methods
|
220
|
+
:path: method
|
221
|
+
- :type: CodeableConcept
|
222
|
+
:strength: preferred
|
223
|
+
:system: http://hl7.org/fhir/ValueSet/referencerange-meaning
|
224
|
+
:path: referenceRange.type
|
225
|
+
- :type: CodeableConcept
|
226
|
+
:strength: example
|
227
|
+
:system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
|
228
|
+
:path: referenceRange.appliesTo
|
229
|
+
- :type: CodeableConcept
|
230
|
+
:strength: extensible
|
231
|
+
:system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
|
232
|
+
:path: component.code
|
233
|
+
- :type: Quantity
|
234
|
+
:strength: required
|
235
|
+
:system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
|
236
|
+
:path: component.value
|
237
|
+
- :type: CodeableConcept
|
238
|
+
:strength: extensible
|
239
|
+
:system: http://hl7.org/fhir/ValueSet/data-absent-reason
|
240
|
+
:path: component.dataAbsentReason
|
241
|
+
- :type: CodeableConcept
|
242
|
+
:strength: extensible
|
243
|
+
:system: http://hl7.org/fhir/ValueSet/observation-interpretation
|
244
|
+
:path: component.interpretation
|
245
|
+
:references:
|
246
|
+
- :path: Observation.basedOn
|
247
|
+
:profiles:
|
248
|
+
- http://hl7.org/fhir/StructureDefinition/CarePlan
|
249
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceRequest
|
250
|
+
- http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
|
251
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
252
|
+
- http://hl7.org/fhir/StructureDefinition/NutritionOrder
|
253
|
+
- http://hl7.org/fhir/StructureDefinition/ServiceRequest
|
254
|
+
- :path: Observation.partOf
|
255
|
+
:profiles:
|
256
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationAdministration
|
257
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationDispense
|
258
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationStatement
|
259
|
+
- http://hl7.org/fhir/StructureDefinition/Procedure
|
260
|
+
- http://hl7.org/fhir/StructureDefinition/Immunization
|
261
|
+
- http://hl7.org/fhir/StructureDefinition/ImagingStudy
|
262
|
+
- :path: Observation.subject
|
263
|
+
:profiles:
|
264
|
+
- http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient
|
265
|
+
- :path: Observation.focus
|
266
|
+
:profiles:
|
267
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
268
|
+
- :path: Observation.encounter
|
269
|
+
:profiles:
|
270
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
271
|
+
- :path: Observation.performer
|
272
|
+
:profiles:
|
273
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
274
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
275
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
276
|
+
- http://hl7.org/fhir/StructureDefinition/CareTeam
|
277
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
278
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
279
|
+
- :path: Observation.specimen
|
280
|
+
:profiles:
|
281
|
+
- http://hl7.org/fhir/StructureDefinition/Specimen
|
282
|
+
- :path: Observation.device
|
283
|
+
:profiles:
|
284
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
285
|
+
- http://hl7.org/fhir/StructureDefinition/DeviceMetric
|
286
|
+
- :path: Observation.hasMember
|
287
|
+
:profiles:
|
288
|
+
- http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
|
289
|
+
- http://hl7.org/fhir/StructureDefinition/MolecularSequence
|
290
|
+
- http://hl7.org/fhir/StructureDefinition/vitalsigns
|
291
|
+
- :path: Observation.derivedFrom
|
292
|
+
:profiles:
|
293
|
+
- http://hl7.org/fhir/StructureDefinition/DocumentReference
|
294
|
+
- http://hl7.org/fhir/StructureDefinition/ImagingStudy
|
295
|
+
- http://hl7.org/fhir/StructureDefinition/Media
|
296
|
+
- http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
|
297
|
+
- http://hl7.org/fhir/StructureDefinition/MolecularSequence
|
298
|
+
- http://hl7.org/fhir/StructureDefinition/vitalsigns
|
299
|
+
:tests:
|
300
|
+
- :id: ipa_010_bmi_patient_code_search_test
|
301
|
+
:file_name: bmi_patient_code_search_test.rb
|
302
|
+
- :id: ipa_010_bmi_patient_category_date_search_test
|
303
|
+
:file_name: bmi_patient_category_date_search_test.rb
|
304
|
+
- :id: ipa_010_bmi_patient_category_status_search_test
|
305
|
+
:file_name: bmi_patient_category_status_search_test.rb
|
306
|
+
- :id: ipa_010_bmi_patient_code_date_search_test
|
307
|
+
:file_name: bmi_patient_code_date_search_test.rb
|
308
|
+
- :id: ipa_010_bmi_patient_category_search_test
|
309
|
+
:file_name: bmi_patient_category_search_test.rb
|
310
|
+
- :id: ipa_010_bmi_read_test
|
311
|
+
:file_name: bmi_read_test.rb
|
312
|
+
- :id: ipa_010_bmi_provenance_revinclude_search_test
|
313
|
+
:file_name: bmi_provenance_revinclude_search_test.rb
|
314
|
+
- :id: ipa_010_bmi_validation_test
|
315
|
+
:file_name: bmi_validation_test.rb
|
316
|
+
- :id: ipa_010_bmi_must_support_test
|
317
|
+
:file_name: bmi_must_support_test.rb
|
318
|
+
- :id: ipa_010_bmi_reference_resolution_test
|
319
|
+
:file_name: bmi_reference_resolution_test.rb
|
320
|
+
:id: ipa_010_bmi
|
321
|
+
:file_name: bmi_group.rb
|
322
|
+
:delayed_references: []
|