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
@@ -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 Device Request Profile.
16
16
  This test checks all identified instances of the PAS Device Request
17
- Profile on requests sent by the client to ensure that the following
17
+ Profile on requests sent by the client to ensure that the following
18
18
  must support elements are observed:
19
19
 
20
20
  * DeviceRequest.code[x]
@@ -38,6 +38,7 @@ module DaVinciPASTestKit
38
38
  end
39
39
 
40
40
  def scratch_resources
41
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
41
42
  scratch[:submit_request_resources] ||= {}
42
43
  end
43
44
 
@@ -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 Device Request Profile.
18
18
  This test checks all identified instances of the PAS Device Request
19
- Profile on requests sent to the server to ensure that the following
19
+ Profile on requests sent to the server to ensure that the following
20
20
  must support elements are observed:
21
21
 
22
22
  * DeviceRequest.code[x]
@@ -40,6 +40,7 @@ module DaVinciPASTestKit
40
40
  end
41
41
 
42
42
  def scratch_resources
43
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
43
44
  scratch[:submit_request_resources] ||= {}
44
45
  end
45
46
 
@@ -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 Encounter Profile.
16
16
  This test checks all identified instances of the PAS Encounter
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
  * Encounter.class
@@ -54,6 +54,7 @@ module DaVinciPASTestKit
54
54
  end
55
55
 
56
56
  def scratch_resources
57
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
57
58
  scratch[:submit_request_resources] ||= {}
58
59
  end
59
60
 
@@ -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 Encounter Profile.
18
18
  This test checks all identified instances of the PAS Encounter
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
  * Encounter.class
@@ -56,6 +56,7 @@ module DaVinciPASTestKit
56
56
  end
57
57
 
58
58
  def scratch_resources
59
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
59
60
  scratch[:submit_request_resources] ||= {}
60
61
  end
61
62
 
@@ -4,7 +4,7 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ClientInquiryRequestInsurerMustSupportTest < Inferno::Test
7
+ class ClientInquireRequestInsurerMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Insurer Organization 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 Insurer Organization Profile.
16
16
  This test checks all identified instances of the PAS Insurer Organization
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
  * Organization.active
@@ -32,7 +32,7 @@ module DaVinciPASTestKit
32
32
  * Organization.type
33
33
  )
34
34
 
35
- id :pas_client_inquiry_request_v201_insurer_must_support_test
35
+ id :pas_client_inquire_request_v201_insurer_must_support_test
36
36
 
37
37
  def resource_type
38
38
  'Organization'
@@ -47,7 +47,8 @@ module DaVinciPASTestKit
47
47
  end
48
48
 
49
49
  def scratch_resources
50
- scratch[:inquiry_request_resources] ||= {}
50
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
51
+ scratch[:inquire_request_resources] ||= {}
51
52
  end
52
53
 
53
54
  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 Insurer Organization Profile.
16
16
  This test checks all identified instances of the PAS Insurer Organization
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
  * Organization.active
@@ -47,6 +47,7 @@ module DaVinciPASTestKit
47
47
  end
48
48
 
49
49
  def scratch_resources
50
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
50
51
  scratch[:submit_request_resources] ||= {}
51
52
  end
52
53
 
@@ -95,10 +95,10 @@
95
95
  :file_name: client_submit_request_insurer_must_support_test.rb
96
96
  - :id: pas_server_submit_response_v201_insurer_must_support_test
97
97
  :file_name: server_submit_response_insurer_must_support_test.rb
98
- - :id: pas_server_inquiry_request_v201_insurer_must_support_test
99
- :file_name: server_inquiry_request_insurer_must_support_test.rb
100
- - :id: pas_client_inquiry_request_v201_insurer_must_support_test
101
- :file_name: client_inquiry_request_insurer_must_support_test.rb
102
- - :id: pas_server_inquiry_response_v201_insurer_must_support_test
103
- :file_name: server_inquiry_response_insurer_must_support_test.rb
98
+ - :id: pas_server_inquire_request_v201_insurer_must_support_test
99
+ :file_name: server_inquire_request_insurer_must_support_test.rb
100
+ - :id: pas_client_inquire_request_v201_insurer_must_support_test
101
+ :file_name: client_inquire_request_insurer_must_support_test.rb
102
+ - :id: pas_server_inquire_response_v201_insurer_must_support_test
103
+ :file_name: server_inquire_response_insurer_must_support_test.rb
104
104
  :delayed_references: []
