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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/notification/pas_subscription_notification_test.rb +3 -2
  3. data/lib/davinci_pas_test_kit/docs/client_suite_description_v201.md +8 -1
  4. data/lib/davinci_pas_test_kit/docs/server_suite_description_v201.md +8 -1
  5. 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
  6. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb +2 -1
  7. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml +6 -6
  8. 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
  9. 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
  10. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb +3 -2
  11. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb +2 -1
  12. 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
  13. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml +4 -4
  14. 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
  15. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb +2 -1
  16. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb +3 -2
  17. data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml +2 -2
  18. 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
  19. data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb +2 -1
  20. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb +8 -0
  21. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb +8 -0
  22. data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb +2 -1
  23. 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
  24. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb +2 -1
  25. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml +4 -4
  26. 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
  27. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb +3 -2
  28. data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb +2 -1
  29. data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/server_submit_request_device_request_must_support_test.rb +3 -2
  30. data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb +2 -1
  31. data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb +3 -2
  32. 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
  33. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb +2 -1
  34. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml +6 -6
  35. 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
  36. 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
  37. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb +3 -2
  38. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb +2 -1
  39. data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb +2 -1
  40. data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/server_submit_request_medication_request_must_support_test.rb +3 -2
  41. data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/client_submit_request_nutrition_order_must_support_test.rb +2 -1
  42. data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb +3 -2
  43. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb +18 -18
  44. 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
  45. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +4 -4
  46. 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
  47. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +2 -2
  48. 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
  49. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +8 -0
  50. 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
  51. 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
  52. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +8 -0
  53. 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
  54. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb +34 -34
  55. 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
  56. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb +2 -1
  57. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml +6 -6
  58. 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
  59. 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
  60. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb +3 -2
  61. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb +2 -1
  62. 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
  63. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb +2 -1
  64. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml +6 -6
  65. 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
  66. 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
  67. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb +3 -2
  68. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb +2 -1
  69. 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
  70. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb +2 -1
  71. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml +6 -6
  72. 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
  73. 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
  74. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb +3 -2
  75. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb +2 -1
  76. data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +1 -1
  77. data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb +2 -1
  78. data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb +3 -2
  79. 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
  80. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb +2 -1
  81. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml +4 -4
  82. 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
  83. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb +3 -2
  84. data/lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml +2 -2
  85. 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
  86. data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb +2 -1
  87. data/lib/davinci_pas_test_kit/generator/group_generator.rb +3 -3
  88. data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +3 -3
  89. data/lib/davinci_pas_test_kit/version.rb +1 -1
  90. metadata +28 -28
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e45ca8e36bad87d4e457eb2b49c26eb0170c7877e059e9a8cb8e5bda906972b9
4
- data.tar.gz: 6dbf634eb8484ea7dc442a7bd9b016392ea70316e3635ae4fe7c2e2bd884772a
3
+ metadata.gz: d40c4c0c39ba10a8778afae1486a12c79f4b5f9719183a0c6eb47f3be29c65e6
4
+ data.tar.gz: 40c233eed6b5b08f9758990f37cbb607e44a77242ce03192a99a7607357933f1
5
5
  SHA512:
6
- metadata.gz: 29e35d93edbabe076d85521e36829951c15ae73645c262a334a3abf3a1c1abaf6752ab7e56488c4edc519dfa95a2a228312e467a25f9b78822efa1f2abb96d7c
7
- data.tar.gz: af2de00d7c19bc247f8834f185a702b942b939947e4aa2c16323ab044b67ccffcd9cd315fe6ec8d26cc98e410e05ed12548f8796e9d9d01da9da72c3d0b29410
6
+ metadata.gz: ff6a773ee8f7ee5f391cebbb3882dcfeb9e6a39ee5c24ee8187b4aef65832811643fd8eafd39cfe126566a11183e0ffa54f4d471ee890bedef06015fece93bbd
7
+ data.tar.gz: fc7a2ebccd4bd42d5ecf65954d479447a78686d4423d2c7f593fd716e79e65f12fee044d47774eccfb1214dff7cfd08b8414e9381942f16bb7b0bc73ebc1be7b
@@ -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: 'pended',
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?use_case=pended)**
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
+ lable](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
+ lable](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 ClientInquiryRequestBeneficiaryMustSupportTest < Inferno::Test
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 :pas_client_inquiry_request_v201_beneficiary_must_support_test
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[:inquiry_request_resources] ||= {}
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: pas_server_inquiry_request_v201_beneficiary_must_support_test
157
- :file_name: server_inquiry_request_beneficiary_must_support_test.rb
158
- - :id: pas_client_inquiry_request_v201_beneficiary_must_support_test
159
- :file_name: client_inquiry_request_beneficiary_must_support_test.rb
160
- - :id: pas_server_inquiry_response_v201_beneficiary_must_support_test
161
- :file_name: server_inquiry_response_beneficiary_must_support_test.rb
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 ServerInquiryRequestBeneficiaryMustSupportTest < Inferno::Test
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 :pas_server_inquiry_request_v201_beneficiary_must_support_test
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 ServerInquiryResponseBeneficiaryMustSupportTest < Inferno::Test
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 :pas_server_inquiry_response_v201_beneficiary_must_support_test
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[:inquiry_response_resources] ||= {}
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 ClientInquiryRequestClaimInquiryMustSupportTest < Inferno::Test
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 :pas_client_inquiry_request_v201_claim_inquiry_must_support_test
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[:inquiry_request_resources] ||= {}
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: pas_server_inquiry_request_v201_claim_inquiry_must_support_test
499
- :file_name: server_inquiry_request_claim_inquiry_must_support_test.rb
500
- - :id: pas_client_inquiry_request_v201_claim_inquiry_must_support_test
501
- :file_name: client_inquiry_request_claim_inquiry_must_support_test.rb
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 ServerInquiryRequestClaimInquiryMustSupportTest < Inferno::Test
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 :pas_server_inquiry_request_v201_claim_inquiry_must_support_test
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: pas_server_inquiry_response_v201_claiminquiryresponse_must_support_test
303
- :file_name: server_inquiry_response_claiminquiryresponse_must_support_test.rb
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 ServerInquiryResponseClaiminquiryresponseMustSupportTest < Inferno::Test
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 :pas_server_inquiry_response_v201_claiminquiryresponse_must_support_test
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[:inquiry_response_resources] ||= {}
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 DTR 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
@@ -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 DTR 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 ClientInquiryRequestCoverageMustSupportTest < Inferno::Test
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 :pas_client_inquiry_request_v201_coverage_must_support_test
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[:inquiry_request_resources] ||= {}
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: pas_server_inquiry_request_v201_coverage_must_support_test
105
- :file_name: server_inquiry_request_coverage_must_support_test.rb
106
- - :id: pas_client_inquiry_request_v201_coverage_must_support_test
107
- :file_name: client_inquiry_request_coverage_must_support_test.rb
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 ServerInquiryRequestCoverageMustSupportTest < Inferno::Test
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 :pas_server_inquiry_request_v201_coverage_must_support_test
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
 
@@ -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 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
@@ -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[:submit_request_resources] ||= {}
48
49
  end
49
50