davinci_pas_test_kit 0.11.1 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/presets/pas_client_example.json +30 -0
- data/config/presets/pas_ri.json +69 -0
- data/lib/davinci_pas_test_kit/client_suite.rb +28 -2
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb +29 -1
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb +27 -4
- data/lib/davinci_pas_test_kit/{generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_bundle_validation_test.rb → custom_groups/v2.0.1/client_tests/pas_client_inquire_request_bundle_validation_test.rb} +22 -20
- data/lib/davinci_pas_test_kit/{generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb → custom_groups/v2.0.1/client_tests/pas_client_inquire_response_bundle_validation_test.rb} +34 -21
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb +124 -5
- data/lib/davinci_pas_test_kit/{generated/v2.0.1/client_tests/client_pas_request_bundle_validation_test.rb → custom_groups/v2.0.1/client_tests/pas_client_request_bundle_validation_test.rb} +22 -20
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/{pas_client_approval_submit_response_attest.rb → pas_client_response_attest.rb} +26 -9
- data/lib/davinci_pas_test_kit/{generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb → custom_groups/v2.0.1/client_tests/pas_client_response_bundle_validation_test.rb} +44 -20
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_create_test.rb +49 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_pas_conformance_test.rb +48 -0
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_approval_group.rb +21 -9
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_authentication_group.rb +2 -2
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb +21 -22
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb +97 -31
- data/lib/davinci_pas_test_kit/docs/PAS Requirements Interpretation.xlsx +0 -0
- data/lib/davinci_pas_test_kit/docs/client_suite_description_v201.md +213 -72
- data/lib/davinci_pas_test_kit/endpoints/claim_endpoint.rb +85 -134
- data/lib/davinci_pas_test_kit/endpoints/subscription_create_endpoint.rb +96 -0
- data/lib/davinci_pas_test_kit/endpoints/subscription_status_endpoint.rb +90 -0
- data/lib/davinci_pas_test_kit/fhir_resource_navigation.rb +3 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +0 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb +3 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml +0 -2
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_pas_request_bundle_validation_test.rb +3 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/metadata.yml +0 -4
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +2 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb +1 -1
- data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb +6 -5
- data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +5 -2
- data/lib/davinci_pas_test_kit/generator/group_generator.rb +9 -8
- data/lib/davinci_pas_test_kit/generator/group_metadata_extractor.rb +7 -3
- data/lib/davinci_pas_test_kit/generator/templates/group.rb.erb +129 -0
- data/lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb +73 -0
- data/lib/davinci_pas_test_kit/generator/templates/operation.rb.erb +62 -0
- data/lib/davinci_pas_test_kit/generator/templates/resource_list.rb.erb +13 -0
- data/lib/davinci_pas_test_kit/generator/templates/suite.rb.erb +92 -0
- data/lib/davinci_pas_test_kit/generator/templates/validation.rb.erb +98 -0
- data/lib/davinci_pas_test_kit/generator/validation_test_generator.rb +19 -56
- data/lib/davinci_pas_test_kit/generator/value_extractor.rb +4 -1
- data/lib/davinci_pas_test_kit/generator.rb +1 -1
- data/lib/davinci_pas_test_kit/igs/davinci_pas_2.0.1.tgz +0 -0
- data/lib/davinci_pas_test_kit/jobs/send_pas_subscription_notification.rb +136 -0
- data/lib/davinci_pas_test_kit/jobs/send_subscription_handshake.rb +139 -0
- data/lib/davinci_pas_test_kit/metadata.rb +87 -0
- data/lib/davinci_pas_test_kit/pas_bundle_validation.rb +8 -7
- data/lib/davinci_pas_test_kit/response_generator.rb +397 -0
- data/lib/davinci_pas_test_kit/tags.rb +9 -0
- data/lib/davinci_pas_test_kit/urls.rb +8 -0
- data/lib/davinci_pas_test_kit/user_input_response.rb +11 -8
- data/lib/davinci_pas_test_kit/validation_test.rb +0 -1
- data/lib/davinci_pas_test_kit/version.rb +2 -1
- data/lib/davinci_pas_test_kit.rb +1 -0
- metadata +44 -15
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_response_attest.rb +0 -38
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_response_attest.rb +0 -39
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_test.rb +0 -35
- data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_response_attest.rb +0 -39
@@ -4,4 +4,13 @@ module DaVinciPASTestKit
|
|
4
4
|
AUTH_TAG = 'pas_auth'
|
5
5
|
SUBMIT_TAG = 'pas_submit'
|
6
6
|
INQUIRE_TAG = 'pas_inquire'
|
7
|
+
APPROVAL_WORKFLOW_TAG = 'pas_approved_workflow'
|
8
|
+
DENIAL_WORKFLOW_TAG = 'pas_denied_workflow'
|
9
|
+
PENDED_WORKFLOW_TAG = 'pas_pended_workflow'
|
10
|
+
NOTIFICATION_TAG = 'subscription_notification'
|
11
|
+
SUBSCRIPTION_CREATE_TAG = 'subscription_create'
|
12
|
+
SUBSCRIPTION_READ_TAG = 'subscription_read'
|
13
|
+
SUBSCRIPTION_STATUS_TAG = 'subscription_status'
|
14
|
+
REST_HOOK_HANDSHAKE_NOTIFICATION_TAG = 'rest_hook_handshake_notification'
|
15
|
+
REST_HOOK_EVENT_NOTIFICATION_TAG = 'rest_hook_event_notification'
|
7
16
|
end
|
@@ -4,6 +4,10 @@ module DaVinciPASTestKit
|
|
4
4
|
TOKEN_PATH = '/mock_auth/token'
|
5
5
|
SUBMIT_PATH = '/fhir/Claim/$submit'
|
6
6
|
INQUIRE_PATH = '/fhir/Claim/$inquire'
|
7
|
+
FHIR_SUBSCRIPTION_PATH = '/fhir/Subscription'
|
8
|
+
FHIR_SUBSCRIPTION_INSTANCE_PATH = '/fhir/Subscription/:id'
|
9
|
+
FHIR_SUBSCRIPTION_INSTANCE_STATUS_PATH = '/fhir/Subscription/:id/$status'
|
10
|
+
FHIR_SUBSCRIPTION_RESOURCE_STATUS_PATH = '/fhir/Subscription/$status'
|
7
11
|
RESUME_PASS_PATH = '/resume_pass'
|
8
12
|
RESUME_FAIL_PATH = '/resume_fail'
|
9
13
|
|
@@ -24,6 +28,10 @@ module DaVinciPASTestKit
|
|
24
28
|
@inquire_url ||= base_url + INQUIRE_PATH
|
25
29
|
end
|
26
30
|
|
31
|
+
def fhir_subscription_url
|
32
|
+
@fhir_subscription_url ||= base_url + FHIR_SUBSCRIPTION_PATH
|
33
|
+
end
|
34
|
+
|
27
35
|
def resume_pass_url
|
28
36
|
@resume_pass_url ||= base_url + RESUME_PASS_PATH
|
29
37
|
end
|
@@ -4,8 +4,9 @@ module DaVinciPASTestKit
|
|
4
4
|
klass.extend ClassMethods
|
5
5
|
end
|
6
6
|
|
7
|
-
def self.user_inputted_response(configurable, result)
|
8
|
-
|
7
|
+
def self.user_inputted_response(configurable, operation, result)
|
8
|
+
config_key = operation == 'submit' ? :submit_respond_with : :inquire_respond_with
|
9
|
+
input_key = configurable.config.options[config_key]
|
9
10
|
return unless input_key.present?
|
10
11
|
|
11
12
|
JSON.parse(result.input_json)&.find { |i| i['name'] == input_key.to_s }&.dig('value')
|
@@ -13,10 +14,8 @@ module DaVinciPASTestKit
|
|
13
14
|
nil
|
14
15
|
end
|
15
16
|
|
16
|
-
def
|
17
|
-
|
18
|
-
message ||
|
19
|
-
"To run this test a response body must be provided in the '**#{input_title(input_key)}**' input"
|
17
|
+
def user_inputted_response?(input_key)
|
18
|
+
send(input_key).present?
|
20
19
|
end
|
21
20
|
|
22
21
|
def input_title(input_key)
|
@@ -24,8 +23,12 @@ module DaVinciPASTestKit
|
|
24
23
|
end
|
25
24
|
|
26
25
|
module ClassMethods
|
27
|
-
def
|
28
|
-
config options: {
|
26
|
+
def submit_respond_with(key)
|
27
|
+
config options: { submit_respond_with: key }
|
28
|
+
end
|
29
|
+
|
30
|
+
def inquire_respond_with(key)
|
31
|
+
config options: { inquire_respond_with: key }
|
29
32
|
end
|
30
33
|
end
|
31
34
|
end
|
data/lib/davinci_pas_test_kit.rb
CHANGED
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.
|
4
|
+
version: 0.12.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:
|
11
|
+
date: 2025-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inferno_core
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.6.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.6.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: subscriptions_test_kit
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.10.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.10.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: database_cleaner-sequel
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,19 +102,23 @@ extensions: []
|
|
88
102
|
extra_rdoc_files: []
|
89
103
|
files:
|
90
104
|
- LICENSE
|
105
|
+
- config/presets/pas_client_example.json
|
106
|
+
- config/presets/pas_ri.json
|
91
107
|
- lib/davinci_pas_test_kit.rb
|
92
108
|
- lib/davinci_pas_test_kit/client_suite.rb
|
93
109
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/claim_response_decision/pas_claim_response_decision_test.rb
|
94
|
-
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_response_attest.rb
|
95
110
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb
|
96
|
-
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_response_attest.rb
|
97
111
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb
|
98
112
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test.rb
|
99
|
-
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/
|
100
|
-
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/
|
101
|
-
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_response_attest.rb
|
113
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_request_bundle_validation_test.rb
|
114
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_response_bundle_validation_test.rb
|
102
115
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb
|
116
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_request_bundle_validation_test.rb
|
117
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_response_attest.rb
|
118
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_response_bundle_validation_test.rb
|
103
119
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_submit_must_support_test.rb
|
120
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_create_test.rb
|
121
|
+
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_subscription_pas_conformance_test.rb
|
104
122
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_request_test.rb
|
105
123
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_validation_test.rb
|
106
124
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/nonconformant_pas_bundle.json
|
@@ -118,9 +136,12 @@ files:
|
|
118
136
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb
|
119
137
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb
|
120
138
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_error_group.rb
|
139
|
+
- lib/davinci_pas_test_kit/docs/PAS Requirements Interpretation.xlsx
|
121
140
|
- lib/davinci_pas_test_kit/docs/client_suite_description_v201.md
|
122
141
|
- lib/davinci_pas_test_kit/docs/server_suite_description_v201.md
|
123
142
|
- lib/davinci_pas_test_kit/endpoints/claim_endpoint.rb
|
143
|
+
- lib/davinci_pas_test_kit/endpoints/subscription_create_endpoint.rb
|
144
|
+
- lib/davinci_pas_test_kit/endpoints/subscription_status_endpoint.rb
|
124
145
|
- lib/davinci_pas_test_kit/endpoints/token_endpoint.rb
|
125
146
|
- lib/davinci_pas_test_kit/fhir_resource_navigation.rb
|
126
147
|
- lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_inquire_request_beneficiary_must_support_test.rb
|
@@ -143,10 +164,6 @@ files:
|
|
143
164
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquire_response_claiminquiryresponse_must_support_test.rb
|
144
165
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml
|
145
166
|
- lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb
|
146
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb
|
147
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pas_request_bundle_validation_test.rb
|
148
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_bundle_validation_test.rb
|
149
|
-
- lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb
|
150
167
|
- lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml
|
151
168
|
- lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb
|
152
169
|
- lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_inquire_request_coverage_must_support_test.rb
|
@@ -243,12 +260,23 @@ files:
|
|
243
260
|
- lib/davinci_pas_test_kit/generator/operation_test_generator.rb
|
244
261
|
- lib/davinci_pas_test_kit/generator/resource_list_generator.rb
|
245
262
|
- lib/davinci_pas_test_kit/generator/suite_generator.rb
|
263
|
+
- lib/davinci_pas_test_kit/generator/templates/group.rb.erb
|
264
|
+
- lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb
|
265
|
+
- lib/davinci_pas_test_kit/generator/templates/operation.rb.erb
|
266
|
+
- lib/davinci_pas_test_kit/generator/templates/resource_list.rb.erb
|
267
|
+
- lib/davinci_pas_test_kit/generator/templates/suite.rb.erb
|
268
|
+
- lib/davinci_pas_test_kit/generator/templates/validation.rb.erb
|
246
269
|
- lib/davinci_pas_test_kit/generator/terminology_binding_metadata_extractor.rb
|
247
270
|
- lib/davinci_pas_test_kit/generator/validation_test_generator.rb
|
248
271
|
- lib/davinci_pas_test_kit/generator/value_extractor.rb
|
249
272
|
- lib/davinci_pas_test_kit/igs/README.md
|
273
|
+
- lib/davinci_pas_test_kit/igs/davinci_pas_2.0.1.tgz
|
274
|
+
- lib/davinci_pas_test_kit/jobs/send_pas_subscription_notification.rb
|
275
|
+
- lib/davinci_pas_test_kit/jobs/send_subscription_handshake.rb
|
276
|
+
- lib/davinci_pas_test_kit/metadata.rb
|
250
277
|
- lib/davinci_pas_test_kit/must_support_test.rb
|
251
278
|
- lib/davinci_pas_test_kit/pas_bundle_validation.rb
|
279
|
+
- lib/davinci_pas_test_kit/response_generator.rb
|
252
280
|
- lib/davinci_pas_test_kit/tags.rb
|
253
281
|
- lib/davinci_pas_test_kit/urls.rb
|
254
282
|
- lib/davinci_pas_test_kit/user_input_response.rb
|
@@ -259,6 +287,7 @@ homepage: https://github.com/inferno-framework/davinci-pas-test-kit
|
|
259
287
|
licenses:
|
260
288
|
- Apache-2.0
|
261
289
|
metadata:
|
290
|
+
inferno_test_kit: 'true'
|
262
291
|
homepage_uri: https://github.com/inferno-framework/davinci-pas-test-kit
|
263
292
|
source_code_uri: https://github.com/inferno-framework/davinci-pas-test-kit
|
264
293
|
post_install_message:
|
@@ -269,14 +298,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
269
298
|
requirements:
|
270
299
|
- - ">="
|
271
300
|
- !ruby/object:Gem::Version
|
272
|
-
version: 3.
|
301
|
+
version: 3.3.6
|
273
302
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
303
|
requirements:
|
275
304
|
- - ">="
|
276
305
|
- !ruby/object:Gem::Version
|
277
306
|
version: '0'
|
278
307
|
requirements: []
|
279
|
-
rubygems_version: 3.
|
308
|
+
rubygems_version: 3.5.22
|
280
309
|
signing_key:
|
281
310
|
specification_version: 4
|
282
311
|
summary: Da Vinci PAS Test Kit
|
@@ -1,38 +0,0 @@
|
|
1
|
-
require_relative '../../../urls'
|
2
|
-
|
3
|
-
module DaVinciPASTestKit
|
4
|
-
module DaVinciPASV201
|
5
|
-
class PASClientDenialSubmitResponseAttest < Inferno::Test
|
6
|
-
include URLs
|
7
|
-
|
8
|
-
id :pas_client_v201_denial_submit_response_attest
|
9
|
-
title 'Check that the client registers the request as denied (Attestation)'
|
10
|
-
description %(
|
11
|
-
This test provides the tester an opportunity to observe their client following
|
12
|
-
the receipt of the denied response and attest that users are able to determine
|
13
|
-
that the response has been denied.
|
14
|
-
)
|
15
|
-
input :access_token,
|
16
|
-
title: 'Access Token',
|
17
|
-
description: %(
|
18
|
-
Access token that the client will provide in the Authorization header of each request
|
19
|
-
made during this test.
|
20
|
-
)
|
21
|
-
|
22
|
-
run do
|
23
|
-
wait(
|
24
|
-
identifier: access_token,
|
25
|
-
message: %(
|
26
|
-
**Denial Workflow Test**:
|
27
|
-
|
28
|
-
I attest that the client system displays the submitted claim as 'denied'.
|
29
|
-
|
30
|
-
[Click here](#{resume_pass_url}?token=#{access_token}) if the above statement is true.
|
31
|
-
|
32
|
-
[Click here](#{resume_fail_url}?token=#{access_token}) if the above statement is false.
|
33
|
-
)
|
34
|
-
)
|
35
|
-
end
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
require_relative '../../../urls'
|
2
|
-
|
3
|
-
module DaVinciPASTestKit
|
4
|
-
module DaVinciPASV201
|
5
|
-
class PASClientPendedInquireResponseAttest < Inferno::Test
|
6
|
-
include URLs
|
7
|
-
|
8
|
-
id :pas_client_v201_pended_inquire_response_attest
|
9
|
-
title 'Check that the client registers the request as approved (Attestation)'
|
10
|
-
description %(
|
11
|
-
This test provides the tester an opportunity to observe their client following
|
12
|
-
the receipt of the inquiry response with a final decision and attest that users
|
13
|
-
are able to determine that the response has been approved in full.
|
14
|
-
)
|
15
|
-
input :access_token,
|
16
|
-
title: 'Access Token',
|
17
|
-
description: %(
|
18
|
-
Access token that the client will provide in the Authorization header of each request
|
19
|
-
made during this test.
|
20
|
-
)
|
21
|
-
|
22
|
-
run do
|
23
|
-
wait(
|
24
|
-
identifier: access_token,
|
25
|
-
message: %(
|
26
|
-
**Pended Workflow Test**:
|
27
|
-
|
28
|
-
I attest that the client system displays the submitted claim as 'approved' meaning that
|
29
|
-
the user can proceed with ordering or providing the requested service.
|
30
|
-
|
31
|
-
[Click here](#{resume_pass_url}?token=#{access_token}) if the above statement is **true**.
|
32
|
-
|
33
|
-
[Click here](#{resume_fail_url}?token=#{access_token}) if the above statement is **false**.
|
34
|
-
)
|
35
|
-
)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_test.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
require_relative '../../../urls'
|
2
|
-
|
3
|
-
module DaVinciPASTestKit
|
4
|
-
module DaVinciPASV201
|
5
|
-
class PASClientPendedInquireTest < Inferno::Test
|
6
|
-
include URLs
|
7
|
-
|
8
|
-
id :pas_client_v201_pended_inquire_test
|
9
|
-
title 'Client inquires about a pended claim using the $inquire operation'
|
10
|
-
description %(
|
11
|
-
Inferno will wait for a prior authorization inquiry request
|
12
|
-
from the client. Upon receipt, Inferno will generate a response
|
13
|
-
with an approved status and respond with it.
|
14
|
-
)
|
15
|
-
input :access_token,
|
16
|
-
title: 'Access Token',
|
17
|
-
description: %(
|
18
|
-
Access token that the client will provide in the Authorization header of each request
|
19
|
-
made during this test.
|
20
|
-
)
|
21
|
-
|
22
|
-
run do
|
23
|
-
wait(
|
24
|
-
identifier: access_token,
|
25
|
-
message: %(
|
26
|
-
**Pended Workflow Test**:
|
27
|
-
|
28
|
-
Submit a PAS claim inquiry request for the pended prior authorization request to `#{inquire_url}`.
|
29
|
-
An approval response generated by Inferno will be returned.
|
30
|
-
)
|
31
|
-
)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
require_relative '../../../urls'
|
2
|
-
|
3
|
-
module DaVinciPASTestKit
|
4
|
-
module DaVinciPASV201
|
5
|
-
class PASClientPendedSubmitResponseAttest < Inferno::Test
|
6
|
-
include URLs
|
7
|
-
|
8
|
-
id :pas_client_v201_pended_submit_response_attest
|
9
|
-
title 'Check that the client registers the request as pended (Attestation)'
|
10
|
-
description %(
|
11
|
-
This test provides the tester an opportunity to observe their client following
|
12
|
-
the receipt of the pended response and attest that users are able to determine
|
13
|
-
that the response has been pended and a decision will be forth coming.
|
14
|
-
)
|
15
|
-
input :access_token,
|
16
|
-
title: 'Access Token',
|
17
|
-
description: %(
|
18
|
-
Access token that the client will provide in the Authorization header of each request
|
19
|
-
made during this test.
|
20
|
-
)
|
21
|
-
|
22
|
-
run do
|
23
|
-
wait(
|
24
|
-
identifier: access_token,
|
25
|
-
message: %(
|
26
|
-
**Pended Workflow Test**:
|
27
|
-
|
28
|
-
I attest that the client system displays the submitted claim as 'pended' meaning that
|
29
|
-
a final decision has not yet been made.
|
30
|
-
|
31
|
-
[Click here](#{resume_pass_url}?token=#{access_token}) if the above statement is **true**.
|
32
|
-
|
33
|
-
[Click here](#{resume_fail_url}?token=#{access_token}) if the above statement is **false**.
|
34
|
-
)
|
35
|
-
)
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|