davinci_pas_test_kit 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/notification/pas_subscription_notification_test.rb +3 -2
- data/lib/davinci_pas_test_kit/docs/client_suite_description_v201.md +8 -1
- data/lib/davinci_pas_test_kit/docs/server_suite_description_v201.md +8 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/{client_inquiry_request_beneficiary_must_support_test.rb → client_inquire_request_beneficiary_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml +6 -6
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/{server_inquiry_request_beneficiary_must_support_test.rb → server_inquire_request_beneficiary_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/{server_inquiry_response_beneficiary_must_support_test.rb → server_inquire_response_beneficiary_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/{client_inquiry_request_claim_inquiry_must_support_test.rb → client_inquire_request_claim_inquiry_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml +4 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/{server_inquiry_request_claim_inquiry_must_support_test.rb → server_inquire_request_claim_inquiry_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml +2 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/{server_inquiry_response_claiminquiryresponse_must_support_test.rb → server_inquire_response_claiminquiryresponse_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/{client_inquiry_request_coverage_must_support_test.rb → client_inquire_request_coverage_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml +4 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/{server_inquiry_request_coverage_must_support_test.rb → server_inquire_request_coverage_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/server_submit_request_device_request_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/{client_inquiry_request_insurer_must_support_test.rb → client_inquire_request_insurer_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml +6 -6
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/{server_inquiry_request_insurer_must_support_test.rb → server_inquire_request_insurer_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/{server_inquiry_response_insurer_must_support_test.rb → server_inquire_response_insurer_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/server_submit_request_medication_request_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/client_submit_request_nutrition_order_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb +18 -18
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/{client_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb → client_inquire_request_pas_inquiry_request_bundle_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +4 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/{server_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb → server_inquire_request_pas_inquiry_request_bundle_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +2 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/{server_inquiry_response_pas_inquiry_response_bundle_must_support_test.rb → server_inquire_response_pas_inquiry_response_bundle_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/client_submit_request_pas_request_bundle_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_submit_request_pas_request_bundle_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_submit_response_pas_response_bundle_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb +34 -34
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/{client_inquiry_request_practitioner_must_support_test.rb → client_inquire_request_practitioner_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml +6 -6
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/{server_inquiry_request_practitioner_must_support_test.rb → server_inquire_request_practitioner_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/{server_inquiry_response_practitioner_must_support_test.rb → server_inquire_response_practitioner_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/{client_inquiry_request_practitioner_role_must_support_test.rb → client_inquire_request_practitioner_role_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml +6 -6
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/{server_inquiry_request_practitioner_role_must_support_test.rb → server_inquire_request_practitioner_role_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/{server_inquiry_response_practitioner_role_must_support_test.rb → server_inquire_response_practitioner_role_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/{client_inquiry_request_requestor_must_support_test.rb → client_inquire_request_requestor_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml +6 -6
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/{server_inquiry_request_requestor_must_support_test.rb → server_inquire_request_requestor_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/{server_inquiry_response_requestor_must_support_test.rb → server_inquire_response_requestor_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +1 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/{client_inquiry_request_subscriber_must_support_test.rb → client_inquire_request_subscriber_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml +4 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/{server_inquiry_request_subscriber_must_support_test.rb → server_inquire_request_subscriber_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb +3 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml +2 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/{server_inquiry_response_task_must_support_test.rb → server_inquire_response_task_must_support_test.rb} +5 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generator/group_generator.rb +3 -3
- data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +3 -3
- data/lib/davinci_pas_test_kit/version.rb +1 -1
- metadata +28 -28
@@ -23,23 +23,23 @@ require_relative 'beneficiary/server_submit_response_beneficiary_must_support_te
|
|
23
23
|
require_relative 'practitioner/server_submit_response_practitioner_must_support_test'
|
24
24
|
require_relative 'practitioner_role/server_submit_response_practitioner_role_must_support_test'
|
25
25
|
require_relative 'task/server_submit_response_task_must_support_test'
|
26
|
-
require_relative 'pas_inquiry_request_bundle/
|
27
|
-
require_relative 'claim_inquiry/
|
28
|
-
require_relative 'coverage/
|
29
|
-
require_relative 'insurer/
|
30
|
-
require_relative 'requestor/
|
31
|
-
require_relative 'beneficiary/
|
32
|
-
require_relative 'subscriber/
|
33
|
-
require_relative 'practitioner/
|
34
|
-
require_relative 'practitioner_role/
|
35
|
-
require_relative 'pas_inquiry_response_bundle/
|
36
|
-
require_relative 'claiminquiryresponse/
|
37
|
-
require_relative 'insurer/
|
38
|
-
require_relative 'requestor/
|
39
|
-
require_relative 'beneficiary/
|
40
|
-
require_relative 'practitioner/
|
41
|
-
require_relative 'practitioner_role/
|
42
|
-
require_relative 'task/
|
26
|
+
require_relative 'pas_inquiry_request_bundle/server_inquire_request_pas_inquiry_request_bundle_must_support_test'
|
27
|
+
require_relative 'claim_inquiry/server_inquire_request_claim_inquiry_must_support_test'
|
28
|
+
require_relative 'coverage/server_inquire_request_coverage_must_support_test'
|
29
|
+
require_relative 'insurer/server_inquire_request_insurer_must_support_test'
|
30
|
+
require_relative 'requestor/server_inquire_request_requestor_must_support_test'
|
31
|
+
require_relative 'beneficiary/server_inquire_request_beneficiary_must_support_test'
|
32
|
+
require_relative 'subscriber/server_inquire_request_subscriber_must_support_test'
|
33
|
+
require_relative 'practitioner/server_inquire_request_practitioner_must_support_test'
|
34
|
+
require_relative 'practitioner_role/server_inquire_request_practitioner_role_must_support_test'
|
35
|
+
require_relative 'pas_inquiry_response_bundle/server_inquire_response_pas_inquiry_response_bundle_must_support_test'
|
36
|
+
require_relative 'claiminquiryresponse/server_inquire_response_claiminquiryresponse_must_support_test'
|
37
|
+
require_relative 'insurer/server_inquire_response_insurer_must_support_test'
|
38
|
+
require_relative 'requestor/server_inquire_response_requestor_must_support_test'
|
39
|
+
require_relative 'beneficiary/server_inquire_response_beneficiary_must_support_test'
|
40
|
+
require_relative 'practitioner/server_inquire_response_practitioner_must_support_test'
|
41
|
+
require_relative 'practitioner_role/server_inquire_response_practitioner_role_must_support_test'
|
42
|
+
require_relative 'task/server_inquire_response_task_must_support_test'
|
43
43
|
require_relative '../../custom_groups/v2.0.1/must_support/pas_server_must_support_requirement_test'
|
44
44
|
|
45
45
|
module DaVinciPASTestKit
|
@@ -236,27 +236,27 @@ module DaVinciPASTestKit
|
|
236
236
|
group do
|
237
237
|
title '[USER INPUT VALIDATION] Inquiry Request Must Support'
|
238
238
|
|
239
|
-
test from: :
|
240
|
-
test from: :
|
241
|
-
test from: :
|
242
|
-
test from: :
|
243
|
-
test from: :
|
244
|
-
test from: :
|
245
|
-
test from: :
|
246
|
-
test from: :
|
247
|
-
test from: :
|
239
|
+
test from: :pas_server_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
|
240
|
+
test from: :pas_server_inquire_request_v201_claim_inquiry_must_support_test
|
241
|
+
test from: :pas_server_inquire_request_v201_coverage_must_support_test
|
242
|
+
test from: :pas_server_inquire_request_v201_insurer_must_support_test
|
243
|
+
test from: :pas_server_inquire_request_v201_requestor_must_support_test
|
244
|
+
test from: :pas_server_inquire_request_v201_beneficiary_must_support_test
|
245
|
+
test from: :pas_server_inquire_request_v201_subscriber_must_support_test
|
246
|
+
test from: :pas_server_inquire_request_v201_practitioner_must_support_test
|
247
|
+
test from: :pas_server_inquire_request_v201_practitioner_role_must_support_test
|
248
248
|
end
|
249
249
|
group do
|
250
250
|
title 'Inquiry Response Must Support'
|
251
251
|
|
252
|
-
test from: :
|
253
|
-
test from: :
|
254
|
-
test from: :
|
255
|
-
test from: :
|
256
|
-
test from: :
|
257
|
-
test from: :
|
258
|
-
test from: :
|
259
|
-
test from: :
|
252
|
+
test from: :pas_server_inquire_response_v201_pas_inquiry_response_bundle_must_support_test
|
253
|
+
test from: :pas_server_inquire_response_v201_claiminquiryresponse_must_support_test
|
254
|
+
test from: :pas_server_inquire_response_v201_insurer_must_support_test
|
255
|
+
test from: :pas_server_inquire_response_v201_requestor_must_support_test
|
256
|
+
test from: :pas_server_inquire_response_v201_beneficiary_must_support_test
|
257
|
+
test from: :pas_server_inquire_response_v201_practitioner_must_support_test
|
258
|
+
test from: :pas_server_inquire_response_v201_practitioner_role_must_support_test
|
259
|
+
test from: :pas_server_inquire_response_v201_task_must_support_test
|
260
260
|
end
|
261
261
|
end
|
262
262
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestPractitionerMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Practitioner are observed across all instances submitted'
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS Practitioner Profile.
|
16
16
|
This test checks all identified instances of the PAS Practitioner
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Practitioner.address
|
@@ -25,7 +25,7 @@ module DaVinciPASTestKit
|
|
25
25
|
* Practitioner.telecom
|
26
26
|
)
|
27
27
|
|
28
|
-
id :
|
28
|
+
id :pas_client_inquire_request_v201_practitioner_must_support_test
|
29
29
|
|
30
30
|
def resource_type
|
31
31
|
'Practitioner'
|
@@ -40,7 +40,8 @@ module DaVinciPASTestKit
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def scratch_resources
|
43
|
-
scratch
|
43
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
44
|
+
scratch[:inquire_request_resources] ||= {}
|
44
45
|
end
|
45
46
|
|
46
47
|
def resources_of_interest
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS Practitioner Profile.
|
16
16
|
This test checks all identified instances of the PAS Practitioner
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Practitioner.address
|
@@ -40,6 +40,7 @@ module DaVinciPASTestKit
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def scratch_resources
|
43
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
43
44
|
scratch[:submit_request_resources] ||= {}
|
44
45
|
end
|
45
46
|
|
@@ -65,10 +65,10 @@
|
|
65
65
|
:file_name: client_submit_request_practitioner_must_support_test.rb
|
66
66
|
- :id: pas_server_submit_response_v201_practitioner_must_support_test
|
67
67
|
:file_name: server_submit_response_practitioner_must_support_test.rb
|
68
|
-
- :id:
|
69
|
-
:file_name:
|
70
|
-
- :id:
|
71
|
-
:file_name:
|
72
|
-
- :id:
|
73
|
-
:file_name:
|
68
|
+
- :id: pas_server_inquire_request_v201_practitioner_must_support_test
|
69
|
+
:file_name: server_inquire_request_practitioner_must_support_test.rb
|
70
|
+
- :id: pas_client_inquire_request_v201_practitioner_must_support_test
|
71
|
+
:file_name: client_inquire_request_practitioner_must_support_test.rb
|
72
|
+
- :id: pas_server_inquire_response_v201_practitioner_must_support_test
|
73
|
+
:file_name: server_inquire_response_practitioner_must_support_test.rb
|
74
74
|
:delayed_references: []
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestPractitionerMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Practitioner are observed across all instances submitted'
|
11
11
|
description %(
|
12
12
|
|
13
13
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
14
|
-
|
14
|
+
|
15
15
|
PAS server systems are required to be able to receive all
|
16
16
|
must support elements on instances of all profiles included in
|
17
17
|
requests, including instances of the PAS Practitioner Profile.
|
18
18
|
This test checks all identified instances of the PAS Practitioner
|
19
|
-
Profile on requests sent to the server to ensure that the following
|
19
|
+
Profile on requests sent to the server to ensure that the following
|
20
20
|
must support elements are observed:
|
21
21
|
|
22
22
|
* Practitioner.address
|
@@ -27,7 +27,7 @@ module DaVinciPASTestKit
|
|
27
27
|
* Practitioner.telecom
|
28
28
|
)
|
29
29
|
|
30
|
-
id :
|
30
|
+
id :pas_server_inquire_request_v201_practitioner_must_support_test
|
31
31
|
|
32
32
|
def resource_type
|
33
33
|
'Practitioner'
|
@@ -42,6 +42,7 @@ module DaVinciPASTestKit
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def scratch_resources
|
45
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
45
46
|
scratch[:inquire_request_resources] ||= {}
|
46
47
|
end
|
47
48
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponsePractitionerMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Practitioner are observed across all instances returned'
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
responses, including instances of the PAS Practitioner Profile.
|
16
16
|
This test checks all identified instances of the PAS Practitioner
|
17
|
-
Profile on responses returned by the server to ensure that the following
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Practitioner.address
|
@@ -25,7 +25,7 @@ module DaVinciPASTestKit
|
|
25
25
|
* Practitioner.telecom
|
26
26
|
)
|
27
27
|
|
28
|
-
id :
|
28
|
+
id :pas_server_inquire_response_v201_practitioner_must_support_test
|
29
29
|
|
30
30
|
def resource_type
|
31
31
|
'Practitioner'
|
@@ -40,7 +40,8 @@ module DaVinciPASTestKit
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def scratch_resources
|
43
|
-
scratch
|
43
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
44
|
+
scratch[:inquire_response_resources] ||= {}
|
44
45
|
end
|
45
46
|
|
46
47
|
def resources_of_interest
|
@@ -11,12 +11,12 @@ module DaVinciPASTestKit
|
|
11
11
|
description %(
|
12
12
|
|
13
13
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
14
|
-
|
14
|
+
|
15
15
|
PAS server systems are required to be able to receive all
|
16
16
|
must support elements on instances of all profiles included in
|
17
17
|
requests, including instances of the PAS Practitioner Profile.
|
18
18
|
This test checks all identified instances of the PAS Practitioner
|
19
|
-
Profile on requests sent to the server to ensure that the following
|
19
|
+
Profile on requests sent to the server to ensure that the following
|
20
20
|
must support elements are observed:
|
21
21
|
|
22
22
|
* Practitioner.address
|
@@ -42,6 +42,7 @@ module DaVinciPASTestKit
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def scratch_resources
|
45
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
45
46
|
scratch[:submit_request_resources] ||= {}
|
46
47
|
end
|
47
48
|
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
responses, including instances of the PAS Practitioner Profile.
|
16
16
|
This test checks all identified instances of the PAS Practitioner
|
17
|
-
Profile on responses returned by the server to ensure that the following
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Practitioner.address
|
@@ -40,6 +40,7 @@ module DaVinciPASTestKit
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def scratch_resources
|
43
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
43
44
|
scratch[:submit_response_resources] ||= {}
|
44
45
|
end
|
45
46
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestPractitionerRoleMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS PractitionerRole are observed across all instances submitted'
|
@@ -14,14 +14,14 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS PractitionerRole Profile.
|
16
16
|
This test checks all identified instances of the PAS PractitionerRole
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* PractitionerRole.organization
|
21
21
|
* PractitionerRole.practitioner
|
22
22
|
)
|
23
23
|
|
24
|
-
id :
|
24
|
+
id :pas_client_inquire_request_v201_practitioner_role_must_support_test
|
25
25
|
|
26
26
|
def resource_type
|
27
27
|
'PractitionerRole'
|
@@ -36,7 +36,8 @@ module DaVinciPASTestKit
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def scratch_resources
|
39
|
-
scratch
|
39
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
40
|
+
scratch[:inquire_request_resources] ||= {}
|
40
41
|
end
|
41
42
|
|
42
43
|
def resources_of_interest
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS PractitionerRole Profile.
|
16
16
|
This test checks all identified instances of the PAS PractitionerRole
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* PractitionerRole.organization
|
@@ -36,6 +36,7 @@ module DaVinciPASTestKit
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def scratch_resources
|
39
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
39
40
|
scratch[:submit_request_resources] ||= {}
|
40
41
|
end
|
41
42
|
|
@@ -66,12 +66,12 @@
|
|
66
66
|
:file_name: client_submit_request_practitioner_role_must_support_test.rb
|
67
67
|
- :id: pas_server_submit_response_v201_practitioner_role_must_support_test
|
68
68
|
:file_name: server_submit_response_practitioner_role_must_support_test.rb
|
69
|
-
- :id:
|
70
|
-
:file_name:
|
71
|
-
- :id:
|
72
|
-
:file_name:
|
73
|
-
- :id:
|
74
|
-
:file_name:
|
69
|
+
- :id: pas_server_inquire_request_v201_practitioner_role_must_support_test
|
70
|
+
:file_name: server_inquire_request_practitioner_role_must_support_test.rb
|
71
|
+
- :id: pas_client_inquire_request_v201_practitioner_role_must_support_test
|
72
|
+
:file_name: client_inquire_request_practitioner_role_must_support_test.rb
|
73
|
+
- :id: pas_server_inquire_response_v201_practitioner_role_must_support_test
|
74
|
+
:file_name: server_inquire_response_practitioner_role_must_support_test.rb
|
75
75
|
:delayed_references:
|
76
76
|
- :path: practitioner
|
77
77
|
:resources:
|
@@ -4,26 +4,26 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestPractitionerRoleMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS PractitionerRole are observed across all instances submitted'
|
11
11
|
description %(
|
12
12
|
|
13
13
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
14
|
-
|
14
|
+
|
15
15
|
PAS server systems are required to be able to receive all
|
16
16
|
must support elements on instances of all profiles included in
|
17
17
|
requests, including instances of the PAS PractitionerRole Profile.
|
18
18
|
This test checks all identified instances of the PAS PractitionerRole
|
19
|
-
Profile on requests sent to the server to ensure that the following
|
19
|
+
Profile on requests sent to the server to ensure that the following
|
20
20
|
must support elements are observed:
|
21
21
|
|
22
22
|
* PractitionerRole.organization
|
23
23
|
* PractitionerRole.practitioner
|
24
24
|
)
|
25
25
|
|
26
|
-
id :
|
26
|
+
id :pas_server_inquire_request_v201_practitioner_role_must_support_test
|
27
27
|
|
28
28
|
def resource_type
|
29
29
|
'PractitionerRole'
|
@@ -38,6 +38,7 @@ module DaVinciPASTestKit
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def scratch_resources
|
41
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
41
42
|
scratch[:inquire_request_resources] ||= {}
|
42
43
|
end
|
43
44
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponsePractitionerRoleMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS PractitionerRole are observed across all instances returned'
|
@@ -14,14 +14,14 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
responses, including instances of the PAS PractitionerRole Profile.
|
16
16
|
This test checks all identified instances of the PAS PractitionerRole
|
17
|
-
Profile on responses returned by the server to ensure that the following
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* PractitionerRole.organization
|
21
21
|
* PractitionerRole.practitioner
|
22
22
|
)
|
23
23
|
|
24
|
-
id :
|
24
|
+
id :pas_server_inquire_response_v201_practitioner_role_must_support_test
|
25
25
|
|
26
26
|
def resource_type
|
27
27
|
'PractitionerRole'
|
@@ -36,7 +36,8 @@ module DaVinciPASTestKit
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def scratch_resources
|
39
|
-
scratch
|
39
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
40
|
+
scratch[:inquire_response_resources] ||= {}
|
40
41
|
end
|
41
42
|
|
42
43
|
def resources_of_interest
|
@@ -11,12 +11,12 @@ module DaVinciPASTestKit
|
|
11
11
|
description %(
|
12
12
|
|
13
13
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
14
|
-
|
14
|
+
|
15
15
|
PAS server systems are required to be able to receive all
|
16
16
|
must support elements on instances of all profiles included in
|
17
17
|
requests, including instances of the PAS PractitionerRole Profile.
|
18
18
|
This test checks all identified instances of the PAS PractitionerRole
|
19
|
-
Profile on requests sent to the server to ensure that the following
|
19
|
+
Profile on requests sent to the server to ensure that the following
|
20
20
|
must support elements are observed:
|
21
21
|
|
22
22
|
* PractitionerRole.organization
|
@@ -38,6 +38,7 @@ module DaVinciPASTestKit
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def scratch_resources
|
41
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
41
42
|
scratch[:submit_request_resources] ||= {}
|
42
43
|
end
|
43
44
|
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
responses, including instances of the PAS PractitionerRole Profile.
|
16
16
|
This test checks all identified instances of the PAS PractitionerRole
|
17
|
-
Profile on responses returned by the server to ensure that the following
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* PractitionerRole.organization
|
@@ -36,6 +36,7 @@ module DaVinciPASTestKit
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def scratch_resources
|
39
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
39
40
|
scratch[:submit_response_resources] ||= {}
|
40
41
|
end
|
41
42
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestRequestorMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Requestor Organization are observed across all instances submitted'
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS Requestor Organization Profile.
|
16
16
|
This test checks all identified instances of the PAS Requestor Organization
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Organization.active
|
@@ -35,7 +35,7 @@ module DaVinciPASTestKit
|
|
35
35
|
* Organization.type
|
36
36
|
)
|
37
37
|
|
38
|
-
id :
|
38
|
+
id :pas_client_inquire_request_v201_requestor_must_support_test
|
39
39
|
|
40
40
|
def resource_type
|
41
41
|
'Organization'
|
@@ -50,7 +50,8 @@ module DaVinciPASTestKit
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def scratch_resources
|
53
|
-
scratch
|
53
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
54
|
+
scratch[:inquire_request_resources] ||= {}
|
54
55
|
end
|
55
56
|
|
56
57
|
def resources_of_interest
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
requests, including instances of the PAS Requestor Organization Profile.
|
16
16
|
This test checks all identified instances of the PAS Requestor Organization
|
17
|
-
Profile on requests sent by the client to ensure that the following
|
17
|
+
Profile on requests sent by the client to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Organization.active
|
@@ -50,6 +50,7 @@ module DaVinciPASTestKit
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def scratch_resources
|
53
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
53
54
|
scratch[:submit_request_resources] ||= {}
|
54
55
|
end
|
55
56
|
|
@@ -98,10 +98,10 @@
|
|
98
98
|
:file_name: client_submit_request_requestor_must_support_test.rb
|
99
99
|
- :id: pas_server_submit_response_v201_requestor_must_support_test
|
100
100
|
:file_name: server_submit_response_requestor_must_support_test.rb
|
101
|
-
- :id:
|
102
|
-
:file_name:
|
103
|
-
- :id:
|
104
|
-
:file_name:
|
105
|
-
- :id:
|
106
|
-
:file_name:
|
101
|
+
- :id: pas_server_inquire_request_v201_requestor_must_support_test
|
102
|
+
:file_name: server_inquire_request_requestor_must_support_test.rb
|
103
|
+
- :id: pas_client_inquire_request_v201_requestor_must_support_test
|
104
|
+
:file_name: client_inquire_request_requestor_must_support_test.rb
|
105
|
+
- :id: pas_server_inquire_response_v201_requestor_must_support_test
|
106
|
+
:file_name: server_inquire_response_requestor_must_support_test.rb
|
107
107
|
:delayed_references: []
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestRequestorMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Requestor Organization are observed across all instances submitted'
|
11
11
|
description %(
|
12
12
|
|
13
13
|
**USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
|
14
|
-
|
14
|
+
|
15
15
|
PAS server systems are required to be able to receive all
|
16
16
|
must support elements on instances of all profiles included in
|
17
17
|
requests, including instances of the PAS Requestor Organization Profile.
|
18
18
|
This test checks all identified instances of the PAS Requestor Organization
|
19
|
-
Profile on requests sent to the server to ensure that the following
|
19
|
+
Profile on requests sent to the server to ensure that the following
|
20
20
|
must support elements are observed:
|
21
21
|
|
22
22
|
* Organization.active
|
@@ -37,7 +37,7 @@ module DaVinciPASTestKit
|
|
37
37
|
* Organization.type
|
38
38
|
)
|
39
39
|
|
40
|
-
id :
|
40
|
+
id :pas_server_inquire_request_v201_requestor_must_support_test
|
41
41
|
|
42
42
|
def resource_type
|
43
43
|
'Organization'
|
@@ -52,6 +52,7 @@ module DaVinciPASTestKit
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def scratch_resources
|
55
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
55
56
|
scratch[:inquire_request_resources] ||= {}
|
56
57
|
end
|
57
58
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponseRequestorMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Requestor Organization are observed across all instances returned'
|
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
|
|
14
14
|
must support elements on instances of all profiles included in
|
15
15
|
responses, including instances of the PAS Requestor Organization Profile.
|
16
16
|
This test checks all identified instances of the PAS Requestor Organization
|
17
|
-
Profile on responses returned by the server to ensure that the following
|
17
|
+
Profile on responses returned by the server to ensure that the following
|
18
18
|
must support elements are observed:
|
19
19
|
|
20
20
|
* Organization.active
|
@@ -35,7 +35,7 @@ module DaVinciPASTestKit
|
|
35
35
|
* Organization.type
|
36
36
|
)
|
37
37
|
|
38
|
-
id :
|
38
|
+
id :pas_server_inquire_response_v201_requestor_must_support_test
|
39
39
|
|
40
40
|
def resource_type
|
41
41
|
'Organization'
|
@@ -50,7 +50,8 @@ module DaVinciPASTestKit
|
|
50
50
|
end
|
51
51
|
|
52
52
|
def scratch_resources
|
53
|
-
scratch
|
53
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
54
|
+
scratch[:inquire_response_resources] ||= {}
|
54
55
|
end
|
55
56
|
|
56
57
|
def resources_of_interest
|