@@ -4,19 +4,19 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ServerInquiryRequestInsurerMustSupportTest < Inferno::Test
7
+ class ServerInquireRequestInsurerMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Insurer Organization 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 Insurer Organization Profile.
18
18
  This test checks all identified instances of the PAS Insurer Organization
19
- Profile on requests sent to the server to ensure that the following
19
+ Profile on requests sent to the server to ensure that the following
20
20
  must support elements are observed:
21
21
 
22
22
  * Organization.active
@@ -34,7 +34,7 @@ module DaVinciPASTestKit
34
34
  * Organization.type
35
35
  )
36
36
 
37
- id :pas_server_inquiry_request_v201_insurer_must_support_test
37
+ id :pas_server_inquire_request_v201_insurer_must_support_test
38
38
 
39
39
  def resource_type
40
40
  'Organization'
@@ -49,6 +49,7 @@ module DaVinciPASTestKit
49
49
  end
50
50
 
51
51
  def scratch_resources
52
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
52
53
  scratch[:inquire_request_resources] ||= {}
53
54
  end
54
55
 
@@ -4,7 +4,7 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ServerInquiryResponseInsurerMustSupportTest < Inferno::Test
7
+ class ServerInquireResponseInsurerMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Insurer Organization 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 Insurer Organization Profile.
16
16
  This test checks all identified instances of the PAS Insurer Organization
17
- Profile on responses returned by the server to ensure that the following
17
+ Profile on responses returned by the server to ensure that the following
18
18
  must support elements are observed:
19
19
 
20
20
  * Organization.active
@@ -32,7 +32,7 @@ module DaVinciPASTestKit
32
32
  * Organization.type
33
33
  )
34
34
 
35
- id :pas_server_inquiry_response_v201_insurer_must_support_test
35
+ id :pas_server_inquire_response_v201_insurer_must_support_test
36
36
 
37
37
  def resource_type
38
38
  'Organization'
@@ -47,7 +47,8 @@ module DaVinciPASTestKit
47
47
  end
48
48
 
49
49
  def scratch_resources
50
- scratch[:inquiry_response_resources] ||= {}
50
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
51
+ scratch[:inquire_response_resources] ||= {}
51
52
  end
52
53
 
53
54
  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 Insurer Organization Profile.
18
18
  This test checks all identified instances of the PAS Insurer Organization
19
- Profile on requests sent to the server to ensure that the following
19
+ Profile on requests sent to the server to ensure that the following
20
20
  must support elements are observed:
21
21
 
22
22
  * Organization.active
@@ -49,6 +49,7 @@ module DaVinciPASTestKit
49
49
  end
50
50
 
51
51
  def scratch_resources
52
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
52
53
  scratch[:submit_request_resources] ||= {}
53
54
  end
54
55
 
@@ -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 Insurer Organization Profile.
16
16
  This test checks all identified instances of the PAS Insurer Organization
17
- Profile on responses returned by the server to ensure that the following
17
+ Profile on responses returned by the server to ensure that the following
18
18
  must support elements are observed:
19
19
 
20
20
  * Organization.active
@@ -47,6 +47,7 @@ module DaVinciPASTestKit
47
47
  end
48
48
 
49
49
  def scratch_resources
50
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
50
51
  scratch[:submit_response_resources] ||= {}
51
52
  end
52
53
 
@@ -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 Medication Request Profile.
16
16
  This test checks all identified instances of the PAS Medication Request
17
- Profile on requests sent by the client to ensure that the following
17
+ Profile on requests sent by the client to ensure that the following
18
18
  must support elements are observed:
19
19
 
20
20
  * MedicationRequest.authoredOn
@@ -48,6 +48,7 @@ module DaVinciPASTestKit
48
48
  end
49
49
 
50
50
  def scratch_resources
51
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
51
52
  scratch[:submit_request_resources] ||= {}
52
53
  end
53
54
 
@@ -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 Medication Request Profile.
18
18
  This test checks all identified instances of the PAS Medication Request
