davinci_plan_net_test_kit 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/presets/plan_net_reference_server_v110_preset.json +50 -0
- data/lib/davinci_plan_net_test_kit/custom_groups/reverse_chain_tests/examples.md +17 -0
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/davinci_plan_net_test_suite.rb +5 -2
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/endpoint_forward_chain_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint/metadata.yml +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/endpoint_group.rb +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_city_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_postalcode_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_address_state_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_location_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/healthcare_service_forward_chain_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service/metadata.yml +11 -11
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/healthcare_service_group.rb +11 -11
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_administered_by_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_administered_by_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_owned_by_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/insurance_plan_forward_chain_owned_by_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan/metadata.yml +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/insurance_plan_group.rb +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/location_forward_chain_partof_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location/metadata.yml +8 -8
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/location_group.rb +8 -8
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/metadata.yml +6 -6
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/metadata.yml +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network/network_forward_chain_partof_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/network_group.rb +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/metadata.yml +20 -20
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_city_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_postalcode_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_address_state_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_location_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_network_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_network_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_participating_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_primary_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_location_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil/org_affil_forward_chain_service_service_category_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/org_affil_group.rb +20 -20
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/metadata.yml +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization/organization_forward_chain_partof_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/organization_group.rb +4 -4
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/metadata.yml +25 -25
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_endpoint_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_city_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_postalcode_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_address_state_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_location_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_network_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_address_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_partof_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_organization_type_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_practitioner_name_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_location_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_organization_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role/practitioner_role_forward_chain_service_service_category_search_test.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generated/v1.1.0/practitioner_role_group.rb +19 -19
- data/lib/davinci_plan_net_test_kit/generator/forward_chain_test_generator.rb +1 -1
- data/lib/davinci_plan_net_test_kit/generator/templates/combination_search_test.rb.erb +49 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/forward_chain_test.rb.erb +51 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/group.rb.erb +24 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/include_search.rb.erb +48 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/must_support.rb.erb +41 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/read.rb.erb +26 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/reference_resolution.rb.erb +42 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/resource_list.rb.erb +9 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/reverse_chain_search.rb.erb +57 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/revinclude_search.rb.erb +55 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/search.rb.erb +40 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/search_no_params.rb.erb +45 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/suite.rb.erb +222 -0
- data/lib/davinci_plan_net_test_kit/generator/templates/validation.rb.erb +31 -0
- data/lib/davinci_plan_net_test_kit/igs/Plan Net Requirements Interpretation.xlsx +0 -0
- data/lib/davinci_plan_net_test_kit/igs/README.md +21 -0
- data/lib/davinci_plan_net_test_kit/metadata.rb +64 -0
- data/lib/davinci_plan_net_test_kit/search_test.rb +12 -60
- data/lib/davinci_plan_net_test_kit/version.rb +2 -1
- data/lib/davinci_plan_net_test_kit.rb +1 -0
- metadata +30 -10
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
location element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_location_address_state_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
location element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_location_organization_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
location element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_location_type_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
network element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_network_address_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
network element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_network_name_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
network element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_network_partof_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
network element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_network_type_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
organization element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_organization_address_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
organization element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_organization_name_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
organization element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_organization_partof_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
organization element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_organization_type_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
practitioner element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_practitioner_name_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
service element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_service_location_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
service element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_service_organization_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -19,7 +19,7 @@ module DaVinciPlanNetTestKit
|
|
19
19
|
service element of instances returned by the tested search.
|
20
20
|
)
|
21
21
|
|
22
|
-
id :
|
22
|
+
id :davinci_plan_net_v110_forward_chain_practitioner_role_service_service_category_search_test
|
23
23
|
|
24
24
|
def properties
|
25
25
|
@properties ||= SearchTestProperties.new(
|
@@ -213,25 +213,25 @@ read succeeds.
|
|
213
213
|
test from: :davinci_plan_net_v110_include_practitioner_role_practitioner_role_service_search_test
|
214
214
|
test from: :davinci_plan_net_v110_include_practitioner_role_practitioner_role_network_search_test
|
215
215
|
test from: :davinci_plan_net_v110_include_practitioner_role_practitioner_role_endpoint_search_test
|
216
|
-
test from: :
|
217
|
-
test from: :
|
218
|
-
test from: :
|
219
|
-
test from: :
|
220
|
-
test from: :
|
221
|
-
test from: :
|
222
|
-
test from: :
|
223
|
-
test from: :
|
224
|
-
test from: :
|
225
|
-
test from: :
|
226
|
-
test from: :
|
227
|
-
test from: :
|
228
|
-
test from: :
|
229
|
-
test from: :
|
230
|
-
test from: :
|
231
|
-
test from: :
|
232
|
-
test from: :
|
233
|
-
test from: :
|
234
|
-
test from: :
|
216
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_practitioner_name_search_test
|
217
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_organization_name_search_test
|
218
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_organization_address_search_test
|
219
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_organization_partof_search_test
|
220
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_organization_type_search_test
|
221
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_address_search_test
|
222
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_address_postalcode_search_test
|
223
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_address_city_search_test
|
224
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_address_state_search_test
|
225
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_organization_search_test
|
226
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_location_type_search_test
|
227
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_service_service_category_search_test
|
228
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_service_organization_search_test
|
229
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_service_location_search_test
|
230
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_network_name_search_test
|
231
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_network_address_search_test
|
232
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_network_partof_search_test
|
233
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_network_type_search_test
|
234
|
+
test from: :davinci_plan_net_v110_forward_chain_practitioner_role_endpoint_organization_search_test
|
235
235
|
test from: :davinci_plan_net_v110_practitioner_role_combination_list_practitioners_with_specialty_and_location_search_test
|
236
236
|
test from: :davinci_plan_net_v110_practitioner_role_validation_test
|
237
237
|
test from: :davinci_plan_net_v110_practitioner_role_must_support_test
|
@@ -52,7 +52,7 @@ module DaVinciPlanNetTestKit
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def test_id
|
55
|
-
"davinci_plan_net_#{group_metadata.reformatted_version}_forward_chain_#{search_identifier}_search_test"
|
55
|
+
"davinci_plan_net_#{group_metadata.reformatted_version}_forward_chain_#{profile_identifier}_#{search_identifier}_search_test"
|
56
56
|
end
|
57
57
|
|
58
58
|
def search_identifier
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server capable of combination search, e.g. being able to <%= test_goal %>'
|
10
|
+
description %(
|
11
|
+
A server SHALL support searching with a combination of parameters. <%= test_description %>
|
12
|
+
)
|
13
|
+
|
14
|
+
id :<%= test_id %>
|
15
|
+
|
16
|
+
def properties
|
17
|
+
@properties ||= SearchTestProperties.new(
|
18
|
+
<%= search_test_properties_string %>
|
19
|
+
)
|
20
|
+
end
|
21
|
+
|
22
|
+
<% if optional_input? %>
|
23
|
+
input :<%= input_name %>,
|
24
|
+
title: 'Combination Search Reverse Chain',
|
25
|
+
description: '<%= input_description %>',
|
26
|
+
optional: true
|
27
|
+
<% end %>
|
28
|
+
def self.metadata
|
29
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.additional_metadata
|
33
|
+
@additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', '<%= additional_resource_type.underscore.gsub('organization_affiliation', 'org_affil') %>', 'metadata.yml'), aliases: true))
|
34
|
+
end
|
35
|
+
|
36
|
+
def scratch_resources
|
37
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
38
|
+
end
|
39
|
+
|
40
|
+
def scratch_additional_resources
|
41
|
+
scratch[:<%= additional_resource_type.underscore %>_resources] ||= {}
|
42
|
+
end
|
43
|
+
|
44
|
+
run do
|
45
|
+
run_combination_search_test
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server capable of forward chaining with <%= "#{chain_param_base}.#{chain_param}" %>'
|
10
|
+
description %(
|
11
|
+
A server SHALL be capable of supporting chaining for <%= chain_param %> through the search parameter <%= chain_param_base %>
|
12
|
+
for the <%= profile_identifier.capitalize %> profile.
|
13
|
+
|
14
|
+
This test will perform a search with <%= "#{chain_param_base}.#{chain_param}" %> using a value
|
15
|
+
in the <%= "#{chain_param}" %> element on an instance found during _include tests executed
|
16
|
+
previously during this sequence. To validate the returned instances, the test will perform a search
|
17
|
+
on the <%= "#{chained_resource}" %> resource type using the same <%= "#{chain_param}" %> search
|
18
|
+
parameter and value and check that this search contains any instances referenced through the
|
19
|
+
<%= "#{chain_param_base}" %> element of instances returned by the tested search.
|
20
|
+
)
|
21
|
+
|
22
|
+
id :<%= test_id %>
|
23
|
+
|
24
|
+
def properties
|
25
|
+
@properties ||= SearchTestProperties.new(
|
26
|
+
<%= search_test_properties_string %>
|
27
|
+
)
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.metadata
|
31
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.additional_metadata
|
35
|
+
@additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', '<%= chained_resource.underscore.gsub('organization_affiliation', 'org_affil') %>', 'metadata.yml'), aliases: true))
|
36
|
+
end
|
37
|
+
|
38
|
+
def scratch_resources
|
39
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
40
|
+
end
|
41
|
+
|
42
|
+
def scratch_additional_resources
|
43
|
+
scratch[:<%= chained_resource.underscore %>_resources] ||= {}
|
44
|
+
end
|
45
|
+
|
46
|
+
run do
|
47
|
+
run_forward_chain_search_test
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<% test_file_list.each do |file_name| %>require_relative '<%= file_name %>'
|
2
|
+
<% end %>
|
3
|
+
module DaVinciPlanNetTestKit
|
4
|
+
module <%= module_name %>
|
5
|
+
class <%= class_name %> < Inferno::TestGroup
|
6
|
+
title '<%= title %> Tests'
|
7
|
+
short_description '<%= short_description %>'
|
8
|
+
description %(
|
9
|
+
<%= description %>
|
10
|
+
)
|
11
|
+
|
12
|
+
id :<%= group_id %>
|
13
|
+
run_as_group<% if optional? %>
|
14
|
+
optional
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
def self.metadata
|
18
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '<%= profile_identifier %>', 'metadata.yml'), aliases: true))
|
19
|
+
end
|
20
|
+
<% test_id_list.each do |id| %>
|
21
|
+
test from: :<%= id %><% end %>
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns <%= include_param_resource %> resources from <%= resource_type %> search with <%= include_param_string %>'
|
10
|
+
description %(
|
11
|
+
A server SHALL be capable of supporting _includes on search parameter <%= include_param %>.
|
12
|
+
|
13
|
+
This test will perform a search on <%= resource_type %> with <%= include_param_string %>
|
14
|
+
and the '_id' search parameter using an id with a reference to <%= a_or_an(include_param_resource) %>
|
15
|
+
identified during instance gathering. The test will pass if at least one <%= include_param_resource %>
|
16
|
+
resource is found in the response and each instance that does is referenced by a returned <%= resource_type %> instance.
|
17
|
+
)
|
18
|
+
|
19
|
+
id :<%= test_id %>
|
20
|
+
|
21
|
+
def properties
|
22
|
+
@properties ||= SearchTestProperties.new(
|
23
|
+
<%= search_test_properties_string %>
|
24
|
+
)
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.metadata
|
28
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
29
|
+
end
|
30
|
+
|
31
|
+
def self.additional_metadata
|
32
|
+
@additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', '<%= include_param_resource.underscore.gsub('organization_affiliation', 'org_affil') %>', 'metadata.yml'), aliases: true))
|
33
|
+
end
|
34
|
+
|
35
|
+
def scratch_resources
|
36
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
37
|
+
end
|
38
|
+
|
39
|
+
def scratch_additional_resources
|
40
|
+
scratch[:<%= include_param_resource.underscore %>_resources] ||= {}
|
41
|
+
end
|
42
|
+
|
43
|
+
run do
|
44
|
+
run_include_search_test
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative '../../../must_support_test'
|
2
|
+
|
3
|
+
module DaVinciPlanNetTestKit
|
4
|
+
module <%= module_name %>
|
5
|
+
class <%= class_name %> < Inferno::Test
|
6
|
+
include DaVinciPlanNetTestKit::MustSupportTest
|
7
|
+
|
8
|
+
title 'All must support elements are provided in the <%= resource_type %> resources returned'
|
9
|
+
description %(
|
10
|
+
Plan Net Responders SHALL be capable of populating all data elements as
|
11
|
+
part of the query results as specified by the Plan Net Server Capability
|
12
|
+
Statement. This test will look through the <%= resource_type %> resources
|
13
|
+
found previously for the following must support elements:
|
14
|
+
|
15
|
+
<%= must_support_list_string %><% if uscdi_list_string.present? %>
|
16
|
+
|
17
|
+
For ONC USCDI requirements, each <%= resource_type %> must support the following additional elements:
|
18
|
+
|
19
|
+
<%= uscdi_list_string %><% end %>
|
20
|
+
)
|
21
|
+
|
22
|
+
id :<%= test_id %>
|
23
|
+
|
24
|
+
def resource_type
|
25
|
+
'<%= resource_type %>'
|
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[:<%= profile_identifier %>_resources] ||= {}
|
34
|
+
end
|
35
|
+
|
36
|
+
run do
|
37
|
+
perform_must_support_test(<%= resource_collection_string %>)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require_relative '../../../read_test'
|
2
|
+
|
3
|
+
module DaVinciPlanNetTestKit
|
4
|
+
module <%= module_name %>
|
5
|
+
class <%= class_name %> < Inferno::Test
|
6
|
+
include DaVinciPlanNetTestKit::ReadTest
|
7
|
+
|
8
|
+
title 'Server returns correct <%= resource_type %> resource from <%= resource_type %> read interaction'
|
9
|
+
description 'A server <%= conformance_expectation %> support the <%= resource_type %> read interaction.'
|
10
|
+
|
11
|
+
id :<%= test_id %>
|
12
|
+
|
13
|
+
def resource_type
|
14
|
+
'<%= resource_type %>'
|
15
|
+
end
|
16
|
+
|
17
|
+
def scratch_resources
|
18
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
19
|
+
end
|
20
|
+
|
21
|
+
run do
|
22
|
+
perform_read_test(all_scratch_resources)
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require_relative '../../../reference_resolution_test'
|
2
|
+
require_relative '../resource_list'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::ReferenceResolutionTest
|
8
|
+
include ResourceList
|
9
|
+
|
10
|
+
title 'MustSupport references within <%= resource_type %> resources are valid'
|
11
|
+
description %(
|
12
|
+
This test will attempt to read external references provided within elements
|
13
|
+
marked as 'MustSupport', if any are available.
|
14
|
+
|
15
|
+
It verifies that at least one external reference for each MustSupport Reference element
|
16
|
+
can be accessed by the test client, and conforms to corresponding Plan Net profile.
|
17
|
+
|
18
|
+
Elements which may provide external references include:
|
19
|
+
|
20
|
+
<%= must_support_reference_list_string %>
|
21
|
+
)
|
22
|
+
|
23
|
+
id :<%= test_id %>
|
24
|
+
|
25
|
+
def resource_type
|
26
|
+
'<%= resource_type %>'
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.metadata
|
30
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
|
31
|
+
end
|
32
|
+
|
33
|
+
def scratch_resources
|
34
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
35
|
+
end
|
36
|
+
|
37
|
+
run do
|
38
|
+
perform_reference_resolution_test(<%= resource_collection_string %>)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server capable of reverse chaining through <%= source_resource %>\'s <%= constraining_param %> element'
|
10
|
+
description %(
|
11
|
+
Test will perform a search using the reverse chaining parameter
|
12
|
+
<%= "_has:#{source_resource}:#{target_param}:#{constraining_param}" %>
|
13
|
+
using a value from either a previously identified <%= "#{source_resource}" %> when
|
14
|
+
run from the suite level, or the "\'<%= "#{constraining_param}" %>\' value from <%= "#{a_or_an(source_resource)}" %>
|
15
|
+
instance with \'<%= "#{target_param}" %>\' populated" input when run at the group level. To validate the
|
16
|
+
returned instances, the test will perform a search
|
17
|
+
on the <%= "#{source_resource}" %> resource type using the same <%= "#{constraining_param}" %> search
|
18
|
+
parameter and value and check that the instances returned by the tested search are all referenced
|
19
|
+
by the <%= "#{target_param}" %> element of instances returned by the additional search.
|
20
|
+
)
|
21
|
+
|
22
|
+
id :<%= test_id %>
|
23
|
+
input :<%= input_name %>,
|
24
|
+
title: '\'<%= "#{constraining_param}" %>\' value from <%= "#{a_or_an(source_resource)}" %> instance with \'<%= "#{target_param}" %>\' populated',
|
25
|
+
description: 'Single value from the \'<%= constraining_param %>\' element of <%= a_or_an(source_resource) %>
|
26
|
+
on an instance that also references <%= "#{a_or_an(resource_type)}" %> instance in its \'<%= target_param %>\' element to be used for test
|
27
|
+
\'Server capable of reverse chaining through <%= source_resource %>\'s <%= constraining_param %> element\' when run at the group level.',
|
28
|
+
optional: true
|
29
|
+
|
30
|
+
def properties
|
31
|
+
@properties ||= SearchTestProperties.new(
|
32
|
+
<%= search_test_properties_string %>
|
33
|
+
)
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.metadata
|
37
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.additional_metadata
|
41
|
+
@additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', '<%= source_resource.underscore.gsub('organization_affiliation', 'org_affil') %>', 'metadata.yml'), aliases: true))
|
42
|
+
end
|
43
|
+
|
44
|
+
def scratch_resources
|
45
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
46
|
+
end
|
47
|
+
|
48
|
+
def scratch_additional_resources
|
49
|
+
scratch[:<%= source_resource.underscore %>_resources] ||= {}
|
50
|
+
end
|
51
|
+
|
52
|
+
run do
|
53
|
+
run_reverse_chain_search_test
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require_relative '../../../search_test'
|
2
|
+
require_relative '../../../generator/group_metadata'
|
3
|
+
|
4
|
+
module DaVinciPlanNetTestKit
|
5
|
+
module <%= module_name %>
|
6
|
+
class <%= class_name %> < Inferno::Test
|
7
|
+
include DaVinciPlanNetTestKit::SearchTest
|
8
|
+
|
9
|
+
title 'Server returns <%= revinclude_param_resource %> resources from <%= resource_type %> search with <%= revinclude_param_string %>'
|
10
|
+
description %(
|
11
|
+
A server SHALL be capable of supporting searches _revincludes on search parameter <%= revinclude_param %>.
|
12
|
+
|
13
|
+
This test will perform a search on <%= resource_type %> with <%= revinclude_param_string %> and the '_id'
|
14
|
+
search parameter using an id previously identified during a suite level run or an id provided
|
15
|
+
in the "<%= resource_type %> instance ids referenced in <%= "#{revinclude_param_resource}.#{rev_param_sp}" %>" input if run at the group level.
|
16
|
+
The test will pass if at least one <%= revinclude_param_resource %> resource found in the response
|
17
|
+
and each instance that does includes a reference to the <%= resource_type %> with the searched id.
|
18
|
+
)
|
19
|
+
|
20
|
+
id :<%= test_id %>
|
21
|
+
input :<%= input_name %>,
|
22
|
+
title: '<%= resource_type %> instance ids referenced in <%= "#{revinclude_param_resource}.#{rev_param_sp}" %>',
|
23
|
+
description: %(Comma separated list of <%= resource_type %> instance ids that are referenced by <%= "#{a_or_an(revinclude_param_resource)}" %>
|
24
|
+
instance in its <%= "#{rev_param_sp}" %> element. Used for test "Server returns <%= revinclude_param_resource %> resources from <%= resource_type %> search with <%= revinclude_param_string %>"
|
25
|
+
when run at the group level.),
|
26
|
+
optional: true
|
27
|
+
|
28
|
+
def properties
|
29
|
+
@properties ||= SearchTestProperties.new(
|
30
|
+
<%= search_test_properties_string %>
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.metadata
|
35
|
+
@metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.additional_metadata
|
39
|
+
@additional_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', '<%= revinclude_param_resource.underscore.gsub('organization_affiliation', 'org_affil') %>', 'metadata.yml'), aliases: true))
|
40
|
+
end
|
41
|
+
|
42
|
+
def scratch_resources
|
43
|
+
scratch[:<%= profile_identifier %>_resources] ||= {}
|
44
|
+
end
|
45
|
+
|
46
|
+
def scratch_additional_resources
|
47
|
+
scratch[:<%= revinclude_param_resource.underscore %>_resources] ||= {}
|
48
|
+
end
|
49
|
+
|
50
|
+
run do
|
51
|
+
run_revinclude_search_test
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|