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
@@ -0,0 +1,368 @@
|
|
1
|
+
---
|
2
|
+
:name: plannet_InsurancePlan
|
3
|
+
:class_name: PlannetInsuranceplanSequence
|
4
|
+
:version: v1.1.0
|
5
|
+
:reformatted_version: v110
|
6
|
+
:resource: InsurancePlan
|
7
|
+
:profile_url: http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-InsurancePlan
|
8
|
+
:versioned_profile_url: http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition/plannet-InsurancePlan
|
9
|
+
:profile_name: Plan-Net InsurancePlan
|
10
|
+
:profile_version: 1.1.0
|
11
|
+
:title: Plan-Net InsurancePlan
|
12
|
+
:short_description: Verify support for the server capabilities required by the Plan-Net
|
13
|
+
InsurancePlan.
|
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
|
+
- administered-by
|
25
|
+
:expectation: SHALL
|
26
|
+
:names_not_must_support_or_mandatory: []
|
27
|
+
:must_support_or_mandatory: true
|
28
|
+
- :names:
|
29
|
+
- owned-by
|
30
|
+
:expectation: SHALL
|
31
|
+
:names_not_must_support_or_mandatory: []
|
32
|
+
:must_support_or_mandatory: true
|
33
|
+
- :names:
|
34
|
+
- coverage-area
|
35
|
+
:expectation: SHALL
|
36
|
+
:names_not_must_support_or_mandatory: []
|
37
|
+
:must_support_or_mandatory: true
|
38
|
+
- :names:
|
39
|
+
- name
|
40
|
+
:expectation: SHALL
|
41
|
+
:names_not_must_support_or_mandatory: []
|
42
|
+
:must_support_or_mandatory: true
|
43
|
+
- :names:
|
44
|
+
- plan-type
|
45
|
+
:expectation: SHALL
|
46
|
+
:names_not_must_support_or_mandatory: []
|
47
|
+
:must_support_or_mandatory: true
|
48
|
+
- :names:
|
49
|
+
- identifier
|
50
|
+
:expectation: SHALL
|
51
|
+
:names_not_must_support_or_mandatory:
|
52
|
+
- identifier
|
53
|
+
:must_support_or_mandatory: false
|
54
|
+
- :names:
|
55
|
+
- _id
|
56
|
+
:expectation: SHALL
|
57
|
+
:names_not_must_support_or_mandatory: []
|
58
|
+
:must_support_or_mandatory: true
|
59
|
+
- :names:
|
60
|
+
- _lastUpdated
|
61
|
+
:expectation: SHALL
|
62
|
+
:names_not_must_support_or_mandatory:
|
63
|
+
- _lastUpdated
|
64
|
+
:must_support_or_mandatory: false
|
65
|
+
- :names:
|
66
|
+
- type
|
67
|
+
:expectation: SHALL
|
68
|
+
:names_not_must_support_or_mandatory: []
|
69
|
+
:must_support_or_mandatory: true
|
70
|
+
:search_definitions:
|
71
|
+
:administered-by:
|
72
|
+
:paths:
|
73
|
+
- administeredBy
|
74
|
+
:full_paths:
|
75
|
+
- InsurancePlan.administeredBy
|
76
|
+
:comparators: {}
|
77
|
+
:values: []
|
78
|
+
:type: Reference
|
79
|
+
:target: Organization
|
80
|
+
:contains_multiple: false
|
81
|
+
:multiple_or: ''
|
82
|
+
:chain:
|
83
|
+
- :chain: name
|
84
|
+
:expectation: SHALL
|
85
|
+
- :chain: partof
|
86
|
+
:expectation: SHALL
|
87
|
+
:owned-by:
|
88
|
+
:paths:
|
89
|
+
- ownedBy
|
90
|
+
:full_paths:
|
91
|
+
- InsurancePlan.ownedBy
|
92
|
+
:comparators: {}
|
93
|
+
:values: []
|
94
|
+
:type: Reference
|
95
|
+
:target: Organization
|
96
|
+
:contains_multiple: false
|
97
|
+
:multiple_or: ''
|
98
|
+
:chain:
|
99
|
+
- :chain: name
|
100
|
+
:expectation: SHALL
|
101
|
+
- :chain: partof
|
102
|
+
:expectation: SHALL
|
103
|
+
:coverage-area:
|
104
|
+
:paths:
|
105
|
+
- coverageArea
|
106
|
+
:full_paths:
|
107
|
+
- InsurancePlan.coverageArea
|
108
|
+
:comparators: {}
|
109
|
+
:values: []
|
110
|
+
:type: Reference
|
111
|
+
:target: Location
|
112
|
+
:contains_multiple: true
|
113
|
+
:multiple_or: ''
|
114
|
+
:name:
|
115
|
+
:paths:
|
116
|
+
- name
|
117
|
+
- alias
|
118
|
+
:full_paths:
|
119
|
+
- name
|
120
|
+
- alias
|
121
|
+
:comparators: {}
|
122
|
+
:values: []
|
123
|
+
:type: string
|
124
|
+
:contains_multiple: false
|
125
|
+
:multiple_or: ''
|
126
|
+
:plan-type:
|
127
|
+
:paths:
|
128
|
+
- plan.type
|
129
|
+
:full_paths:
|
130
|
+
- InsurancePlan.plan.type
|
131
|
+
:comparators: {}
|
132
|
+
:values:
|
133
|
+
- platinum
|
134
|
+
- gold
|
135
|
+
- silver
|
136
|
+
- bronze
|
137
|
+
- catastrophic
|
138
|
+
- lowdeductible
|
139
|
+
- highdeductible
|
140
|
+
- catastrophicplan
|
141
|
+
:type: CodeableConcept
|
142
|
+
:contains_multiple: false
|
143
|
+
:multiple_or: ''
|
144
|
+
:identifier:
|
145
|
+
:paths:
|
146
|
+
- identifier
|
147
|
+
:full_paths:
|
148
|
+
- InsurancePlan.identifier
|
149
|
+
:comparators: {}
|
150
|
+
:values: []
|
151
|
+
:type: Identifier
|
152
|
+
:contains_multiple: true
|
153
|
+
:multiple_or: ''
|
154
|
+
:_id:
|
155
|
+
:paths:
|
156
|
+
- Resource.id
|
157
|
+
:full_paths:
|
158
|
+
- Resource.id
|
159
|
+
:comparators: {}
|
160
|
+
:values: []
|
161
|
+
:type: token
|
162
|
+
:contains_multiple: false
|
163
|
+
:multiple_or: ''
|
164
|
+
:_lastUpdated:
|
165
|
+
:paths:
|
166
|
+
- Resource.meta.lastUpdated
|
167
|
+
:full_paths:
|
168
|
+
- Resource.meta.lastUpdated
|
169
|
+
:comparators:
|
170
|
+
:eq: MAY
|
171
|
+
:ne: MAY
|
172
|
+
:gt: MAY
|
173
|
+
:ge: MAY
|
174
|
+
:lt: MAY
|
175
|
+
:le: MAY
|
176
|
+
:sa: MAY
|
177
|
+
:eb: MAY
|
178
|
+
:ap: MAY
|
179
|
+
:values: []
|
180
|
+
:type: date
|
181
|
+
:contains_multiple: false
|
182
|
+
:multiple_or: ''
|
183
|
+
:type:
|
184
|
+
:paths:
|
185
|
+
- type
|
186
|
+
:full_paths:
|
187
|
+
- InsurancePlan.type
|
188
|
+
:comparators: {}
|
189
|
+
:values:
|
190
|
+
- commppo
|
191
|
+
- commhdhp
|
192
|
+
- commpos
|
193
|
+
- commhmo
|
194
|
+
- commepo
|
195
|
+
- medi
|
196
|
+
- medihmo
|
197
|
+
- mediadv
|
198
|
+
- mediadvhmo
|
199
|
+
- media
|
200
|
+
- medib
|
201
|
+
- medid
|
202
|
+
- mediab
|
203
|
+
- qhp
|
204
|
+
- ihs
|
205
|
+
- fep
|
206
|
+
- tri
|
207
|
+
- va
|
208
|
+
- dent
|
209
|
+
- denthmo
|
210
|
+
- vis
|
211
|
+
- vishmo
|
212
|
+
:type: CodeableConcept
|
213
|
+
:contains_multiple: false
|
214
|
+
:multiple_or: ''
|
215
|
+
:include_params:
|
216
|
+
- InsurancePlan:administered-by
|
217
|
+
- InsurancePlan:owned-by
|
218
|
+
- InsurancePlan:coverage-area
|
219
|
+
:revincludes: []
|
220
|
+
:required_concepts:
|
221
|
+
- plan.specificCost.benefit.cost.applicability
|
222
|
+
:must_supports:
|
223
|
+
:extensions: []
|
224
|
+
:slices: []
|
225
|
+
:elements:
|
226
|
+
- :path: identifier.type
|
227
|
+
- :path: identifier.value
|
228
|
+
- :path: identifier.assigner
|
229
|
+
:types:
|
230
|
+
- Reference
|
231
|
+
- :path: status
|
232
|
+
:fixed_value: active
|
233
|
+
- :path: type
|
234
|
+
- :path: name
|
235
|
+
- :path: alias
|
236
|
+
- :path: period
|
237
|
+
- :path: ownedBy
|
238
|
+
:types:
|
239
|
+
- Reference
|
240
|
+
- :path: administeredBy
|
241
|
+
:types:
|
242
|
+
- Reference
|
243
|
+
- :path: coverageArea
|
244
|
+
:types:
|
245
|
+
- Reference
|
246
|
+
- :path: contact
|
247
|
+
- :path: contact.name
|
248
|
+
- :path: contact.name.text
|
249
|
+
- :path: contact.telecom
|
250
|
+
- :path: contact.telecom.system
|
251
|
+
- :path: contact.telecom.value
|
252
|
+
- :path: endpoint
|
253
|
+
:types:
|
254
|
+
- Reference
|
255
|
+
- :path: network
|
256
|
+
:types:
|
257
|
+
- Reference
|
258
|
+
- :path: plan.type
|
259
|
+
- :path: plan.coverageArea
|
260
|
+
:types:
|
261
|
+
- Reference
|
262
|
+
:mandatory_elements:
|
263
|
+
- InsurancePlan.meta.lastUpdated
|
264
|
+
- InsurancePlan.status
|
265
|
+
- InsurancePlan.type
|
266
|
+
- InsurancePlan.ownedBy
|
267
|
+
- InsurancePlan.administeredBy
|
268
|
+
- InsurancePlan.coverage.type
|
269
|
+
- InsurancePlan.coverage.benefit
|
270
|
+
- InsurancePlan.coverage.benefit.type
|
271
|
+
- InsurancePlan.plan.specificCost.category
|
272
|
+
- InsurancePlan.plan.specificCost.benefit.type
|
273
|
+
- InsurancePlan.plan.specificCost.benefit.cost.type
|
274
|
+
:bindings:
|
275
|
+
- :type: code
|
276
|
+
:strength: required
|
277
|
+
:system: http://hl7.org/fhir/ValueSet/identifier-use
|
278
|
+
:path: identifier.use
|
279
|
+
- :type: code
|
280
|
+
:strength: required
|
281
|
+
:system: http://hl7.org/fhir/ValueSet/name-use
|
282
|
+
:path: contact.name.use
|
283
|
+
- :type: code
|
284
|
+
:strength: required
|
285
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-system
|
286
|
+
:path: contact.telecom.system
|
287
|
+
- :type: code
|
288
|
+
:strength: required
|
289
|
+
:system: http://hl7.org/fhir/ValueSet/contact-point-use
|
290
|
+
:path: contact.telecom.use
|
291
|
+
- :type: CodeableConcept
|
292
|
+
:strength: required
|
293
|
+
:system: http://hl7.org/fhir/ValueSet/insuranceplan-applicability
|
294
|
+
:path: plan.specificCost.benefit.cost.applicability
|
295
|
+
:references:
|
296
|
+
- :path: InsurancePlan.identifier.assigner
|
297
|
+
:profiles:
|
298
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
299
|
+
- :path: InsurancePlan.ownedBy
|
300
|
+
:profiles:
|
301
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization
|
302
|
+
- :path: InsurancePlan.administeredBy
|
303
|
+
:profiles:
|
304
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization
|
305
|
+
- :path: InsurancePlan.coverageArea
|
306
|
+
:profiles:
|
307
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Location
|
308
|
+
- :path: InsurancePlan.endpoint
|
309
|
+
:profiles:
|
310
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Endpoint
|
311
|
+
- :path: InsurancePlan.network
|
312
|
+
:profiles:
|
313
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Network
|
314
|
+
- :path: InsurancePlan.coverage.network
|
315
|
+
:profiles:
|
316
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
317
|
+
- :path: InsurancePlan.plan.coverageArea
|
318
|
+
:profiles:
|
319
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Location
|
320
|
+
- :path: InsurancePlan.plan.network
|
321
|
+
:profiles:
|
322
|
+
- http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Network
|
323
|
+
:tests:
|
324
|
+
- :id: davinci_plan_net_v110_insurance_plan_no_params_search_test
|
325
|
+
:file_name: insurance_plan_no_params_search_test.rb
|
326
|
+
- :id: davinci_plan_net_v110_insurance_plan_read_test
|
327
|
+
:file_name: insurance_plan_read_test.rb
|
328
|
+
- :id: davinci_plan_net_v110_insurance_plan_administered_by_search_test
|
329
|
+
:file_name: insurance_plan_administered_by_search_test.rb
|
330
|
+
- :id: davinci_plan_net_v110_insurance_plan_owned_by_search_test
|
331
|
+
:file_name: insurance_plan_owned_by_search_test.rb
|
332
|
+
- :id: davinci_plan_net_v110_insurance_plan_coverage_area_search_test
|
333
|
+
:file_name: insurance_plan_coverage_area_search_test.rb
|
334
|
+
- :id: davinci_plan_net_v110_insurance_plan_name_search_test
|
335
|
+
:file_name: insurance_plan_name_search_test.rb
|
336
|
+
- :id: davinci_plan_net_v110_insurance_plan_plan_type_search_test
|
337
|
+
:file_name: insurance_plan_plan_type_search_test.rb
|
338
|
+
- :id: davinci_plan_net_v110_insurance_plan_identifier_search_test
|
339
|
+
:file_name: insurance_plan_identifier_search_test.rb
|
340
|
+
- :id: davinci_plan_net_v110_insurance_plan__id_search_test
|
341
|
+
:file_name: insurance_plan_id_search_test.rb
|
342
|
+
- :id: davinci_plan_net_v110_insurance_plan__lastUpdated_search_test
|
343
|
+
:file_name: insurance_plan_lastupdated_search_test.rb
|
344
|
+
- :id: davinci_plan_net_v110_insurance_plan_type_search_test
|
345
|
+
:file_name: insurance_plan_type_search_test.rb
|
346
|
+
- :id: davinci_plan_net_v110_include_insurance_plan_insurance_plan_administered_by_search_test
|
347
|
+
:file_name: insurance_plan_include_insurance_plan_administered_by_search_test.rb
|
348
|
+
- :id: davinci_plan_net_v110_include_insurance_plan_insurance_plan_owned_by_search_test
|
349
|
+
:file_name: insurance_plan_include_insurance_plan_owned_by_search_test.rb
|
350
|
+
- :id: davinci_plan_net_v110_include_insurance_plan_insurance_plan_coverage_area_search_test
|
351
|
+
:file_name: insurance_plan_include_insurance_plan_coverage_area_search_test.rb
|
352
|
+
- :id: davinci_plan_net_v110_forward_chain_administered_by_name_search_test
|
353
|
+
:file_name: insurance_plan_forward_chain_administered_by_name_search_test.rb
|
354
|
+
- :id: davinci_plan_net_v110_forward_chain_administered_by_partof_search_test
|
355
|
+
:file_name: insurance_plan_forward_chain_administered_by_partof_search_test.rb
|
356
|
+
- :id: davinci_plan_net_v110_forward_chain_owned_by_name_search_test
|
357
|
+
:file_name: insurance_plan_forward_chain_owned_by_name_search_test.rb
|
358
|
+
- :id: davinci_plan_net_v110_forward_chain_owned_by_partof_search_test
|
359
|
+
:file_name: insurance_plan_forward_chain_owned_by_partof_search_test.rb
|
360
|
+
- :id: davinci_plan_net_v110_insurance_plan_validation_test
|
361
|
+
:file_name: insurance_plan_validation_test.rb
|
362
|
+
- :id: davinci_plan_net_v110_insurance_plan_must_support_test
|
363
|
+
:file_name: insurance_plan_must_support_test.rb
|
364
|
+
- :id: davinci_plan_net_v110_insurance_plan_reference_resolution_test
|
365
|
+
:file_name: insurance_plan_reference_resolution_test.rb
|
366
|
+
:id: davinci_plan_net_v110_insurance_plan
|
367
|
+
:file_name: insurance_plan_group.rb
|
368
|
+
:delayed_references: []
|
@@ -0,0 +1,193 @@
|
|
1
|
+
require_relative 'insurance_plan/insurance_plan_no_params_search_test'
|
2
|
+
require_relative 'insurance_plan/insurance_plan_read_test'
|
3
|
+
require_relative 'insurance_plan/insurance_plan_administered_by_search_test'
|
4
|
+
require_relative 'insurance_plan/insurance_plan_owned_by_search_test'
|
5
|
+
require_relative 'insurance_plan/insurance_plan_coverage_area_search_test'
|
6
|
+
require_relative 'insurance_plan/insurance_plan_name_search_test'
|
7
|
+
require_relative 'insurance_plan/insurance_plan_plan_type_search_test'
|
8
|
+
require_relative 'insurance_plan/insurance_plan_identifier_search_test'
|
9
|
+
require_relative 'insurance_plan/insurance_plan_id_search_test'
|
10
|
+
require_relative 'insurance_plan/insurance_plan_lastupdated_search_test'
|
11
|
+
require_relative 'insurance_plan/insurance_plan_type_search_test'
|
12
|
+
require_relative 'insurance_plan/insurance_plan_include_insurance_plan_administered_by_search_test'
|
13
|
+
require_relative 'insurance_plan/insurance_plan_include_insurance_plan_owned_by_search_test'
|
14
|
+
require_relative 'insurance_plan/insurance_plan_include_insurance_plan_coverage_area_search_test'
|
15
|
+
require_relative 'insurance_plan/insurance_plan_forward_chain_administered_by_name_search_test'
|
16
|
+
require_relative 'insurance_plan/insurance_plan_forward_chain_administered_by_partof_search_test'
|
17
|
+
require_relative 'insurance_plan/insurance_plan_forward_chain_owned_by_name_search_test'
|
18
|
+
require_relative 'insurance_plan/insurance_plan_forward_chain_owned_by_partof_search_test'
|
19
|
+
require_relative 'insurance_plan/insurance_plan_validation_test'
|
20
|
+
require_relative 'insurance_plan/insurance_plan_must_support_test'
|
21
|
+
require_relative 'insurance_plan/insurance_plan_reference_resolution_test'
|
22
|
+
|
23
|
+
module DaVinciPlanNetTestKit
|
24
|
+
module DaVinciPlanNetV110
|
25
|
+
class InsurancePlanGroup < Inferno::TestGroup
|
26
|
+
title 'Plan-Net InsurancePlan Tests'
|
27
|
+
short_description 'Verify support for the server capabilities required by the Plan-Net InsurancePlan.'
|
28
|
+
description %(
|
29
|
+
# Background
|
30
|
+
|
31
|
+
The Plan-Net InsurancePlan sequence verifies that the system under test is
|
32
|
+
able to provide correct responses for InsurancePlan queries. These queries
|
33
|
+
must return resources conforming to the Plan-Net InsurancePlan profile as
|
34
|
+
specified in the Plan Net v1.1.0 Implementation Guide.
|
35
|
+
|
36
|
+
# Testing Methodology
|
37
|
+
|
38
|
+
## Instance Gathering
|
39
|
+
|
40
|
+
Inferno will first identify and obtain a set of instances to use for the rest
|
41
|
+
of the tests, requiring at least one instance to be identified for the test to pass.
|
42
|
+
Instances to gather are indentified in two ways. One or both will be used,
|
43
|
+
depending on user input.
|
44
|
+
|
45
|
+
### Parameterless searches
|
46
|
+
Instances can be gathered using a query requesting all instances of InsurancePlan
|
47
|
+
(e.g., `GET [FHIR Endpoint]/InsurancePlan`).
|
48
|
+
Gathering through this method is controlled by the following inputs (used for all profiles):
|
49
|
+
- "Use parameterless searches to identify instances?":
|
50
|
+
parameterless searches can be disabled using this input if, for example,
|
51
|
+
the server under test does not support them, or not all instances on the server
|
52
|
+
should be expected to conform to Plan Net profiles. In this case the user **MUST**
|
53
|
+
provide specific instance ids to gather.
|
54
|
+
- "Maximum number of instances to gather using parameterless searches": sets an upper
|
55
|
+
bound on the number of instances Inferno will gather from parameterless searches.
|
56
|
+
- "Maximum pages of results to consider when using parameterless searches": sets an upper bound
|
57
|
+
on the number of pages of search results Inferno will load when gathering instances
|
58
|
+
using parameterless searches.
|
59
|
+
|
60
|
+
### User-provided instance ids
|
61
|
+
|
62
|
+
If ids are listed in the "ids of Plan-Net InsurancePlan instances" optional input,
|
63
|
+
they will be read and included at the start of the set of gathered instances.
|
64
|
+
|
65
|
+
|
66
|
+
## Searching
|
67
|
+
This test sequence will perform a search with each required search parameter
|
68
|
+
associated with this resource individually. Searches with the
|
69
|
+
following parameters will be performed:
|
70
|
+
|
71
|
+
* administered-by
|
72
|
+
* owned-by
|
73
|
+
* coverage-area
|
74
|
+
* name
|
75
|
+
* plan-type
|
76
|
+
* identifier
|
77
|
+
* _id
|
78
|
+
* _lastUpdated
|
79
|
+
* type
|
80
|
+
|
81
|
+
### Search Parameters
|
82
|
+
Each search will look for its parameter values
|
83
|
+
from the results of the instance gathering step. For example, for a search using
|
84
|
+
the `identifier` search parameter, the test searches the gathered instances
|
85
|
+
for one with the `identifier` element populated and then uses that value
|
86
|
+
as the queried `identifier` value. If a value cannot be found this way,
|
87
|
+
the search test is skipped for that search parameter.
|
88
|
+
|
89
|
+
### Search Validation
|
90
|
+
Inferno will retrieve all bundle pages of the reply for
|
91
|
+
InsurancePlan resources. Each of the returned instances
|
92
|
+
is then checked to see if it matches the searched
|
93
|
+
parameters in accordance with [FHIR search
|
94
|
+
guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
|
95
|
+
for example, if a Plan-Net InsurancePlan search for `administered-by=X`
|
96
|
+
returns a Plan-Net InsurancePlan instance where `administered-by!=X`
|
97
|
+
|
98
|
+
|
99
|
+
## _include Requirement Testing
|
100
|
+
This test sequence will perform a search with each required _include search
|
101
|
+
parameter associated with this profile. This sequence will perform searches with the
|
102
|
+
following includes:
|
103
|
+
|
104
|
+
* InsurancePlan:administered-by
|
105
|
+
* InsurancePlan:owned-by
|
106
|
+
* InsurancePlan:coverage-area
|
107
|
+
|
108
|
+
Each _include search will look for a candidate id that has the target reference element
|
109
|
+
populated from the results of instance gathering. Each search will use the identified
|
110
|
+
Plan-Net InsurancePlan id and the include parameter.
|
111
|
+
The returned instances are checked to ensure that any instances of the included
|
112
|
+
type are referenced by returned instances of the searched resource type.
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
## Forward Chaining Requirement Testing
|
117
|
+
This test sequence will perform a search with each required combination of forward chaining
|
118
|
+
search parameters. This sequence will perform searches with the following chaining parameters:
|
119
|
+
|
120
|
+
| Search Parameters | Chain Requirements |
|
121
|
+
| :---: | :---: |
|
122
|
+
| administered-by | name, partof |
|
123
|
+
| owned-by | name, partof |
|
124
|
+
|
125
|
+
|
126
|
+
All forward chain searches will look for candidate instances of the resource being chained through
|
127
|
+
from the results of previously run _include tests. Candidates are chosen from previously returned
|
128
|
+
instances that have the chain parameter element filled. Each search test will use one of these values
|
129
|
+
to build the requests for the test. The test will be skipped if no candidates can be found.
|
130
|
+
|
131
|
+
The test will first create and execute the forward chaining request.
|
132
|
+
The test will then perform a basic search test on the resource being chained through,
|
133
|
+
using the same value in the previous request. Each resource returned in the first
|
134
|
+
request will then be checked, validating that the element being chained through is populated by
|
135
|
+
the id of _any_ of the resources returned by the second request.
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
## Profile Validation
|
141
|
+
Each resource identified during instance gathering and other queries run during this test sequence
|
142
|
+
is expected to conform to the [Plan-Net InsurancePlan](http://hl7.org/fhir/us/davinci-pdex-plan-net/STU1.1/StructureDefinition/plannet-InsurancePlan). Each element is checked
|
143
|
+
by the HL7 Validator against terminology binding and cardinality requirements. Elements with a
|
144
|
+
required binding are validated against their bound ValueSet. If the code/system in the element
|
145
|
+
is not part of the ValueSet, then the test will fail.
|
146
|
+
|
147
|
+
## Must Support
|
148
|
+
Each profile contains elements marked as "must support". This test
|
149
|
+
sequence expects to see each of these elements populated at least once.
|
150
|
+
The test will look through the Plan-Net InsurancePlan instances identified
|
151
|
+
during instance gathering and other queries run during this test sequence.
|
152
|
+
If no populated instance can be found for any must support element, the test
|
153
|
+
will fail.
|
154
|
+
|
155
|
+
## Reference Validation
|
156
|
+
At least one instance of each external reference in elements marked as
|
157
|
+
"must support" within the resources provided by the system must resolve.
|
158
|
+
The test will attempt to read each reference found and will fail if no
|
159
|
+
read succeeds.
|
160
|
+
|
161
|
+
)
|
162
|
+
|
163
|
+
id :davinci_plan_net_v110_insurance_plan
|
164
|
+
run_as_group
|
165
|
+
|
166
|
+
def self.metadata
|
167
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'insurance_plan', 'metadata.yml'), aliases: true))
|
168
|
+
end
|
169
|
+
|
170
|
+
test from: :davinci_plan_net_v110_insurance_plan_no_params_search_test
|
171
|
+
test from: :davinci_plan_net_v110_insurance_plan_read_test
|
172
|
+
test from: :davinci_plan_net_v110_insurance_plan_administered_by_search_test
|
173
|
+
test from: :davinci_plan_net_v110_insurance_plan_owned_by_search_test
|
174
|
+
test from: :davinci_plan_net_v110_insurance_plan_coverage_area_search_test
|
175
|
+
test from: :davinci_plan_net_v110_insurance_plan_name_search_test
|
176
|
+
test from: :davinci_plan_net_v110_insurance_plan_plan_type_search_test
|
177
|
+
test from: :davinci_plan_net_v110_insurance_plan_identifier_search_test
|
178
|
+
test from: :davinci_plan_net_v110_insurance_plan__id_search_test
|
179
|
+
test from: :davinci_plan_net_v110_insurance_plan__lastUpdated_search_test
|
180
|
+
test from: :davinci_plan_net_v110_insurance_plan_type_search_test
|
181
|
+
test from: :davinci_plan_net_v110_include_insurance_plan_insurance_plan_administered_by_search_test
|
182
|
+
test from: :davinci_plan_net_v110_include_insurance_plan_insurance_plan_owned_by_search_test
|
183
|
+
test from: :davinci_plan_net_v110_include_insurance_plan_insurance_plan_coverage_area_search_test
|
184
|
+
test from: :davinci_plan_net_v110_forward_chain_administered_by_name_search_test
|
185
|
+
test from: :davinci_plan_net_v110_forward_chain_administered_by_partof_search_test
|
186
|
+
test from: :davinci_plan_net_v110_forward_chain_owned_by_name_search_test
|
187
|
+
test from: :davinci_plan_net_v110_forward_chain_owned_by_partof_search_test
|
188
|
+
test from: :davinci_plan_net_v110_insurance_plan_validation_test
|
189
|
+
test from: :davinci_plan_net_v110_insurance_plan_must_support_test
|
190
|
+
test from: :davinci_plan_net_v110_insurance_plan_reference_resolution_test
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_address_city_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 LocationAddressCitySearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Location search by address-city'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
address-city on the Location 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_location_address_city_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Location',
|
24
|
+
search_param_names: ['address-city']
|
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[:location_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module DaVinciPlanNetV110
|
6
|
+
class LocationAddressPostalcodeSearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Location search by address-postalcode'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
address-postalcode on the Location 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_location_address_postalcode_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Location',
|
24
|
+
search_param_names: ['address-postalcode']
|
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[:location_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module DaVinciPlanNetV110
|
6
|
+
class LocationAddressSearchTest < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns valid results for Location search by address'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching by
|
12
|
+
address on the Location 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_location_address_search_test
|
21
|
+
def self.properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
resource_type: 'Location',
|
24
|
+
search_param_names: ['address']
|
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[:location_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
run_search_test
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|