davinci_pas_test_kit 0.15.2 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. checksums.yaml +4 -4
  2. data/config/presets/g33_br_provider.json +13 -0
  3. data/lib/davinci_pas_test_kit/client/abstract_approval_submit_test.rb +28 -17
  4. data/lib/davinci_pas_test_kit/client/abstract_denial_submit_test.rb +26 -16
  5. data/lib/davinci_pas_test_kit/client/abstract_gather_must_support_test.rb +43 -26
  6. data/lib/davinci_pas_test_kit/client/abstract_modification_submit_test.rb +29 -19
  7. data/lib/davinci_pas_test_kit/client/abstract_response_attest.rb +75 -6
  8. data/lib/davinci_pas_test_kit/client/abstract_subscription_create_test.rb +26 -9
  9. data/lib/davinci_pas_test_kit/client/abstract_subscription_update_delete_test.rb +91 -0
  10. data/lib/davinci_pas_test_kit/client/client_bundle_validation_helper.rb +245 -0
  11. data/lib/davinci_pas_test_kit/client/client_input_descriptions.rb +91 -25
  12. data/lib/davinci_pas_test_kit/client/endpoints/claim_endpoint.rb +108 -68
  13. data/lib/davinci_pas_test_kit/client/endpoints/endpoint_session_identification.rb +24 -0
  14. data/lib/davinci_pas_test_kit/client/endpoints/expired_token.rb +40 -0
  15. data/lib/davinci_pas_test_kit/client/endpoints/subscription_create_endpoint.rb +7 -12
  16. data/lib/davinci_pas_test_kit/client/endpoints/subscription_delete_endpoint.rb +13 -0
  17. data/lib/davinci_pas_test_kit/client/endpoints/subscription_read_endpoint.rb +13 -0
  18. data/lib/davinci_pas_test_kit/client/endpoints/subscription_status_endpoint.rb +15 -20
  19. data/lib/davinci_pas_test_kit/client/endpoints/subscription_update_endpoint.rb +13 -0
  20. data/lib/davinci_pas_test_kit/client/endpoints/token_endpoint.rb +16 -0
  21. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_request_must_support_beneficiary_test.rb +3 -3
  22. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb +3 -3
  23. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_submit_request_must_support_beneficiary_test.rb +3 -3
  24. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_submit_response_must_support_beneficiary_test.rb +3 -3
  25. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claim_inquiry/client_inquire_request_must_support_claim_inquiry_test.rb +3 -3
  26. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claim_update/client_submit_request_must_support_claim_update_test.rb +3 -3
  27. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claiminquiryresponse/client_inquire_response_must_support_claiminquiryresponse_test.rb +3 -3
  28. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/claimresponse/client_submit_response_must_support_claimresponse_test.rb +3 -3
  29. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/communication_request/client_submit_response_must_support_communication_request_test.rb +3 -3
  30. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/coverage/client_inquire_request_must_support_coverage_test.rb +3 -3
  31. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/coverage/client_submit_request_must_support_coverage_test.rb +3 -3
  32. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/encounter/client_submit_request_must_support_encounter_test.rb +3 -3
  33. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_inquire_request_must_support_insurer_test.rb +3 -3
  34. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_inquire_response_must_support_insurer_test.rb +3 -3
  35. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_submit_request_must_support_insurer_test.rb +3 -3
  36. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/insurer/client_submit_response_must_support_insurer_test.rb +3 -3
  37. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_inquire_must_support_group.rb +1 -1
  38. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_inquire_response_must_support_group.rb +9 -31
  39. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_submit_must_support_group.rb +1 -1
  40. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_client_submit_response_must_support_group.rb +10 -32
  41. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_inquiry_request_bundle/client_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +3 -3
  42. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_inquiry_response_bundle/client_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +3 -3
  43. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_request_bundle/client_submit_request_must_support_pas_request_bundle_test.rb +3 -3
  44. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/pas_response_bundle/client_submit_response_must_support_pas_response_bundle_test.rb +3 -3
  45. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_inquire_request_must_support_practitioner_test.rb +3 -3
  46. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_inquire_response_must_support_practitioner_test.rb +3 -3
  47. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_submit_request_must_support_practitioner_test.rb +3 -3
  48. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner/client_submit_response_must_support_practitioner_test.rb +3 -3
  49. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_inquire_request_must_support_practitioner_role_test.rb +3 -3
  50. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_inquire_response_must_support_practitioner_role_test.rb +3 -3
  51. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_submit_request_must_support_practitioner_role_test.rb +3 -3
  52. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/practitioner_role/client_submit_response_must_support_practitioner_role_test.rb +3 -3
  53. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_inquire_request_must_support_requestor_test.rb +3 -3
  54. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_inquire_response_must_support_requestor_test.rb +3 -3
  55. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_submit_request_must_support_requestor_test.rb +3 -3
  56. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_submit_response_must_support_requestor_test.rb +3 -3
  57. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_inquire_request_must_support_subscriber_test.rb +3 -3
  58. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_submit_request_must_support_subscriber_test.rb +3 -3
  59. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb +4 -3
  60. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_submit_response_must_support_beneficiary_test.rb +4 -3
  61. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claim_inquiry/client_inquire_request_must_support_claim_inquiry_test.rb +3 -3
  62. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claim_update/client_submit_request_must_support_claim_update_test.rb +3 -3
  63. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claiminquiryresponse/client_inquire_response_must_support_claiminquiryresponse_test.rb +4 -3
  64. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/claimresponse/client_submit_response_must_support_claimresponse_test.rb +4 -3
  65. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/communication_request/client_submit_response_must_support_communication_request_test.rb +4 -3
  66. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/insurer/client_inquire_response_must_support_insurer_test.rb +4 -3
  67. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/insurer/client_submit_response_must_support_insurer_test.rb +4 -3
  68. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_inquire_must_support_group.rb +8 -6
  69. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_inquire_response_must_support_group.rb +9 -31
  70. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_submit_must_support_group.rb +13 -9
  71. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_client_submit_response_must_support_group.rb +10 -32
  72. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_inquiry_response_bundle/client_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +4 -3
  73. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/pas_response_bundle/client_submit_response_must_support_pas_response_bundle_test.rb +4 -3
  74. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner/client_inquire_response_must_support_practitioner_test.rb +4 -3
  75. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner/client_submit_response_must_support_practitioner_test.rb +4 -3
  76. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner_role/client_inquire_response_must_support_practitioner_role_test.rb +4 -3
  77. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner_role/client_submit_response_must_support_practitioner_role_test.rb +4 -3
  78. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_inquire_response_must_support_requestor_test.rb +4 -3
  79. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_submit_response_must_support_requestor_test.rb +4 -3
  80. data/lib/davinci_pas_test_kit/client/jobs/send_pas_subscription_notification.rb +64 -3
  81. data/lib/davinci_pas_test_kit/client/pas_client_subscription_pas_conformance_test.rb +4 -3
  82. data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_other_display_test.rb +6 -4
  83. data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_smart_display_test.rb +8 -4
  84. data/lib/davinci_pas_test_kit/client/registration/abstract_configuration_udap_display_test.rb +9 -4
  85. data/lib/davinci_pas_test_kit/client/registration/abstract_other_auth_attest_test.rb +5 -4
  86. data/lib/davinci_pas_test_kit/client/request_count_gating.rb +14 -0
  87. data/lib/davinci_pas_test_kit/client/response_generator.rb +50 -9
  88. data/lib/davinci_pas_test_kit/client/session_identification.rb +26 -7
  89. data/lib/davinci_pas_test_kit/client/subscription_notification_trigger.rb +80 -0
  90. data/lib/davinci_pas_test_kit/client/subscription_setup_requirement.rb +59 -0
  91. data/lib/davinci_pas_test_kit/client/user_input_response.rb +27 -6
  92. data/lib/davinci_pas_test_kit/client/v2.0.1/client_suite.rb +30 -15
  93. data/lib/davinci_pas_test_kit/client/v2.0.1/must_support/pas_client_must_support_request_profiles_test.rb +2 -2
  94. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_approval_group.rb +8 -7
  95. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_auth_smart_group.rb +4 -4
  96. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_auth_udap_group.rb +4 -4
  97. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_denial_group.rb +8 -7
  98. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_must_support_group.rb +38 -52
  99. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_pended_group.rb +28 -22
  100. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_registration_group.rb +2 -2
  101. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_subscription_setup_group.rb +2 -2
  102. data/lib/davinci_pas_test_kit/client/v2.0.1/pas_client_workflows_group.rb +2 -2
  103. data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_inquire_request_bundle_validation_test.rb +15 -21
  104. data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_inquire_response_bundle_validation_test.rb +29 -29
  105. data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_pended_submit_test.rb +49 -40
  106. data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_request_bundle_validation_test.rb +15 -21
  107. data/lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_response_bundle_validation_test.rb +29 -29
  108. data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/attestation_instructions.rb +10 -0
  109. data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb +44 -0
  110. data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_provider_review_attestation_test.rb +45 -0
  111. data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_security_attestation_test.rb +42 -0
  112. data/lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_subscription_error_recovery_attestation_test.rb +42 -0
  113. data/lib/davinci_pas_test_kit/client/v2.2.1/client_suite.rb +64 -12
  114. data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_failure_submit_test.rb +20 -10
  115. data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_outcome_validation_test.rb +11 -5
  116. data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_processing_error_response_validation_test.rb +21 -12
  117. data/lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_processing_error_submit_test.rb +19 -8
  118. data/lib/davinci_pas_test_kit/client/v2.2.1/must_support/must_support_with_attestation_option.rb +90 -40
  119. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_approval_group.rb +12 -11
  120. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_attestations_group.rb +32 -0
  121. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_smart_group.rb +4 -4
  122. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_udap_group.rb +4 -4
  123. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_claim_updates_group.rb +24 -6
  124. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_denial_group.rb +12 -10
  125. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_modification_group.rb +13 -14
  126. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_must_support_group.rb +55 -59
  127. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_operation_failure_group.rb +8 -5
  128. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_pended_group.rb +53 -41
  129. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_processing_error_group.rb +9 -7
  130. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_registration_group.rb +2 -2
  131. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_setup_group.rb +9 -4
  132. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_update_delete_group.rb +57 -0
  133. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_workflows_group.rb +22 -2
  134. data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_create_test.rb +2 -1
  135. data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_put_update_pas_conformance_test.rb +49 -0
  136. data/lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_update_delete_test.rb +12 -0
  137. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_claim_update_referenced_resources_test.rb +5 -6
  138. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_claim_update_submit_tests.rb +82 -56
  139. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_inquire_request_bundle_validation_test.rb +17 -20
  140. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_inquire_response_bundle_validation_test.rb +59 -27
  141. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_modification_verification_test.rb +0 -3
  142. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_send_notification_test.rb +138 -0
  143. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_submit_test.rb +32 -85
  144. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_request_bundle_validation_test.rb +16 -21
  145. data/lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_response_bundle_validation_test.rb +27 -27
  146. data/lib/davinci_pas_test_kit/cross_suite/generated/v2.0.1/task/metadata.yml +0 -4
  147. data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/metadata.yml +0 -1
  148. data/lib/davinci_pas_test_kit/cross_suite/generated/v2.2.1/task/metadata.yml +0 -4
  149. data/lib/davinci_pas_test_kit/cross_suite/pas_bundle_validation.rb +489 -289
  150. data/lib/davinci_pas_test_kit/cross_suite/pas_constants.rb +7 -0
  151. data/lib/davinci_pas_test_kit/cross_suite/pas_subscription_verification.rb +8 -4
  152. data/lib/davinci_pas_test_kit/cross_suite/referenced_resource_presence_validation.rb +141 -0
  153. data/lib/davinci_pas_test_kit/cross_suite/response_selection_utils.rb +13 -11
  154. data/lib/davinci_pas_test_kit/cross_suite/tags.rb +11 -6
  155. data/lib/davinci_pas_test_kit/cross_suite/validator_configuration.rb +16 -0
  156. data/lib/davinci_pas_test_kit/cross_suite/validator_suppressions.rb +4 -0
  157. data/lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json +3 -3
  158. data/lib/davinci_pas_test_kit/ext/inferno_core/runnable.rb +1 -0
  159. data/lib/davinci_pas_test_kit/generator/client_must_support_group_generator.rb +47 -16
  160. data/lib/davinci_pas_test_kit/generator/must_support_target_profiles.rb +17 -0
  161. data/lib/davinci_pas_test_kit/generator/must_support_test_generator.rb +8 -2
  162. data/lib/davinci_pas_test_kit/generator/profile_metadata.rb +1 -1
  163. data/lib/davinci_pas_test_kit/generator/server_suite_generator.rb +4 -9
  164. data/lib/davinci_pas_test_kit/generator/templates/client_must_support_group.rb.erb +22 -3
  165. data/lib/davinci_pas_test_kit/generator/templates/client_must_support_response_group.rb.erb +7 -16
  166. data/lib/davinci_pas_test_kit/generator/templates/must_support.rb.erb +8 -8
  167. data/lib/davinci_pas_test_kit/generator/templates/server_suite.rb.erb +6 -7
  168. data/lib/davinci_pas_test_kit/generator/use_case_group_generator.rb +5 -5
  169. data/lib/davinci_pas_test_kit/parameters_helper.rb +13 -5
  170. data/lib/davinci_pas_test_kit/pas_notification_conformance_test.rb +2 -2
  171. data/lib/davinci_pas_test_kit/requirements/davinci_pas_test_kit_requirements.csv +14 -7
  172. data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_client_suite_v201_requirements_coverage.csv +21 -21
  173. data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_client_suite_v221_requirements_coverage.csv +30 -26
  174. data/lib/davinci_pas_test_kit/requirements/generated/davinci_pas_server_suite_v221_requirements_coverage.csv +12 -6
  175. data/lib/davinci_pas_test_kit/requirements/hl7.fhir.us.davinci-pas_2.2.1_requirements.xlsx +0 -0
  176. data/lib/davinci_pas_test_kit/server/claim_operation_logic.rb +1 -1
  177. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_inquire_request_must_support_beneficiary_test.rb +1 -1
  178. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_inquire_response_must_support_beneficiary_test.rb +1 -1
  179. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_submit_request_must_support_beneficiary_test.rb +1 -1
  180. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/beneficiary/server_submit_response_must_support_beneficiary_test.rb +1 -1
  181. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claim_inquiry/server_inquire_request_must_support_claim_inquiry_test.rb +1 -1
  182. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claim_update/server_submit_request_must_support_claim_update_test.rb +1 -1
  183. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claiminquiryresponse/server_inquire_response_must_support_claiminquiryresponse_test.rb +1 -1
  184. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/claimresponse/server_submit_response_must_support_claimresponse_test.rb +1 -1
  185. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/communication_request/server_submit_response_must_support_communication_request_test.rb +1 -1
  186. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/coverage/server_inquire_request_must_support_coverage_test.rb +1 -1
  187. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/coverage/server_submit_request_must_support_coverage_test.rb +1 -1
  188. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/encounter/server_submit_request_must_support_encounter_test.rb +1 -1
  189. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_inquire_request_must_support_insurer_test.rb +1 -1
  190. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_inquire_response_must_support_insurer_test.rb +1 -1
  191. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_submit_request_must_support_insurer_test.rb +1 -1
  192. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/insurer/server_submit_response_must_support_insurer_test.rb +1 -1
  193. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_inquiry_request_bundle/server_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +1 -1
  194. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_inquiry_response_bundle/server_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +1 -1
  195. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_request_bundle/server_submit_request_must_support_pas_request_bundle_test.rb +1 -1
  196. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_response_bundle/server_submit_response_must_support_pas_response_bundle_test.rb +1 -1
  197. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_approval_use_case_group.rb +3 -3
  198. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_denial_use_case_group.rb +3 -3
  199. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/pas_server_pended_use_case_group.rb +6 -6
  200. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_inquire_request_must_support_practitioner_test.rb +1 -1
  201. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_inquire_response_must_support_practitioner_test.rb +1 -1
  202. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_submit_request_must_support_practitioner_test.rb +1 -1
  203. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner/server_submit_response_must_support_practitioner_test.rb +1 -1
  204. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_inquire_request_must_support_practitioner_role_test.rb +1 -1
  205. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_inquire_response_must_support_practitioner_role_test.rb +1 -1
  206. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_submit_request_must_support_practitioner_role_test.rb +1 -1
  207. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/practitioner_role/server_submit_response_must_support_practitioner_role_test.rb +1 -1
  208. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_inquire_request_must_support_requestor_test.rb +1 -1
  209. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_inquire_response_must_support_requestor_test.rb +1 -1
  210. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_submit_request_must_support_requestor_test.rb +1 -1
  211. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/requestor/server_submit_response_must_support_requestor_test.rb +1 -1
  212. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/server_suite.rb +6 -7
  213. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/subscriber/server_inquire_request_must_support_subscriber_test.rb +1 -1
  214. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/subscriber/server_submit_request_must_support_subscriber_test.rb +1 -1
  215. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/task/server_inquire_response_must_support_task_test.rb +1 -1
  216. data/lib/davinci_pas_test_kit/server/generated/v2.0.1/task/server_submit_response_must_support_task_test.rb +1 -1
  217. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_inquire_request_must_support_beneficiary_test.rb +1 -1
  218. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_inquire_response_must_support_beneficiary_test.rb +1 -1
  219. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_submit_request_must_support_beneficiary_test.rb +1 -1
  220. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/beneficiary/server_submit_response_must_support_beneficiary_test.rb +1 -1
  221. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claim_inquiry/server_inquire_request_must_support_claim_inquiry_test.rb +1 -1
  222. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claim_update/server_submit_request_must_support_claim_update_test.rb +1 -1
  223. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claiminquiryresponse/server_inquire_response_must_support_claiminquiryresponse_test.rb +1 -1
  224. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/claimresponse/server_submit_response_must_support_claimresponse_test.rb +1 -1
  225. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/communication_request/server_submit_response_must_support_communication_request_test.rb +1 -1
  226. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/coverage/server_inquire_request_must_support_coverage_test.rb +1 -1
  227. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/coverage/server_submit_request_must_support_coverage_test.rb +1 -1
  228. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/encounter/server_submit_request_must_support_encounter_test.rb +1 -1
  229. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_inquire_request_must_support_insurer_test.rb +1 -1
  230. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_inquire_response_must_support_insurer_test.rb +1 -1
  231. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_submit_request_must_support_insurer_test.rb +1 -1
  232. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/insurer/server_submit_response_must_support_insurer_test.rb +1 -1
  233. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_inquiry_request_bundle/server_inquire_request_must_support_pas_inquiry_request_bundle_test.rb +1 -1
  234. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_inquiry_response_bundle/server_inquire_response_must_support_pas_inquiry_response_bundle_test.rb +1 -1
  235. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_request_bundle/server_submit_request_must_support_pas_request_bundle_test.rb +1 -1
  236. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_response_bundle/server_submit_response_must_support_pas_response_bundle_test.rb +1 -1
  237. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_approval_use_case_group.rb +3 -3
  238. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_denial_use_case_group.rb +3 -3
  239. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/pas_server_pended_use_case_group.rb +4 -4
  240. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_inquire_request_must_support_practitioner_test.rb +1 -1
  241. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_inquire_response_must_support_practitioner_test.rb +1 -1
  242. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_submit_request_must_support_practitioner_test.rb +1 -1
  243. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner/server_submit_response_must_support_practitioner_test.rb +1 -1
  244. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_inquire_request_must_support_practitioner_role_test.rb +1 -1
  245. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_inquire_response_must_support_practitioner_role_test.rb +1 -1
  246. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_submit_request_must_support_practitioner_role_test.rb +1 -1
  247. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/practitioner_role/server_submit_response_must_support_practitioner_role_test.rb +1 -1
  248. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_inquire_request_must_support_requestor_test.rb +1 -1
  249. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_inquire_response_must_support_requestor_test.rb +1 -1
  250. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_submit_request_must_support_requestor_test.rb +1 -1
  251. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/requestor/server_submit_response_must_support_requestor_test.rb +1 -1
  252. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/server_suite.rb +6 -7
  253. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/subscriber/server_inquire_request_must_support_subscriber_test.rb +1 -1
  254. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/subscriber/server_submit_request_must_support_subscriber_test.rb +1 -1
  255. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/task/server_inquire_response_must_support_task_test.rb +1 -1
  256. data/lib/davinci_pas_test_kit/server/generated/v2.2.1/task/server_submit_response_must_support_task_test.rb +1 -1
  257. data/lib/davinci_pas_test_kit/server/pas_claim_response_decision_test.rb +2 -2
  258. data/lib/davinci_pas_test_kit/server/server_request_bundle_validation_test.rb +4 -6
  259. data/lib/davinci_pas_test_kit/server/server_response_bundle_validation_test.rb +4 -6
  260. data/lib/davinci_pas_test_kit/server/v2.0.1/must_support/pas_server_must_support_request_profiles_test.rb +1 -1
  261. data/lib/davinci_pas_test_kit/server/v2.0.1/pas_server_subscription_setup.rb +1 -1
  262. data/lib/davinci_pas_test_kit/server/v2.2.1/must_support/pas_server_must_support_request_profiles_test.rb +1 -1
  263. data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_claim_updates_group.rb +1 -1
  264. data/lib/davinci_pas_test_kit/server/v2.2.1/pas_server_subscription_setup.rb +1 -1
  265. data/lib/davinci_pas_test_kit/version.rb +2 -2
  266. metadata +31 -13
  267. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_inquire_response_must_support_task_test.rb +0 -45
  268. data/lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_submit_response_must_support_task_test.rb +0 -45
  269. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_inquire_response_must_support_task_test.rb +0 -55
  270. data/lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_submit_response_must_support_task_test.rb +0 -55
  271. data/lib/davinci_pas_test_kit/client/v2.2.1/pas_client_error_handling_group.rb +0 -20
