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,183 @@
1
+ ---
2
+ :name: profile_medicationrequest
3
+ :class_name: ProfileMedicationrequestSequence
4
+ :version: v2.0.1
5
+ :reformatted_version: v201
6
+ :resource: MedicationRequest
7
+ :profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-medicationrequest
8
+ :profile_name: PAS Medication Request
9
+ :profile_version: 2.0.1
10
+ :title: Medication Request
11
+ :short_description: Verify support for the server capabilities required by the PAS
12
+ Medication Request.
13
+ :interactions: []
14
+ :operations: []
15
+ :required_concepts: []
16
+ :must_supports:
17
+ :extensions:
18
+ - :id: MedicationRequest.extension:coverage
19
+ :path: extension
20
+ :url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
21
+ :slices: []
22
+ :elements:
23
+ - :path: status
24
+ - :path: intent
25
+ :fixed_value: order
26
+ - :path: reported[x]
27
+ :types:
28
+ - Reference
29
+ - :path: medication[x]
30
+ :types:
31
+ - Reference
32
+ - :path: subject
33
+ :types:
34
+ - Reference
35
+ - :path: encounter
36
+ :types:
37
+ - Reference
38
+ - :path: authoredOn
39
+ - :path: requester
40
+ :types:
41
+ - Reference
42
+ - :path: dosageInstruction
43
+ - :path: dosageInstruction.text
44
+ - :path: dosageInstruction.timing
45
+ - :path: dispenseRequest
46
+ - :path: dispenseRequest.quantity
47
+ :mandatory_elements:
48
+ - MedicationRequest.status
49
+ - MedicationRequest.intent
50
+ - MedicationRequest.medication[x]
51
+ - MedicationRequest.subject
52
+ - MedicationRequest.authoredOn
53
+ - MedicationRequest.requester
54
+ - MedicationRequest.substitution.allowed[x]
55
+ :bindings:
56
+ - :type: code
57
+ :strength: preferred
58
+ :system: http://hl7.org/fhir/ValueSet/languages
59
+ :path: language
60
+ - :type: code
61
+ :strength: required
62
+ :system: http://hl7.org/fhir/ValueSet/medicationrequest-status
63
+ :path: status
64
+ - :type: CodeableConcept
65
+ :strength: example
66
+ :system: http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
67
+ :path: statusReason
68
+ - :type: CodeableConcept
69
+ :strength: example
70
+ :system: http://hl7.org/fhir/ValueSet/medicationrequest-category
71
+ :path: category
72
+ - :type: code
73
+ :strength: required
74
+ :system: http://hl7.org/fhir/ValueSet/request-priority
75
+ :path: priority
76
+ - :type: CodeableConcept
77
+ :strength: extensible
78
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes
79
+ :path: medication
80
+ - :type: CodeableConcept
81
+ :strength: example
82
+ :system: http://hl7.org/fhir/ValueSet/performer-role
83
+ :path: performerType
84
+ - :type: CodeableConcept
85
+ :strength: example
86
+ :system: http://hl7.org/fhir/ValueSet/condition-code
87
+ :path: reasonCode
88
+ - :type: CodeableConcept
89
+ :strength: example
90
+ :system: http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
91
+ :path: courseOfTherapyType
92
+ - :type: CodeableConcept
93
+ :strength: example
94
+ :system: http://hl7.org/fhir/ValueSet/additional-instruction-codes
95
+ :path: dosageInstruction.additionalInstruction
96
+ - :type: boolean
97
+ :strength: example
98
+ :system: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
99
+ :path: dosageInstruction.asNeeded
100
+ - :type: CodeableConcept
101
+ :strength: example
102
+ :system: http://hl7.org/fhir/ValueSet/approach-site-codes
103
+ :path: dosageInstruction.site
104
+ - :type: CodeableConcept
105
+ :strength: example
106
+ :system: http://hl7.org/fhir/ValueSet/route-codes
107
+ :path: dosageInstruction.route
108
+ - :type: CodeableConcept
109
+ :strength: example
110
+ :system: http://hl7.org/fhir/ValueSet/administration-method-codes
111
+ :path: dosageInstruction.method
112
+ - :type: CodeableConcept
113
+ :strength: example
114
+ :system: http://hl7.org/fhir/ValueSet/dose-rate-type
115
+ :path: dosageInstruction.doseAndRate.type
116
+ - :type: boolean
117
+ :strength: example
118
+ :system: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
119
+ :path: substitution.allowed
120
+ - :type: CodeableConcept
121
+ :strength: example
122
+ :system: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason
123
+ :path: substitution.reason
124
+ :references:
125
+ - :path: MedicationRequest.subject
126
+ :profiles:
127
+ - http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
128
+ - :path: MedicationRequest.encounter
129
+ :profiles:
130
+ - http://hl7.org/fhir/StructureDefinition/Encounter
131
+ - :path: MedicationRequest.supportingInformation
132
+ :profiles:
133
+ - http://hl7.org/fhir/StructureDefinition/Resource
134
+ - :path: MedicationRequest.requester
135
+ :profiles:
136
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
137
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
138
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
139
+ - :path: MedicationRequest.performer
140
+ :profiles:
141
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
142
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
143
+ - http://hl7.org/fhir/StructureDefinition/Organization
144
+ - http://hl7.org/fhir/StructureDefinition/Patient
145
+ - http://hl7.org/fhir/StructureDefinition/Device
146
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
147
+ - http://hl7.org/fhir/StructureDefinition/CareTeam
148
+ - :path: MedicationRequest.recorder
149
+ :profiles:
150
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
151
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
152
+ - :path: MedicationRequest.reasonReference
153
+ :profiles:
154
+ - http://hl7.org/fhir/StructureDefinition/Condition
155
+ - http://hl7.org/fhir/StructureDefinition/Observation
156
+ - :path: MedicationRequest.basedOn
157
+ :profiles:
158
+ - http://hl7.org/fhir/StructureDefinition/CarePlan
159
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
160
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
161
+ - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
162
+ - :path: MedicationRequest.insurance
163
+ :profiles:
164
+ - http://hl7.org/fhir/StructureDefinition/Coverage
165
+ - http://hl7.org/fhir/StructureDefinition/ClaimResponse
166
+ - :path: MedicationRequest.dispenseRequest.performer
167
+ :profiles:
168
+ - http://hl7.org/fhir/StructureDefinition/Organization
169
+ - :path: MedicationRequest.priorPrescription
170
+ :profiles:
171
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
172
+ - :path: MedicationRequest.detectedIssue
173
+ :profiles:
174
+ - http://hl7.org/fhir/StructureDefinition/DetectedIssue
175
+ - :path: MedicationRequest.eventHistory
176
+ :profiles:
177
+ - http://hl7.org/fhir/StructureDefinition/Provenance
178
+ :tests:
179
+ - :id: pas_server_submit_request_v201_medication_request_must_support_test
180
+ :file_name: server_submit_request_medication_request_must_support_test.rb
181
+ - :id: pas_client_submit_request_v201_medication_request_must_support_test
182
+ :file_name: client_submit_request_medication_request_must_support_test.rb
183
+ :delayed_references: []
@@ -0,0 +1,109 @@
1
+ ---
2
+ :name: profile_nutritionorder
3
+ :class_name: ProfileNutritionorderSequence
4
+ :version: v2.0.1
5
+ :reformatted_version: v201
6
+ :resource: NutritionOrder
7
+ :profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-nutritionorder
8
+ :profile_name: PAS Nutrition Order
9
+ :profile_version: 2.0.1
10
+ :title: Nutrition Order
11
+ :short_description: Verify support for the server capabilities required by the PAS
12
+ Nutrition Order.
13
+ :interactions: []
14
+ :operations: []
15
+ :required_concepts:
16
+ - oralDiet.type
17
+ - enteralFormula.baseFormulaType
18
+ :must_supports:
19
+ :extensions:
20
+ - :id: NutritionOrder.extension:coverage
21
+ :path: extension
22
+ :url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
23
+ :slices: []
24
+ :elements:
25
+ - :path: patient
26
+ :types:
27
+ - Reference
28
+ - :path: oralDiet
29
+ - :path: oralDiet.type
30
+ - :path: enteralFormula
31
+ - :path: enteralFormula.baseFormulaType
32
+ :mandatory_elements:
33
+ - NutritionOrder.status
34
+ - NutritionOrder.intent
35
+ - NutritionOrder.patient
36
+ - NutritionOrder.dateTime
37
+ :bindings:
38
+ - :type: code
39
+ :strength: preferred
40
+ :system: http://hl7.org/fhir/ValueSet/languages
41
+ :path: language
42
+ - :type: code
43
+ :strength: required
44
+ :system: http://hl7.org/fhir/ValueSet/request-status
45
+ :path: status
46
+ - :type: CodeableConcept
47
+ :strength: example
48
+ :system: http://hl7.org/fhir/ValueSet/encounter-diet
49
+ :path: foodPreferenceModifier
50
+ - :type: CodeableConcept
51
+ :strength: example
52
+ :system: http://hl7.org/fhir/ValueSet/food-type
53
+ :path: excludeFoodModifier
54
+ - :type: CodeableConcept
55
+ :strength: required
56
+ :system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278NutritionOralDietType
57
+ :path: oralDiet.type
58
+ - :type: CodeableConcept
59
+ :strength: example
60
+ :system: http://hl7.org/fhir/ValueSet/nutrient-code
61
+ :path: oralDiet.nutrient.modifier
62
+ - :type: CodeableConcept
63
+ :strength: example
64
+ :system: http://hl7.org/fhir/ValueSet/texture-code
65
+ :path: oralDiet.texture.modifier
66
+ - :type: CodeableConcept
67
+ :strength: example
68
+ :system: http://hl7.org/fhir/ValueSet/modified-foodtype
69
+ :path: oralDiet.texture.foodType
70
+ - :type: CodeableConcept
71
+ :strength: example
72
+ :system: http://hl7.org/fhir/ValueSet/consistency-type
73
+ :path: oralDiet.fluidConsistencyType
74
+ - :type: CodeableConcept
75
+ :strength: example
76
+ :system: http://hl7.org/fhir/ValueSet/supplement-type
77
+ :path: supplement.type
78
+ - :type: CodeableConcept
79
+ :strength: required
80
+ :system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278NutritionEnteralFormulaType
81
+ :path: enteralFormula.baseFormulaType
82
+ - :type: CodeableConcept
83
+ :strength: example
84
+ :system: http://hl7.org/fhir/ValueSet/entformula-additive
85
+ :path: enteralFormula.additiveType
86
+ - :type: CodeableConcept
87
+ :strength: extensible
88
+ :system: http://hl7.org/fhir/ValueSet/enteral-route
89
+ :path: enteralFormula.routeofAdministration
90
+ :references:
91
+ - :path: NutritionOrder.patient
92
+ :profiles:
93
+ - http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
94
+ - :path: NutritionOrder.encounter
95
+ :profiles:
96
+ - http://hl7.org/fhir/StructureDefinition/Encounter
97
+ - :path: NutritionOrder.orderer
98
+ :profiles:
99
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
100
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
101
+ - :path: NutritionOrder.allergyIntolerance
102
+ :profiles:
103
+ - http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
104
+ :tests:
105
+ - :id: pas_server_submit_request_v201_nutrition_order_must_support_test
106
+ :file_name: server_submit_request_nutrition_order_must_support_test.rb
107
+ - :id: pas_client_submit_request_v201_nutrition_order_must_support_test
108
+ :file_name: client_submit_request_nutrition_order_must_support_test.rb
109
+ :delayed_references: []
@@ -0,0 +1,117 @@
1
+ require_relative '../../../must_support_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module DaVinciPASTestKit
5
+ module DaVinciPASV201
6
+ class PasClientMustSupportRequirementTest < Inferno::Test
7
+ include DaVinciPASTestKit::MustSupportTest
8
+
9
+ attr_accessor :resource_type
10
+
11
+ id :pas_client_submit_v201_must_support_requirement
12
+ title %(
13
+ At least one instance of a request profile (PAS Medication Request, PAS Service Request,
14
+ PAS Device Request, or PAS Nutrition Order) is observed with all of its must support elements
15
+ )
16
+ description %(
17
+ The PAS IG includes four profiles for providing the specifics of the service or product requested
18
+ in the prior authorization request. Any one of these profiles can be referenced in
19
+ the must support element `Claim.item.extension:requestedService`:
20
+
21
+ * PAS Medication Request
22
+ * PAS Service Request
23
+ * PAS Device Request
24
+ * PAS Nutrition Order
25
+
26
+ System are allowed to support only the request profiles that fit their use cases. However,
27
+ they must support at least one of them (because `Claim.item.extension:requestedService` is a
28
+ must support element) and for any request profiles they support, they must be able to
29
+ populate all of the defined must support elements.
30
+
31
+ This test ensures that the submitted request bundles include at least one instance of a
32
+ profile listed above. Then for each profile observed, it checks for the presence of
33
+ each must support element defined in that profile.
34
+
35
+ The test will look through the instances included in submissions made by the client
36
+ for the following must support elements:
37
+
38
+ ### PAS Medication Request
39
+ * MedicationRequest.authoredOn
40
+ * MedicationRequest.dispenseRequest
41
+ * MedicationRequest.dispenseRequest.quantity
42
+ * MedicationRequest.dosageInstruction
43
+ * MedicationRequest.dosageInstruction.text
44
+ * MedicationRequest.dosageInstruction.timing
45
+ * MedicationRequest.encounter
46
+ * MedicationRequest.extension:coverage
47
+ * MedicationRequest.intent
48
+ * MedicationRequest.medication[x]
49
+ * MedicationRequest.reported[x]
50
+ * MedicationRequest.requester
51
+ * MedicationRequest.status
52
+ * MedicationRequest.subject
53
+
54
+ ### PAS Service Request
55
+ * ServiceRequest.code
56
+ * ServiceRequest.extension:coverage
57
+ * ServiceRequest.extension:serviceCodeEnd
58
+ * ServiceRequest.occurrence[x]
59
+ * ServiceRequest.quantity[x]
60
+ * ServiceRequest.subject
61
+
62
+ ### PAS Device Request
63
+ * DeviceRequest.code[x]
64
+ * DeviceRequest.extension:coverage
65
+ * DeviceRequest.occurrence[x]
66
+ * DeviceRequest.subject
67
+
68
+ ### PAS Nutrition Order
69
+ * NutritionOrder.enteralFormula
70
+ * NutritionOrder.enteralFormula.baseFormulaType
71
+ * NutritionOrder.extension:coverage
72
+ * NutritionOrder.oralDiet
73
+ * NutritionOrder.oralDiet.type
74
+ * NutritionOrder.patient
75
+ )
76
+
77
+ def resource_types
78
+ ['DeviceRequest', 'MedicationRequest', 'NutritionOrder', 'ServiceRequest']
79
+ end
80
+
81
+ def self.metadata
82
+ metadata_file_name = "#{@@resource_type.underscore}_metadata.yml"
83
+ Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, metadata_file_name),
84
+ aliases: true))
85
+ end
86
+
87
+ def scratch_resources
88
+ scratch[:submit_request_resources] ||= {}
89
+ end
90
+
91
+ def all_scratch_resources
92
+ scratch_resources[:all] ||= []
93
+ end
94
+
95
+ def resources_of_interest
96
+ collection = tagged_resources(SUBMIT_TAG).presence || all_scratch_resources
97
+ collection.select { |resource| resource_types.include?(resource.resourceType) }
98
+ end
99
+
100
+ def grouped_resources
101
+ resources_of_interest.group_by(&:resourceType)
102
+ end
103
+
104
+ run do
105
+ msg = 'Request Bundle must include at least one instance of either DeviceRequest, MedicationRequest,
106
+ NutritionOrder, or ServiceRequest resource'
107
+ assert resources_of_interest.present?, msg
108
+
109
+ grouped_resources.each do |type, resources|
110
+ @@resource_type = @resource_type = type # rubocop:disable Style/ClassVars
111
+ perform_must_support_test(resources)
112
+ end
113
+ validate_must_support
114
+ end
115
+ end
116
+ end
117
+ end
@@ -0,0 +1,116 @@
1
+ require_relative '../../../must_support_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module DaVinciPASTestKit
5
+ module DaVinciPASV201
6
+ class PasServerMustSupportRequirementTest < Inferno::Test
7
+ include DaVinciPASTestKit::MustSupportTest
8
+
9
+ attr_accessor :resource_type
10
+
11
+ id :pas_server_submit_v201_must_support_requirement
12
+ title %(
13
+ At least one instance of a request profile (PAS Medication Request, PAS Service Request,
14
+ PAS Device Request, or PAS Nutrition Order) is observed with all of its must support elements
15
+ )
16
+ description %(
17
+ The PAS IG includes four profiles for providing the specifics of the service or product requested
18
+ in the prior authorization request. Any one of these profiles can be referenced in
19
+ the must support element `Claim.item.extension:requestedService`:
20
+
21
+ * PAS Medication Request
22
+ * PAS Service Request
23
+ * PAS Device Request
24
+ * PAS Nutrition Order
25
+
26
+ System are allowed to support only the request profiles that fit their use cases. However,
27
+ they must support at least one of them (because `Claim.item.extension:requestedService` is a
28
+ must support element) and for any request profiles they support, they must be able to
29
+ populate all of the defined must support elements.
30
+
31
+ This test ensures that the submitted request bundles include at least one instance of a
32
+ profile listed above. Then for each profile observed, it checks for the presence of
33
+ each must support element defined in that profile.
34
+
35
+ The test will look through the instances included in submissions for the following must
36
+ support elements:
37
+
38
+ ### PAS Medication Request
39
+ * MedicationRequest.authoredOn
40
+ * MedicationRequest.dispenseRequest
41
+ * MedicationRequest.dispenseRequest.quantity
42
+ * MedicationRequest.dosageInstruction
43
+ * MedicationRequest.dosageInstruction.text
44
+ * MedicationRequest.dosageInstruction.timing
45
+ * MedicationRequest.encounter
46
+ * MedicationRequest.extension:coverage
47
+ * MedicationRequest.intent
48
+ * MedicationRequest.medication[x]
49
+ * MedicationRequest.reported[x]
50
+ * MedicationRequest.requester
51
+ * MedicationRequest.status
52
+ * MedicationRequest.subject
53
+
54
+ ### PAS Service Request
55
+ * ServiceRequest.code
56
+ * ServiceRequest.extension:coverage
57
+ * ServiceRequest.extension:serviceCodeEnd
58
+ * ServiceRequest.occurrence[x]
59
+ * ServiceRequest.quantity[x]
60
+ * ServiceRequest.subject
61
+
62
+ ### PAS Device Request
63
+ * DeviceRequest.code[x]
64
+ * DeviceRequest.extension:coverage
65
+ * DeviceRequest.occurrence[x]
66
+ * DeviceRequest.subject
67
+
68
+ ### PAS Nutrition Order
69
+ * NutritionOrder.enteralFormula
70
+ * NutritionOrder.enteralFormula.baseFormulaType
71
+ * NutritionOrder.extension:coverage
72
+ * NutritionOrder.oralDiet
73
+ * NutritionOrder.oralDiet.type
74
+ * NutritionOrder.patient
75
+ )
76
+
77
+ def resource_types
78
+ ['DeviceRequest', 'MedicationRequest', 'NutritionOrder', 'ServiceRequest']
79
+ end
80
+
81
+ def self.metadata
82
+ metadata_file_name = "#{@@resource_type.underscore}_metadata.yml"
83
+ Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, metadata_file_name),
84
+ aliases: true))
85
+ end
86
+
87
+ def scratch_resources
88
+ scratch[:submit_request_resources] ||= {}
89
+ end
90
+
91
+ def all_scratch_resources
92
+ scratch_resources[:all] ||= []
93
+ end
94
+
95
+ def resources_of_interest
96
+ all_scratch_resources.select { |resource| resource_types.include?(resource.resourceType) }
97
+ end
98
+
99
+ def grouped_resources
100
+ resources_of_interest.group_by(&:resourceType)
101
+ end
102
+
103
+ run do
104
+ msg = 'Request Bundle must include at least one instance of either DeviceRequest, MedicationRequest,
105
+ NutritionOrder, or ServiceRequest resource'
106
+ assert resources_of_interest.present?, msg
107
+
108
+ grouped_resources.each do |type, resources|
109
+ @@resource_type = @resource_type = type # rubocop:disable Style/ClassVars
110
+ perform_must_support_test(resources)
111
+ end
112
+ validate_must_support
113
+ end
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,148 @@
1
+ ---
2
+ :name: profile_servicerequest
3
+ :class_name: ProfileServicerequestSequence
4
+ :version: v2.0.1
5
+ :reformatted_version: v201
6
+ :resource: ServiceRequest
7
+ :profile_url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-servicerequest
8
+ :profile_name: PAS Service Request
9
+ :profile_version: 2.0.1
10
+ :title: Service Request
11
+ :short_description: Verify support for the server capabilities required by the PAS
12
+ Service Request.
13
+ :interactions: []
14
+ :operations: []
15
+ :required_concepts:
16
+ - code
17
+ :must_supports:
18
+ :extensions:
19
+ - :id: ServiceRequest.extension:serviceCodeEnd
20
+ :path: extension
21
+ :url: http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-productOrServiceCodeEnd
22
+ - :id: ServiceRequest.extension:coverage
23
+ :path: extension
24
+ :url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information
25
+ :slices: []
26
+ :elements:
27
+ - :path: code
28
+ - :path: quantity[x]
29
+ - :path: subject
30
+ :types:
31
+ - Reference
32
+ - :path: occurrence[x]
33
+ :mandatory_elements:
34
+ - ServiceRequest.status
35
+ - ServiceRequest.intent
36
+ - ServiceRequest.subject
37
+ :bindings:
38
+ - :type: code
39
+ :strength: preferred
40
+ :system: http://hl7.org/fhir/ValueSet/languages
41
+ :path: language
42
+ - :type: code
43
+ :strength: required
44
+ :system: http://hl7.org/fhir/ValueSet/request-status
45
+ :path: status
46
+ - :type: CodeableConcept
47
+ :strength: example
48
+ :system: http://hl7.org/fhir/ValueSet/servicerequest-category
49
+ :path: category
50
+ - :type: code
51
+ :strength: required
52
+ :system: http://hl7.org/fhir/ValueSet/request-priority
53
+ :path: priority
54
+ - :type: CodeableConcept
55
+ :strength: required
56
+ :system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType
57
+ :path: code
58
+ - :type: CodeableConcept
59
+ :strength: example
60
+ :system: http://hl7.org/fhir/ValueSet/servicerequest-orderdetail
61
+ :path: orderDetail
62
+ - :type: boolean
63
+ :strength: example
64
+ :system: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
65
+ :path: asNeeded
66
+ - :type: CodeableConcept
67
+ :strength: example
68
+ :system: http://hl7.org/fhir/ValueSet/participant-role
69
+ :path: performerType
70
+ - :type: CodeableConcept
71
+ :strength: example
72
+ :system: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
73
+ :path: locationCode
74
+ - :type: CodeableConcept
75
+ :strength: example
76
+ :system: http://hl7.org/fhir/ValueSet/procedure-reason
77
+ :path: reasonCode
78
+ - :type: CodeableConcept
79
+ :strength: example
80
+ :system: http://hl7.org/fhir/ValueSet/body-site
81
+ :path: bodySite
82
+ - :type: CodeableConcept
83
+ :strength: required
84
+ :system: http://hl7.org/fhir/us/davinci-pas/ValueSet/X12278RequestedServiceType
85
+ :path: value
86
+ :extensions:
87
+ - http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-productOrServiceCodeEnd
88
+ :references:
89
+ - :path: ServiceRequest.basedOn
90
+ :profiles:
91
+ - http://hl7.org/fhir/StructureDefinition/CarePlan
92
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
93
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
94
+ - :path: ServiceRequest.replaces
95
+ :profiles:
96
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
97
+ - :path: ServiceRequest.subject
98
+ :profiles:
99
+ - http://hl7.org/fhir/us/davinci-pas/StructureDefinition/profile-beneficiary
100
+ - :path: ServiceRequest.encounter
101
+ :profiles:
102
+ - http://hl7.org/fhir/StructureDefinition/Encounter
103
+ - :path: ServiceRequest.requester
104
+ :profiles:
105
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
106
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
107
+ - http://hl7.org/fhir/StructureDefinition/Organization
108
+ - http://hl7.org/fhir/StructureDefinition/Patient
109
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
110
+ - http://hl7.org/fhir/StructureDefinition/Device
111
+ - :path: ServiceRequest.performer
112
+ :profiles:
113
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
114
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
115
+ - http://hl7.org/fhir/StructureDefinition/Organization
116
+ - http://hl7.org/fhir/StructureDefinition/CareTeam
117
+ - http://hl7.org/fhir/StructureDefinition/HealthcareService
118
+ - http://hl7.org/fhir/StructureDefinition/Patient
119
+ - http://hl7.org/fhir/StructureDefinition/Device
120
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
121
+ - :path: ServiceRequest.locationReference
122
+ :profiles:
123
+ - http://hl7.org/fhir/StructureDefinition/Location
124
+ - :path: ServiceRequest.reasonReference
125
+ :profiles:
126
+ - http://hl7.org/fhir/StructureDefinition/Condition
127
+ - http://hl7.org/fhir/StructureDefinition/Observation
128
+ - http://hl7.org/fhir/StructureDefinition/DiagnosticReport
129
+ - http://hl7.org/fhir/StructureDefinition/DocumentReference
130
+ - :path: ServiceRequest.insurance
131
+ :profiles:
132
+ - http://hl7.org/fhir/StructureDefinition/Coverage
133
+ - http://hl7.org/fhir/StructureDefinition/ClaimResponse
134
+ - :path: ServiceRequest.supportingInfo
135
+ :profiles:
136
+ - http://hl7.org/fhir/StructureDefinition/Resource
137
+ - :path: ServiceRequest.specimen
138
+ :profiles:
139
+ - http://hl7.org/fhir/StructureDefinition/Specimen
140
+ - :path: ServiceRequest.relevantHistory
141
+ :profiles:
142
+ - http://hl7.org/fhir/StructureDefinition/Provenance
143
+ :tests:
144
+ - :id: pas_server_submit_request_v201_service_request_must_support_test
145
+ :file_name: server_submit_request_service_request_must_support_test.rb
146
+ - :id: pas_client_submit_request_v201_service_request_must_support_test
147
+ :file_name: client_submit_request_service_request_must_support_test.rb
148
+ :delayed_references: []