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
@@ -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 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
|
@@ -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[:submit_request_resources] ||= {}
|
56
57
|
end
|
57
58
|
|
@@ -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
|
@@ -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_response_resources] ||= {}
|
54
55
|
end
|
55
56
|
|
@@ -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 Service Request Profile.
|
16
16
|
This test checks all identified instances of the PAS Service Request
|
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
|
* ServiceRequest.code
|
@@ -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
|
|
@@ -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 Service Request Profile.
|
18
18
|
This test checks all identified instances of the PAS Service Request
|
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
|
* ServiceRequest.code
|
@@ -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
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestSubscriberMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Subscriber Patient 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 Subscriber Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Subscriber Patient
|
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
|
* Patient.address
|
@@ -46,7 +46,7 @@ module DaVinciPASTestKit
|
|
46
46
|
* Patient.telecom.value
|
47
47
|
)
|
48
48
|
|
49
|
-
id :
|
49
|
+
id :pas_client_inquire_request_v201_subscriber_must_support_test
|
50
50
|
|
51
51
|
def resource_type
|
52
52
|
'Patient'
|
@@ -61,7 +61,8 @@ module DaVinciPASTestKit
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def scratch_resources
|
64
|
-
scratch
|
64
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
65
|
+
scratch[:inquire_request_resources] ||= {}
|
65
66
|
end
|
66
67
|
|
67
68
|
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 Subscriber Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Subscriber Patient
|
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
|
* Patient.address
|
@@ -61,6 +61,7 @@ module DaVinciPASTestKit
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def scratch_resources
|
64
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
64
65
|
scratch[:submit_request_resources] ||= {}
|
65
66
|
end
|
66
67
|
|
@@ -152,8 +152,8 @@
|
|
152
152
|
:file_name: server_submit_request_subscriber_must_support_test.rb
|
153
153
|
- :id: pas_client_submit_request_v201_subscriber_must_support_test
|
154
154
|
:file_name: client_submit_request_subscriber_must_support_test.rb
|
155
|
-
- :id:
|
156
|
-
:file_name:
|
157
|
-
- :id:
|
158
|
-
:file_name:
|
155
|
+
- :id: pas_server_inquire_request_v201_subscriber_must_support_test
|
156
|
+
:file_name: server_inquire_request_subscriber_must_support_test.rb
|
157
|
+
- :id: pas_client_inquire_request_v201_subscriber_must_support_test
|
158
|
+
:file_name: client_inquire_request_subscriber_must_support_test.rb
|
159
159
|
:delayed_references: []
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestSubscriberMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Subscriber Patient 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 Subscriber Patient Profile.
|
18
18
|
This test checks all identified instances of the PAS Subscriber Patient
|
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
|
* Patient.address
|
@@ -48,7 +48,7 @@ module DaVinciPASTestKit
|
|
48
48
|
* Patient.telecom.value
|
49
49
|
)
|
50
50
|
|
51
|
-
id :
|
51
|
+
id :pas_server_inquire_request_v201_subscriber_must_support_test
|
52
52
|
|
53
53
|
def resource_type
|
54
54
|
'Patient'
|
@@ -63,6 +63,7 @@ module DaVinciPASTestKit
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def scratch_resources
|
66
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
66
67
|
scratch[:inquire_request_resources] ||= {}
|
67
68
|
end
|
68
69
|
|
@@ -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 Subscriber Patient Profile.
|
18
18
|
This test checks all identified instances of the PAS Subscriber Patient
|
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
|
* Patient.address
|
@@ -63,6 +63,7 @@ module DaVinciPASTestKit
|
|
63
63
|
end
|
64
64
|
|
65
65
|
def scratch_resources
|
66
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
66
67
|
scratch[:submit_request_resources] ||= {}
|
67
68
|
end
|
68
69
|
|
@@ -187,6 +187,6 @@
|
|
187
187
|
:tests:
|
188
188
|
- :id: pas_server_submit_response_v201_task_must_support_test
|
189
189
|
:file_name: server_submit_response_task_must_support_test.rb
|
190
|
-
- :id:
|
191
|
-
:file_name:
|
190
|
+
- :id: pas_server_inquire_response_v201_task_must_support_test
|
191
|
+
:file_name: server_inquire_response_task_must_support_test.rb
|
192
192
|
:delayed_references: []
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponseTaskMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Task 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 Task Profile.
|
16
16
|
This test checks all identified instances of the PAS Task
|
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
|
* Task.code
|
@@ -33,7 +33,7 @@ module DaVinciPASTestKit
|
|
33
33
|
* Task.statusReason
|
34
34
|
)
|
35
35
|
|
36
|
-
id :
|
36
|
+
id :pas_server_inquire_response_v201_task_must_support_test
|
37
37
|
|
38
38
|
def resource_type
|
39
39
|
'Task'
|
@@ -48,7 +48,8 @@ module DaVinciPASTestKit
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def scratch_resources
|
51
|
-
scratch
|
51
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
52
|
+
scratch[:inquire_response_resources] ||= {}
|
52
53
|
end
|
53
54
|
|
54
55
|
def resources_of_interest
|
data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb
CHANGED
@@ -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 Task Profile.
|
16
16
|
This test checks all identified instances of the PAS Task
|
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
|
* Task.code
|
@@ -48,6 +48,7 @@ module DaVinciPASTestKit
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def scratch_resources
|
51
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
51
52
|
scratch[:submit_response_resources] ||= {}
|
52
53
|
end
|
53
54
|
|
@@ -147,12 +147,12 @@ module DaVinciPASTestKit
|
|
147
147
|
end
|
148
148
|
|
149
149
|
def inquiry_request_must_support_test_ids
|
150
|
-
@inquiry_request_must_support_test_ids ||= select_test_ids(['
|
150
|
+
@inquiry_request_must_support_test_ids ||= select_test_ids(['inquire_request', 'must_support_test'], ['client'])
|
151
151
|
end
|
152
152
|
|
153
153
|
def client_inquiry_request_must_support_test_ids
|
154
154
|
@client_inquiry_request_must_support_test_ids ||= select_test_ids(
|
155
|
-
['
|
155
|
+
['inquire_request', 'must_support_test'],
|
156
156
|
['server']
|
157
157
|
).unshift(pas_client_must_support_test_id)
|
158
158
|
end
|
@@ -162,7 +162,7 @@ module DaVinciPASTestKit
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def inquiry_response_must_support_test_ids
|
165
|
-
@inquiry_response_must_support_test_ids ||= select_test_ids(['
|
165
|
+
@inquiry_response_must_support_test_ids ||= select_test_ids(['inquire_response', 'must_support_test'])
|
166
166
|
end
|
167
167
|
|
168
168
|
def submit_operation_test_ids
|
@@ -27,10 +27,10 @@ module DaVinciPASTestKit
|
|
27
27
|
submit_response_groups.each { |group| new(group, base_output_dir, 'submit_response').generate }
|
28
28
|
|
29
29
|
inquiry_request_groups.each do |group|
|
30
|
-
new(group, base_output_dir, '
|
31
|
-
new(group, base_output_dir, '
|
30
|
+
new(group, base_output_dir, 'inquire_request').generate
|
31
|
+
new(group, base_output_dir, 'inquire_request', 'client').generate
|
32
32
|
end
|
33
|
-
inquiry_response_groups.each { |group| new(group, base_output_dir, '
|
33
|
+
inquiry_response_groups.each { |group| new(group, base_output_dir, 'inquire_response').generate }
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: davinci_pas_test_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Inferno Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inferno_core
|
@@ -124,24 +124,24 @@ files:
|
|
124
124
|
- lib/davinci_pas_test_kit/ext/inferno_core/request.rb
|
125
125
|
- lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb
|
126
126
|
- lib/davinci_pas_test_kit/fhir_resource_navigation.rb
|
127
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/
|
127
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_inquire_request_beneficiary_must_support_test.rb
|
128
128
|
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb
|
129
129
|
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml
|
130
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/
|
131
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/
|
130
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquire_request_beneficiary_must_support_test.rb
|
131
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquire_response_beneficiary_must_support_test.rb
|
132
132
|
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb
|
133
133
|
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb
|
134
134
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim/claim_operation_test.rb
|
135
135
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim/metadata.yml
|
136
136
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb
|
137
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/
|
137
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/client_inquire_request_claim_inquiry_must_support_test.rb
|
138
138
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml
|
139
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/
|
139
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/server_inquire_request_claim_inquiry_must_support_test.rb
|
140
140
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb
|
141
141
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/metadata.yml
|
142
142
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb
|
143
143
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml
|
144
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/
|
144
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquire_response_claiminquiryresponse_must_support_test.rb
|
145
145
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml
|
146
146
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb
|
147
147
|
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb
|
@@ -150,10 +150,10 @@ files:
|
|
150
150
|
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb
|
151
151
|
- lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml
|
152
152
|
- lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb
|
153
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/
|
153
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_inquire_request_coverage_must_support_test.rb
|
154
154
|
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb
|
155
155
|
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml
|
156
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/
|
156
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_inquire_request_coverage_must_support_test.rb
|
157
157
|
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb
|
158
158
|
- lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb
|
159
159
|
- lib/davinci_pas_test_kit/generated/v2.0.1/device_request/metadata.yml
|
@@ -161,11 +161,11 @@ files:
|
|
161
161
|
- lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb
|
162
162
|
- lib/davinci_pas_test_kit/generated/v2.0.1/encounter/metadata.yml
|
163
163
|
- lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb
|
164
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/
|
164
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_inquire_request_insurer_must_support_test.rb
|
165
165
|
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb
|
166
166
|
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml
|
167
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/
|
168
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/
|
167
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquire_request_insurer_must_support_test.rb
|
168
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquire_response_insurer_must_support_test.rb
|
169
169
|
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb
|
170
170
|
- lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb
|
171
171
|
- lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb
|
@@ -177,12 +177,12 @@ files:
|
|
177
177
|
- lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb
|
178
178
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb
|
179
179
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_submit_must_support_use_case_group.rb
|
180
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/
|
180
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/client_inquire_request_pas_inquiry_request_bundle_must_support_test.rb
|
181
181
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml
|
182
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/
|
182
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_inquire_request_pas_inquiry_request_bundle_must_support_test.rb
|
183
183
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb
|
184
184
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml
|
185
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/
|
185
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_inquire_response_pas_inquiry_response_bundle_must_support_test.rb
|
186
186
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb
|
187
187
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/client_submit_request_pas_request_bundle_must_support_test.rb
|
188
188
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml
|
@@ -195,25 +195,25 @@ files:
|
|
195
195
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb
|
196
196
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb
|
197
197
|
- lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb
|
198
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/
|
198
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_inquire_request_practitioner_must_support_test.rb
|
199
199
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb
|
200
200
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml
|
201
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/
|
202
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/
|
201
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquire_request_practitioner_must_support_test.rb
|
202
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquire_response_practitioner_must_support_test.rb
|
203
203
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb
|
204
204
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb
|
205
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/
|
205
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_inquire_request_practitioner_role_must_support_test.rb
|
206
206
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb
|
207
207
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml
|
208
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/
|
209
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/
|
208
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquire_request_practitioner_role_must_support_test.rb
|
209
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquire_response_practitioner_role_must_support_test.rb
|
210
210
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb
|
211
211
|
- lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb
|
212
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/
|
212
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_inquire_request_requestor_must_support_test.rb
|
213
213
|
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb
|
214
214
|
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml
|
215
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/
|
216
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/
|
215
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquire_request_requestor_must_support_test.rb
|
216
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquire_response_requestor_must_support_test.rb
|
217
217
|
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb
|
218
218
|
- lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb
|
219
219
|
- lib/davinci_pas_test_kit/generated/v2.0.1/resource_list.rb
|
@@ -221,13 +221,13 @@ files:
|
|
221
221
|
- lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb
|
222
222
|
- lib/davinci_pas_test_kit/generated/v2.0.1/service_request/metadata.yml
|
223
223
|
- lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb
|
224
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/
|
224
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_inquire_request_subscriber_must_support_test.rb
|
225
225
|
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb
|
226
226
|
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml
|
227
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/
|
227
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_inquire_request_subscriber_must_support_test.rb
|
228
228
|
- lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb
|
229
229
|
- lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml
|
230
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/task/
|
230
|
+
- lib/davinci_pas_test_kit/generated/v2.0.1/task/server_inquire_response_task_must_support_test.rb
|
231
231
|
- lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb
|
232
232
|
- lib/davinci_pas_test_kit/generator.rb
|
233
233
|
- lib/davinci_pas_test_kit/generator/group_generator.rb
|