davinci_plan_net_test_kit 0.9.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/davinci_plan_net_test_kit/custom_groups/capability_statement/conformance_support_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/capability_statement/fhir_version_test.rb +15 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/capability_statement/instantiate_test.rb +19 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/capability_statement/json_support_test.rb +39 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/capability_statement/profile_support_test.rb +38 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/combination_searches/examples.json +40 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/data_absent_reason_group.rb +59 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/reverse_chain_tests/examples.json +60 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/v1.1.0/capability_statement_group.rb +75 -0
- data/lib/davinci_plan_net_test_kit/date_search_validation.rb +108 -0
- data/lib/davinci_plan_net_test_kit/fhir_resource_navigation.rb +75 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/davinci_plan_net_test_suite.rb +231 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_include_endpoint_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_must_support_test.rb +47 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_reference_resolution_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/metadata.yml +171 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint_group.rb +168 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_combination_list_specialty_covered_by_network_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_coverage_area_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_city_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_postalcode_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_state_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_include_healthcare_service_coverage_area_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_include_healthcare_service_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_include_healthcare_service_location_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_include_healthcare_service_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_location_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_must_support_test.rb +65 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_name_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_reference_resolution_test.rb +45 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_revinclude_organization_affiliation_service_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_revinclude_practitioner_role_service_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_service_category_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_service_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_specialty_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/metadata.yml +1377 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service_group.rb +240 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_administered_by_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_coverage_area_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_administered_by_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_administered_by_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_owned_by_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_owned_by_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_identifier_search_test.rb +44 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_include_insurance_plan_administered_by_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_include_insurance_plan_coverage_area_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_include_insurance_plan_owned_by_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_must_support_test.rb +57 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_name_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_owned_by_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_plan_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_reference_resolution_test.rb +48 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/metadata.yml +368 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan_group.rb +193 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_address_city_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_address_postalcode_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_address_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_address_state_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_include_location_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_include_location_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_include_location_partof_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_must_support_test.rb +66 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_partof_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_reference_resolution_test.rb +44 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_reverse_chain_insurance_plan_coverage_area_owned_by_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_revinclude_healthcare_service_location_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_revinclude_insurance_plan_coverage_area_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_revinclude_organization_affiliation_location_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_revinclude_practitioner_role_location_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/metadata.yml +395 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location_group.rb +262 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/metadata.yml +5214 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/metadata.yml +304 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_address_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_coverage_area_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_include_organization_coverage_area_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_include_organization_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_include_organization_partof_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_must_support_test.rb +58 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_name_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_partof_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_reference_resolution_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_reverse_chain_practitioner_role_network_location_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_revinclude_practitioner_role_network_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network_group.rb +238 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/metadata.yml +1296 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_city_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_postalcode_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_state_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_network_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_network_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_location_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_service_category_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_location_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_network_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_participating_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_primary_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_include_organization_affiliation_service_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_location_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_must_support_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_network_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_participating_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_primary_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_reference_resolution_test.rb +47 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_role_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_service_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_specialty_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil_group.rb +241 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/metadata.yml +384 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_address_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_coverage_area_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_include_organization_coverage_area_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_include_organization_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_include_organization_partof_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_must_support_test.rb +68 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_name_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_partof_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_reference_resolution_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_reverse_chain_insurance_plan_owned_by_coverage_area_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_reverse_chain_org_affil_participating_organization_location_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_reverse_chain_org_affil_participating_organization_network_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_reverse_chain_org_affil_participating_organization_specialty_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_endpoint_organization_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_healthcare_service_organization_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_insurance_plan_administered_by_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_insurance_plan_owned_by_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_organization_affiliation_participating_organization_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_organization_affiliation_primary_organization_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_revinclude_practitioner_role_organization_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_type_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization_group.rb +265 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/metadata.yml +253 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_family_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_given_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_must_support_test.rb +57 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_name_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_reference_resolution_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_reverse_chain_practitioner_role_practitioner_location_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_reverse_chain_practitioner_role_practitioner_network_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_reverse_chain_practitioner_role_practitioner_role_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_reverse_chain_practitioner_role_practitioner_specialty_search_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_revinclude_practitioner_role_practitioner_search_test.rb +60 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_group.rb +188 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/metadata.yml +1198 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_combination_list_practitioners_with_specialty_and_location_search_test.rb +50 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_endpoint_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_endpoint_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_city_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_postalcode_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_state_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_address_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_partof_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_type_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_practitioner_name_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_location_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_organization_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_service_category_search_test.rb +55 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_id_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_endpoint_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_location_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_network_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_organization_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_practitioner_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_include_practitioner_role_service_search_test.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_lastupdated_search_test.rb +43 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_location_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_must_support_test.rb +70 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_network_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_no_params_search_test.rb +49 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_organization_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_read_test.rb +26 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb +46 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_role_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_service_search_test.rb +41 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_specialty_search_test.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_validation_test.rb +40 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role_group.rb +241 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/resource_list.rb +16 -0
- data/lib/davinci_plan_net_test_kit/generator/combination_search_test_generator.rb +215 -0
- data/lib/davinci_plan_net_test_kit/generator/forward_chain_test_generator.rb +198 -0
- data/lib/davinci_plan_net_test_kit/generator/group_generator.rb +377 -0
- data/lib/davinci_plan_net_test_kit/generator/group_metadata.rb +77 -0
- data/lib/davinci_plan_net_test_kit/generator/group_metadata_extractor.rb +268 -0
- data/lib/davinci_plan_net_test_kit/generator/ig_loader.rb +76 -0
- data/lib/davinci_plan_net_test_kit/generator/ig_metadata.rb +52 -0
- data/lib/davinci_plan_net_test_kit/generator/ig_metadata_extractor.rb +57 -0
- data/lib/davinci_plan_net_test_kit/generator/ig_resources.rb +64 -0
- data/lib/davinci_plan_net_test_kit/generator/include_search_test_generator.rb +205 -0
- data/lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor.rb +337 -0
- data/lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb +25 -0
- data/lib/davinci_plan_net_test_kit/generator/must_support_test_generator.rb +116 -0
- data/lib/davinci_plan_net_test_kit/generator/naming.rb +34 -0
- data/lib/davinci_plan_net_test_kit/generator/read_test_generator.rb +86 -0
- data/lib/davinci_plan_net_test_kit/generator/reference_resolution_test_generator.rb +92 -0
- data/lib/davinci_plan_net_test_kit/generator/resource_list_generator.rb +42 -0
- data/lib/davinci_plan_net_test_kit/generator/reverse_chain_search_test_generator.rb +194 -0
- data/lib/davinci_plan_net_test_kit/generator/revinclude_search_test_generator.rb +204 -0
- data/lib/davinci_plan_net_test_kit/generator/search_definition_metadata_extractor.rb +193 -0
- data/lib/davinci_plan_net_test_kit/generator/search_metadata_extractor.rb +74 -0
- data/lib/davinci_plan_net_test_kit/generator/search_no_params_test_generator.rb +124 -0
- data/lib/davinci_plan_net_test_kit/generator/search_test_generator.rb +276 -0
- data/lib/davinci_plan_net_test_kit/generator/special_cases.rb +92 -0
- data/lib/davinci_plan_net_test_kit/generator/suite_generator.rb +93 -0
- data/lib/davinci_plan_net_test_kit/generator/terminology_binding_metadata_extractor.rb +120 -0
- data/lib/davinci_plan_net_test_kit/generator/validation_test_generator.rb +140 -0
- data/lib/davinci_plan_net_test_kit/generator/value_extractor.rb +117 -0
- data/lib/davinci_plan_net_test_kit/generator.rb +143 -0
- data/lib/davinci_plan_net_test_kit/igs/package/SearchParameter-Resource-id.json +1 -0
- data/lib/davinci_plan_net_test_kit/igs/package/SearchParameter-Resource-lastUpdated.json +1 -0
- data/lib/davinci_plan_net_test_kit/igs/package.tgz +0 -0
- data/lib/davinci_plan_net_test_kit/must_support_test.rb +211 -0
- data/lib/davinci_plan_net_test_kit/provenance_validator.rb +37 -0
- data/lib/davinci_plan_net_test_kit/read_test.rb +62 -0
- data/lib/davinci_plan_net_test_kit/reference_resolution_test.rb +179 -0
- data/lib/davinci_plan_net_test_kit/request_logger.rb +46 -0
- data/lib/davinci_plan_net_test_kit/search_test.rb +1252 -0
- data/lib/davinci_plan_net_test_kit/search_test_properties.rb +66 -0
- data/lib/davinci_plan_net_test_kit/validation_test.rb +56 -0
- data/lib/davinci_plan_net_test_kit/version.rb +5 -0
- data/lib/davinci_plan_net_test_kit.rb +1 -0
- metadata +452 -0
data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_validation_test.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative '../../../validation_test'
|
2
|
+
|
3
|
+
module DaVinciPlanNetTestKit
|
4
|
+
module DaVinciPlanNetV110
|
5
|
+
class OrganizationValidationTest < Inferno::Test
|
6
|
+
include DaVinciPlanNetTestKit::ValidationTest
|
7
|
+
|
8
|
+
id :davinci_plan_net_v110_organization_validation_test
|
9
|
+
title 'Organization resources returned during previous tests conform to the Plan-Net Organization'
|
10
|
+
description %(
|
11
|
+
This test verifies resources returned from the first search conform to
|
12
|
+
the [Plan-Net Organization](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition/plannet-Organization).
|
13
|
+
Systems must demonstrate at least one valid example in order to pass this test.
|
14
|
+
|
15
|
+
It verifies the presence of mandatory elements and that elements with
|
16
|
+
required bindings contain appropriate values. CodeableConcept element
|
17
|
+
bindings will fail if none of their codings have a code/system belonging
|
18
|
+
to the bound ValueSet. Quantity, Coding, and code element bindings will
|
19
|
+
fail if their code/system are not found in the valueset.
|
20
|
+
|
21
|
+
)
|
22
|
+
output :dar_code_found, :dar_extension_found
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'Organization'
|
26
|
+
end
|
27
|
+
|
28
|
+
def scratch_resources
|
29
|
+
scratch[:organization_resources] ||= {}
|
30
|
+
end
|
31
|
+
|
32
|
+
run do
|
33
|
+
perform_validation_test(scratch_resources[:all] || [],
|
34
|
+
'http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization',
|
35
|
+
'1.1.0',
|
36
|
+
skip_if_empty: true)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,265 @@
|
|
1
|
+
require_relative 'organization/organization_no_params_search_test'
|
2
|
+
require_relative 'organization/organization_read_test'
|
3
|
+
require_relative 'organization/organization_partof_search_test'
|
4
|
+
require_relative 'organization/organization_endpoint_search_test'
|
5
|
+
require_relative 'organization/organization_address_search_test'
|
6
|
+
require_relative 'organization/organization_name_search_test'
|
7
|
+
require_relative 'organization/organization_id_search_test'
|
8
|
+
require_relative 'organization/organization_lastupdated_search_test'
|
9
|
+
require_relative 'organization/organization_type_search_test'
|
10
|
+
require_relative 'organization/organization_coverage_area_search_test'
|
11
|
+
require_relative 'organization/organization_include_organization_partof_search_test'
|
12
|
+
require_relative 'organization/organization_include_organization_endpoint_search_test'
|
13
|
+
require_relative 'organization/organization_include_organization_coverage_area_search_test'
|
14
|
+
require_relative 'organization/organization_revinclude_endpoint_organization_search_test'
|
15
|
+
require_relative 'organization/organization_revinclude_healthcare_service_organization_search_test'
|
16
|
+
require_relative 'organization/organization_revinclude_insurance_plan_administered_by_search_test'
|
17
|
+
require_relative 'organization/organization_revinclude_insurance_plan_owned_by_search_test'
|
18
|
+
require_relative 'organization/organization_revinclude_organization_affiliation_primary_organization_search_test'
|
19
|
+
require_relative 'organization/organization_revinclude_practitioner_role_organization_search_test'
|
20
|
+
require_relative 'organization/organization_revinclude_organization_affiliation_participating_organization_search_test'
|
21
|
+
require_relative 'organization/organization_forward_chain_partof_name_search_test'
|
22
|
+
require_relative 'organization/organization_forward_chain_partof_address_search_test'
|
23
|
+
require_relative 'organization/organization_forward_chain_partof_type_search_test'
|
24
|
+
require_relative 'organization/organization_forward_chain_endpoint_organization_search_test'
|
25
|
+
require_relative 'organization/organization_reverse_chain_org_affil_participating_organization_location_search_test'
|
26
|
+
require_relative 'organization/organization_reverse_chain_org_affil_participating_organization_network_search_test'
|
27
|
+
require_relative 'organization/organization_reverse_chain_org_affil_participating_organization_specialty_search_test'
|
28
|
+
require_relative 'organization/organization_reverse_chain_insurance_plan_owned_by_coverage_area_search_test'
|
29
|
+
require_relative 'organization/organization_validation_test'
|
30
|
+
require_relative 'organization/organization_must_support_test'
|
31
|
+
require_relative 'organization/organization_reference_resolution_test'
|
32
|
+
|
33
|
+
module DaVinciPlanNetTestKit
|
34
|
+
module DaVinciPlanNetV110
|
35
|
+
class OrganizationGroup < Inferno::TestGroup
|
36
|
+
title 'Plan-Net Organization Tests'
|
37
|
+
short_description 'Verify support for the server capabilities required by the Plan-Net Organization.'
|
38
|
+
description %(
|
39
|
+
# Background
|
40
|
+
|
41
|
+
The Plan-Net Organization sequence verifies that the system under test is
|
42
|
+
able to provide correct responses for Organization queries. These queries
|
43
|
+
must return resources conforming to the Plan-Net Organization profile as
|
44
|
+
specified in the Plan Net v1.1.0 Implementation Guide.
|
45
|
+
|
46
|
+
# Testing Methodology
|
47
|
+
|
48
|
+
## Instance Gathering
|
49
|
+
|
50
|
+
Inferno will first identify and obtain a set of instances to use for the rest
|
51
|
+
of the tests, requiring at least one instance to be identified for the test to pass.
|
52
|
+
Instances to gather are indentified in two ways. One or both will be used,
|
53
|
+
depending on user input.
|
54
|
+
|
55
|
+
### Parameterless searches
|
56
|
+
Instances can be gathered using a query requesting all instances of Organization
|
57
|
+
(e.g., `GET [FHIR Endpoint]/Organization`). In order to gather only Organization instances expected to conform to the Plan-Net Organization profile, instances where `type` equals `ntwk` will be discarded.
|
58
|
+
Gathering through this method is controlled by the following inputs (used for all profiles):
|
59
|
+
- "Use parameterless searches to identify instances?":
|
60
|
+
parameterless searches can be disabled using this input if, for example,
|
61
|
+
the server under test does not support them, or not all instances on the server
|
62
|
+
should be expected to conform to Plan Net profiles. In this case the user **MUST**
|
63
|
+
provide specific instance ids to gather.
|
64
|
+
- "Maximum number of instances to gather using parameterless searches": sets an upper
|
65
|
+
bound on the number of instances Inferno will gather from parameterless searches.
|
66
|
+
- "Maximum pages of results to consider when using parameterless searches": sets an upper bound
|
67
|
+
on the number of pages of search results Inferno will load when gathering instances
|
68
|
+
using parameterless searches.
|
69
|
+
|
70
|
+
### User-provided instance ids
|
71
|
+
|
72
|
+
If ids are listed in the "ids of Plan-Net Organization instances" optional input,
|
73
|
+
they will be read and included at the start of the set of gathered instances.
|
74
|
+
|
75
|
+
|
76
|
+
## Searching
|
77
|
+
This test sequence will perform a search with each required search parameter
|
78
|
+
associated with this resource individually. Searches with the
|
79
|
+
following parameters will be performed:
|
80
|
+
|
81
|
+
* partof
|
82
|
+
* endpoint
|
83
|
+
* address
|
84
|
+
* name
|
85
|
+
* _id
|
86
|
+
* _lastUpdated
|
87
|
+
* type
|
88
|
+
* coverage-area
|
89
|
+
|
90
|
+
### Search Parameters
|
91
|
+
Each search will look for its parameter values
|
92
|
+
from the results of the instance gathering step. For example, for a search using
|
93
|
+
the `identifier` search parameter, the test searches the gathered instances
|
94
|
+
for one with the `identifier` element populated and then uses that value
|
95
|
+
as the queried `identifier` value. If a value cannot be found this way,
|
96
|
+
the search test is skipped for that search parameter.
|
97
|
+
|
98
|
+
### Search Validation
|
99
|
+
Inferno will retrieve all bundle pages of the reply for
|
100
|
+
Organization resources. Each of the returned instances
|
101
|
+
is then checked to see if it matches the searched
|
102
|
+
parameters in accordance with [FHIR search
|
103
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
104
|
+
for example, if a Plan-Net Organization search for `partof=X`
|
105
|
+
returns a Plan-Net Organization instance where `partof!=X`
|
106
|
+
|
107
|
+
|
108
|
+
## _include Requirement Testing
|
109
|
+
This test sequence will perform a search with each required _include search
|
110
|
+
parameter associated with this profile. This sequence will perform searches with the
|
111
|
+
following includes:
|
112
|
+
|
113
|
+
* Organization:partof
|
114
|
+
* Organization:endpoint
|
115
|
+
* Organization:coverage-area
|
116
|
+
|
117
|
+
Each _include search will look for a candidate id that has the target reference element
|
118
|
+
populated from the results of instance gathering. Each search will use the identified
|
119
|
+
Plan-Net Organization id and the include parameter.
|
120
|
+
The returned instances are checked to ensure that any instances of the included
|
121
|
+
type are referenced by returned instances of the searched resource type.
|
122
|
+
|
123
|
+
|
124
|
+
## _revinclude Requirement Testing
|
125
|
+
This test sequence will perform a search with each required _revinclude search
|
126
|
+
parameter associated with this resource. This sequence will perform searches with the
|
127
|
+
following revincludes:
|
128
|
+
|
129
|
+
* Endpoint:organization
|
130
|
+
* HealthcareService:organization
|
131
|
+
* InsurancePlan:administered-by
|
132
|
+
* InsurancePlan:owned-by
|
133
|
+
* OrganizationAffiliation:primary-organization
|
134
|
+
* PractitionerRole:organization
|
135
|
+
* OrganizationAffiliation:participating-organization
|
136
|
+
|
137
|
+
All _revinclude searches will look for candidate ids from the results of
|
138
|
+
instance gathering _only_ if tests are ran from the suite level. Each search
|
139
|
+
will use a Plan-Net Organization id that is referenced by an instance of the revincluded resource
|
140
|
+
in the element that is the target of the revinclude search parameter. The returned instances
|
141
|
+
are checked to ensure that any
|
142
|
+
instances of the revincluded type reference returned instances of the searched resource type.
|
143
|
+
|
144
|
+
If running from the group level, inputs of the form
|
145
|
+
"Organization instance ids referenced in [referencing profile].[referencing element]"
|
146
|
+
are provided for these tests. Enter ids of the Organization profile that
|
147
|
+
are referenced by the [referencing element] of an instance of the [referencing profile].
|
148
|
+
|
149
|
+
|
150
|
+
## Forward Chaining Requirement Testing
|
151
|
+
This test sequence will perform a search with each required combination of forward chaining
|
152
|
+
search parameters. This sequence will perform searches with the following chaining parameters:
|
153
|
+
|
154
|
+
| Search Parameters | Chain Requirements |
|
155
|
+
| :---: | :---: |
|
156
|
+
| partof | name, address, type |
|
157
|
+
| endpoint | organization |
|
158
|
+
|
159
|
+
|
160
|
+
All forward chain searches will look for candidate instances of the resource being chained through
|
161
|
+
from the results of previously run _include tests. Candidates are chosen from previously returned
|
162
|
+
instances that have the chain parameter element filled. Each search test will use one of these values
|
163
|
+
to build the requests for the test. The test will be skipped if no candidates can be found.
|
164
|
+
|
165
|
+
The test will first create and execute the forward chaining request.
|
166
|
+
The test will then perform a basic search test on the resource being chained through,
|
167
|
+
using the same value in the previous request. Each resource returned in the first
|
168
|
+
request will then be checked, validating that the element being chained through is populated by
|
169
|
+
the id of _any_ of the resources returned by the second request.
|
170
|
+
|
171
|
+
|
172
|
+
## Reverse Chaining Requirement Testing
|
173
|
+
This test sequence will perform a search with each required combination of reverse chaining
|
174
|
+
search parameters, including the following combinations:
|
175
|
+
|
176
|
+
* OrganizationAffiliation:participating-organization:location
|
177
|
+
* OrganizationAffiliation:participating-organization:network
|
178
|
+
* OrganizationAffiliation:participating-organization:specialty
|
179
|
+
* InsurancePlan:owned-by:coverage-area
|
180
|
+
|
181
|
+
All reverse chain searches will look for candidate instances from the results of
|
182
|
+
previous tests _only_ if tests are ran from the suite level. Candidates are
|
183
|
+
selected by checking they have both the second (reference element) and third (constraining element) elements
|
184
|
+
populated. The search value will be taken from the constraining element on the
|
185
|
+
identified candidate.
|
186
|
+
|
187
|
+
If running from the profile level, inputs of the form
|
188
|
+
"'[constraining element]' value from a [source resource type] instance with '[reference element]' populated"
|
189
|
+
are provided for these tests upon test start. Enter a value from the [constraining element] element
|
190
|
+
of an instance of a [source resource type] resource that also contains a reference to
|
191
|
+
the tested Organization in its [reference element] element. The input will
|
192
|
+
be used as the search value.
|
193
|
+
|
194
|
+
The test will first create and execute a request with the chain parameter.
|
195
|
+
The test will then perform a search against the [source resource type] with
|
196
|
+
the [constraining] SeachParameter using the same search value. Each resource returned in the first
|
197
|
+
request will then be checked, validating that the ids of those resources are also referenced
|
198
|
+
by _any_ of the resources returned by the second request in its [reference element] element.
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
## Profile Validation
|
203
|
+
Each resource identified during instance gathering and other queries run during this test sequence
|
204
|
+
is expected to conform to the [Plan-Net Organization](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition/plannet-Organization). Each element is checked
|
205
|
+
by the HL7 Validator against terminology binding and cardinality requirements. Elements with a
|
206
|
+
required binding are validated against their bound ValueSet. If the code/system in the element
|
207
|
+
is not part of the ValueSet, then the test will fail.
|
208
|
+
|
209
|
+
## Must Support
|
210
|
+
Each profile contains elements marked as "must support". This test
|
211
|
+
sequence expects to see each of these elements populated at least once.
|
212
|
+
The test will look through the Plan-Net Organization instances identified
|
213
|
+
during instance gathering and other queries run during this test sequence.
|
214
|
+
If no populated instance can be found for any must support element, the test
|
215
|
+
will fail.
|
216
|
+
|
217
|
+
## Reference Validation
|
218
|
+
At least one instance of each external reference in elements marked as
|
219
|
+
"must support" within the resources provided by the system must resolve.
|
220
|
+
The test will attempt to read each reference found and will fail if no
|
221
|
+
read succeeds.
|
222
|
+
|
223
|
+
)
|
224
|
+
|
225
|
+
id :davinci_plan_net_v110_organization
|
226
|
+
run_as_group
|
227
|
+
|
228
|
+
def self.metadata
|
229
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'organization', 'metadata.yml'), aliases: true))
|
230
|
+
end
|
231
|
+
|
232
|
+
test from: :davinci_plan_net_v110_organization_no_params_search_test
|
233
|
+
test from: :davinci_plan_net_v110_organization_read_test
|
234
|
+
test from: :davinci_plan_net_v110_organization_partof_search_test
|
235
|
+
test from: :davinci_plan_net_v110_organization_endpoint_search_test
|
236
|
+
test from: :davinci_plan_net_v110_organization_address_search_test
|
237
|
+
test from: :davinci_plan_net_v110_organization_name_search_test
|
238
|
+
test from: :davinci_plan_net_v110_organization__id_search_test
|
239
|
+
test from: :davinci_plan_net_v110_organization__lastUpdated_search_test
|
240
|
+
test from: :davinci_plan_net_v110_organization_type_search_test
|
241
|
+
test from: :davinci_plan_net_v110_organization_coverage_area_search_test
|
242
|
+
test from: :davinci_plan_net_v110_include_organization_organization_partof_search_test
|
243
|
+
test from: :davinci_plan_net_v110_include_organization_organization_endpoint_search_test
|
244
|
+
test from: :davinci_plan_net_v110_include_organization_organization_coverage_area_search_test
|
245
|
+
test from: :davinci_plan_net_v110_revinclude_organization_endpoint_organization_search_test
|
246
|
+
test from: :davinci_plan_net_v110_revinclude_organization_healthcare_service_organization_search_test
|
247
|
+
test from: :davinci_plan_net_v110_revinclude_organization_insurance_plan_administered_by_search_test
|
248
|
+
test from: :davinci_plan_net_v110_revinclude_organization_insurance_plan_owned_by_search_test
|
249
|
+
test from: :davinci_plan_net_v110_revinclude_organization_organization_affiliation_primary_organization_search_test
|
250
|
+
test from: :davinci_plan_net_v110_revinclude_organization_practitioner_role_organization_search_test
|
251
|
+
test from: :davinci_plan_net_v110_revinclude_organization_organization_affiliation_participating_organization_search_test
|
252
|
+
test from: :davinci_plan_net_v110_forward_chain_partof_name_search_test
|
253
|
+
test from: :davinci_plan_net_v110_forward_chain_partof_address_search_test
|
254
|
+
test from: :davinci_plan_net_v110_forward_chain_partof_type_search_test
|
255
|
+
test from: :davinci_plan_net_v110_forward_chain_endpoint_organization_search_test
|
256
|
+
test from: :davinci_plan_net_v110_organization_reverse_chain_org_affil_participating_organization_location_search_test
|
257
|
+
test from: :davinci_plan_net_v110_organization_reverse_chain_org_affil_participating_organization_network_search_test
|
258
|
+
test from: :davinci_plan_net_v110_organization_reverse_chain_org_affil_participating_organization_specialty_search_test
|
259
|
+
test from: :davinci_plan_net_v110_organization_reverse_chain_insurance_plan_owned_by_coverage_area_search_test
|
260
|
+
test from: :davinci_plan_net_v110_organization_validation_test
|
261
|
+
test from: :davinci_plan_net_v110_organization_must_support_test
|
262
|
+
test from: :davinci_plan_net_v110_organization_reference_resolution_test
|
263
|
+
end
|
264
|
+
end
|
265
|
+
end
|
@@ -0,0 +1,253 @@
|
|
1
|
+
---
|
2
|
+
:name: plannet_Practitioner
|
3
|
+
:class_name: PlannetPractitionerSequence
|
4
|
+
:version: v1.1.0
|
5
|
+
:reformatted_version: v110
|
6
|
+
:resource: Practitioner
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Practitioner
|
8
|
+
:versioned_profile_url: http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition/plannet-Practitioner
|
9
|
+
:profile_name: Plan-Net Practitioner
|
10
|
+
:profile_version: 1.1.0
|
11
|
+
:title: Plan-Net Practitioner
|
12
|
+
:short_description: Verify support for the server capabilities required by the Plan-Net
|
13
|
+
Practitioner.
|
14
|
+
:interactions:
|
15
|
+
- :code: search-type
|
16
|
+
:expectation: SHALL
|
17
|
+
- :code: read
|
18
|
+
:expectation: SHALL
|
19
|
+
- :code: vread
|
20
|
+
:expectation: SHOULD
|
21
|
+
:operations: []
|
22
|
+
:searches:
|
23
|
+
- :names:
|
24
|
+
- name
|
25
|
+
:expectation: SHALL
|
26
|
+
:names_not_must_support_or_mandatory: []
|
27
|
+
:must_support_or_mandatory: true
|
28
|
+
- :names:
|
29
|
+
- _id
|
30
|
+
:expectation: SHALL
|
31
|
+
:names_not_must_support_or_mandatory: []
|
32
|
+
:must_support_or_mandatory: true
|
33
|
+
- :names:
|
34
|
+
- _lastUpdated
|
35
|
+
:expectation: SHALL
|
36
|
+
:names_not_must_support_or_mandatory:
|
37
|
+
- _lastUpdated
|
38
|
+
:must_support_or_mandatory: false
|
39
|
+
- :names:
|
40
|
+
- family
|
41
|
+
:expectation: SHALL
|
42
|
+
:names_not_must_support_or_mandatory: []
|
43
|
+
:must_support_or_mandatory: true
|
44
|
+
- :names:
|
45
|
+
- given
|
46
|
+
:expectation: SHALL
|
47
|
+
:names_not_must_support_or_mandatory: []
|
48
|
+
:must_support_or_mandatory: true
|
49
|
+
:search_definitions:
|
50
|
+
:name:
|
51
|
+
:paths:
|
52
|
+
- name
|
53
|
+
:full_paths:
|
54
|
+
- Practitioner.name
|
55
|
+
:comparators: {}
|
56
|
+
:values: []
|
57
|
+
:type: HumanName
|
58
|
+
:contains_multiple: true
|
59
|
+
:multiple_or: ''
|
60
|
+
:_id:
|
61
|
+
:paths:
|
62
|
+
- Resource.id
|
63
|
+
:full_paths:
|
64
|
+
- Resource.id
|
65
|
+
:comparators: {}
|
66
|
+
:values: []
|
67
|
+
:type: token
|
68
|
+
:contains_multiple: false
|
69
|
+
:multiple_or: ''
|
70
|
+
:_lastUpdated:
|
71
|
+
:paths:
|
72
|
+
- Resource.meta.lastUpdated
|
73
|
+
:full_paths:
|
74
|
+
- Resource.meta.lastUpdated
|
75
|
+
:comparators:
|
76
|
+
:eq: MAY
|
77
|
+
:ne: MAY
|
78
|
+
:gt: MAY
|
79
|
+
:ge: MAY
|
80
|
+
:lt: MAY
|
81
|
+
:le: MAY
|
82
|
+
:sa: MAY
|
83
|
+
:eb: MAY
|
84
|
+
:ap: MAY
|
85
|
+
:values: []
|
86
|
+
:type: date
|
87
|
+
:contains_multiple: false
|
88
|
+
:multiple_or: ''
|
89
|
+
:family:
|
90
|
+
:paths:
|
91
|
+
- name.family
|
92
|
+
:full_paths:
|
93
|
+
- Practitioner.name.family
|
94
|
+
:comparators: {}
|
95
|
+
:values: []
|
96
|
+
:type: string
|
97
|
+
:contains_multiple: false
|
98
|
+
:multiple_or: ''
|
99
|
+
:given:
|
100
|
+
:paths:
|
101
|
+
- name.given
|
102
|
+
:full_paths:
|
103
|
+
- Practitioner.name.given
|
104
|
+
:comparators: {}
|
105
|
+
:values: []
|
106
|
+
:type: string
|
107
|
+
:contains_multiple: true
|
108
|
+
:multiple_or: ''
|
109
|
+
:include_params: []
|
110
|
+
:revincludes:
|
111
|
+
- PractitionerRole:practitioner
|
112
|
+
:required_concepts: []
|
113
|
+
:must_supports:
|
114
|
+
:extensions:
|
115
|
+
- :id: Practitioner.address.extension:geolocation
|
116
|
+
:url: http://hl7.org/fhir/StructureDefinition/geolocation
|
117
|
+
- :id: Practitioner.qualification.extension:practitioner-qualification
|
118
|
+
:url: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/practitioner-qualification
|
119
|
+
- :id: Practitioner.communication.extension:communication-proficiency
|
120
|
+
:url: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/communication-proficiency
|
121
|
+
:slices:
|
122
|
+
- :name: Practitioner.identifier:NPI
|
123
|
+
:path: identifier
|
124
|
+
:discriminator:
|
125
|
+
:type: patternIdentifier
|
126
|
+
:path: ''
|
127
|
+
:system: http://hl7.org/fhir/sid/us-npi
|
128
|
+
:elements:
|
129
|
+
- :path: identifier
|
130
|
+
- :path: identifier.type
|
131
|
+
- :path: identifier.system
|
132
|
+
- :path: identifier.value
|
133
|
+
- :path: active
|
134
|
+
- :path: name
|
135
|
+
- :path: name.text
|
136
|
+
- :path: name.family
|
137
|
+
- :path: name.given
|
138
|
+
- :path: telecom
|
139
|
+
- :path: address
|
140
|
+
- :path: qualification
|
141
|
+
- :path: qualification.identifier
|
142
|
+
- :path: qualification.code
|
143
|
+
- :path: qualification.period
|
144
|
+
- :path: qualification.issuer
|
145
|
+
:types:
|
146
|
+
- Reference
|
147
|
+
- :path: communication
|
148
|
+
:mandatory_elements:
|
149
|
+
- Practitioner.meta.lastUpdated
|
150
|
+
- Practitioner.identifier
|
151
|
+
- Practitioner.identifier.system
|
152
|
+
- Practitioner.identifier.value
|
153
|
+
- Practitioner.active
|
154
|
+
- Practitioner.name
|
155
|
+
- Practitioner.name.family
|
156
|
+
- Practitioner.qualification.code
|
157
|
+
:bindings:
|
158
|
+
- :type: code
|
159
|
+
:strength: required
|
160
|
+
:system: http://hl7.org/fhir/ValueSet/identifier-use
|
161
|
+
:path: identifier.use
|
162
|
+
- :type: code
|
163
|
+
:strength: required
|
164
|
+
:system: http://hl7.org/fhir/ValueSet/name-use
|
165
|
+
:path: name.use
|
166
|
+
- :type: code
|
167
|
+
:strength: required
|
168
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-system
|
169
|
+
:path: telecom.system
|
170
|
+
- :type: code
|
171
|
+
:strength: required
|
172
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-use
|
173
|
+
:path: telecom.use
|
174
|
+
- :type: code
|
175
|
+
:strength: required
|
176
|
+
:system: http://hl7.org/fhir/ValueSet/address-use
|
177
|
+
:path: address.use
|
178
|
+
- :type: code
|
179
|
+
:strength: required
|
180
|
+
:system: http://hl7.org/fhir/ValueSet/address-type
|
181
|
+
:path: address.type
|
182
|
+
- :type: code
|
183
|
+
:strength: required
|
184
|
+
:system: http://hl7.org/fhir/ValueSet/administrative-gender
|
185
|
+
:path: gender
|
186
|
+
- :type: code
|
187
|
+
:strength: required
|
188
|
+
:system: http://hl7.org/fhir/ValueSet/days-of-week
|
189
|
+
:path: value
|
190
|
+
:extensions:
|
191
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/contactpoint-availabletime
|
192
|
+
- daysOfWeek
|
193
|
+
- :type: code
|
194
|
+
:strength: required
|
195
|
+
:system: http://hl7.org/fhir/us/davinci-pdex-plan-net/ValueSet/QualificationStatusVS
|
196
|
+
:path: value
|
197
|
+
:extensions:
|
198
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/practitioner-qualification
|
199
|
+
- status
|
200
|
+
- :type: CodeableConcept
|
201
|
+
:strength: required
|
202
|
+
:system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
|
203
|
+
:path: value
|
204
|
+
:extensions:
|
205
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/practitioner-qualification
|
206
|
+
- whereValid
|
207
|
+
- :type: CodeableConcept
|
208
|
+
:strength: required
|
209
|
+
:system: http://hl7.org/fhir/us/davinci-pdex-plan-net/ValueSet/LanguageProficiencyVS
|
210
|
+
:path: value
|
211
|
+
:extensions:
|
212
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/communication-proficiency
|
213
|
+
:references:
|
214
|
+
- :path: Practitioner.identifier.assigner
|
215
|
+
:profiles:
|
216
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
217
|
+
- :path: Practitioner.qualification.issuer
|
218
|
+
:profiles:
|
219
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
220
|
+
:tests:
|
221
|
+
- :id: davinci_plan_net_v110_practitioner_no_params_search_test
|
222
|
+
:file_name: practitioner_no_params_search_test.rb
|
223
|
+
- :id: davinci_plan_net_v110_practitioner_read_test
|
224
|
+
:file_name: practitioner_read_test.rb
|
225
|
+
- :id: davinci_plan_net_v110_practitioner_name_search_test
|
226
|
+
:file_name: practitioner_name_search_test.rb
|
227
|
+
- :id: davinci_plan_net_v110_practitioner__id_search_test
|
228
|
+
:file_name: practitioner_id_search_test.rb
|
229
|
+
- :id: davinci_plan_net_v110_practitioner__lastUpdated_search_test
|
230
|
+
:file_name: practitioner_lastupdated_search_test.rb
|
231
|
+
- :id: davinci_plan_net_v110_practitioner_family_search_test
|
232
|
+
:file_name: practitioner_family_search_test.rb
|
233
|
+
- :id: davinci_plan_net_v110_practitioner_given_search_test
|
234
|
+
:file_name: practitioner_given_search_test.rb
|
235
|
+
- :id: davinci_plan_net_v110_revinclude_practitioner_practitioner_role_practitioner_search_test
|
236
|
+
:file_name: practitioner_revinclude_practitioner_role_practitioner_search_test.rb
|
237
|
+
- :id: davinci_plan_net_v110_practitioner_reverse_chain_practitioner_role_practitioner_location_search_test
|
238
|
+
:file_name: practitioner_reverse_chain_practitioner_role_practitioner_location_search_test.rb
|
239
|
+
- :id: davinci_plan_net_v110_practitioner_reverse_chain_practitioner_role_practitioner_network_search_test
|
240
|
+
:file_name: practitioner_reverse_chain_practitioner_role_practitioner_network_search_test.rb
|
241
|
+
- :id: davinci_plan_net_v110_practitioner_reverse_chain_practitioner_role_practitioner_specialty_search_test
|
242
|
+
:file_name: practitioner_reverse_chain_practitioner_role_practitioner_specialty_search_test.rb
|
243
|
+
- :id: davinci_plan_net_v110_practitioner_reverse_chain_practitioner_role_practitioner_role_search_test
|
244
|
+
:file_name: practitioner_reverse_chain_practitioner_role_practitioner_role_search_test.rb
|
245
|
+
- :id: davinci_plan_net_v110_practitioner_validation_test
|
246
|
+
:file_name: practitioner_validation_test.rb
|
247
|
+
- :id: davinci_plan_net_v110_practitioner_must_support_test
|
248
|
+
:file_name: practitioner_must_support_test.rb
|
249
|
+
- :id: davinci_plan_net_v110_practitioner_reference_resolution_test
|
250
|
+
:file_name: practitioner_reference_resolution_test.rb
|
251
|
+
:id: davinci_plan_net_v110_practitioner
|
252
|
+
:file_name: practitioner_group.rb
|
253
|
+
:delayed_references: []
|
data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_family_search_test.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module DaVinciPlanNetV110
|
6
|
+
class PractitionerFamilySearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by family'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
family on the Practitioner resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[Plan Net Server CapabilityStatement](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/CapabilityStatement/plan-net)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :davinci_plan_net_v110_practitioner_family_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Practitioner',
|
24
|
+
search_param_names: ['family']
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
30
|
+
end
|
31
|
+
|
32
|
+
def scratch_resources
|
33
|
+
scratch[:practitioner_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_given_search_test.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module DaVinciPlanNetV110
|
6
|
+
class PractitionerGivenSearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by given'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
given on the Practitioner resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[Plan Net Server CapabilityStatement](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/CapabilityStatement/plan-net)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :davinci_plan_net_v110_practitioner_given_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Practitioner',
|
24
|
+
search_param_names: ['given']
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
30
|
+
end
|
31
|
+
|
32
|
+
def scratch_resources
|
33
|
+
scratch[:practitioner_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner/practitioner_id_search_test.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module DaVinciPlanNetV110
|
6
|
+
class PractitionerIdSearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Practitioner search by _id'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
_id on the Practitioner resource. This test
|
13
|
+
will pass if resources are returned and match the search criteria. If
|
14
|
+
none are returned, the test is skipped.
|
15
|
+
|
16
|
+
[Plan Net Server CapabilityStatement](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/CapabilityStatement/plan-net)
|
17
|
+
|
18
|
+
)
|
19
|
+
|
20
|
+
id :davinci_plan_net_v110_practitioner__id_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Practitioner',
|
24
|
+
search_param_names: ['_id']
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
30
|
+
end
|
31
|
+
|
32
|
+
def scratch_resources
|
33
|
+
scratch[:practitioner_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|