19
- Profile on requests sent to the server to ensure that the following
19
+ Profile on requests sent to the server to ensure that the following
20
20
  must support elements are observed:
21
21
 
22
22
  * MedicationRequest.authoredOn
@@ -50,6 +50,7 @@ module DaVinciPASTestKit
50
50
  end
51
51
 
52
52
  def scratch_resources
53
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
53
54
  scratch[:submit_request_resources] ||= {}
54
55
  end
55
56
 
@@ -14,7 +14,7 @@ module DaVinciPASTestKit
14
14
  must support elements on instances of all profiles included in
15
15
  requests, including instances of the PAS Nutrition Order Profile.
16
16
  This test checks all identified instances of the PAS Nutrition Order
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
  * NutritionOrder.enteralFormula
@@ -40,6 +40,7 @@ module DaVinciPASTestKit
40
40
  end
41
41
 
42
42
  def scratch_resources
43
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
43
44
  scratch[:submit_request_resources] ||= {}
44
45
  end
45
46
 
@@ -11,12 +11,12 @@ module DaVinciPASTestKit
11
11
  description %(
12
12
 
13
13
  **USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
14
-
14
+
15
15
  PAS server systems are required to be able to receive all
16
16
  must support elements on instances of all profiles included in
17
17
  requests, including instances of the PAS Nutrition Order Profile.
18
18
  This test checks all identified instances of the PAS Nutrition Order
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
  * NutritionOrder.enteralFormula
@@ -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
 
@@ -1,12 +1,12 @@
1
- require_relative 'pas_inquiry_request_bundle/client_inquiry_request_pas_inquiry_request_bundle_must_support_test'
2
- require_relative 'claim_inquiry/client_inquiry_request_claim_inquiry_must_support_test'
3
- require_relative 'coverage/client_inquiry_request_coverage_must_support_test'
4
- require_relative 'insurer/client_inquiry_request_insurer_must_support_test'
5
- require_relative 'requestor/client_inquiry_request_requestor_must_support_test'
6
- require_relative 'beneficiary/client_inquiry_request_beneficiary_must_support_test'
7
- require_relative 'subscriber/client_inquiry_request_subscriber_must_support_test'
8
- require_relative 'practitioner/client_inquiry_request_practitioner_must_support_test'
9
- require_relative 'practitioner_role/client_inquiry_request_practitioner_role_must_support_test'
1
+ require_relative 'pas_inquiry_request_bundle/client_inquire_request_pas_inquiry_request_bundle_must_support_test'
2
+ require_relative 'claim_inquiry/client_inquire_request_claim_inquiry_must_support_test'
3
+ require_relative 'coverage/client_inquire_request_coverage_must_support_test'
4
+ require_relative 'insurer/client_inquire_request_insurer_must_support_test'
5
+ require_relative 'requestor/client_inquire_request_requestor_must_support_test'
6
+ require_relative 'beneficiary/client_inquire_request_beneficiary_must_support_test'
7
+ require_relative 'subscriber/client_inquire_request_subscriber_must_support_test'
8
+ require_relative 'practitioner/client_inquire_request_practitioner_must_support_test'
9
+ require_relative 'practitioner_role/client_inquire_request_practitioner_role_must_support_test'
10
10
  require_relative '../../custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test'
11
11
 
12
12
  module DaVinciPASTestKit
@@ -36,15 +36,15 @@ module DaVinciPASTestKit
36
36
 
37
37
 
38
38
  test from: :pas_client_inquire_v201_must_support_test
39
- test from: :pas_client_inquiry_request_v201_pas_inquiry_request_bundle_must_support_test
40
- test from: :pas_client_inquiry_request_v201_claim_inquiry_must_support_test
41
- test from: :pas_client_inquiry_request_v201_coverage_must_support_test
42
- test from: :pas_client_inquiry_request_v201_insurer_must_support_test
43
- test from: :pas_client_inquiry_request_v201_requestor_must_support_test
44
- test from: :pas_client_inquiry_request_v201_beneficiary_must_support_test
45
- test from: :pas_client_inquiry_request_v201_subscriber_must_support_test
46
- test from: :pas_client_inquiry_request_v201_practitioner_must_support_test
47
- test from: :pas_client_inquiry_request_v201_practitioner_role_must_support_test
39
+ test from: :pas_client_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
40
+ test from: :pas_client_inquire_request_v201_claim_inquiry_must_support_test
41
+ test from: :pas_client_inquire_request_v201_coverage_must_support_test
42
+ test from: :pas_client_inquire_request_v201_insurer_must_support_test
43
+ test from: :pas_client_inquire_request_v201_requestor_must_support_test
44
+ test from: :pas_client_inquire_request_v201_beneficiary_must_support_test
45
+ test from: :pas_client_inquire_request_v201_subscriber_must_support_test
46
+ test from: :pas_client_inquire_request_v201_practitioner_must_support_test
47
+ test from: :pas_client_inquire_request_v201_practitioner_role_must_support_test
48
48
 
49
49
  end
50
50
  end
@@ -4,7 +4,7 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ClientInquiryRequestPasInquiryRequestBundleMustSupportTest < Inferno::Test
7
+ class ClientInquireRequestPasInquiryRequestBundleMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Inquiry Request Bundle 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 Inquiry Request Bundle Profile.
16
16
  This test checks all identified instances of the PAS Inquiry Request Bundle
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
  * Bundle.entry
@@ -25,7 +25,7 @@ module DaVinciPASTestKit
25
25
  * Bundle.timestamp
26
26
  )
