davinci_pas_test_kit 0.10.0 → 0.11.0
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_pas_request_bundle_validation_test.rb +8 -0
- data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_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_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb +8 -0
- 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_pas_request_bundle_validation_test.rb +8 -0
- 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 +18 -9
- 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/generator/validation_test_generator.rb +8 -0
- data/lib/davinci_pas_test_kit/pas_bundle_validation.rb +7 -31
- data/lib/davinci_pas_test_kit/version.rb +2 -2
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adbcd07bb5f1a40e3ca790bab8009a1d905f444a22fee717fe06a2630e9360f4
|
4
|
+
data.tar.gz: 1b3ec155956da7225994cb43a1d4cbaaf73ebc988e25b9ef1acdf375cc917026
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f0e290e3d5c5af6f5263d23f78b69d4d9f017ea5452ebf56602361b57e7c22e1ff5cfa63f5bbbbc06541ddb66a031373a65699c6b6ff5ac0026038ce1633678
|
7
|
+
data.tar.gz: 10d76ce494d9cfd1aee463b25a04624b8556f1f80f99b175a2b4c1e00a7e6f8c31bb1a5844b83688df0ac3f86e80e02465f9791ea657c82651e5b6761e97e221
|
@@ -15,16 +15,17 @@ module DaVinciPASTestKit
|
|
15
15
|
)
|
16
16
|
|
17
17
|
run do
|
18
|
+
token = SecureRandom.hex(32)
|
18
19
|
# rubocop:disable Layout/LineLength
|
19
20
|
wait(
|
20
|
-
identifier:
|
21
|
+
identifier: token,
|
21
22
|
message: %(
|
22
23
|
Inferno has received a 'Pended' claim response indicating that a final decision
|
23
24
|
has not yet been made on the prior authorization request.
|
24
25
|
|
25
26
|
Please
|
26
27
|
**[click
|
27
|
-
here](#{Inferno::Application['base_url']}/custom/davinci_pas_server_suite_v201/resume_after_notification?
|
28
|
+
here](#{Inferno::Application['base_url']}/custom/davinci_pas_server_suite_v201/resume_after_notification?token=#{token})**
|
28
29
|
when the status of this claim has been finalized to inform Inferno to resume testing.
|
29
30
|
|
30
31
|
Future versions of this test will validate subscription-based notifications as
|
@@ -169,4 +169,11 @@ The PAS IG places additional requirements on clients that are not currently test
|
|
169
169
|
- Most details requiring manual review of the client system, e.g., the requirement that clinicians can update
|
170
170
|
details of the prior authorization request before submitting them
|
171
171
|
|
172
|
-
These and any other requirements found in the PAS IG may be tested in future versions of these tests.
|
172
|
+
These and any other requirements found in the PAS IG may be tested in future versions of these tests.
|
173
|
+
|
174
|
+
### Known Issues
|
175
|
+
|
176
|
+
Testing has identified issues with the source IG that result in spurious failures.
|
177
|
+
Tests impacted by these issues have an indication in their documentations. The full
|
178
|
+
list of known issues can be found on the [repository's issues page with the 'source ig issue'
|
179
|
+
label](https://github.com/inferno-framework/davinci-pas-test-kit/labels/source%20ig%20issue).
|
@@ -147,4 +147,11 @@ The PAS IG places additional requirements on servers that are not currently test
|
|
147
147
|
- Inquiry requests from non-submitting systems
|
148
148
|
- Collection of metrics
|
149
149
|
|
150
|
-
These and any other requirements found in the PAS IG may be tested in future versions of these tests.
|
150
|
+
These and any other requirements found in the PAS IG may be tested in future versions of these tests.
|
151
|
+
|
152
|
+
### Known Issues
|
153
|
+
|
154
|
+
Testing has identified issues with the source IG that result in spurious failures.
|
155
|
+
Tests impacted by these issues have an indication in their documentations. The full
|
156
|
+
list of known issues can be found on the [repository's issues page with the 'source ig issue'
|
157
|
+
label](https://github.com/inferno-framework/davinci-pas-test-kit/labels/source%20ig%20issue).
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestBeneficiaryMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Beneficiary 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 Beneficiary Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Beneficiary 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
|
@@ -47,7 +47,7 @@ module DaVinciPASTestKit
|
|
47
47
|
* Patient.telecom.value
|
48
48
|
)
|
49
49
|
|
50
|
-
id :
|
50
|
+
id :pas_client_inquire_request_v201_beneficiary_must_support_test
|
51
51
|
|
52
52
|
def resource_type
|
53
53
|
'Patient'
|
@@ -62,7 +62,8 @@ module DaVinciPASTestKit
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def scratch_resources
|
65
|
-
scratch
|
65
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
66
|
+
scratch[:inquire_request_resources] ||= {}
|
66
67
|
end
|
67
68
|
|
68
69
|
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 Beneficiary Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Beneficiary 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
|
@@ -62,6 +62,7 @@ module DaVinciPASTestKit
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def scratch_resources
|
65
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
65
66
|
scratch[:submit_request_resources] ||= {}
|
66
67
|
end
|
67
68
|
|
@@ -153,10 +153,10 @@
|
|
153
153
|
:file_name: client_submit_request_beneficiary_must_support_test.rb
|
154
154
|
- :id: pas_server_submit_response_v201_beneficiary_must_support_test
|
155
155
|
:file_name: server_submit_response_beneficiary_must_support_test.rb
|
156
|
-
- :id:
|
157
|
-
:file_name:
|
158
|
-
- :id:
|
159
|
-
:file_name:
|
160
|
-
- :id:
|
161
|
-
:file_name:
|
156
|
+
- :id: pas_server_inquire_request_v201_beneficiary_must_support_test
|
157
|
+
:file_name: server_inquire_request_beneficiary_must_support_test.rb
|
158
|
+
- :id: pas_client_inquire_request_v201_beneficiary_must_support_test
|
159
|
+
:file_name: client_inquire_request_beneficiary_must_support_test.rb
|
160
|
+
- :id: pas_server_inquire_response_v201_beneficiary_must_support_test
|
161
|
+
:file_name: server_inquire_response_beneficiary_must_support_test.rb
|
162
162
|
:delayed_references: []
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestBeneficiaryMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Beneficiary 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 Beneficiary Patient Profile.
|
18
18
|
This test checks all identified instances of the PAS Beneficiary 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
|
@@ -49,7 +49,7 @@ module DaVinciPASTestKit
|
|
49
49
|
* Patient.telecom.value
|
50
50
|
)
|
51
51
|
|
52
|
-
id :
|
52
|
+
id :pas_server_inquire_request_v201_beneficiary_must_support_test
|
53
53
|
|
54
54
|
def resource_type
|
55
55
|
'Patient'
|
@@ -64,6 +64,7 @@ module DaVinciPASTestKit
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def scratch_resources
|
67
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
67
68
|
scratch[:inquire_request_resources] ||= {}
|
68
69
|
end
|
69
70
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponseBeneficiaryMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Beneficiary Patient 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 Beneficiary Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Beneficiary Patient
|
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
|
* Patient.address
|
@@ -47,7 +47,7 @@ module DaVinciPASTestKit
|
|
47
47
|
* Patient.telecom.value
|
48
48
|
)
|
49
49
|
|
50
|
-
id :
|
50
|
+
id :pas_server_inquire_response_v201_beneficiary_must_support_test
|
51
51
|
|
52
52
|
def resource_type
|
53
53
|
'Patient'
|
@@ -62,7 +62,8 @@ module DaVinciPASTestKit
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def scratch_resources
|
65
|
-
scratch
|
65
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
66
|
+
scratch[:inquire_response_resources] ||= {}
|
66
67
|
end
|
67
68
|
|
68
69
|
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 Beneficiary Patient Profile.
|
18
18
|
This test checks all identified instances of the PAS Beneficiary 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
|
@@ -64,6 +64,7 @@ module DaVinciPASTestKit
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def scratch_resources
|
67
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
67
68
|
scratch[:submit_request_resources] ||= {}
|
68
69
|
end
|
69
70
|
|
@@ -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 Beneficiary Patient Profile.
|
16
16
|
This test checks all identified instances of the PAS Beneficiary Patient
|
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
|
* Patient.address
|
@@ -62,6 +62,7 @@ module DaVinciPASTestKit
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def scratch_resources
|
65
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
65
66
|
scratch[:submit_response_resources] ||= {}
|
66
67
|
end
|
67
68
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestClaimInquiryMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Claim Inquiry 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 Claim Inquiry Profile.
|
16
16
|
This test checks all identified instances of the PAS Claim Inquiry
|
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
|
* Claim.accident
|
@@ -67,7 +67,7 @@ module DaVinciPASTestKit
|
|
67
67
|
* Claim.supportingInfo.timing[x]
|
68
68
|
)
|
69
69
|
|
70
|
-
id :
|
70
|
+
id :pas_client_inquire_request_v201_claim_inquiry_must_support_test
|
71
71
|
|
72
72
|
def resource_type
|
73
73
|
'Claim'
|
@@ -82,7 +82,8 @@ module DaVinciPASTestKit
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def scratch_resources
|
85
|
-
scratch
|
85
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
86
|
+
scratch[:inquire_request_resources] ||= {}
|
86
87
|
end
|
87
88
|
|
88
89
|
def resources_of_interest
|
@@ -495,10 +495,10 @@
|
|
495
495
|
:tests:
|
496
496
|
- :id: pas_v201_claim_inquiry_operation_test
|
497
497
|
:file_name: claim_inquiry_operation_test.rb
|
498
|
-
- :id:
|
499
|
-
:file_name:
|
500
|
-
- :id:
|
501
|
-
:file_name:
|
498
|
+
- :id: pas_server_inquire_request_v201_claim_inquiry_must_support_test
|
499
|
+
:file_name: server_inquire_request_claim_inquiry_must_support_test.rb
|
500
|
+
- :id: pas_client_inquire_request_v201_claim_inquiry_must_support_test
|
501
|
+
:file_name: client_inquire_request_claim_inquiry_must_support_test.rb
|
502
502
|
:delayed_references:
|
503
503
|
- :path: insurer
|
504
504
|
:resources:
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestClaimInquiryMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Claim Inquiry 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 Claim Inquiry Profile.
|
18
18
|
This test checks all identified instances of the PAS Claim Inquiry
|
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
|
* Claim.accident
|
@@ -69,7 +69,7 @@ module DaVinciPASTestKit
|
|
69
69
|
* Claim.supportingInfo.timing[x]
|
70
70
|
)
|
71
71
|
|
72
|
-
id :
|
72
|
+
id :pas_server_inquire_request_v201_claim_inquiry_must_support_test
|
73
73
|
|
74
74
|
def resource_type
|
75
75
|
'Claim'
|
@@ -84,6 +84,7 @@ module DaVinciPASTestKit
|
|
84
84
|
end
|
85
85
|
|
86
86
|
def scratch_resources
|
87
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
87
88
|
scratch[:inquire_request_resources] ||= {}
|
88
89
|
end
|
89
90
|
|
@@ -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 Claim Update Profile.
|
16
16
|
This test checks all identified instances of the PAS Claim Update
|
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
|
* Claim.accident
|
@@ -89,6 +89,7 @@ module DaVinciPASTestKit
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def scratch_resources
|
92
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
92
93
|
scratch[:submit_request_resources] ||= {}
|
93
94
|
end
|
94
95
|
|
@@ -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 Claim Update Profile.
|
18
18
|
This test checks all identified instances of the PAS Claim Update
|
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
|
* Claim.accident
|
@@ -91,6 +91,7 @@ module DaVinciPASTestKit
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def scratch_resources
|
94
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
94
95
|
scratch[:submit_request_resources] ||= {}
|
95
96
|
end
|
96
97
|
|
@@ -299,8 +299,8 @@
|
|
299
299
|
:profiles:
|
300
300
|
- http://hl7.org/fhir/StructureDefinition/ClaimResponse
|
301
301
|
:tests:
|
302
|
-
- :id:
|
303
|
-
:file_name:
|
302
|
+
- :id: pas_server_inquire_response_v201_claiminquiryresponse_must_support_test
|
303
|
+
:file_name: server_inquire_response_claiminquiryresponse_must_support_test.rb
|
304
304
|
:delayed_references:
|
305
305
|
- :path: insurer
|
306
306
|
:resources:
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireResponseClaiminquiryresponseMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Claim Inquiry Response 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 Claim Inquiry Response Profile.
|
16
16
|
This test checks all identified instances of the PAS Claim Inquiry Response
|
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
|
* ClaimResponse.created
|
@@ -45,7 +45,7 @@ module DaVinciPASTestKit
|
|
45
45
|
* ClaimResponse.status
|
46
46
|
)
|
47
47
|
|
48
|
-
id :
|
48
|
+
id :pas_server_inquire_response_v201_claiminquiryresponse_must_support_test
|
49
49
|
|
50
50
|
def resource_type
|
51
51
|
'ClaimResponse'
|
@@ -60,7 +60,8 @@ module DaVinciPASTestKit
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def scratch_resources
|
63
|
-
scratch
|
63
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
64
|
+
scratch[:inquire_response_resources] ||= {}
|
64
65
|
end
|
65
66
|
|
66
67
|
def resources_of_interest
|
@@ -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 Claim Response Profile.
|
16
16
|
This test checks all identified instances of the PAS Claim Response
|
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
|
* ClaimResponse.communicationRequest
|
@@ -62,6 +62,7 @@ module DaVinciPASTestKit
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def scratch_resources
|
65
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
65
66
|
scratch[:submit_response_resources] ||= {}
|
66
67
|
end
|
67
68
|
|
@@ -29,6 +29,14 @@ module DaVinciPASTestKit
|
|
29
29
|
|
30
30
|
Note that because X12 value sets are not public, elements bound to value
|
31
31
|
sets containing X12 codes are not validated.
|
32
|
+
|
33
|
+
**Limitations**
|
34
|
+
|
35
|
+
Due to recognized errors in the PAS IG around extension context definitions,
|
36
|
+
this test may not pass due to spurious errors of the form "The extension
|
37
|
+
[extension url] is not allowed at this point". See [this
|
38
|
+
issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
|
39
|
+
for additional details.
|
32
40
|
)
|
33
41
|
|
34
42
|
def resource_type
|
@@ -26,6 +26,14 @@ module DaVinciPASTestKit
|
|
26
26
|
|
27
27
|
Note that because X12 value sets are not public, elements bound to value
|
28
28
|
sets containing X12 codes are not validated.
|
29
|
+
|
30
|
+
**Limitations**
|
31
|
+
|
32
|
+
Due to recognized errors in the PAS IG around extension context definitions,
|
33
|
+
this test may not pass due to spurious errors of the form "The extension
|
34
|
+
[extension url] is not allowed at this point". See [this
|
35
|
+
issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
|
36
|
+
for additional details.
|
29
37
|
)
|
30
38
|
|
31
39
|
def resource_type
|
@@ -26,6 +26,14 @@ module DaVinciPASTestKit
|
|
26
26
|
|
27
27
|
Note that because X12 value sets are not public, elements bound to value
|
28
28
|
sets containing X12 codes are not validated.
|
29
|
+
|
30
|
+
**Limitations**
|
31
|
+
|
32
|
+
Due to recognized errors in the PAS IG around extension context definitions,
|
33
|
+
this test may not pass due to spurious errors of the form "The extension
|
34
|
+
[extension url] is not allowed at this point". See [this
|
35
|
+
issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
|
36
|
+
for additional details.
|
29
37
|
)
|
30
38
|
|
31
39
|
def resource_type
|
@@ -29,6 +29,14 @@ module DaVinciPASTestKit
|
|
29
29
|
|
30
30
|
Note that because X12 value sets are not public, elements bound to value
|
31
31
|
sets containing X12 codes are not validated.
|
32
|
+
|
33
|
+
**Limitations**
|
34
|
+
|
35
|
+
Due to recognized errors in the PAS IG around extension context definitions,
|
36
|
+
this test may not pass due to spurious errors of the form "The extension
|
37
|
+
[extension url] is not allowed at this point". See [this
|
38
|
+
issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
|
39
|
+
for additional details.
|
32
40
|
)
|
33
41
|
|
34
42
|
def resource_type
|
@@ -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 CommunicationRequest Profile.
|
16
16
|
This test checks all identified instances of the PAS CommunicationRequest
|
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
|
* CommunicationRequest.category
|
@@ -45,6 +45,7 @@ module DaVinciPASTestKit
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def scratch_resources
|
48
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
48
49
|
scratch[:submit_response_resources] ||= {}
|
49
50
|
end
|
50
51
|
|
@@ -4,7 +4,7 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ClientInquireRequestCoverageMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Coverage 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 Coverage Profile.
|
16
16
|
This test checks all identified instances of the PAS Coverage
|
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
|
* Coverage.beneficiary
|
@@ -27,7 +27,7 @@ module DaVinciPASTestKit
|
|
27
27
|
* Coverage.subscriberId
|
28
28
|
)
|
29
29
|
|
30
|
-
id :
|
30
|
+
id :pas_client_inquire_request_v201_coverage_must_support_test
|
31
31
|
|
32
32
|
def resource_type
|
33
33
|
'Coverage'
|
@@ -42,7 +42,8 @@ module DaVinciPASTestKit
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def scratch_resources
|
45
|
-
scratch
|
45
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
46
|
+
scratch[:inquire_request_resources] ||= {}
|
46
47
|
end
|
47
48
|
|
48
49
|
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 Coverage Profile.
|
16
16
|
This test checks all identified instances of the PAS Coverage
|
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
|
* Coverage.beneficiary
|
@@ -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
|
|
@@ -101,10 +101,10 @@
|
|
101
101
|
:file_name: server_submit_request_coverage_must_support_test.rb
|
102
102
|
- :id: pas_client_submit_request_v201_coverage_must_support_test
|
103
103
|
:file_name: client_submit_request_coverage_must_support_test.rb
|
104
|
-
- :id:
|
105
|
-
:file_name:
|
106
|
-
- :id:
|
107
|
-
:file_name:
|
104
|
+
- :id: pas_server_inquire_request_v201_coverage_must_support_test
|
105
|
+
:file_name: server_inquire_request_coverage_must_support_test.rb
|
106
|
+
- :id: pas_client_inquire_request_v201_coverage_must_support_test
|
107
|
+
:file_name: client_inquire_request_coverage_must_support_test.rb
|
108
108
|
:delayed_references:
|
109
109
|
- :path: payor
|
110
110
|
:resources:
|
@@ -4,19 +4,19 @@ require_relative '../../../tags'
|
|
4
4
|
|
5
5
|
module DaVinciPASTestKit
|
6
6
|
module DaVinciPASV201
|
7
|
-
class
|
7
|
+
class ServerInquireRequestCoverageMustSupportTest < Inferno::Test
|
8
8
|
include DaVinciPASTestKit::MustSupportTest
|
9
9
|
|
10
10
|
title 'All must support elements for Profile PAS Coverage 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 Coverage Profile.
|
18
18
|
This test checks all identified instances of the PAS Coverage
|
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
|
* Coverage.beneficiary
|
@@ -29,7 +29,7 @@ module DaVinciPASTestKit
|
|
29
29
|
* Coverage.subscriberId
|
30
30
|
)
|
31
31
|
|
32
|
-
id :
|
32
|
+
id :pas_server_inquire_request_v201_coverage_must_support_test
|
33
33
|
|
34
34
|
def resource_type
|
35
35
|
'Coverage'
|
@@ -44,6 +44,7 @@ module DaVinciPASTestKit
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def scratch_resources
|
47
|
+
# The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
|
47
48
|
scratch[:inquire_request_resources] ||= {}
|
48
49
|
end
|
49
50
|
|