davinci_pas_test_kit 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/presets/pas_client_example.json +30 -0
- data/config/presets/pas_ri.json +69 -0
- data/lib/davinci_pas_test_kit/client_suite.rb +4 -2
- data/lib/davinci_pas_test_kit/docs/PAS Requirements Interpretation.xlsx +0 -0
- data/lib/davinci_pas_test_kit/fhir_resource_navigation.rb +3 -3
- data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +4 -2
- 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 +91 -0
- data/lib/davinci_pas_test_kit/generator/templates/validation.rb.erb +98 -0
- data/lib/davinci_pas_test_kit/generator/templates/validation_client.rb.erb +50 -0
- data/lib/davinci_pas_test_kit/igs/davinci_pas_2.0.1.tgz +0 -0
- data/lib/davinci_pas_test_kit/metadata.rb +87 -0
- data/lib/davinci_pas_test_kit/version.rb +2 -1
- data/lib/davinci_pas_test_kit.rb +1 -0
- metadata +19 -6
@@ -0,0 +1,87 @@
|
|
1
|
+
require_relative 'version'
|
2
|
+
|
3
|
+
module DaVinciPASTestKit
|
4
|
+
class Metadata < Inferno::TestKit
|
5
|
+
id :davinci_pas_test_kit
|
6
|
+
title 'Da Vinci Prior Authorization Support (PAS) Test Kit'
|
7
|
+
description <<~DESCRIPTION
|
8
|
+
The Da Vinci Prior Authorization Support (PAS) Test Kit validates
|
9
|
+
the conformance of both PAS client and server implementations to
|
10
|
+
[version 2.0.1 of the Da Vinci PAS Implementation
|
11
|
+
Guide](https://hl7.org/fhir/us/davinci-pas/STU2/).
|
12
|
+
|
13
|
+
<!-- break -->
|
14
|
+
|
15
|
+
To validate the behavior of a system Inferno will act as the partner to the
|
16
|
+
system under test:
|
17
|
+
- **When testing a client**: Inferno will act as a server, awaiting requests
|
18
|
+
from the client under test, returning appropriate responses, and validating
|
19
|
+
the conformance of the client's requests and its ability to handle the
|
20
|
+
responses appropriately.
|
21
|
+
- **When testing a server**: Inferno will act as a client, making requests
|
22
|
+
against the server under test and validating the conformance and
|
23
|
+
appropriateness of the server's responses.
|
24
|
+
|
25
|
+
The test suites for both PAS clients and servers follow the same basic outline,
|
26
|
+
each testing:
|
27
|
+
|
28
|
+
- The implementation's ability to use PAS-defined APIs to participate in the
|
29
|
+
submission of and decision on a prior authorization request, including:
|
30
|
+
- Approval of a prior authorization request.
|
31
|
+
- Denial of a prior authorization request.
|
32
|
+
- Pending of a prior authorization request and a subsequent final decision.
|
33
|
+
- The implementation ability to provide and handle data covering the full scope
|
34
|
+
of PAS must support requirements on:
|
35
|
+
- Prior authorization submissions.
|
36
|
+
- Prior authorization inquiries.
|
37
|
+
|
38
|
+
The Da Vinci PAS Test Kit is built using the [Inferno
|
39
|
+
Framework](https://inferno-framework.github.io/). The Inferno Framework is
|
40
|
+
designed for reuse and aims to make it easier to build test kits for any
|
41
|
+
FHIR-based data exchange.
|
42
|
+
|
43
|
+
## Known Limitations
|
44
|
+
|
45
|
+
The following areas of the IG are not fully tested in this draft version of the test kit:
|
46
|
+
|
47
|
+
- Private X12 details including value set expansions
|
48
|
+
- The use of Subscriptions to alert clients of updates to pended requests
|
49
|
+
- Prior Authorization update workflows
|
50
|
+
- Requests for additional information handled through the CDex framework
|
51
|
+
- PDF, CDA, and JPG attachments
|
52
|
+
- US Core profile support for supporting information
|
53
|
+
- Server inquiry matching and subsetting logic
|
54
|
+
- Server inquiry requests from non-submitting systems
|
55
|
+
- Server collection of metrics
|
56
|
+
- Client handling of responses containing all PAS-defined profiles and must support elements
|
57
|
+
- Client handling of situations that requiring manual review of the client system,
|
58
|
+
e.g., the requirement that clinicians can update details of the prior authorization
|
59
|
+
request before submitting them
|
60
|
+
|
61
|
+
For additional details on these and other areas where the tests may not align with
|
62
|
+
the IGs requirements, see documentation in the test kit source code ([client](https://github.com/inferno-framework/davinci-pas-test-kit/blob/main/lib/davinci_pas_test_kit/docs/client_suite_description_v201.md#testing-limitations), [server](https://github.com/inferno-framework/davinci-pas-test-kit/blob/main/lib/davinci_pas_test_kit/docs/server_suite_description_v201.md#testing-limitations)), and [this requirements analysis
|
63
|
+
spreadsheet](https://github.com/inferno-framework/davinci-pas-test-kit/blob/main/lib/davinci_pas_test_kit/docs/PAS%20Requirements%20Interpretation.xlsx).
|
64
|
+
|
65
|
+
### Known IG Issues
|
66
|
+
|
67
|
+
Through testing with this test kit, issues have been identified in the version of the PAS
|
68
|
+
specification that this test kit tests against which cause false failures. The full list
|
69
|
+
of known issues can be found on the [repository's issues page with the 'source ig issue'
|
70
|
+
lable](https://github.com/inferno-framework/davinci-pas-test-kit/labels/source%20ig%20issue).
|
71
|
+
|
72
|
+
## Reporting Issues
|
73
|
+
|
74
|
+
Please report any issues with this set of tests in the [GitHub
|
75
|
+
Issues](https://github.com/inferno-framework/davinci-pas-test-kit/issues)
|
76
|
+
section of the
|
77
|
+
[open source code repository](https://github.com/inferno-framework/davinci-pas-test-kit).
|
78
|
+
DESCRIPTION
|
79
|
+
suite_ids [:davinci_pas_server_suite_v201, :davinci_pas_client_suite_v201]
|
80
|
+
tags ['Da Vinci', 'PAS']
|
81
|
+
last_updated LAST_UPDATED
|
82
|
+
version VERSION
|
83
|
+
maturity 'Low'
|
84
|
+
authors ['Inferno Team']
|
85
|
+
repo 'https://github.com/inferno-framework/davinci-pas-test-kit'
|
86
|
+
end
|
87
|
+
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.0
|
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-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inferno_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.6.2
|
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.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: database_cleaner-sequel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +88,8 @@ extensions: []
|
|
88
88
|
extra_rdoc_files: []
|
89
89
|
files:
|
90
90
|
- LICENSE
|
91
|
+
- config/presets/pas_client_example.json
|
92
|
+
- config/presets/pas_ri.json
|
91
93
|
- lib/davinci_pas_test_kit.rb
|
92
94
|
- lib/davinci_pas_test_kit/client_suite.rb
|
93
95
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/claim_response_decision/pas_claim_response_decision_test.rb
|
@@ -118,6 +120,7 @@ files:
|
|
118
120
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb
|
119
121
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb
|
120
122
|
- lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_error_group.rb
|
123
|
+
- lib/davinci_pas_test_kit/docs/PAS Requirements Interpretation.xlsx
|
121
124
|
- lib/davinci_pas_test_kit/docs/client_suite_description_v201.md
|
122
125
|
- lib/davinci_pas_test_kit/docs/server_suite_description_v201.md
|
123
126
|
- lib/davinci_pas_test_kit/endpoints/claim_endpoint.rb
|
@@ -243,10 +246,19 @@ files:
|
|
243
246
|
- lib/davinci_pas_test_kit/generator/operation_test_generator.rb
|
244
247
|
- lib/davinci_pas_test_kit/generator/resource_list_generator.rb
|
245
248
|
- lib/davinci_pas_test_kit/generator/suite_generator.rb
|
249
|
+
- lib/davinci_pas_test_kit/generator/templates/group.rb.erb
|
250
|
+
- lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb
|
251
|
+
- lib/davinci_pas_test_kit/generator/templates/operation.rb.erb
|
252
|
+
- lib/davinci_pas_test_kit/generator/templates/resource_list.rb.erb
|
253
|
+
- lib/davinci_pas_test_kit/generator/templates/suite.rb.erb
|
254
|
+
- lib/davinci_pas_test_kit/generator/templates/validation.rb.erb
|
255
|
+
- lib/davinci_pas_test_kit/generator/templates/validation_client.rb.erb
|
246
256
|
- lib/davinci_pas_test_kit/generator/terminology_binding_metadata_extractor.rb
|
247
257
|
- lib/davinci_pas_test_kit/generator/validation_test_generator.rb
|
248
258
|
- lib/davinci_pas_test_kit/generator/value_extractor.rb
|
249
259
|
- lib/davinci_pas_test_kit/igs/README.md
|
260
|
+
- lib/davinci_pas_test_kit/igs/davinci_pas_2.0.1.tgz
|
261
|
+
- lib/davinci_pas_test_kit/metadata.rb
|
250
262
|
- lib/davinci_pas_test_kit/must_support_test.rb
|
251
263
|
- lib/davinci_pas_test_kit/pas_bundle_validation.rb
|
252
264
|
- lib/davinci_pas_test_kit/tags.rb
|
@@ -259,6 +271,7 @@ homepage: https://github.com/inferno-framework/davinci-pas-test-kit
|
|
259
271
|
licenses:
|
260
272
|
- Apache-2.0
|
261
273
|
metadata:
|
274
|
+
inferno_test_kit: 'true'
|
262
275
|
homepage_uri: https://github.com/inferno-framework/davinci-pas-test-kit
|
263
276
|
source_code_uri: https://github.com/inferno-framework/davinci-pas-test-kit
|
264
277
|
post_install_message:
|
@@ -269,14 +282,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
269
282
|
requirements:
|
270
283
|
- - ">="
|
271
284
|
- !ruby/object:Gem::Version
|
272
|
-
version: 3.
|
285
|
+
version: 3.3.6
|
273
286
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
274
287
|
requirements:
|
275
288
|
- - ">="
|
276
289
|
- !ruby/object:Gem::Version
|
277
290
|
version: '0'
|
278
291
|
requirements: []
|
279
|
-
rubygems_version: 3.
|
292
|
+
rubygems_version: 3.5.22
|
280
293
|
signing_key:
|
281
294
|
specification_version: 4
|
282
295
|
summary: Da Vinci PAS Test Kit
|