27
27
 
28
- id :pas_client_inquiry_request_v201_pas_inquiry_request_bundle_must_support_test
28
+ id :pas_client_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
29
29
 
30
30
  def resource_type
31
31
  'Bundle'
@@ -40,7 +40,8 @@ module DaVinciPASTestKit
40
40
  end
41
41
 
42
42
  def scratch_resources
43
- scratch[:inquiry_request_resources] ||= {}
43
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
44
+ scratch[:inquire_request_resources] ||= {}
44
45
  end
45
46
 
46
47
  def resources_of_interest
@@ -70,8 +70,8 @@
70
70
  :file_name: server_pas_inquiry_request_bundle_validation_test.rb
71
71
  - :id: pas_client_v201_pended_pas_inquiry_request_bundle_validation_test
72
72
  :file_name: client_pended_pas_inquiry_request_bundle_validation_test.rb
73
- - :id: pas_server_inquiry_request_v201_pas_inquiry_request_bundle_must_support_test
74
- :file_name: server_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb
75
- - :id: pas_client_inquiry_request_v201_pas_inquiry_request_bundle_must_support_test
76
- :file_name: client_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb
73
+ - :id: pas_server_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
74
+ :file_name: server_inquire_request_pas_inquiry_request_bundle_must_support_test.rb
75
+ - :id: pas_client_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
76
+ :file_name: client_inquire_request_pas_inquiry_request_bundle_must_support_test.rb
77
77
  :delayed_references: []
@@ -4,19 +4,19 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ServerInquiryRequestPasInquiryRequestBundleMustSupportTest < Inferno::Test
7
+ class ServerInquireRequestPasInquiryRequestBundleMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Inquiry Request Bundle 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 Inquiry Request Bundle Profile.
18
18
  This test checks all identified instances of the PAS Inquiry Request Bundle
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
  * Bundle.entry
@@ -27,7 +27,7 @@ module DaVinciPASTestKit
27
27
  * Bundle.timestamp
28
28
  )
29
29
 
30
- id :pas_server_inquiry_request_v201_pas_inquiry_request_bundle_must_support_test
30
+ id :pas_server_inquire_request_v201_pas_inquiry_request_bundle_must_support_test
31
31
 
32
32
  def resource_type
33
33
  'Bundle'
@@ -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[:inquire_request_resources] ||= {}
46
47
  end
47
48
 
@@ -62,6 +62,6 @@
62
62
  :tests:
63
63
  - :id: pas_server_v201_pas_inquiry_response_bundle_validation_test
64
64
  :file_name: server_pas_inquiry_response_bundle_validation_test.rb
65
- - :id: pas_server_inquiry_response_v201_pas_inquiry_response_bundle_must_support_test
66
- :file_name: server_inquiry_response_pas_inquiry_response_bundle_must_support_test.rb
65
+ - :id: pas_server_inquire_response_v201_pas_inquiry_response_bundle_must_support_test
66
+ :file_name: server_inquire_response_pas_inquiry_response_bundle_must_support_test.rb
67
67
  :delayed_references: []
