davinci_pas_test_kit 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +201 -0
  3. data/lib/davinci_pas_test_kit/client_suite.rb +289 -0
  4. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/claim_status/pas_claim_status_test.rb +109 -0
  5. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_response_attest.rb +39 -0
  6. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb +38 -0
  7. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_response_attest.rb +38 -0
  8. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb +43 -0
  9. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test.rb +51 -0
  10. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_response_attest.rb +39 -0
  11. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_test.rb +35 -0
  12. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_response_attest.rb +39 -0
  13. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb +43 -0
  14. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_submit_must_support_test.rb +57 -0
  15. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_request_test.rb +31 -0
  16. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_validation_test.rb +18 -0
  17. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/nonconformant_pas_bundle.json +16 -0
  18. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_inquiry_error_test.rb +38 -0
  19. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_submission_error_test.rb +56 -0
  20. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/device_request_metadata.yml +112 -0
  21. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/medication_request_metadata.yml +183 -0
  22. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/nutrition_order_metadata.yml +109 -0
  23. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_client_must_support_requirement_test.rb +117 -0
  24. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_server_must_support_requirement_test.rb +116 -0
  25. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/service_request_metadata.yml +148 -0
  26. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_approval_group.rb +26 -0
  27. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_authentication_group.rb +49 -0
  28. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb +41 -0
  29. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb +56 -0
  30. data/lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_error_group.rb +20 -0
  31. data/lib/davinci_pas_test_kit/ext/inferno_core/record_response_route.rb +98 -0
  32. data/lib/davinci_pas_test_kit/ext/inferno_core/request.rb +19 -0
  33. data/lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb +18 -0
  34. data/lib/davinci_pas_test_kit/fhir_resource_navigation.rb +72 -0
  35. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_inquiry_request_beneficiary_must_support_test.rb +75 -0
  36. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb +75 -0
  37. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml +162 -0
  38. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_request_beneficiary_must_support_test.rb +75 -0
  39. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_response_beneficiary_must_support_test.rb +75 -0
  40. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb +75 -0
  41. data/lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb +75 -0
  42. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/claim_operation_test.rb +67 -0
  43. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim/metadata.yml +577 -0
  44. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb +57 -0
  45. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/client_inquiry_request_claim_inquiry_must_support_test.rb +95 -0
  46. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml +516 -0
  47. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/server_inquiry_request_claim_inquiry_must_support_test.rb +95 -0
  48. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb +102 -0
  49. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/metadata.yml +591 -0
  50. data/lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb +102 -0
  51. data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml +311 -0
  52. data/lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquiry_response_claiminquiryresponse_must_support_test.rb +73 -0
  53. data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml +318 -0
  54. data/lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb +75 -0
  55. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb +53 -0
  56. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pas_request_bundle_validation_test.rb +55 -0
  57. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_bundle_validation_test.rb +55 -0
  58. data/lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb +53 -0
  59. data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml +130 -0
  60. data/lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb +58 -0
  61. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_inquiry_request_coverage_must_support_test.rb +55 -0
  62. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb +55 -0
  63. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml +111 -0
  64. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_inquiry_request_coverage_must_support_test.rb +55 -0
  65. data/lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb +55 -0
  66. data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb +51 -0
  67. data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/metadata.yml +112 -0
  68. data/lib/davinci_pas_test_kit/generated/v2.0.1/device_request/server_submit_request_device_request_must_support_test.rb +51 -0
  69. data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb +67 -0
  70. data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/metadata.yml +213 -0
  71. data/lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb +67 -0
  72. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_inquiry_request_insurer_must_support_test.rb +60 -0
  73. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb +60 -0
  74. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml +104 -0
  75. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_request_insurer_must_support_test.rb +60 -0
  76. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_response_insurer_must_support_test.rb +60 -0
  77. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb +60 -0
  78. data/lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb +60 -0
  79. data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb +61 -0
  80. data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/metadata.yml +183 -0
  81. data/lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/server_submit_request_medication_request_must_support_test.rb +61 -0
  82. data/lib/davinci_pas_test_kit/generated/v2.0.1/metadata.yml +5253 -0
  83. data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/client_submit_request_nutrition_order_must_support_test.rb +53 -0
  84. data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/metadata.yml +109 -0
  85. data/lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb +53 -0
  86. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb +51 -0
  87. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_submit_must_support_use_case_group.rb +61 -0
  88. 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 +53 -0
  89. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml +77 -0
  90. 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 +53 -0
  91. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb +83 -0
  92. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml +67 -0
  93. 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 +52 -0
  94. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb +80 -0
  95. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/client_submit_request_pas_request_bundle_must_support_test.rb +53 -0
  96. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml +77 -0
  97. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_pas_request_bundle_validation_test.rb +83 -0
  98. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_submit_request_pas_request_bundle_must_support_test.rb +53 -0
  99. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/metadata.yml +71 -0
  100. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb +80 -0
  101. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_submit_response_pas_response_bundle_must_support_test.rb +52 -0
  102. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_approval_use_case_group.rb +59 -0
  103. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb +59 -0
  104. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb +265 -0
  105. data/lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb +84 -0
  106. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_inquiry_request_practitioner_must_support_test.rb +53 -0
  107. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb +53 -0
  108. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml +74 -0
  109. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_request_practitioner_must_support_test.rb +53 -0
  110. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_response_practitioner_must_support_test.rb +53 -0
  111. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb +53 -0
  112. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb +53 -0
  113. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_inquiry_request_practitioner_role_must_support_test.rb +49 -0
  114. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb +49 -0
  115. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml +81 -0
  116. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_request_practitioner_role_must_support_test.rb +49 -0
  117. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_response_practitioner_role_must_support_test.rb +49 -0
  118. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb +49 -0
  119. data/lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb +49 -0
  120. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_inquiry_request_requestor_must_support_test.rb +63 -0
  121. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb +63 -0
  122. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml +107 -0
  123. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_request_requestor_must_support_test.rb +63 -0
  124. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_response_requestor_must_support_test.rb +63 -0
  125. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb +63 -0
  126. data/lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb +63 -0
  127. data/lib/davinci_pas_test_kit/generated/v2.0.1/resource_list.rb +54 -0
  128. data/lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb +236 -0
  129. data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb +53 -0
  130. data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/metadata.yml +148 -0
  131. data/lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb +53 -0
  132. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_inquiry_request_subscriber_must_support_test.rb +74 -0
  133. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb +74 -0
  134. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml +159 -0
  135. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_inquiry_request_subscriber_must_support_test.rb +74 -0
  136. data/lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb +74 -0
  137. data/lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml +192 -0
  138. data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_inquiry_response_task_must_support_test.rb +61 -0
  139. data/lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb +61 -0
  140. data/lib/davinci_pas_test_kit/generator/group_generator.rb +440 -0
  141. data/lib/davinci_pas_test_kit/generator/group_metadata.rb +73 -0
  142. data/lib/davinci_pas_test_kit/generator/group_metadata_extractor.rb +244 -0
  143. data/lib/davinci_pas_test_kit/generator/ig_loader.rb +78 -0
  144. data/lib/davinci_pas_test_kit/generator/ig_metadata.rb +66 -0
  145. data/lib/davinci_pas_test_kit/generator/ig_metadata_extractor.rb +54 -0
  146. data/lib/davinci_pas_test_kit/generator/ig_resources.rb +74 -0
  147. data/lib/davinci_pas_test_kit/generator/must_support_check_profiles.rb +86 -0
  148. data/lib/davinci_pas_test_kit/generator/must_support_metadata_extractor.rb +327 -0
  149. data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +155 -0
  150. data/lib/davinci_pas_test_kit/generator/naming.rb +50 -0
  151. data/lib/davinci_pas_test_kit/generator/operation_test_generator.rb +136 -0
  152. data/lib/davinci_pas_test_kit/generator/resource_list_generator.rb +59 -0
  153. data/lib/davinci_pas_test_kit/generator/suite_generator.rb +94 -0
  154. data/lib/davinci_pas_test_kit/generator/terminology_binding_metadata_extractor.rb +108 -0
  155. data/lib/davinci_pas_test_kit/generator/validation_test_generator.rb +181 -0
  156. data/lib/davinci_pas_test_kit/generator/value_extractor.rb +48 -0
  157. data/lib/davinci_pas_test_kit/generator.rb +80 -0
  158. data/lib/davinci_pas_test_kit/mock_server.rb +189 -0
  159. data/lib/davinci_pas_test_kit/must_support_test.rb +267 -0
  160. data/lib/davinci_pas_test_kit/pas_bundle_validation.rb +568 -0
  161. data/lib/davinci_pas_test_kit/tags.rb +7 -0
  162. data/lib/davinci_pas_test_kit/urls.rb +39 -0
  163. data/lib/davinci_pas_test_kit/user_input_response.rb +32 -0
  164. data/lib/davinci_pas_test_kit/validation_test.rb +58 -0
  165. data/lib/davinci_pas_test_kit/validator_suppressions.rb +143 -0
  166. data/lib/davinci_pas_test_kit/version.rb +5 -0
  167. data/lib/davinci_pas_test_kit.rb +2 -0
  168. metadata +281 -0
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DaVinciPASTestKit
4
+ module ValidationTest
5
+ DAR_CODE_SYSTEM_URL = 'http://terminology.hl7.org/CodeSystem/data-absent-reason'
6
+ DAR_EXTENSION_URL = 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'
7
+
8
+ def perform_validation_test(resources,
9
+ profile_url,
10
+ profile_version,
11
+ skip_if_empty: true)
12
+
13
+ skip_if skip_if_empty && resources.blank?,
14
+ "No #{resource_type} resources conforming to the #{profile_url} profile were returned"
15
+
16
+ omit_if resources.blank?,
17
+ "No #{resource_type} resources provided so the #{profile_url} profile does not apply"
18
+
19
+ profile_with_version = "#{profile_url}|#{profile_version}"
20
+ resources.each do |resource|
21
+ resource_is_valid?(resource:, profile_url: profile_with_version)
22
+ check_for_dar(resource)
23
+ end
24
+
25
+ errors_found = messages.any? { |message| message[:type] == 'error' }
26
+
27
+ assert !errors_found, "Resource does not conform to the profile #{profile_with_version}"
28
+ end
29
+
30
+ def check_for_dar(resource)
31
+ unless scratch[:dar_code_found]
32
+ resource.each_element do |element, _meta, _path|
33
+ next unless element.is_a?(FHIR::Coding)
34
+
35
+ check_for_dar_code(element)
36
+ end
37
+ end
38
+
39
+ return if scratch[:dar_extension_found]
40
+
41
+ check_for_dar_extension(resource)
42
+ end
43
+
44
+ def check_for_dar_code(coding)
45
+ return unless coding.code == 'unknown' && coding.system == DAR_CODE_SYSTEM_URL
46
+
47
+ scratch[:dar_code_found] = true
48
+ output dar_code_found: 'true'
49
+ end
50
+
51
+ def check_for_dar_extension(resource)
52
+ return unless resource.source_contents&.include? DAR_EXTENSION_URL
53
+
54
+ scratch[:dar_extension_found] = true
55
+ output dar_extension_found: 'true'
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,143 @@
1
+ module DaVinciPASTestKit
2
+ # This regex captues all known suppressed validator messages
3
+ # Source: https://hl7.org/fhir/us/davinci-pas/STU2/qa.html#suppressed
4
+ #
5
+ # Some of the messages in this list are generated by the IG publisher and will never actually come from the
6
+ # validator. It was simpler to leave them in than try to filter them out.
7
+ #
8
+ # All messages below are from the linked suppression list except the first one, which relates to the DAF IG.
9
+ # This IG is not relevant to PAS, and so it can safely be ignored as an erroneous output from the validator
10
+ # wrapper.
11
+ #
12
+ # The vast majority of these suppressions are necessary because of Da Vinci PAS profiles that require
13
+ # ValueSets from X12. X12 is proprietary, so we cannot assume the validator has access.
14
+ #
15
+ # Note that some of the components below are regexes to match substrings instead of full string matching,
16
+ # because of potential variance in the message which is expressed with a "%" in the linked suppression list.
17
+ #
18
+ # Also note there is a handful of messages where the official list contains the words "could not be found",
19
+ # where the messages return from the Inferno validator serivce contain the words "is unknown". The
20
+ # corresponding regexes below have a capturing group to account for both cases.
21
+ #
22
+ # rubocop:disable Layout/LineLength
23
+ SUPPRESSED_MESSAGES = Regexp.union(
24
+ [
25
+ "Global Profile reference 'http://hl7.org/fhir/us/core/StructureDefinition/patient' from IG http://hl7.org/fhir/us/daf|0 could not be resolved, so has not been checked",
26
+ %r{Unable to provide support for code system http://terminology\.hl7\.org/CodeSystem/icd9cm},
27
+ %r{Unable to provide support for code system http://www\.cms\.gov/Medicare/Coding/HCPCSReleaseCodeSets},
28
+ %r{Unable to provide support for code system https://www\.nubc\.org/CodeSystem/TypeOfBill},
29
+ %r{Unable to provide support for code system https://www\.nubc\.org/revenue-code},
30
+ %r{Code System URI 'http://www\.cms\.gov/Medicare/Coding/HCPCSReleaseCodeSets' (could not be found|is unknown) so the code cannot be validated},
31
+ %r{Code System URI 'https://www\.cms\.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set' (could not be found|is unknown) so the code cannot be validated},
32
+ "The definition for the Code System with URI 'https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set' doesnt provide any codes so the code cannot be validated",
33
+ "The definition for the Code System with URI 'https://www.nubc.org/CodeSystem/PatDischargeStatus' doesnt provide any codes so the code cannot be validated",
34
+ "The definition for the Code System with URI 'https://www.nubc.org/CodeSystem/PointOfOrigin' doesnt provide any codes so the code cannot be validated",
35
+ "The definition for the Code System with URI 'https://www.nubc.org/CodeSystem/PriorityTypeOfAdmitOrVisit' doesnt provide any codes so the code cannot be validated",
36
+ %r{Reference to draft item http://hl7\.org/fhir/standards-status},
37
+ %r{Reference to draft item http://hl7\.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes},
38
+ "The resource status 'draft' and the standards status 'trial-use' may not be consistent and should be reviewed",
39
+ %r{This element does not match any known slice defined in the profile http://hl7\.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-inquiry-request-bundle},
40
+ %r{This element does not match any known slice defined in the profile http://hl7\.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-inquiry-response-bundle},
41
+ %r{This element does not match any known slice defined in the profile http://hl7\.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle},
42
+ %r{This element does not match any known slice defined in the profile http://hl7\.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-response-bundle},
43
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278ConditionCategory},
44
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278ConditionCode},
45
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278FollowUpActionCodes},
46
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278LocationType},
47
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278NutritionOralDietType},
48
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278RejectReasonCodes},
49
+ %r{Unable to check whether the code is in the value set http://hl7\.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType},
50
+ 'US FHIR Usage rules require that all profiles on Coverage derive from the core US profile',
51
+ 'US FHIR Usage rules require that all profiles on PractitionerRole derive from the core US profile',
52
+ 'US FHIR Usage rules require that all profiles on ServiceRequest derive from the core US profile',
53
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/1136},
54
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/1321},
55
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/1365},
56
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/755},
57
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/756},
58
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/889},
59
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/005010/901},
60
+ %r{Unable to provide support for code system https://codesystem\.x12\.org/external/886},
61
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1136' (could not be found|is unknown) so the code cannot be validated},
62
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1321' (could not be found|is unknown) so the code cannot be validated},
63
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1322' (could not be found|is unknown) so the code cannot be validated},
64
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1337' (could not be found|is unknown) so the code cannot be validated},
65
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1338' (could not be found|is unknown) so the code cannot be validated},
66
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1345' (could not be found|is unknown) so the code cannot be validated},
67
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1365' (could not be found|is unknown) so the code cannot be validated},
68
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/1525' (could not be found|is unknown) so the code cannot be validated},
69
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/306' (could not be found|is unknown) so the code cannot be validated},
70
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/584' (could not be found|is unknown) so the code cannot be validated},
71
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/678' (could not be found|is unknown) so the code cannot be validated},
72
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/679' (could not be found|is unknown) so the code cannot be validated},
73
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/755' (could not be found|is unknown) so the code cannot be validated},
74
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/889' (could not be found|is unknown) so the code cannot be validated},
75
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/901' (could not be found|is unknown) so the code cannot be validated},
76
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/923' (could not be found|is unknown) so the code cannot be validated},
77
+ %r{Code System URI 'https://codesystem\.x12\.org/005010/98' (could not be found|is unknown) so the code cannot be validated},
78
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000D/INS/1/02/00/1069 on element Coverage.relationship.coding could not be resolved',
79
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/CL1/1/01/00/1315 on element Encounter.type could not be resolved',
80
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/CL1/1/02/00/1314 on element Encounter.hospitalization.admitSource could not be resolved',
81
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/CL1/1/03/00/1352 on element Extension.value[x] could not be resolved',
82
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/CL1/1/04/00/1345 on element Encounter.extension.value[x] could not be resolved',
83
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/CR6/1/01/00/923 on element Extension.extension.value[x] could not be resolved',
84
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/UM/1/01/00/1525 on element Extension.value[x] could not be resolved',
85
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/UM/1/05/01/1362 on element Claim.accident.type could not be resolved',
86
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000E/UM/1/06/00/1338 on element Extension.value[x] could not be resolved',
87
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/HSD/1/07/00/678 on element Extension.value[x] could not be resolved',
88
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/HSD/1/08/00/679 on element Extension.value[x] could not be resolved',
89
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/SV1/1/20/00/1337 on element Extension.value[x] could not be resolved',
90
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/SV2/1/09/00/1345 on element Claim.item.extension.value[x] could not be resolved',
91
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/UM/1/02/00/1322 on element Extension.value[x] could not be resolved',
92
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2000F/UM/1/03/00/1365 on element Claim.item.category could not be resolved',
93
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010A/NM1/1/01/00/98 on element Organization.type could not be resolved',
94
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010C/INS/1/08/00/584 on element Extension.value[x] could not be resolved',
95
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010EA/NM1/1/01/00/98 on element Claim.careTeam.role could not be resolved',
96
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010EA/PRV/1/03/00/127 on element Claim.careTeam.qualification could not be resolved',
97
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010F/NM1/1/01/00/98 on element Claim.careTeam.role could not be resolved',
98
+ 'The valueSet reference https://valueset.x12.org/x217/005010/request/2010F/PRV/1/03/00/127 on element Claim.careTeam.qualification could not be resolved',
99
+ 'The valueSet reference https://valueset.x12.org/x217/005010/response/2000D/PWK/1/01/00/755 on element CommunicationRequest.category could not be resolved',
100
+ 'The valueSet reference https://valueset.x12.org/x217/005010/response/2000F/HCR/1/01/00/306 on element Extension.value[x] could not be resolved',
101
+ 'The valueSet reference https://valueset.x12.org/x217/005010/response/2010B/NM1/1/01/00/98 on element Organization.type could not be resolved',
102
+ 'The valueSet reference https://valueset.x12.org/x217/005010/response/2010EA/NM1/1/01/00/98 on element Extension.extension.value[x] could not be resolved',
103
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/CL1/1/01/00/1315 not found',
104
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/CL1/1/02/00/1314 not found',
105
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/CL1/1/03/00/1352 not found',
106
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/CR6/1/01/00/923 not found',
107
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/UM/1/01/00/1525 not found',
108
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000E/UM/1/06/00/1338 not found',
109
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/HSD/1/07/00/678 not found',
110
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/HSD/1/08/00/679 not found',
111
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/SV1/1/20/00/1337 not found',
112
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/SV2/1/09/00/1345 not found',
113
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/UM/1/02/00/1322 not found',
114
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2000F/UM/1/03/00/1365 not found',
115
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2010A/NM1/1/01/00/98 not found',
116
+ 'ValueSet https://valueset.x12.org/x217/005010/request/2010C/INS/1/08/00/584 not found',
117
+ 'ValueSet https://valueset.x12.org/x217/005010/response/2000D/PWK/1/01/00/755 not found',
118
+ 'ValueSet https://valueset.x12.org/x217/005010/response/2000F/HCR/1/01/00/306 not found',
119
+ 'ValueSet https://valueset.x12.org/x217/005010/response/2010B/NM1/1/01/00/98 not found',
120
+ # additional lines added beyond the errors suppressed in the IG
121
+ 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Claim.encounter', # validator bug, https://github.com/hapifhir/org.hl7.fhir.core/issues/1556
122
+ 'X12278RequestedServiceType', # X12 code system included in this PAS-defined value set
123
+ 'X12278LocationType', # X12 code system included in this PAS-defined value set
124
+ 'ValueSet https://valueset.x12.org/x217/005010/response/2010B/NM1/1/01/00/98 not found',
125
+ "Error from http://tx.fhir.org/r4: Error:A definition for the value Set 'http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|3.1.1' could not be found",
126
+ "A definition for CodeSystem 'https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set' could not be found, so the code cannot be validated",
127
+ "A definition for CodeSystem 'http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets' could not be found, so the code cannot be validated",
128
+ 'could not be found, so the code cannot be validated',
129
+ 'https://www.nubc.org/revenue-code',
130
+ # supress references to draft code systems that the IG references with bindings stronger than example
131
+ # looks to just be the PAS Temp Codes
132
+ 'Reference to draft CodeSystem http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes',
133
+ # no real content
134
+ /Details for (.+) matching against profile/,
135
+ ': All OK',
136
+ # addition validator clean-up based on Bundle sub-validations where Inferno error supression doesn't
137
+ # work. The test kit validates these instances individually as well, so they are still checked,
138
+ # but in a way that Inferno can supress errors
139
+ 'Unable to find a match for profile'
140
+ ]
141
+ )
142
+ # rubocop:enable Layout/LineLength
143
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: truen
2
+
3
+ module DaVinciPASTestKit
4
+ VERSION = '0.9.0'.freeze
5
+ end
@@ -0,0 +1,2 @@
1
+ require_relative 'davinci_pas_test_kit/client_suite'
2
+ require_relative 'davinci_pas_test_kit/generated/v2.0.1/server_suite'
metadata ADDED
@@ -0,0 +1,281 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: davinci_pas_test_kit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
+ platform: ruby
6
+ authors:
7
+ - Inferno Team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-04-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: inferno_core
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.34
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.34
27
+ - !ruby/object:Gem::Dependency
28
+ name: database_cleaner-sequel
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.8'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.8'
41
+ - !ruby/object:Gem::Dependency
42
+ name: factory_bot
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '6.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '6.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.11'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.11'
83
+ description: Inferno Test Kit for the Da Vinci Prior Authorization Support IG
84
+ email:
85
+ - inferno@groups.mitre.org
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - LICENSE
91
+ - lib/davinci_pas_test_kit.rb
92
+ - lib/davinci_pas_test_kit/client_suite.rb
93
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/claim_status/pas_claim_status_test.rb
94
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_response_attest.rb
95
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_approval_submit_test.rb
96
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_response_attest.rb
97
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_denial_submit_test.rb
98
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_inquire_must_support_test.rb
99
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_response_attest.rb
100
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_inquire_test.rb
101
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_response_attest.rb
102
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_pended_submit_test.rb
103
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_submit_must_support_test.rb
104
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_request_test.rb
105
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/client_tests/pas_client_token_validation_test.rb
106
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/nonconformant_pas_bundle.json
107
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_inquiry_error_test.rb
108
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/error_tests/pas_submission_error_test.rb
109
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/device_request_metadata.yml
110
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/medication_request_metadata.yml
111
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/nutrition_order_metadata.yml
112
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_client_must_support_requirement_test.rb
113
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/pas_server_must_support_requirement_test.rb
114
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/must_support/service_request_metadata.yml
115
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_approval_group.rb
116
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_authentication_group.rb
117
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_denial_group.rb
118
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_client_pended_group.rb
119
+ - lib/davinci_pas_test_kit/custom_groups/v2.0.1/pas_error_group.rb
120
+ - lib/davinci_pas_test_kit/ext/inferno_core/record_response_route.rb
121
+ - lib/davinci_pas_test_kit/ext/inferno_core/request.rb
122
+ - lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb
123
+ - lib/davinci_pas_test_kit/fhir_resource_navigation.rb
124
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_inquiry_request_beneficiary_must_support_test.rb
125
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/client_submit_request_beneficiary_must_support_test.rb
126
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/metadata.yml
127
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_request_beneficiary_must_support_test.rb
128
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_inquiry_response_beneficiary_must_support_test.rb
129
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_request_beneficiary_must_support_test.rb
130
+ - lib/davinci_pas_test_kit/generated/v2.0.1/beneficiary/server_submit_response_beneficiary_must_support_test.rb
131
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim/claim_operation_test.rb
132
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim/metadata.yml
133
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/claim_inquiry_operation_test.rb
134
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/client_inquiry_request_claim_inquiry_must_support_test.rb
135
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/metadata.yml
136
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_inquiry/server_inquiry_request_claim_inquiry_must_support_test.rb
137
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/client_submit_request_claim_update_must_support_test.rb
138
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/metadata.yml
139
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claim_update/server_submit_request_claim_update_must_support_test.rb
140
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/metadata.yml
141
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claiminquiryresponse/server_inquiry_response_claiminquiryresponse_must_support_test.rb
142
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/metadata.yml
143
+ - lib/davinci_pas_test_kit/generated/v2.0.1/claimresponse/server_submit_response_claimresponse_must_support_test.rb
144
+ - lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_denial_pas_response_bundle_validation_test.rb
145
+ - lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pas_request_bundle_validation_test.rb
146
+ - lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_inquiry_request_bundle_validation_test.rb
147
+ - lib/davinci_pas_test_kit/generated/v2.0.1/client_tests/client_pended_pas_response_bundle_validation_test.rb
148
+ - lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/metadata.yml
149
+ - lib/davinci_pas_test_kit/generated/v2.0.1/communication_request/server_submit_response_communication_request_must_support_test.rb
150
+ - lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_inquiry_request_coverage_must_support_test.rb
151
+ - lib/davinci_pas_test_kit/generated/v2.0.1/coverage/client_submit_request_coverage_must_support_test.rb
152
+ - lib/davinci_pas_test_kit/generated/v2.0.1/coverage/metadata.yml
153
+ - lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_inquiry_request_coverage_must_support_test.rb
154
+ - lib/davinci_pas_test_kit/generated/v2.0.1/coverage/server_submit_request_coverage_must_support_test.rb
155
+ - lib/davinci_pas_test_kit/generated/v2.0.1/device_request/client_submit_request_device_request_must_support_test.rb
156
+ - lib/davinci_pas_test_kit/generated/v2.0.1/device_request/metadata.yml
157
+ - lib/davinci_pas_test_kit/generated/v2.0.1/device_request/server_submit_request_device_request_must_support_test.rb
158
+ - lib/davinci_pas_test_kit/generated/v2.0.1/encounter/client_submit_request_encounter_must_support_test.rb
159
+ - lib/davinci_pas_test_kit/generated/v2.0.1/encounter/metadata.yml
160
+ - lib/davinci_pas_test_kit/generated/v2.0.1/encounter/server_submit_request_encounter_must_support_test.rb
161
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_inquiry_request_insurer_must_support_test.rb
162
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/client_submit_request_insurer_must_support_test.rb
163
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/metadata.yml
164
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_request_insurer_must_support_test.rb
165
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_inquiry_response_insurer_must_support_test.rb
166
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_request_insurer_must_support_test.rb
167
+ - lib/davinci_pas_test_kit/generated/v2.0.1/insurer/server_submit_response_insurer_must_support_test.rb
168
+ - lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/client_submit_request_medication_request_must_support_test.rb
169
+ - lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/metadata.yml
170
+ - lib/davinci_pas_test_kit/generated/v2.0.1/medication_request/server_submit_request_medication_request_must_support_test.rb
171
+ - lib/davinci_pas_test_kit/generated/v2.0.1/metadata.yml
172
+ - lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/client_submit_request_nutrition_order_must_support_test.rb
173
+ - lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/metadata.yml
174
+ - lib/davinci_pas_test_kit/generated/v2.0.1/nutrition_order/server_submit_request_nutrition_order_must_support_test.rb
175
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_inquiry_must_support_use_case_group.rb
176
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_client_submit_must_support_use_case_group.rb
177
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/client_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb
178
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/metadata.yml
179
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_inquiry_request_pas_inquiry_request_bundle_must_support_test.rb
180
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_request_bundle/server_pas_inquiry_request_bundle_validation_test.rb
181
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/metadata.yml
182
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_inquiry_response_pas_inquiry_response_bundle_must_support_test.rb
183
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_inquiry_response_bundle/server_pas_inquiry_response_bundle_validation_test.rb
184
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/client_submit_request_pas_request_bundle_must_support_test.rb
185
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/metadata.yml
186
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_pas_request_bundle_validation_test.rb
187
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_request_bundle/server_submit_request_pas_request_bundle_must_support_test.rb
188
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/metadata.yml
189
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_pas_response_bundle_validation_test.rb
190
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_response_bundle/server_submit_response_pas_response_bundle_must_support_test.rb
191
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_approval_use_case_group.rb
192
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_denial_use_case_group.rb
193
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_must_support_use_case_group.rb
194
+ - lib/davinci_pas_test_kit/generated/v2.0.1/pas_server_pended_use_case_group.rb
195
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_inquiry_request_practitioner_must_support_test.rb
196
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/client_submit_request_practitioner_must_support_test.rb
197
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/metadata.yml
198
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_request_practitioner_must_support_test.rb
199
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_inquiry_response_practitioner_must_support_test.rb
200
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_request_practitioner_must_support_test.rb
201
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner/server_submit_response_practitioner_must_support_test.rb
202
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_inquiry_request_practitioner_role_must_support_test.rb
203
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/client_submit_request_practitioner_role_must_support_test.rb
204
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/metadata.yml
205
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_request_practitioner_role_must_support_test.rb
206
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_inquiry_response_practitioner_role_must_support_test.rb
207
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_request_practitioner_role_must_support_test.rb
208
+ - lib/davinci_pas_test_kit/generated/v2.0.1/practitioner_role/server_submit_response_practitioner_role_must_support_test.rb
209
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_inquiry_request_requestor_must_support_test.rb
210
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/client_submit_request_requestor_must_support_test.rb
211
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/metadata.yml
212
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_request_requestor_must_support_test.rb
213
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_inquiry_response_requestor_must_support_test.rb
214
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_request_requestor_must_support_test.rb
215
+ - lib/davinci_pas_test_kit/generated/v2.0.1/requestor/server_submit_response_requestor_must_support_test.rb
216
+ - lib/davinci_pas_test_kit/generated/v2.0.1/resource_list.rb
217
+ - lib/davinci_pas_test_kit/generated/v2.0.1/server_suite.rb
218
+ - lib/davinci_pas_test_kit/generated/v2.0.1/service_request/client_submit_request_service_request_must_support_test.rb
219
+ - lib/davinci_pas_test_kit/generated/v2.0.1/service_request/metadata.yml
220
+ - lib/davinci_pas_test_kit/generated/v2.0.1/service_request/server_submit_request_service_request_must_support_test.rb
221
+ - lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_inquiry_request_subscriber_must_support_test.rb
222
+ - lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/client_submit_request_subscriber_must_support_test.rb
223
+ - lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/metadata.yml
224
+ - lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_inquiry_request_subscriber_must_support_test.rb
225
+ - lib/davinci_pas_test_kit/generated/v2.0.1/subscriber/server_submit_request_subscriber_must_support_test.rb
226
+ - lib/davinci_pas_test_kit/generated/v2.0.1/task/metadata.yml
227
+ - lib/davinci_pas_test_kit/generated/v2.0.1/task/server_inquiry_response_task_must_support_test.rb
228
+ - lib/davinci_pas_test_kit/generated/v2.0.1/task/server_submit_response_task_must_support_test.rb
229
+ - lib/davinci_pas_test_kit/generator.rb
230
+ - lib/davinci_pas_test_kit/generator/group_generator.rb
231
+ - lib/davinci_pas_test_kit/generator/group_metadata.rb
232
+ - lib/davinci_pas_test_kit/generator/group_metadata_extractor.rb
233
+ - lib/davinci_pas_test_kit/generator/ig_loader.rb
234
+ - lib/davinci_pas_test_kit/generator/ig_metadata.rb
235
+ - lib/davinci_pas_test_kit/generator/ig_metadata_extractor.rb
236
+ - lib/davinci_pas_test_kit/generator/ig_resources.rb
237
+ - lib/davinci_pas_test_kit/generator/must_support_check_profiles.rb
238
+ - lib/davinci_pas_test_kit/generator/must_support_metadata_extractor.rb
239
+ - lib/davinci_pas_test_kit/generator/must_support_test_generator.rb
240
+ - lib/davinci_pas_test_kit/generator/naming.rb
241
+ - lib/davinci_pas_test_kit/generator/operation_test_generator.rb
242
+ - lib/davinci_pas_test_kit/generator/resource_list_generator.rb
243
+ - lib/davinci_pas_test_kit/generator/suite_generator.rb
244
+ - lib/davinci_pas_test_kit/generator/terminology_binding_metadata_extractor.rb
245
+ - lib/davinci_pas_test_kit/generator/validation_test_generator.rb
246
+ - lib/davinci_pas_test_kit/generator/value_extractor.rb
247
+ - lib/davinci_pas_test_kit/mock_server.rb
248
+ - lib/davinci_pas_test_kit/must_support_test.rb
249
+ - lib/davinci_pas_test_kit/pas_bundle_validation.rb
250
+ - lib/davinci_pas_test_kit/tags.rb
251
+ - lib/davinci_pas_test_kit/urls.rb
252
+ - lib/davinci_pas_test_kit/user_input_response.rb
253
+ - lib/davinci_pas_test_kit/validation_test.rb
254
+ - lib/davinci_pas_test_kit/validator_suppressions.rb
255
+ - lib/davinci_pas_test_kit/version.rb
256
+ homepage: https://github.com/inferno-framework/davinci-pas-test-kit
257
+ licenses:
258
+ - Apache-2.0
259
+ metadata:
260
+ homepage_uri: https://github.com/inferno-framework/davinci-pas-test-kit
261
+ source_code_uri: https://github.com/inferno-framework/davinci-pas-test-kit
262
+ post_install_message:
263
+ rdoc_options: []
264
+ require_paths:
265
+ - lib
266
+ required_ruby_version: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: 3.1.2
271
+ required_rubygems_version: !ruby/object:Gem::Requirement
272
+ requirements:
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
276
+ requirements: []
277
+ rubygems_version: 3.3.7
278
+ signing_key:
279
+ specification_version: 4
280
+ summary: Da Vinci PAS Test Kit
281
+ test_files: []