@@ -12,9 +12,9 @@ module DaVinciPASTestKit
12
12
  module DaVinciPASV221
13
13
  class PASServerPendedUseCaseGroup < Inferno::TestGroup
14
14
  id :pas_server_v221_pended_use_case
15
- title 'Successful Pended Workflow'
15
+ title 'Successful Pended Scenario'
16
16
  description %(
17
- Demonstrate a complete prior authorization workflow including a period
17
+ Demonstrate a complete prior authorization scenario including a period
18
18
  during which the final decision is pending. This includes demonstrating
19
19
  the ability of the server to
20
20
 
@@ -37,7 +37,7 @@ module DaVinciPASTestKit
37
37
 
38
38
  This test validates the conformity of the
39
39
  user input to the
40
- [PAS Request Bundle](http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-request-bundle|v2.2.1)
40
+ [PAS Request Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-request-bundle.html)
41
41
  profile, ensuring subsequent tests can accurately simulate content.
42
42
 
43
43
  It also checks that other conformance requirements defined in the [PAS Formal
@@ -91,7 +91,7 @@ module DaVinciPASTestKit
91
91
  description %(
92
92
  This test validates the conformity of the
93
93
  server's response to the
94
- [PAS Response Bundle](http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-pas-response-bundle|v2.2.1)
94
+ [PAS Response Bundle](https://hl7.org/fhir/us/davinci-pas/2.2.1/StructureDefinition-profile-pas-response-bundle.html)
95
95
  profile.
96
96
 
97
97
  It also checks that other conformance requirements defined in the [PAS Formal
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$inquire`
14
14
  requests, including instances of the PAS Practitioner Profile.
15
15
  This test checks all identified instances of the PAS Practitioner
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$inquire`
12
12
  responses, including instances of the PAS Practitioner Profile.
13
13
  This test checks all identified instances of the PAS Practitioner
14
14
  Profile on responses returned by the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$submit`
14
14
  requests, including instances of the PAS Practitioner Profile.
15
15
  This test checks all identified instances of the PAS Practitioner
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$submit`
12
12
  responses, including instances of the PAS Practitioner Profile.
13
13
  This test checks all identified instances of the PAS Practitioner
14
14
  Profile on responses returned by the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$inquire`
14
14
  requests, including instances of the PAS PractitionerRole Profile.
15
15
  This test checks all identified instances of the PAS PractitionerRole
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$inquire`
12
12
  responses, including instances of the PAS PractitionerRole Profile.
13
13
  This test checks all identified instances of the PAS PractitionerRole
14
14
  Profile on responses returned by the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$submit`
14
14
  requests, including instances of the PAS PractitionerRole Profile.
15
15
  This test checks all identified instances of the PAS PractitionerRole
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$submit`
12
12
  responses, including instances of the PAS PractitionerRole Profile.
13
13
  This test checks all identified instances of the PAS PractitionerRole
14
14
  Profile on responses returned by the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$inquire`
14
14
  requests, including instances of the PAS Requestor Organization Profile.
15
15
  This test checks all identified instances of the PAS Requestor Organization
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$inquire`
12
12
  responses, including instances of the PAS Requestor Organization Profile.
13
13
  This test checks all identified instances of the PAS Requestor Organization
14
14
  Profile on responses returned by the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$submit`
14
14
  requests, including instances of the PAS Requestor Organization Profile.
15
15
  This test checks all identified instances of the PAS Requestor Organization
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$submit`
12
12
  responses, including instances of the PAS Requestor Organization Profile.
13
13
  This test checks all identified instances of the PAS Requestor Organization
14
14
  Profile on responses returned by the server to ensure that the following
@@ -1,3 +1,4 @@
1
+ require_relative '../../../cross_suite/validator_configuration'
1
2
  require_relative '../../../cross_suite/validator_suppressions'
2
3
  require_relative '../../v2.2.1/pas_error_group'
3
4
  require_relative '../../v2.2.1/pas_server_subscription_setup'
@@ -86,16 +87,14 @@ module DaVinciPASTestKit
86
87
  )
87
88
 
88
89
  fhir_resource_validator do
89
- igs "hl7.fhir.us.davinci-pas#2.2.1", "hl7.fhir.us.core#6.1.0"
90
+ igs(*V221_VALIDATOR_IGS)
90
91
 
91
92
  exclude_message do |message|
92
- # Messages expected of the form `<ResourceType>: <FHIRPath>: <message>`
93
- # We strip `<ResourceType>: <FHIRPath>: ` for the sake of matching
94
- V221_SUPPRESSED_MESSAGES.match?(message.message.sub(/\A\S+: \S+: /, ''))
93
+ V221_SUPPRESSED_MESSAGES.match?(message.message.sub(VALIDATOR_MESSAGE_LOCATION_PREFIX, ''))
95
94
  end
96
95
 
97
96
  validation_context do
98
- snomedCT '731000124108'
97
+ snomedCT SNOMED_CT_US_EDITION
99
98
  end
100
99
  end
101
100
 
@@ -128,9 +127,9 @@ module DaVinciPASTestKit
128
127
 
129
128
  group from: :pas_server_v221_subscription_setup
130
129
 
131
- group 'Demonstrate Workflow Support' do
130
+ group 'Demonstrate Scenario Support' do
132
131
  description %(
133
- The workflow tests validate that the server can participate in complete
132
+ The scenario tests validate that the server can participate in complete
134
133
  end-to-end prior authorization interactions, returning responses that are
135
134
  conformant and also contain the correct codes.
136
135
  )
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$inquire`
14
14
  requests, including instances of the PAS Subscriber Patient Profile.
15
15
  This test checks all identified instances of the PAS Subscriber Patient
16
16
  Profile on requests sent to the server to ensure that the following
@@ -10,7 +10,7 @@ module DaVinciPASTestKit
10
10
  **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.
11
11
 
12
12
  PAS server systems are required to be able to receive all
13
- must support elements on instances of all profiles included in
13
+ must support elements on instances of all profiles included in `$submit`
14
14
  requests, including instances of the PAS Subscriber Patient Profile.
15
15
  This test checks all identified instances of the PAS Subscriber Patient
16
16
  Profile on requests sent to the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$inquire`
12
12
  responses, including instances of the PAS Task Profile.
13
13
  This test checks all identified instances of the PAS Task
14
14
  Profile on responses returned by the server to ensure that the following
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  description %(
9
9
 
10
10
  PAS server systems are required to be able to populate all
11
- must support elements on instances of all profiles included in
11
+ must support elements on instances of all profiles included in `$submit`
12
12
  responses, including instances of the PAS Task Profile.
13
13
  This test checks all identified instances of the PAS Task
14
14
  Profile on responses returned by the server to ensure that the following
@@ -7,7 +7,7 @@ module DaVinciPASTestKit
7
7
  title 'Server response includes the expected decision code in the ClaimResponse instance'
8
8
  description %(
9
9
  This test checks that the decision in the returned ClaimResponse matches
10
- the decision code required for the workflow under examination.
10
+ the decision code required for the scenario under examination.
11
11
  )
12
12
 
13
13
  def use_case
@@ -60,7 +60,7 @@ module DaVinciPASTestKit
60
60
 
61
61
  skip_if bundles_to_check.blank?,
62
62
  "No Bundles to check - No $#{operation} requests made during the #{use_case.titleize} " \
63
- 'workflow tests returned Bundles.'
63
+ 'scenario tests returned Bundles.'
64
64
 
65
65
  codes_ok = bundles_to_check.all? do |response_bundle|
66
66
  response_has_expected_adjudication_code?(response_bundle)
@@ -39,12 +39,12 @@ module DaVinciPASTestKit
39
39
  run do
40
40
  skip_if bundle_payload.blank?, 'No bundle request input provided.'
41
41
  assert_valid_json(bundle_payload,
42
- "Provide valid json to use for the $#{operation} during the #{use_case.titleize} workflow.")
42
+ "Provide valid json to use for the $#{operation} during the #{use_case.titleize} scenario.")
43
43
  bundles_to_verify = bundles
44
44
 
45
45
  assert bundles_to_verify.present?, 'Provided input is not a Bundle or list of Bundles.'
46
46
 
47
- bundles_to_verify.each do |bundle|
47
+ bundle_messages = bundles_to_verify.flat_map do |bundle|
48
48
  perform_bundle_validation(
49
49
  bundle,
50
50
  operation,
@@ -53,11 +53,9 @@ module DaVinciPASTestKit
53
53
  )
54
54
  end
55
55
 
56
- validation_error_messages.each do |msg|
57
- messages << { type: 'error', message: msg }
58
- end
56
+ messages.concat(bundle_messages)
59
57
 
60
- skip_if validation_error_messages.present?,
58
+ skip_if bundle_messages.any? { |message| message[:type] == 'error' },
61
59
  'Bundle(s) provided are not conformant. Check messages for issues found.'
62
60
  end
63
61
  end
@@ -63,9 +63,9 @@ module DaVinciPASTestKit
63
63
  run do
64
64
  bundles_to_verify = response_bundles
65
65
  assert bundles_to_verify.present?,
66
- "No successful $#{operation} requests made during the #{use_case.titleize} workflow tests."
66
+ "No successful $#{operation} requests made during the #{use_case.titleize} scenario tests."
67
67
 
68
- bundles_to_verify.each do |bundle, request_bundle|
68
+ bundle_messages = bundles_to_verify.flat_map do |bundle, request_bundle|
69
69
  perform_bundle_validation(
70
70
  bundle,
71
71
  operation,
@@ -75,10 +75,8 @@ module DaVinciPASTestKit
75
75
  )
76
76
  end
77
77
 
78
- validation_error_messages.each do |msg|
79
- messages << { type: 'error', message: msg }
80
- end
81
- assert validation_error_messages.blank?,
78
+ messages.concat(bundle_messages)
79
+ assert bundle_messages.none? { |message| message[:type] == 'error' },
82
80
  'Bundle response(s) returned are not conformant. Check messages for issues found.'
83
81
  end
84
82
  end
@@ -21,7 +21,7 @@ module DaVinciPASTestKit
21
21
  * PAS Device Request
22
22
  * PAS Nutrition Order
23
23
 
24
- System are allowed to support only the request profiles that fit their use cases. However,
24
+ PAS servers are allowed to support only the request profiles that fit their use cases. However,
25
25
  they must support at least one of them (because `Claim.item.extension:requestedService` is a
26
26
  must support element) and for any request profiles they support, they must be able to
27
27
  populate all of the defined must support elements.
@@ -8,7 +8,7 @@ module DaVinciPASTestKit
8
8
  title 'Subscription Setup'
9
9
  description %(
10
10
  The Subscription Setup tests verify that the server supports creation of a rest-hook Subscription. The
11
- Subscription instance created in these tests will be used for a notification in the pended workflow tests
11
+ Subscription instance created in these tests will be used for a notification in the pended scenario tests
12
12
  later.
13
13
  )
14
14
  config inputs: { url: { name: :server_endpoint } }
@@ -21,7 +21,7 @@ module DaVinciPASTestKit
21
21
  * PAS Device Request
22
22
  * PAS Nutrition Order
23
23
 
24
- System are allowed to support only the request profiles that fit their use cases. However,
24
+ PAS servers are allowed to support only the request profiles that fit their use cases. However,
25
25
  they must support at least one of them (because `Claim.item.extension:requestedService` is a
26
26
  must support element) and for any request profiles they support, they must be able to
27
27
  populate all of the defined must support elements.
@@ -92,7 +92,7 @@ module DaVinciPASTestKit
92
92
  group do
93
93
  title "Verify the server's responses to the claim updates"
94
94
  description %(
95
- These tests check the server's responses from the submission sequence and verify that the server
95
+ The tests in this group check the server's responses from the submission sequence and verify that the server
96
96
  returned current results for all submitted items and echoed the submitted item sequences.
97
97
  )
98
98
 
@@ -9,7 +9,7 @@ module DaVinciPASTestKit
9
9
  title 'Subscription Setup'
10
10
  description %(
11
11
  The Subscription Setup tests verify that the server supports creation of a rest-hook Subscription. The
12
- Subscription instance created in these tests will be used for a notification in the pended workflow tests
12
+ Subscription instance created in these tests will be used for a notification in the pended scenario tests
13
13
  later.
14
14
  )
15
15
  config inputs: { url: { name: :server_endpoint } }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DaVinciPASTestKit
4
- VERSION = '0.15.2'
5
- LAST_UPDATED = '2026-09-08'
4
+ VERSION = '0.16.0'
5
+ LAST_UPDATED = '2026-11-03'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: davinci_pas_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Inferno Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-09-09 00:00:00.000000000 Z
11
+ date: 2026-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inferno_core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '1.4'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.4.0
22
+ version: 1.4.6
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '1.4'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.4.0
32
+ version: 1.4.6
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: smart_app_launch_test_kit
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -56,20 +56,20 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '0.12'
59
+ version: '0.13'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 0.12.2
62
+ version: 0.13.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0.12'
69
+ version: '0.13'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 0.12.2
72
+ version: 0.13.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: udap_security_test_kit
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -153,6 +153,7 @@ extensions: []
153
153
  extra_rdoc_files: []
154
154
  files:
155
155
  - LICENSE
156
+ - config/presets/g33_br_provider.json
156
157
  - config/presets/pas_client_example.json
157
158
  - config/presets/pas_client_v201_run_against_pas_server.json
158
159
  - config/presets/pas_client_v221_run_against_pas_server.json
@@ -166,15 +167,22 @@ files:
166
167
  - lib/davinci_pas_test_kit/client/abstract_modification_submit_test.rb
167
168
  - lib/davinci_pas_test_kit/client/abstract_response_attest.rb
168
169
  - lib/davinci_pas_test_kit/client/abstract_subscription_create_test.rb
170
+ - lib/davinci_pas_test_kit/client/abstract_subscription_update_delete_test.rb
169
171
  - lib/davinci_pas_test_kit/client/certs/InfernoCA.key
170
172
  - lib/davinci_pas_test_kit/client/certs/InfernoCA.pem
171
173
  - lib/davinci_pas_test_kit/client/certs/TestKit.pem
172
174
  - lib/davinci_pas_test_kit/client/certs/TestKitPrivateKey.key
175
+ - lib/davinci_pas_test_kit/client/client_bundle_validation_helper.rb
173
176
  - lib/davinci_pas_test_kit/client/client_input_descriptions.rb
174
177
  - lib/davinci_pas_test_kit/client/client_urls.rb
175
178
  - lib/davinci_pas_test_kit/client/endpoints/claim_endpoint.rb
179
+ - lib/davinci_pas_test_kit/client/endpoints/endpoint_session_identification.rb
180
+ - lib/davinci_pas_test_kit/client/endpoints/expired_token.rb
176
181
  - lib/davinci_pas_test_kit/client/endpoints/subscription_create_endpoint.rb
182
+ - lib/davinci_pas_test_kit/client/endpoints/subscription_delete_endpoint.rb
183
+ - lib/davinci_pas_test_kit/client/endpoints/subscription_read_endpoint.rb
177
184
  - lib/davinci_pas_test_kit/client/endpoints/subscription_status_endpoint.rb
185
+ - lib/davinci_pas_test_kit/client/endpoints/subscription_update_endpoint.rb
178
186
  - lib/davinci_pas_test_kit/client/endpoints/token_endpoint.rb
179
187
  - lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_request_must_support_beneficiary_test.rb
180
188
  - lib/davinci_pas_test_kit/client/generated/v2.0.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb
@@ -214,8 +222,6 @@ files:
214
222
  - lib/davinci_pas_test_kit/client/generated/v2.0.1/requestor/client_submit_response_must_support_requestor_test.rb
215
223
  - lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_inquire_request_must_support_subscriber_test.rb
216
224
  - lib/davinci_pas_test_kit/client/generated/v2.0.1/subscriber/client_submit_request_must_support_subscriber_test.rb
217
- - lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_inquire_response_must_support_task_test.rb
218
- - lib/davinci_pas_test_kit/client/generated/v2.0.1/task/client_submit_response_must_support_task_test.rb
219
225
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_inquire_response_must_support_beneficiary_test.rb
220
226
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/beneficiary/client_submit_response_must_support_beneficiary_test.rb
221
227
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/claim_inquiry/client_inquire_request_must_support_claim_inquiry_test.rb
@@ -237,8 +243,6 @@ files:
237
243
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/practitioner_role/client_submit_response_must_support_practitioner_role_test.rb
238
244
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_inquire_response_must_support_requestor_test.rb
239
245
  - lib/davinci_pas_test_kit/client/generated/v2.2.1/requestor/client_submit_response_must_support_requestor_test.rb
240
- - lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_inquire_response_must_support_task_test.rb
241
- - lib/davinci_pas_test_kit/client/generated/v2.2.1/task/client_submit_response_must_support_task_test.rb
242
246
  - lib/davinci_pas_test_kit/client/jobs/send_pas_subscription_notification.rb
243
247
  - lib/davinci_pas_test_kit/client/jobs/send_subscription_handshake.rb
244
248
  - lib/davinci_pas_test_kit/client/metadata/mock_pas_server.rb
@@ -249,8 +253,11 @@ files:
249
253
  - lib/davinci_pas_test_kit/client/registration/abstract_configuration_smart_display_test.rb
250
254
  - lib/davinci_pas_test_kit/client/registration/abstract_configuration_udap_display_test.rb
251
255
  - lib/davinci_pas_test_kit/client/registration/abstract_other_auth_attest_test.rb
256
+ - lib/davinci_pas_test_kit/client/request_count_gating.rb
252
257
  - lib/davinci_pas_test_kit/client/response_generator.rb
253
258
  - lib/davinci_pas_test_kit/client/session_identification.rb
259
+ - lib/davinci_pas_test_kit/client/subscription_notification_trigger.rb
260
+ - lib/davinci_pas_test_kit/client/subscription_setup_requirement.rb
254
261
  - lib/davinci_pas_test_kit/client/user_input_response.rb
255
262
  - lib/davinci_pas_test_kit/client/v2.0.1/client_suite.rb
256
263
  - lib/davinci_pas_test_kit/client/v2.0.1/must_support/pas_client_gather_must_support_test.rb
@@ -278,6 +285,11 @@ files:
278
285
  - lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_request_bundle_validation_test.rb
279
286
  - lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_response_attest.rb
280
287
  - lib/davinci_pas_test_kit/client/v2.0.1/workflows/pas_client_response_bundle_validation_test.rb
288
+ - lib/davinci_pas_test_kit/client/v2.2.1/attestations/attestation_instructions.rb
289
+ - lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_data_element_expectations_attestation_test.rb
290
+ - lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_provider_review_attestation_test.rb
291
+ - lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_security_attestation_test.rb
292
+ - lib/davinci_pas_test_kit/client/v2.2.1/attestations/client_subscription_error_recovery_attestation_test.rb
281
293
  - lib/davinci_pas_test_kit/client/v2.2.1/client_suite.rb
282
294
  - lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_failure_submit_test.rb
283
295
  - lib/davinci_pas_test_kit/client/v2.2.1/error_handling/pas_client_operation_outcome_validation_test.rb
@@ -286,11 +298,11 @@ files:
286
298
  - lib/davinci_pas_test_kit/client/v2.2.1/must_support/must_support_with_attestation_option.rb
287
299
  - lib/davinci_pas_test_kit/client/v2.2.1/must_support/pas_client_gather_must_support_test.rb
288
300
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_approval_group.rb
301
+ - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_attestations_group.rb
289
302
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_smart_group.rb
290
303
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_auth_udap_group.rb
291
304
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_claim_updates_group.rb
292
305
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_denial_group.rb
293
- - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_error_handling_group.rb
294
306
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_modification_group.rb
295
307
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_must_support_group.rb
296
308
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_operation_failure_group.rb
@@ -298,12 +310,15 @@ files:
298
310
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_processing_error_group.rb
299
311
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_registration_group.rb
300
312
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_setup_group.rb
313
+ - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_subscription_update_delete_group.rb
301
314
  - lib/davinci_pas_test_kit/client/v2.2.1/pas_client_workflows_group.rb
302
315
  - lib/davinci_pas_test_kit/client/v2.2.1/registration/configuration_other_display_test.rb
303
316
  - lib/davinci_pas_test_kit/client/v2.2.1/registration/configuration_smart_display_test.rb
304
317
  - lib/davinci_pas_test_kit/client/v2.2.1/registration/configuration_udap_display_test.rb
305
318
  - lib/davinci_pas_test_kit/client/v2.2.1/registration/other_auth_attest_test.rb
306
319
  - lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_create_test.rb
320
+ - lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_put_update_pas_conformance_test.rb
321
+ - lib/davinci_pas_test_kit/client/v2.2.1/subscription/pas_client_subscription_update_delete_test.rb
307
322
  - lib/davinci_pas_test_kit/client/v2.2.1/urls.rb
308
323
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_approval_submit_test.rb
309
324
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_claim_update_cancel_request_test.rb
@@ -321,6 +336,7 @@ files:
321
336
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_inquire_response_bundle_validation_test.rb
322
337
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_modification_submit_test.rb
323
338
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_modification_verification_test.rb
339
+ - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_send_notification_test.rb
324
340
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_pended_submit_test.rb
325
341
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_request_bundle_validation_test.rb
326
342
  - lib/davinci_pas_test_kit/client/v2.2.1/workflows/pas_client_response_attest.rb
@@ -381,9 +397,11 @@ files:
381
397
  - lib/davinci_pas_test_kit/cross_suite/pas_datatype_constraints.rb
382
398
  - lib/davinci_pas_test_kit/cross_suite/pas_notification_verification.rb
383
399
  - lib/davinci_pas_test_kit/cross_suite/pas_subscription_verification.rb
400
+ - lib/davinci_pas_test_kit/cross_suite/referenced_resource_presence_validation.rb
384
401
  - lib/davinci_pas_test_kit/cross_suite/response_selection_utils.rb
385
402
  - lib/davinci_pas_test_kit/cross_suite/tags.rb
386
403
  - lib/davinci_pas_test_kit/cross_suite/validation_test.rb
404
+ - lib/davinci_pas_test_kit/cross_suite/validator_configuration.rb
387
405
  - lib/davinci_pas_test_kit/cross_suite/validator_suppressions.rb
388
406
  - lib/davinci_pas_test_kit/docs/PAS Requirements Interpretation.xlsx
389
407
  - lib/davinci_pas_test_kit/docs/demo/PAS Client Suite Demonstration.postman_collection.json
@@ -1,45 +0,0 @@
1
- require_relative '../../../../cross_suite/must_support/must_support_test'
2
-
3
- module DaVinciPASTestKit
4
- module DaVinciPASV201
5
- class ClientInquireResponseMustSupportTaskTest < DaVinciPASTestKit::MustSupportTest
6
- id :pas_client_v201_inquire_response_must_support_task
7
- title 'All must support elements for profile PAS Task are observed on $inquire responses'
8
- description %(
9
-
10
- PAS client systems are required to be able to receive all
11
- must support elements on instances of all profiles included in
12
- responses, including instances of the PAS Task Profile.
13
- This test checks all identified instances of the PAS Task
14
- Profile on responses sent to the client to ensure that the following
15
- must support elements are observed:
16
-
17
- * Task.code
18
- * Task.for
19
- * Task.identifier
20
- * Task.input
21
- * Task.intent
22
- * Task.owner
23
- * Task.owner.identifier
24
- * Task.reasonCode.coding.code
25
- * Task.reasonReference
26
- * Task.requester
27
- * Task.requester.identifier
28
- * Task.restriction.period
29
- * Task.status
30
- * Task.statusReason
31
- )
32
-
33
- config(
34
- options: {
35
- resource_type: 'Task',
36
- profile_key: 'task',
37
- user_input_validation: true,
38
- ig_version: 'v2.0.1',
39
- type: 'response',
40
- operation: 'inquire'
41
- }
42
- )
43
- end
44
- end
45
- end