@@ -4,7 +4,7 @@ require_relative '../../../tags'
4
4
 
5
5
  module DaVinciPASTestKit
6
6
  module DaVinciPASV201
7
- class ServerInquiryResponsePasInquiryResponseBundleMustSupportTest < Inferno::Test
7
+ class ServerInquireResponsePasInquiryResponseBundleMustSupportTest < Inferno::Test
8
8
  include DaVinciPASTestKit::MustSupportTest
9
9
 
10
10
  title 'All must support elements for Profile PAS Inquiry Response Bundle 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 Inquiry Response Bundle Profile.
16
16
  This test checks all identified instances of the PAS Inquiry Response Bundle
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
  * Bundle.entry
@@ -24,7 +24,7 @@ module DaVinciPASTestKit
24
24
  * Bundle.timestamp
25
25
  )
26
26
 
27
- id :pas_server_inquiry_response_v201_pas_inquiry_response_bundle_must_support_test
27
+ id :pas_server_inquire_response_v201_pas_inquiry_response_bundle_must_support_test
28
28
 
29
29
  def resource_type
30
30
  'Bundle'
@@ -39,7 +39,8 @@ module DaVinciPASTestKit
39
39
  end
40
40
 
41
41
  def scratch_resources
42
- scratch[:inquiry_response_resources] ||= {}
42
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
43
+ scratch[:inquire_response_resources] ||= {}
43
44
  end
44
45
 
45
46
  def resources_of_interest
@@ -25,6 +25,14 @@ module DaVinciPASTestKit
25
25
 
26
26
  Note that because X12 value sets are not public, elements bound to value
27
27
  sets containing X12 codes are not validated.
28
+
29
+ **Limitations**
30
+
31
+ Due to recognized errors in the DTR IG around extension context definitions,
32
+ this test may not pass due to spurious errors of the form "The extension
33
+ [extension url] is not allowed at this point". See [this
34
+ issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
35
+ for additional details.
28
36
  )
29
37
 
30
38
  output :dar_code_found, :dar_extension_found
@@ -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 Request Bundle Profile.
16
16
  This test checks all identified instances of the PAS Request Bundle
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
  * Bundle.entry
@@ -40,6 +40,7 @@ module DaVinciPASTestKit
40
40
  end
41
41
 
42
42
  def scratch_resources
43
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
43
44
  scratch[:submit_request_resources] ||= {}
44
45
  end
45
46
 
@@ -11,12 +11,12 @@ module DaVinciPASTestKit
11
11
  description %(
12
12
 
13
13
  **USER INPUT VALIDATION**: This test validates input provided by the user instead of the system under test. Errors encountered will be treated as a skip instead of a failure.
14
-
14
+
15
15
  PAS server systems are required to be able to receive all
16
16
  must support elements on instances of all profiles included in
17
17
  requests, including instances of the PAS Request Bundle Profile.
18
18
  This test checks all identified instances of the PAS Request Bundle
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
  * Bundle.entry
@@ -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
 
@@ -25,6 +25,14 @@ module DaVinciPASTestKit
25
25
 
26
26
  Note that because X12 value sets are not public, elements bound to value
27
27
  sets containing X12 codes are not validated.
28
+
29
+ **Limitations**
30
+
31
+ Due to recognized errors in the DTR IG around extension context definitions,
32
+ this test may not pass due to spurious errors of the form "The extension
33
+ [extension url] is not allowed at this point". See [this
34
+ issue](https://github.com/inferno-framework/davinci-pas-test-kit/issues/11)
35
+ for additional details.
28
36
  )
29
37
 
30
38
  output :dar_code_found, :dar_extension_found
@@ -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 Response Bundle Profile.
16
16
  This test checks all identified instances of the PAS Response Bundle
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
  * Bundle.entry
@@ -39,6 +39,7 @@ module DaVinciPASTestKit
39
39
  end
40
40
 
41
41
  def scratch_resources
42
+ # The scratch key in MS test should be the same as the scratch key in the validation test for a given profile.
42
43
  scratch[:submit_response_resources] ||= {}
43
44
  end
44
45