us_core_test_kit 0.1.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1055) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/capability_statement/conformance_support_test.rb +1 -1
  3. data/lib/us_core_test_kit/custom_groups/capability_statement/fhir_version_test.rb +1 -1
  4. data/lib/us_core_test_kit/custom_groups/capability_statement/instantiate_test.rb +19 -0
  5. data/lib/us_core_test_kit/custom_groups/capability_statement/json_support_test.rb +1 -1
  6. data/lib/us_core_test_kit/custom_groups/capability_statement/profile_support_test.rb +5 -42
  7. data/lib/us_core_test_kit/custom_groups/clinical_note_attachment_test.rb +45 -0
  8. data/lib/us_core_test_kit/custom_groups/clinical_note_type_test.rb +114 -0
  9. data/lib/us_core_test_kit/custom_groups/v3.1.1/capability_statement_group.rb +110 -0
  10. data/lib/us_core_test_kit/custom_groups/v3.1.1/clinical_notes_guidance_group.rb +51 -0
  11. data/lib/us_core_test_kit/custom_groups/v4.0.0/capability_statement_group.rb +116 -0
  12. data/lib/us_core_test_kit/custom_groups/v4.0.0/clinical_notes_guidance_group.rb +54 -0
  13. data/lib/us_core_test_kit/custom_groups/v4.0.0/device_udi_pi_test.rb +40 -0
  14. data/lib/us_core_test_kit/custom_groups/v4.0.0/document_reference_custodian_test.rb +48 -0
  15. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  16. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  17. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  18. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  19. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  20. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
  21. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_validation_test.rb +39 -0
  22. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +171 -0
  23. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance_group.rb +88 -0
  24. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_must_support_test.rb +51 -0
  25. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_date_search_test.rb +48 -0
  26. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_search_test.rb +47 -0
  27. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_status_search_test.rb +49 -0
  28. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_code_date_search_test.rb +50 -0
  29. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_code_search_test.rb +64 -0
  30. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_provenance_revinclude_search_test.rb +53 -0
  31. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_read_test.rb +26 -0
  32. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_reference_resolution_test.rb +38 -0
  33. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_validation_test.rb +39 -0
  34. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +339 -0
  35. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight_group.rb +96 -0
  36. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_must_support_test.rb +51 -0
  37. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_date_search_test.rb +48 -0
  38. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_search_test.rb +47 -0
  39. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_status_search_test.rb +49 -0
  40. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_code_date_search_test.rb +50 -0
  41. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_code_search_test.rb +64 -0
  42. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_provenance_revinclude_search_test.rb +53 -0
  43. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_read_test.rb +26 -0
  44. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_reference_resolution_test.rb +38 -0
  45. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_validation_test.rb +39 -0
  46. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +339 -0
  47. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp_group.rb +96 -0
  48. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_must_support_test.rb +51 -0
  49. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_date_search_test.rb +48 -0
  50. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_search_test.rb +47 -0
  51. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_status_search_test.rb +49 -0
  52. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_code_date_search_test.rb +50 -0
  53. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_code_search_test.rb +64 -0
  54. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_provenance_revinclude_search_test.rb +53 -0
  55. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_read_test.rb +26 -0
  56. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_reference_resolution_test.rb +38 -0
  57. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_validation_test.rb +39 -0
  58. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +339 -0
  59. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight_group.rb +96 -0
  60. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_must_support_test.rb +54 -0
  61. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_date_search_test.rb +48 -0
  62. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_search_test.rb +47 -0
  63. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_status_search_test.rb +49 -0
  64. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_code_date_search_test.rb +50 -0
  65. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_code_search_test.rb +64 -0
  66. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_provenance_revinclude_search_test.rb +53 -0
  67. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_read_test.rb +26 -0
  68. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_reference_resolution_test.rb +38 -0
  69. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_validation_test.rb +39 -0
  70. data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +379 -0
  71. data/lib/us_core_test_kit/generated/v3.1.1/bp_group.rb +96 -0
  72. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_must_support_test.rb +43 -0
  73. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  74. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_search_test.rb +64 -0
  75. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  76. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  77. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  78. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_read_test.rb +26 -0
  79. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_reference_resolution_test.rb +38 -0
  80. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_validation_test.rb +39 -0
  81. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +305 -0
  82. data/lib/us_core_test_kit/generated/v3.1.1/care_plan_group.rb +92 -0
  83. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_must_support_test.rb +41 -0
  84. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_patient_status_search_test.rb +64 -0
  85. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  86. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_read_test.rb +26 -0
  87. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_reference_resolution_test.rb +39 -0
  88. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +39 -0
  89. data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +148 -0
  90. data/lib/us_core_test_kit/generated/v3.1.1/care_team_group.rb +86 -0
  91. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_must_support_test.rb +41 -0
  92. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_category_search_test.rb +49 -0
  93. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_clinical_status_search_test.rb +48 -0
  94. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_code_search_test.rb +49 -0
  95. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_onset_date_search_test.rb +49 -0
  96. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_search_test.rb +62 -0
  97. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_provenance_revinclude_search_test.rb +51 -0
  98. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_read_test.rb +26 -0
  99. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_reference_resolution_test.rb +38 -0
  100. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_validation_test.rb +39 -0
  101. data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +243 -0
  102. data/lib/us_core_test_kit/generated/v3.1.1/condition_group.rb +94 -0
  103. data/lib/us_core_test_kit/generated/v3.1.1/device/device_must_support_test.rb +47 -0
  104. data/lib/us_core_test_kit/generated/v3.1.1/device/device_patient_search_test.rb +67 -0
  105. data/lib/us_core_test_kit/generated/v3.1.1/device/device_patient_type_search_test.rb +54 -0
  106. data/lib/us_core_test_kit/generated/v3.1.1/device/device_provenance_revinclude_search_test.rb +51 -0
  107. data/lib/us_core_test_kit/generated/v3.1.1/device/device_read_test.rb +26 -0
  108. data/lib/us_core_test_kit/generated/v3.1.1/device/device_reference_resolution_test.rb +38 -0
  109. data/lib/us_core_test_kit/generated/v3.1.1/device/device_validation_test.rb +39 -0
  110. data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1157 -0
  111. data/lib/us_core_test_kit/generated/v3.1.1/device_group.rb +88 -0
  112. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  113. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  114. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  115. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  116. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  117. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  118. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  119. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  120. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  121. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +40 -0
  122. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +39 -0
  123. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1268 -0
  124. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab_group.rb +99 -0
  125. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +45 -0
  126. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  127. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  128. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  129. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  130. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  131. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  132. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  133. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  134. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +40 -0
  135. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +39 -0
  136. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1262 -0
  137. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note_group.rb +99 -0
  138. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_id_search_test.rb +42 -0
  139. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_must_support_test.rb +53 -0
  140. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  141. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_category_search_test.rb +47 -0
  142. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_search_test.rb +63 -0
  143. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_status_search_test.rb +48 -0
  144. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  145. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_type_search_test.rb +47 -0
  146. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  147. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_read_test.rb +26 -0
  148. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_reference_resolution_test.rb +41 -0
  149. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +39 -0
  150. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +382 -0
  151. data/lib/us_core_test_kit/generated/v3.1.1/document_reference_group.rb +102 -0
  152. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_class_patient_search_test.rb +49 -0
  153. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_date_patient_search_test.rb +47 -0
  154. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_id_search_test.rb +42 -0
  155. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_identifier_search_test.rb +45 -0
  156. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_must_support_test.rb +53 -0
  157. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_search_test.rb +63 -0
  158. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_status_search_test.rb +47 -0
  159. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_type_search_test.rb +49 -0
  160. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  161. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_read_test.rb +26 -0
  162. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_reference_resolution_test.rb +40 -0
  163. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +39 -0
  164. data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +384 -0
  165. data/lib/us_core_test_kit/generated/v3.1.1/encounter_group.rb +100 -0
  166. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_must_support_test.rb +41 -0
  167. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  168. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_search_test.rb +62 -0
  169. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_target_date_search_test.rb +49 -0
  170. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_provenance_revinclude_search_test.rb +51 -0
  171. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_read_test.rb +26 -0
  172. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_reference_resolution_test.rb +38 -0
  173. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_validation_test.rb +39 -0
  174. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +203 -0
  175. data/lib/us_core_test_kit/generated/v3.1.1/goal_group.rb +90 -0
  176. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_must_support_test.rb +51 -0
  177. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  178. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  179. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  180. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  181. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  182. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  183. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_read_test.rb +26 -0
  184. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
  185. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb +39 -0
  186. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +334 -0
  187. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference_group.rb +96 -0
  188. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_must_support_test.rb +51 -0
  189. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_date_search_test.rb +48 -0
  190. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_search_test.rb +47 -0
  191. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_status_search_test.rb +49 -0
  192. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_code_date_search_test.rb +50 -0
  193. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_code_search_test.rb +64 -0
  194. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_provenance_revinclude_search_test.rb +53 -0
  195. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_read_test.rb +26 -0
  196. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_reference_resolution_test.rb +38 -0
  197. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_validation_test.rb +39 -0
  198. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +336 -0
  199. data/lib/us_core_test_kit/generated/v3.1.1/heartrate_group.rb +96 -0
  200. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_must_support_test.rb +42 -0
  201. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_date_search_test.rb +49 -0
  202. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_search_test.rb +62 -0
  203. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_status_search_test.rb +47 -0
  204. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  205. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_read_test.rb +26 -0
  206. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_reference_resolution_test.rb +38 -0
  207. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_validation_test.rb +39 -0
  208. data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +218 -0
  209. data/lib/us_core_test_kit/generated/v3.1.1/immunization_group.rb +90 -0
  210. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_must_support_test.rb +46 -0
  211. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  212. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  213. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  214. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  215. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  216. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_read_test.rb +26 -0
  217. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_reference_resolution_test.rb +42 -0
  218. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +39 -0
  219. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +38 -0
  220. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +327 -0
  221. data/lib/us_core_test_kit/generated/v3.1.1/medication_request_group.rb +95 -0
  222. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +13146 -0
  223. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1298 -0
  224. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_must_support_test.rb +43 -0
  225. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  226. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
  227. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  228. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  229. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  230. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  231. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_read_test.rb +26 -0
  232. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
  233. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_validation_test.rb +39 -0
  234. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab_group.rb +96 -0
  235. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +148 -0
  236. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_address_search_test.rb +41 -0
  237. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_must_support_test.rb +49 -0
  238. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_name_search_test.rb +51 -0
  239. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_read_test.rb +26 -0
  240. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +39 -0
  241. data/lib/us_core_test_kit/generated/v3.1.1/organization_group.rb +85 -0
  242. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +330 -0
  243. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_family_search_test.rb +43 -0
  244. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_name_search_test.rb +41 -0
  245. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_family_gender_search_test.rb +43 -0
  246. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_gender_name_search_test.rb +41 -0
  247. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_id_search_test.rb +55 -0
  248. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_identifier_search_test.rb +42 -0
  249. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb +59 -0
  250. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_name_search_test.rb +41 -0
  251. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_provenance_revinclude_search_test.rb +51 -0
  252. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_read_test.rb +26 -0
  253. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +39 -0
  254. data/lib/us_core_test_kit/generated/v3.1.1/patient_group.rb +100 -0
  255. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +334 -0
  256. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  257. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  258. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  259. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  260. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  261. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  262. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  263. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  264. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  265. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +39 -0
  266. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age_group.rb +96 -0
  267. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +334 -0
  268. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  269. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  270. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  271. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  272. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  273. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  274. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  275. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  276. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  277. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +39 -0
  278. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height_group.rb +96 -0
  279. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +138 -0
  280. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_identifier_search_test.rb +42 -0
  281. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_must_support_test.rb +42 -0
  282. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_name_search_test.rb +51 -0
  283. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_read_test.rb +26 -0
  284. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +39 -0
  285. data/lib/us_core_test_kit/generated/v3.1.1/practitioner_group.rb +85 -0
  286. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1275 -0
  287. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_must_support_test.rb +40 -0
  288. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_code_date_search_test.rb +50 -0
  289. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_date_search_test.rb +47 -0
  290. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_search_test.rb +62 -0
  291. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_status_search_test.rb +48 -0
  292. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  293. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_read_test.rb +26 -0
  294. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_reference_resolution_test.rb +38 -0
  295. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +39 -0
  296. data/lib/us_core_test_kit/generated/v3.1.1/procedure_group.rb +93 -0
  297. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +188 -0
  298. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_must_support_test.rb +45 -0
  299. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_read_test.rb +26 -0
  300. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_reference_resolution_test.rb +40 -0
  301. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +39 -0
  302. data/lib/us_core_test_kit/generated/v3.1.1/provenance_group.rb +59 -0
  303. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +412 -0
  304. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +65 -0
  305. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  306. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  307. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  308. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  309. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  310. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  311. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  312. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  313. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +39 -0
  314. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry_group.rb +96 -0
  315. data/lib/us_core_test_kit/generated/v3.1.1/resource_list.rb +28 -0
  316. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +336 -0
  317. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_must_support_test.rb +51 -0
  318. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_date_search_test.rb +48 -0
  319. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_search_test.rb +47 -0
  320. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_status_search_test.rb +49 -0
  321. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_date_search_test.rb +50 -0
  322. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_search_test.rb +64 -0
  323. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_provenance_revinclude_search_test.rb +53 -0
  324. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_read_test.rb +26 -0
  325. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_reference_resolution_test.rb +38 -0
  326. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +39 -0
  327. data/lib/us_core_test_kit/generated/v3.1.1/resprate_group.rb +96 -0
  328. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +303 -0
  329. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_must_support_test.rb +41 -0
  330. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
  331. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_search_test.rb +49 -0
  332. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  333. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  334. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  335. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  336. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_read_test.rb +26 -0
  337. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  338. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +39 -0
  339. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus_group.rb +96 -0
  340. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +112 -0
  341. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  342. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  343. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  344. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  345. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  346. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
  347. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +39 -0
  348. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +171 -0
  349. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance_group.rb +88 -0
  350. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  351. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  352. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  353. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  354. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  355. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  356. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  357. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_read_test.rb +26 -0
  358. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +38 -0
  359. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +39 -0
  360. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +384 -0
  361. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +96 -0
  362. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_must_support_test.rb +51 -0
  363. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
  364. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_search_test.rb +47 -0
  365. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
  366. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
  367. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_search_test.rb +64 -0
  368. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  369. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_read_test.rb +26 -0
  370. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_reference_resolution_test.rb +38 -0
  371. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_validation_test.rb +39 -0
  372. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +335 -0
  373. data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +96 -0
  374. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_must_support_test.rb +51 -0
  375. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
  376. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_search_test.rb +47 -0
  377. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
  378. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
  379. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_search_test.rb +64 -0
  380. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  381. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_read_test.rb +26 -0
  382. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_reference_resolution_test.rb +38 -0
  383. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_validation_test.rb +39 -0
  384. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +338 -0
  385. data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +96 -0
  386. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_must_support_test.rb +51 -0
  387. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  388. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  389. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  390. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  391. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  392. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  393. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_read_test.rb +26 -0
  394. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_reference_resolution_test.rb +38 -0
  395. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_validation_test.rb +39 -0
  396. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +338 -0
  397. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +96 -0
  398. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_must_support_test.rb +51 -0
  399. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  400. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
  401. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  402. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  403. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
  404. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  405. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_read_test.rb +26 -0
  406. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_reference_resolution_test.rb +38 -0
  407. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_validation_test.rb +39 -0
  408. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +338 -0
  409. data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +96 -0
  410. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_must_support_test.rb +44 -0
  411. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  412. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
  413. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  414. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  415. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  416. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_read_test.rb +26 -0
  417. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_reference_resolution_test.rb +38 -0
  418. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_validation_test.rb +39 -0
  419. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +306 -0
  420. data/lib/us_core_test_kit/generated/v4.0.0/care_plan_group.rb +92 -0
  421. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_must_support_test.rb +41 -0
  422. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_patient_status_search_test.rb +63 -0
  423. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  424. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_read_test.rb +26 -0
  425. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_reference_resolution_test.rb +39 -0
  426. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +39 -0
  427. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +154 -0
  428. data/lib/us_core_test_kit/generated/v4.0.0/care_team_group.rb +86 -0
  429. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_must_support_test.rb +41 -0
  430. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_category_search_test.rb +49 -0
  431. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_clinical_status_search_test.rb +48 -0
  432. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_code_search_test.rb +49 -0
  433. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_onset_date_search_test.rb +49 -0
  434. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_search_test.rb +62 -0
  435. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_provenance_revinclude_search_test.rb +51 -0
  436. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_read_test.rb +26 -0
  437. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_reference_resolution_test.rb +38 -0
  438. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +39 -0
  439. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +246 -0
  440. data/lib/us_core_test_kit/generated/v4.0.0/condition_group.rb +94 -0
  441. data/lib/us_core_test_kit/generated/v4.0.0/device/device_must_support_test.rb +46 -0
  442. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_search_test.rb +67 -0
  443. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_type_search_test.rb +54 -0
  444. data/lib/us_core_test_kit/generated/v4.0.0/device/device_provenance_revinclude_search_test.rb +51 -0
  445. data/lib/us_core_test_kit/generated/v4.0.0/device/device_read_test.rb +26 -0
  446. data/lib/us_core_test_kit/generated/v4.0.0/device/device_reference_resolution_test.rb +38 -0
  447. data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +39 -0
  448. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1154 -0
  449. data/lib/us_core_test_kit/generated/v4.0.0/device_group.rb +90 -0
  450. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  451. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  452. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  453. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  454. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  455. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  456. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  457. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  458. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  459. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +40 -0
  460. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +39 -0
  461. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1274 -0
  462. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab_group.rb +99 -0
  463. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +45 -0
  464. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  465. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  466. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  467. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  468. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  469. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  470. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  471. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  472. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +40 -0
  473. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +39 -0
  474. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1269 -0
  475. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note_group.rb +99 -0
  476. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_id_search_test.rb +42 -0
  477. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_must_support_test.rb +52 -0
  478. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  479. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
  480. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_search_test.rb +63 -0
  481. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
  482. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  483. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
  484. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  485. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_read_test.rb +26 -0
  486. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_reference_resolution_test.rb +40 -0
  487. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +39 -0
  488. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +384 -0
  489. data/lib/us_core_test_kit/generated/v4.0.0/document_reference_group.rb +104 -0
  490. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_class_patient_search_test.rb +49 -0
  491. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_date_patient_search_test.rb +47 -0
  492. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_id_search_test.rb +42 -0
  493. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_identifier_search_test.rb +45 -0
  494. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_must_support_test.rb +55 -0
  495. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_search_test.rb +63 -0
  496. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_status_search_test.rb +47 -0
  497. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_type_search_test.rb +49 -0
  498. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  499. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_read_test.rb +26 -0
  500. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_reference_resolution_test.rb +42 -0
  501. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +39 -0
  502. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +407 -0
  503. data/lib/us_core_test_kit/generated/v4.0.0/encounter_group.rb +100 -0
  504. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_must_support_test.rb +41 -0
  505. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  506. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_search_test.rb +62 -0
  507. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_target_date_search_test.rb +49 -0
  508. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
  509. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_read_test.rb +26 -0
  510. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_reference_resolution_test.rb +38 -0
  511. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +39 -0
  512. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +200 -0
  513. data/lib/us_core_test_kit/generated/v4.0.0/goal_group.rb +90 -0
  514. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_must_support_test.rb +51 -0
  515. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  516. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  517. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  518. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  519. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  520. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  521. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_read_test.rb +26 -0
  522. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
  523. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +39 -0
  524. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +338 -0
  525. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +96 -0
  526. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  527. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  528. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  529. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  530. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  531. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  532. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  533. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  534. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +38 -0
  535. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +39 -0
  536. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +335 -0
  537. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +96 -0
  538. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_must_support_test.rb +51 -0
  539. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  540. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  541. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  542. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  543. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  544. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  545. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_read_test.rb +26 -0
  546. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_reference_resolution_test.rb +38 -0
  547. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_validation_test.rb +39 -0
  548. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +335 -0
  549. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +96 -0
  550. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_must_support_test.rb +42 -0
  551. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_date_search_test.rb +49 -0
  552. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_search_test.rb +62 -0
  553. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_status_search_test.rb +47 -0
  554. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  555. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_read_test.rb +26 -0
  556. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_reference_resolution_test.rb +38 -0
  557. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_validation_test.rb +39 -0
  558. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +219 -0
  559. data/lib/us_core_test_kit/generated/v4.0.0/immunization_group.rb +90 -0
  560. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_must_support_test.rb +48 -0
  561. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  562. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  563. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  564. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  565. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  566. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_read_test.rb +26 -0
  567. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_reference_resolution_test.rb +41 -0
  568. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +39 -0
  569. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +38 -0
  570. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +345 -0
  571. data/lib/us_core_test_kit/generated/v4.0.0/medication_request_group.rb +95 -0
  572. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +14102 -0
  573. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1304 -0
  574. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_must_support_test.rb +45 -0
  575. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  576. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
  577. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  578. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  579. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  580. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  581. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_read_test.rb +26 -0
  582. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
  583. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +39 -0
  584. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +96 -0
  585. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +160 -0
  586. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_address_search_test.rb +41 -0
  587. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_must_support_test.rb +51 -0
  588. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_name_search_test.rb +51 -0
  589. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_read_test.rb +26 -0
  590. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +39 -0
  591. data/lib/us_core_test_kit/generated/v4.0.0/organization_group.rb +85 -0
  592. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +332 -0
  593. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_family_search_test.rb +43 -0
  594. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_name_search_test.rb +41 -0
  595. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_family_gender_search_test.rb +43 -0
  596. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_gender_name_search_test.rb +41 -0
  597. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_id_search_test.rb +55 -0
  598. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_identifier_search_test.rb +42 -0
  599. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +60 -0
  600. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_name_search_test.rb +41 -0
  601. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
  602. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_read_test.rb +26 -0
  603. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +39 -0
  604. data/lib/us_core_test_kit/generated/v4.0.0/patient_group.rb +100 -0
  605. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +335 -0
  606. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  607. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  608. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  609. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  610. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  611. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  612. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  613. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  614. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  615. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +39 -0
  616. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +96 -0
  617. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +335 -0
  618. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  619. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  620. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  621. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  622. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  623. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  624. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  625. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  626. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  627. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +39 -0
  628. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +96 -0
  629. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +138 -0
  630. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_identifier_search_test.rb +42 -0
  631. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_must_support_test.rb +42 -0
  632. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_name_search_test.rb +51 -0
  633. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_read_test.rb +26 -0
  634. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +39 -0
  635. data/lib/us_core_test_kit/generated/v4.0.0/practitioner_group.rb +85 -0
  636. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1276 -0
  637. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_must_support_test.rb +40 -0
  638. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
  639. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_date_search_test.rb +47 -0
  640. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_search_test.rb +62 -0
  641. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_status_search_test.rb +48 -0
  642. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  643. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_read_test.rb +26 -0
  644. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_reference_resolution_test.rb +38 -0
  645. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +39 -0
  646. data/lib/us_core_test_kit/generated/v4.0.0/procedure_group.rb +93 -0
  647. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +201 -0
  648. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_must_support_test.rb +46 -0
  649. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_read_test.rb +26 -0
  650. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_reference_resolution_test.rb +40 -0
  651. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +39 -0
  652. data/lib/us_core_test_kit/generated/v4.0.0/provenance_group.rb +59 -0
  653. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +404 -0
  654. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +59 -0
  655. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  656. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  657. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  658. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  659. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  660. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  661. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  662. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  663. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +39 -0
  664. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +96 -0
  665. data/lib/us_core_test_kit/generated/v4.0.0/resource_list.rb +28 -0
  666. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +335 -0
  667. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  668. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  669. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  670. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  671. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  672. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  673. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  674. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  675. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +38 -0
  676. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +39 -0
  677. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +96 -0
  678. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +309 -0
  679. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  680. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
  681. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  682. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  683. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  684. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  685. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  686. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_read_test.rb +26 -0
  687. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  688. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +39 -0
  689. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +96 -0
  690. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +116 -0
  691. data/lib/us_core_test_kit/generator/group_generator.rb +40 -13
  692. data/lib/us_core_test_kit/generator/group_metadata.rb +1 -1
  693. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +10 -18
  694. data/lib/us_core_test_kit/generator/ig_loader.rb +8 -2
  695. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +12 -10
  696. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +224 -32
  697. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +14 -8
  698. data/lib/us_core_test_kit/generator/naming.rb +3 -1
  699. data/lib/us_core_test_kit/generator/provenance_revinclude_search_test_generator.rb +12 -7
  700. data/lib/us_core_test_kit/generator/read_test_generator.rb +12 -7
  701. data/lib/us_core_test_kit/generator/reference_resolution_test_generator.rb +27 -7
  702. data/lib/us_core_test_kit/generator/resource_list_generator.rb +9 -13
  703. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +39 -19
  704. data/lib/us_core_test_kit/generator/search_test_generator.rb +24 -10
  705. data/lib/us_core_test_kit/generator/special_cases.rb +9 -0
  706. data/lib/us_core_test_kit/generator/suite_generator.rb +33 -8
  707. data/lib/us_core_test_kit/generator/validation_test_generator.rb +20 -8
  708. data/lib/us_core_test_kit/generator.rb +36 -12
  709. data/lib/us_core_test_kit/igs/{StructureDefinition-bodyheight.json → v311/StructureDefinition-bodyheight.json} +0 -0
  710. data/lib/us_core_test_kit/igs/{StructureDefinition-bodytemp.json → v311/StructureDefinition-bodytemp.json} +0 -0
  711. data/lib/us_core_test_kit/igs/{StructureDefinition-bodyweight.json → v311/StructureDefinition-bodyweight.json} +0 -0
  712. data/lib/us_core_test_kit/igs/{StructureDefinition-bp.json → v311/StructureDefinition-bp.json} +0 -0
  713. data/lib/us_core_test_kit/igs/{StructureDefinition-heartrate.json → v311/StructureDefinition-heartrate.json} +0 -0
  714. data/lib/us_core_test_kit/igs/{StructureDefinition-resprate.json → v311/StructureDefinition-resprate.json} +0 -0
  715. data/lib/us_core_test_kit/igs/{package.tgz → v311/package.tgz} +0 -0
  716. data/lib/us_core_test_kit/igs/v400/package.tgz +0 -0
  717. data/lib/us_core_test_kit/must_support_test.rb +18 -1
  718. data/lib/us_core_test_kit/read_test.rb +1 -1
  719. data/lib/us_core_test_kit/reference_resolution_test.rb +91 -71
  720. data/lib/us_core_test_kit/search_test.rb +143 -124
  721. data/lib/us_core_test_kit/validation_test.rb +9 -3
  722. data/lib/us_core_test_kit/version.rb +1 -1
  723. data/lib/us_core_test_kit.rb +2 -1
  724. metadata +695 -340
  725. data/lib/us_core_test_kit/custom_groups/capability_statement_group.rb +0 -64
  726. data/lib/us_core_test_kit/custom_groups/clinical_notes_guidance_group.rb +0 -208
  727. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_must_support_test.rb +0 -40
  728. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +0 -46
  729. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_search_test.rb +0 -60
  730. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +0 -49
  731. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_read_test.rb +0 -24
  732. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -28
  733. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_validation_test.rb +0 -34
  734. data/lib/us_core_test_kit/generated/allergy_intolerance/metadata.yml +0 -165
  735. data/lib/us_core_test_kit/generated/allergy_intolerance_group.rb +0 -85
  736. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_must_support_test.rb +0 -49
  737. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_date_search_test.rb +0 -46
  738. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_search_test.rb +0 -45
  739. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_status_search_test.rb +0 -47
  740. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_code_date_search_test.rb +0 -48
  741. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_code_search_test.rb +0 -62
  742. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_provenance_revinclude_search_test.rb +0 -51
  743. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_read_test.rb +0 -24
  744. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_reference_resolution_test.rb +0 -28
  745. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_validation_test.rb +0 -34
  746. data/lib/us_core_test_kit/generated/bodyheight/metadata.yml +0 -328
  747. data/lib/us_core_test_kit/generated/bodyheight_group.rb +0 -93
  748. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_must_support_test.rb +0 -49
  749. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_date_search_test.rb +0 -46
  750. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_search_test.rb +0 -45
  751. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_status_search_test.rb +0 -47
  752. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_code_date_search_test.rb +0 -48
  753. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_code_search_test.rb +0 -62
  754. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_provenance_revinclude_search_test.rb +0 -51
  755. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_read_test.rb +0 -24
  756. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_reference_resolution_test.rb +0 -28
  757. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_validation_test.rb +0 -34
  758. data/lib/us_core_test_kit/generated/bodytemp/metadata.yml +0 -328
  759. data/lib/us_core_test_kit/generated/bodytemp_group.rb +0 -93
  760. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_must_support_test.rb +0 -49
  761. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_date_search_test.rb +0 -46
  762. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_search_test.rb +0 -45
  763. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_status_search_test.rb +0 -47
  764. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_code_date_search_test.rb +0 -48
  765. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_code_search_test.rb +0 -62
  766. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_provenance_revinclude_search_test.rb +0 -51
  767. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_read_test.rb +0 -24
  768. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_reference_resolution_test.rb +0 -28
  769. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_validation_test.rb +0 -34
  770. data/lib/us_core_test_kit/generated/bodyweight/metadata.yml +0 -328
  771. data/lib/us_core_test_kit/generated/bodyweight_group.rb +0 -93
  772. data/lib/us_core_test_kit/generated/bp/bp_must_support_test.rb +0 -52
  773. data/lib/us_core_test_kit/generated/bp/bp_patient_category_date_search_test.rb +0 -46
  774. data/lib/us_core_test_kit/generated/bp/bp_patient_category_search_test.rb +0 -45
  775. data/lib/us_core_test_kit/generated/bp/bp_patient_category_status_search_test.rb +0 -47
  776. data/lib/us_core_test_kit/generated/bp/bp_patient_code_date_search_test.rb +0 -48
  777. data/lib/us_core_test_kit/generated/bp/bp_patient_code_search_test.rb +0 -62
  778. data/lib/us_core_test_kit/generated/bp/bp_provenance_revinclude_search_test.rb +0 -51
  779. data/lib/us_core_test_kit/generated/bp/bp_read_test.rb +0 -24
  780. data/lib/us_core_test_kit/generated/bp/bp_reference_resolution_test.rb +0 -28
  781. data/lib/us_core_test_kit/generated/bp/bp_validation_test.rb +0 -34
  782. data/lib/us_core_test_kit/generated/bp/metadata.yml +0 -379
  783. data/lib/us_core_test_kit/generated/bp_group.rb +0 -93
  784. data/lib/us_core_test_kit/generated/care_plan/care_plan_must_support_test.rb +0 -41
  785. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_date_search_test.rb +0 -48
  786. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_search_test.rb +0 -62
  787. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_status_date_search_test.rb +0 -48
  788. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_status_search_test.rb +0 -47
  789. data/lib/us_core_test_kit/generated/care_plan/care_plan_provenance_revinclude_search_test.rb +0 -51
  790. data/lib/us_core_test_kit/generated/care_plan/care_plan_read_test.rb +0 -24
  791. data/lib/us_core_test_kit/generated/care_plan/care_plan_reference_resolution_test.rb +0 -28
  792. data/lib/us_core_test_kit/generated/care_plan/care_plan_validation_test.rb +0 -34
  793. data/lib/us_core_test_kit/generated/care_plan/metadata.yml +0 -296
  794. data/lib/us_core_test_kit/generated/care_plan_group.rb +0 -89
  795. data/lib/us_core_test_kit/generated/care_team/care_team_must_support_test.rb +0 -39
  796. data/lib/us_core_test_kit/generated/care_team/care_team_patient_status_search_test.rb +0 -62
  797. data/lib/us_core_test_kit/generated/care_team/care_team_provenance_revinclude_search_test.rb +0 -50
  798. data/lib/us_core_test_kit/generated/care_team/care_team_read_test.rb +0 -24
  799. data/lib/us_core_test_kit/generated/care_team/care_team_reference_resolution_test.rb +0 -28
  800. data/lib/us_core_test_kit/generated/care_team/care_team_validation_test.rb +0 -34
  801. data/lib/us_core_test_kit/generated/care_team/metadata.yml +0 -140
  802. data/lib/us_core_test_kit/generated/care_team_group.rb +0 -83
  803. data/lib/us_core_test_kit/generated/condition/condition_must_support_test.rb +0 -39
  804. data/lib/us_core_test_kit/generated/condition/condition_patient_category_search_test.rb +0 -47
  805. data/lib/us_core_test_kit/generated/condition/condition_patient_clinical_status_search_test.rb +0 -46
  806. data/lib/us_core_test_kit/generated/condition/condition_patient_code_search_test.rb +0 -47
  807. data/lib/us_core_test_kit/generated/condition/condition_patient_onset_date_search_test.rb +0 -47
  808. data/lib/us_core_test_kit/generated/condition/condition_patient_search_test.rb +0 -60
  809. data/lib/us_core_test_kit/generated/condition/condition_provenance_revinclude_search_test.rb +0 -49
  810. data/lib/us_core_test_kit/generated/condition/condition_read_test.rb +0 -24
  811. data/lib/us_core_test_kit/generated/condition/condition_reference_resolution_test.rb +0 -28
  812. data/lib/us_core_test_kit/generated/condition/condition_validation_test.rb +0 -34
  813. data/lib/us_core_test_kit/generated/condition/metadata.yml +0 -231
  814. data/lib/us_core_test_kit/generated/condition_group.rb +0 -91
  815. data/lib/us_core_test_kit/generated/device/device_must_support_test.rb +0 -43
  816. data/lib/us_core_test_kit/generated/device/device_patient_search_test.rb +0 -65
  817. data/lib/us_core_test_kit/generated/device/device_patient_type_search_test.rb +0 -52
  818. data/lib/us_core_test_kit/generated/device/device_provenance_revinclude_search_test.rb +0 -49
  819. data/lib/us_core_test_kit/generated/device/device_read_test.rb +0 -24
  820. data/lib/us_core_test_kit/generated/device/device_reference_resolution_test.rb +0 -28
  821. data/lib/us_core_test_kit/generated/device/device_validation_test.rb +0 -34
  822. data/lib/us_core_test_kit/generated/device/metadata.yml +0 -1145
  823. data/lib/us_core_test_kit/generated/device_group.rb +0 -85
  824. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +0 -43
  825. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +0 -46
  826. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +0 -63
  827. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +0 -48
  828. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +0 -45
  829. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +0 -44
  830. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +0 -46
  831. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +0 -51
  832. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +0 -24
  833. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -28
  834. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +0 -34
  835. data/lib/us_core_test_kit/generated/diagnostic_report_lab/metadata.yml +0 -1253
  836. data/lib/us_core_test_kit/generated/diagnostic_report_lab_group.rb +0 -96
  837. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +0 -43
  838. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +0 -46
  839. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +0 -63
  840. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +0 -48
  841. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +0 -45
  842. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +0 -44
  843. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +0 -46
  844. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +0 -51
  845. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_read_test.rb +0 -24
  846. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -28
  847. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_validation_test.rb +0 -34
  848. data/lib/us_core_test_kit/generated/diagnostic_report_note/metadata.yml +0 -1246
  849. data/lib/us_core_test_kit/generated/diagnostic_report_note_group.rb +0 -96
  850. data/lib/us_core_test_kit/generated/document_reference/document_reference_id_search_test.rb +0 -40
  851. data/lib/us_core_test_kit/generated/document_reference/document_reference_must_support_test.rb +0 -49
  852. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_category_date_search_test.rb +0 -46
  853. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_category_search_test.rb +0 -45
  854. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_search_test.rb +0 -61
  855. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_status_search_test.rb +0 -46
  856. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_type_period_search_test.rb +0 -48
  857. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_type_search_test.rb +0 -45
  858. data/lib/us_core_test_kit/generated/document_reference/document_reference_provenance_revinclude_search_test.rb +0 -50
  859. data/lib/us_core_test_kit/generated/document_reference/document_reference_read_test.rb +0 -24
  860. data/lib/us_core_test_kit/generated/document_reference/document_reference_reference_resolution_test.rb +0 -28
  861. data/lib/us_core_test_kit/generated/document_reference/document_reference_validation_test.rb +0 -34
  862. data/lib/us_core_test_kit/generated/document_reference/metadata.yml +0 -354
  863. data/lib/us_core_test_kit/generated/document_reference_group.rb +0 -99
  864. data/lib/us_core_test_kit/generated/encounter/encounter_class_patient_search_test.rb +0 -47
  865. data/lib/us_core_test_kit/generated/encounter/encounter_date_patient_search_test.rb +0 -45
  866. data/lib/us_core_test_kit/generated/encounter/encounter_id_search_test.rb +0 -40
  867. data/lib/us_core_test_kit/generated/encounter/encounter_identifier_search_test.rb +0 -43
  868. data/lib/us_core_test_kit/generated/encounter/encounter_must_support_test.rb +0 -51
  869. data/lib/us_core_test_kit/generated/encounter/encounter_patient_search_test.rb +0 -61
  870. data/lib/us_core_test_kit/generated/encounter/encounter_patient_status_search_test.rb +0 -45
  871. data/lib/us_core_test_kit/generated/encounter/encounter_patient_type_search_test.rb +0 -47
  872. data/lib/us_core_test_kit/generated/encounter/encounter_provenance_revinclude_search_test.rb +0 -50
  873. data/lib/us_core_test_kit/generated/encounter/encounter_read_test.rb +0 -24
  874. data/lib/us_core_test_kit/generated/encounter/encounter_reference_resolution_test.rb +0 -28
  875. data/lib/us_core_test_kit/generated/encounter/encounter_validation_test.rb +0 -34
  876. data/lib/us_core_test_kit/generated/encounter/metadata.yml +0 -364
  877. data/lib/us_core_test_kit/generated/encounter_group.rb +0 -97
  878. data/lib/us_core_test_kit/generated/goal/goal_must_support_test.rb +0 -39
  879. data/lib/us_core_test_kit/generated/goal/goal_patient_lifecycle_status_search_test.rb +0 -45
  880. data/lib/us_core_test_kit/generated/goal/goal_patient_search_test.rb +0 -60
  881. data/lib/us_core_test_kit/generated/goal/goal_patient_target_date_search_test.rb +0 -47
  882. data/lib/us_core_test_kit/generated/goal/goal_provenance_revinclude_search_test.rb +0 -49
  883. data/lib/us_core_test_kit/generated/goal/goal_read_test.rb +0 -24
  884. data/lib/us_core_test_kit/generated/goal/goal_reference_resolution_test.rb +0 -28
  885. data/lib/us_core_test_kit/generated/goal/goal_validation_test.rb +0 -34
  886. data/lib/us_core_test_kit/generated/goal/metadata.yml +0 -195
  887. data/lib/us_core_test_kit/generated/goal_group.rb +0 -87
  888. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_must_support_test.rb +0 -49
  889. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_date_search_test.rb +0 -46
  890. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_search_test.rb +0 -45
  891. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_status_search_test.rb +0 -47
  892. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_code_date_search_test.rb +0 -48
  893. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_code_search_test.rb +0 -62
  894. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_provenance_revinclude_search_test.rb +0 -51
  895. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_read_test.rb +0 -24
  896. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_reference_resolution_test.rb +0 -28
  897. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_validation_test.rb +0 -34
  898. data/lib/us_core_test_kit/generated/head_circumference/metadata.yml +0 -323
  899. data/lib/us_core_test_kit/generated/head_circumference_group.rb +0 -93
  900. data/lib/us_core_test_kit/generated/heartrate/heartrate_must_support_test.rb +0 -49
  901. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_date_search_test.rb +0 -46
  902. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_search_test.rb +0 -45
  903. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_status_search_test.rb +0 -47
  904. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_code_date_search_test.rb +0 -48
  905. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_code_search_test.rb +0 -62
  906. data/lib/us_core_test_kit/generated/heartrate/heartrate_provenance_revinclude_search_test.rb +0 -51
  907. data/lib/us_core_test_kit/generated/heartrate/heartrate_read_test.rb +0 -24
  908. data/lib/us_core_test_kit/generated/heartrate/heartrate_reference_resolution_test.rb +0 -28
  909. data/lib/us_core_test_kit/generated/heartrate/heartrate_validation_test.rb +0 -34
  910. data/lib/us_core_test_kit/generated/heartrate/metadata.yml +0 -325
  911. data/lib/us_core_test_kit/generated/heartrate_group.rb +0 -93
  912. data/lib/us_core_test_kit/generated/immunization/immunization_must_support_test.rb +0 -40
  913. data/lib/us_core_test_kit/generated/immunization/immunization_patient_date_search_test.rb +0 -47
  914. data/lib/us_core_test_kit/generated/immunization/immunization_patient_search_test.rb +0 -60
  915. data/lib/us_core_test_kit/generated/immunization/immunization_patient_status_search_test.rb +0 -45
  916. data/lib/us_core_test_kit/generated/immunization/immunization_provenance_revinclude_search_test.rb +0 -50
  917. data/lib/us_core_test_kit/generated/immunization/immunization_read_test.rb +0 -24
  918. data/lib/us_core_test_kit/generated/immunization/immunization_reference_resolution_test.rb +0 -28
  919. data/lib/us_core_test_kit/generated/immunization/immunization_validation_test.rb +0 -34
  920. data/lib/us_core_test_kit/generated/immunization/metadata.yml +0 -210
  921. data/lib/us_core_test_kit/generated/immunization_group.rb +0 -87
  922. data/lib/us_core_test_kit/generated/medication_request/medication_request_must_support_test.rb +0 -44
  923. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_authoredon_search_test.rb +0 -53
  924. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_encounter_search_test.rb +0 -52
  925. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_search_test.rb +0 -68
  926. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_status_search_test.rb +0 -49
  927. data/lib/us_core_test_kit/generated/medication_request/medication_request_provenance_revinclude_search_test.rb +0 -51
  928. data/lib/us_core_test_kit/generated/medication_request/medication_request_read_test.rb +0 -24
  929. data/lib/us_core_test_kit/generated/medication_request/medication_request_reference_resolution_test.rb +0 -28
  930. data/lib/us_core_test_kit/generated/medication_request/medication_request_validation_test.rb +0 -34
  931. data/lib/us_core_test_kit/generated/medication_request/medication_validation_test.rb +0 -34
  932. data/lib/us_core_test_kit/generated/medication_request/metadata.yml +0 -307
  933. data/lib/us_core_test_kit/generated/medication_request_group.rb +0 -92
  934. data/lib/us_core_test_kit/generated/metadata.yml +0 -12911
  935. data/lib/us_core_test_kit/generated/observation_lab/metadata.yml +0 -1287
  936. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_must_support_test.rb +0 -41
  937. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_date_search_test.rb +0 -46
  938. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_search_test.rb +0 -62
  939. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_status_search_test.rb +0 -47
  940. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_code_date_search_test.rb +0 -48
  941. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_code_search_test.rb +0 -45
  942. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_provenance_revinclude_search_test.rb +0 -51
  943. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_read_test.rb +0 -24
  944. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_reference_resolution_test.rb +0 -28
  945. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_validation_test.rb +0 -34
  946. data/lib/us_core_test_kit/generated/observation_lab_group.rb +0 -93
  947. data/lib/us_core_test_kit/generated/organization/metadata.yml +0 -146
  948. data/lib/us_core_test_kit/generated/organization/organization_address_search_test.rb +0 -39
  949. data/lib/us_core_test_kit/generated/organization/organization_must_support_test.rb +0 -47
  950. data/lib/us_core_test_kit/generated/organization/organization_name_search_test.rb +0 -49
  951. data/lib/us_core_test_kit/generated/organization/organization_read_test.rb +0 -24
  952. data/lib/us_core_test_kit/generated/organization/organization_reference_resolution_test.rb +0 -28
  953. data/lib/us_core_test_kit/generated/organization/organization_validation_test.rb +0 -34
  954. data/lib/us_core_test_kit/generated/organization_group.rb +0 -84
  955. data/lib/us_core_test_kit/generated/patient/metadata.yml +0 -320
  956. data/lib/us_core_test_kit/generated/patient/patient_birthdate_family_search_test.rb +0 -41
  957. data/lib/us_core_test_kit/generated/patient/patient_birthdate_name_search_test.rb +0 -39
  958. data/lib/us_core_test_kit/generated/patient/patient_family_gender_search_test.rb +0 -41
  959. data/lib/us_core_test_kit/generated/patient/patient_gender_name_search_test.rb +0 -39
  960. data/lib/us_core_test_kit/generated/patient/patient_id_search_test.rb +0 -53
  961. data/lib/us_core_test_kit/generated/patient/patient_identifier_search_test.rb +0 -40
  962. data/lib/us_core_test_kit/generated/patient/patient_must_support_test.rb +0 -57
  963. data/lib/us_core_test_kit/generated/patient/patient_name_search_test.rb +0 -39
  964. data/lib/us_core_test_kit/generated/patient/patient_provenance_revinclude_search_test.rb +0 -49
  965. data/lib/us_core_test_kit/generated/patient/patient_read_test.rb +0 -24
  966. data/lib/us_core_test_kit/generated/patient/patient_reference_resolution_test.rb +0 -28
  967. data/lib/us_core_test_kit/generated/patient/patient_validation_test.rb +0 -34
  968. data/lib/us_core_test_kit/generated/patient_group.rb +0 -99
  969. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/metadata.yml +0 -323
  970. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +0 -49
  971. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +0 -46
  972. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +0 -45
  973. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +0 -47
  974. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +0 -48
  975. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +0 -62
  976. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +0 -51
  977. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +0 -24
  978. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -28
  979. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +0 -34
  980. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age_group.rb +0 -93
  981. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/metadata.yml +0 -323
  982. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +0 -49
  983. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +0 -46
  984. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +0 -45
  985. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +0 -47
  986. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +0 -48
  987. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +0 -62
  988. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +0 -51
  989. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +0 -24
  990. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -28
  991. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +0 -34
  992. data/lib/us_core_test_kit/generated/pediatric_weight_for_height_group.rb +0 -93
  993. data/lib/us_core_test_kit/generated/practitioner/metadata.yml +0 -136
  994. data/lib/us_core_test_kit/generated/practitioner/practitioner_identifier_search_test.rb +0 -40
  995. data/lib/us_core_test_kit/generated/practitioner/practitioner_must_support_test.rb +0 -40
  996. data/lib/us_core_test_kit/generated/practitioner/practitioner_name_search_test.rb +0 -49
  997. data/lib/us_core_test_kit/generated/practitioner/practitioner_read_test.rb +0 -24
  998. data/lib/us_core_test_kit/generated/practitioner/practitioner_reference_resolution_test.rb +0 -28
  999. data/lib/us_core_test_kit/generated/practitioner/practitioner_validation_test.rb +0 -34
  1000. data/lib/us_core_test_kit/generated/practitioner_group.rb +0 -84
  1001. data/lib/us_core_test_kit/generated/procedure/metadata.yml +0 -1265
  1002. data/lib/us_core_test_kit/generated/procedure/procedure_must_support_test.rb +0 -38
  1003. data/lib/us_core_test_kit/generated/procedure/procedure_patient_code_date_search_test.rb +0 -48
  1004. data/lib/us_core_test_kit/generated/procedure/procedure_patient_date_search_test.rb +0 -45
  1005. data/lib/us_core_test_kit/generated/procedure/procedure_patient_search_test.rb +0 -60
  1006. data/lib/us_core_test_kit/generated/procedure/procedure_patient_status_search_test.rb +0 -46
  1007. data/lib/us_core_test_kit/generated/procedure/procedure_provenance_revinclude_search_test.rb +0 -50
  1008. data/lib/us_core_test_kit/generated/procedure/procedure_read_test.rb +0 -24
  1009. data/lib/us_core_test_kit/generated/procedure/procedure_reference_resolution_test.rb +0 -28
  1010. data/lib/us_core_test_kit/generated/procedure/procedure_validation_test.rb +0 -34
  1011. data/lib/us_core_test_kit/generated/procedure_group.rb +0 -90
  1012. data/lib/us_core_test_kit/generated/provenance/metadata.yml +0 -185
  1013. data/lib/us_core_test_kit/generated/provenance/provenance_must_support_test.rb +0 -44
  1014. data/lib/us_core_test_kit/generated/provenance/provenance_read_test.rb +0 -24
  1015. data/lib/us_core_test_kit/generated/provenance/provenance_reference_resolution_test.rb +0 -28
  1016. data/lib/us_core_test_kit/generated/provenance/provenance_validation_test.rb +0 -34
  1017. data/lib/us_core_test_kit/generated/provenance_group.rb +0 -56
  1018. data/lib/us_core_test_kit/generated/pulse_oximetry/metadata.yml +0 -410
  1019. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_must_support_test.rb +0 -65
  1020. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +0 -46
  1021. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +0 -45
  1022. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +0 -47
  1023. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +0 -48
  1024. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +0 -62
  1025. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +0 -51
  1026. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_read_test.rb +0 -24
  1027. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -28
  1028. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_validation_test.rb +0 -34
  1029. data/lib/us_core_test_kit/generated/pulse_oximetry_group.rb +0 -93
  1030. data/lib/us_core_test_kit/generated/resource_list.rb +0 -26
  1031. data/lib/us_core_test_kit/generated/resprate/metadata.yml +0 -325
  1032. data/lib/us_core_test_kit/generated/resprate/resprate_must_support_test.rb +0 -49
  1033. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_date_search_test.rb +0 -46
  1034. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_search_test.rb +0 -45
  1035. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_status_search_test.rb +0 -47
  1036. data/lib/us_core_test_kit/generated/resprate/resprate_patient_code_date_search_test.rb +0 -48
  1037. data/lib/us_core_test_kit/generated/resprate/resprate_patient_code_search_test.rb +0 -62
  1038. data/lib/us_core_test_kit/generated/resprate/resprate_provenance_revinclude_search_test.rb +0 -51
  1039. data/lib/us_core_test_kit/generated/resprate/resprate_read_test.rb +0 -24
  1040. data/lib/us_core_test_kit/generated/resprate/resprate_reference_resolution_test.rb +0 -28
  1041. data/lib/us_core_test_kit/generated/resprate/resprate_validation_test.rb +0 -34
  1042. data/lib/us_core_test_kit/generated/resprate_group.rb +0 -93
  1043. data/lib/us_core_test_kit/generated/smokingstatus/metadata.yml +0 -292
  1044. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_must_support_test.rb +0 -39
  1045. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_date_search_test.rb +0 -48
  1046. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_search_test.rb +0 -47
  1047. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_status_search_test.rb +0 -47
  1048. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_code_date_search_test.rb +0 -48
  1049. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_code_search_test.rb +0 -62
  1050. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +0 -51
  1051. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_read_test.rb +0 -24
  1052. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -28
  1053. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_validation_test.rb +0 -34
  1054. data/lib/us_core_test_kit/generated/smokingstatus_group.rb +0 -93
  1055. data/lib/us_core_test_kit/generated/us_core_test_suite.rb +0 -110
@@ -13,8 +13,8 @@ module USCoreTestKit
13
13
  def search_definition
14
14
  @search_definition ||=
15
15
  {
16
- path: path,
17
- full_path: full_path,
16
+ paths: paths,
17
+ full_paths: full_paths,
18
18
  comparators: comparators,
19
19
  values: values,
20
20
  type: type,
@@ -32,24 +32,25 @@ module USCoreTestKit
32
32
  param.source_hash
33
33
  end
34
34
 
35
- def full_path
36
- @full_path ||=
35
+ def full_paths
36
+ @full_paths ||=
37
37
  begin
38
38
  path = param.expression.gsub(/.where\((.*)/, '')
39
39
  path = path[1..-2] if path.start_with?('(') && path.end_with?(')')
40
- as_type = path.scan(/[. ]as[( ]([^)]*)[)]?/).flatten.first
41
- path.gsub!(/[. ]as[( ]([^)]*)[)]?/, as_type.upcase_first) if as_type.present?
42
- path
40
+ path.scan(/[. ]as[( ]([^)]*)[)]?/).flatten.map do |as_type|
41
+ path.gsub!(/[. ]as[( ](#{as_type}[^)]*)[)]?/, as_type.upcase_first) if as_type.present?
42
+ end
43
+ path.split('|')
43
44
  end
44
45
  end
45
46
 
46
- def path
47
- @path ||= full_path.gsub("#{resource}.", '')
47
+ def paths
48
+ @paths ||= full_paths.map { |a_path| a_path.gsub("#{resource}.", '') }
48
49
  end
49
50
 
50
51
  def profile_element
51
52
  @profile_element ||=
52
- profile_elements.find { |element| element.id == full_path }
53
+ profile_elements.find { |element| full_paths.include?(element.id) }
53
54
  end
54
55
 
55
56
  def comparator_expectation_extensions
@@ -111,19 +112,22 @@ module USCoreTestKit
111
112
  end
112
113
 
113
114
  def values
114
- (
115
+ values = (
116
+ (
115
117
  values_from_slices +
116
118
  values_from_fixed_codes +
117
- values_from_pattern_codeable_concept +
118
- values_from_value_set_binding
119
- ).uniq.presence || values_from_resource_metadata
119
+ values_from_pattern_coding +
120
+ values_from_pattern_codeable_concept
121
+ ).uniq.presence || values_from_value_set_binding
122
+ ).presence || values_from_resource_metadata
123
+ values
120
124
  end
121
125
 
122
126
  def slices
123
127
  return [] unless contains_multiple?
124
128
 
125
129
  profile_elements.select do |element|
126
- element.path == full_path &&
130
+ full_paths.include?(element.path) &&
127
131
  element.sliceName.present? &&
128
132
  element.patternCodeableConcept.present?
129
133
  end
@@ -143,6 +147,14 @@ module USCoreTestKit
143
147
  .map { |element| element.fixedCode }
144
148
  end
145
149
 
150
+ def values_from_pattern_coding
151
+ return [] unless type == 'CodeableConcept'
152
+
153
+ profile_elements
154
+ .select { |element| element.path == "#{profile_element.path}.coding" && element.patternCoding.present? }
155
+ .map { |element| element.patternCoding.code }
156
+ end
157
+
146
158
  def values_from_pattern_codeable_concept
147
159
  return [] if type != 'CodeableConcept' || profile_element.patternCodeableConcept.blank?
148
160
 
@@ -167,14 +179,22 @@ module USCoreTestKit
167
179
  bound_systems.flat_map { |system| system.concept.map { |code| code.code } }.uniq
168
180
  end
169
181
 
170
- def fhir_metadata
171
- FHIR.const_get(resource)::METADATA[path.gsub("#{resource}.", '')]
182
+ def fhir_metadata(current_path)
183
+ FHIR.const_get(resource)::METADATA[current_path]
172
184
  end
173
185
 
174
186
  def values_from_resource_metadata
175
- return [] if fhir_metadata&.dig('valid_codes').blank?
187
+ values = []
188
+
189
+ paths.each do |current_path|
190
+ current_metadata = fhir_metadata(current_path)
191
+
192
+ if current_metadata&.dig('valid_codes').present?
193
+ values = values + current_metadata['valid_codes'].values.flatten
194
+ end
195
+ end
176
196
 
177
- fhir_metadata['valid_codes'].values.flatten
197
+ values
178
198
  end
179
199
  end
180
200
  end
@@ -5,21 +5,22 @@ module USCoreTestKit
5
5
  class Generator
6
6
  class SearchTestGenerator
7
7
  class << self
8
- def generate(ig_metadata)
8
+ def generate(ig_metadata, base_output_dir)
9
9
  ig_metadata.groups
10
- .reject { |group| SpecialCases.exclude_resource? group.resource }
10
+ .reject { |group| SpecialCases.exclude_group? group }
11
11
  .select { |group| group.searches.present? }
12
12
  .each do |group|
13
- group.searches.each { |search| new(group, search).generate }
13
+ group.searches.each { |search| new(group, search, base_output_dir).generate }
14
14
  end
15
15
  end
16
16
  end
17
17
 
18
- attr_accessor :group_metadata, :search_metadata
18
+ attr_accessor :group_metadata, :search_metadata, :base_output_dir
19
19
 
20
- def initialize(group_metadata, search_metadata)
20
+ def initialize(group_metadata, search_metadata, base_output_dir)
21
21
  self.group_metadata = group_metadata
22
22
  self.search_metadata = search_metadata
23
+ self.base_output_dir = base_output_dir
23
24
  end
24
25
 
25
26
  def template
@@ -35,7 +36,7 @@ module USCoreTestKit
35
36
  end
36
37
 
37
38
  def output_file_directory
38
- File.join(__dir__, '..', 'generated', profile_identifier)
39
+ File.join(base_output_dir, profile_identifier)
39
40
  end
40
41
 
41
42
  def output_file_name
@@ -47,7 +48,7 @@ module USCoreTestKit
47
48
  end
48
49
 
49
50
  def test_id
50
- "us_core_311_#{profile_identifier}_#{search_identifier}_search_test"
51
+ "us_core_#{group_metadata.reformatted_version}_#{profile_identifier}_#{search_identifier}_search_test"
51
52
  end
52
53
 
53
54
  def search_identifier
@@ -62,6 +63,10 @@ module USCoreTestKit
62
63
  "#{Naming.upper_camel_case_for_profile(group_metadata)}#{search_title}SearchTest"
63
64
  end
64
65
 
66
+ def module_name
67
+ "USCore#{group_metadata.reformatted_version.upcase}"
68
+ end
69
+
65
70
  def resource_type
66
71
  group_metadata.resource
67
72
  end
@@ -127,7 +132,7 @@ module USCoreTestKit
127
132
  end
128
133
 
129
134
  def optional?
130
- conformance_expectation != 'SHALL' || !search_metadata[:must_support_or_mandatory]
135
+ conformance_expectation != 'SHALL' || !search_metadata[:must_support_or_mandatory]
131
136
  end
132
137
 
133
138
  def search_definition(name)
@@ -203,6 +208,15 @@ module USCoreTestKit
203
208
  end
204
209
  end
205
210
 
211
+ def url_version
212
+ case group_metadata.version
213
+ when 'v3.1.1'
214
+ 'STU3.1.1'
215
+ when 'v4.0.0'
216
+ 'STU4'
217
+ end
218
+ end
219
+
206
220
  def search_test_properties_string
207
221
  search_properties
208
222
  .map { |key, value| "#{' ' * 8}#{key}: #{value}" }
@@ -256,7 +270,7 @@ module USCoreTestKit
256
270
  Additionally, this test will check that GET and POST search methods
257
271
  return the same number of results. Search by POST is required by the
258
272
  FHIR R4 specification, and these tests interpret search by GET as a
259
- requirement of US Core v3.1.1.
273
+ requirement of US Core #{group_metadata.version}.
260
274
  POST_SEARCH_DESCRIPTION
261
275
  end
262
276
 
@@ -272,7 +286,7 @@ module USCoreTestKit
272
286
  #{first_search_description}
273
287
  #{post_search_description}
274
288
 
275
- [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core/STU3.1.1/CapabilityStatement-us-core-server.html)
289
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core/#{url_version}/CapabilityStatement-us-core-server.html)
276
290
  DESCRIPTION
277
291
  end
278
292
  end
@@ -7,10 +7,19 @@ module USCoreTestKit
7
7
  'PractitionerRole'
8
8
  ].freeze
9
9
 
10
+ PROFILES_TO_EXCLUDE = [
11
+ 'us_core_vital_signs'
12
+ ].freeze
13
+
10
14
  class << self
11
15
  def exclude_resource?(resource)
12
16
  RESOURCES_TO_EXCLUDE.include? resource
13
17
  end
18
+
19
+ def exclude_group?(group)
20
+ RESOURCES_TO_EXCLUDE.include?(group.resource) ||
21
+ PROFILES_TO_EXCLUDE.include?(group.name)
22
+ end
14
23
  end
15
24
  end
16
25
  end
@@ -5,15 +5,16 @@ module USCoreTestKit
5
5
  class Generator
6
6
  class SuiteGenerator
7
7
  class << self
8
- def generate(ig_metadata)
9
- new(ig_metadata).generate
8
+ def generate(ig_metadata, base_output_dir)
9
+ new(ig_metadata, base_output_dir).generate
10
10
  end
11
11
  end
12
12
 
13
- attr_accessor :ig_metadata
13
+ attr_accessor :ig_metadata, :base_output_dir
14
14
 
15
- def initialize(ig_metadata)
15
+ def initialize(ig_metadata, base_output_dir)
16
16
  self.ig_metadata = ig_metadata
17
+ self.base_output_dir = base_output_dir
17
18
  end
18
19
 
19
20
  def template
@@ -32,16 +33,24 @@ module USCoreTestKit
32
33
  "USCoreTestSuite"
33
34
  end
34
35
 
36
+ def module_name
37
+ "USCore#{ig_metadata.reformatted_version.upcase}"
38
+ end
39
+
35
40
  def output_file_name
36
- File.join(__dir__, '..', 'generated', base_output_file_name)
41
+ File.join(base_output_dir, base_output_file_name)
37
42
  end
38
43
 
39
44
  def suite_id
40
- 'us_core_311'
45
+ "us_core_#{ig_metadata.reformatted_version}"
41
46
  end
42
47
 
43
48
  def title
44
- 'US Core 3.1.1'
49
+ "US Core #{ig_metadata.ig_version}"
50
+ end
51
+
52
+ def validator_env_name
53
+ "#{ig_metadata.reformatted_version.upcase}_VALIDATOR_URL"
45
54
  end
46
55
 
47
56
  def generate
@@ -50,7 +59,7 @@ module USCoreTestKit
50
59
 
51
60
  def groups
52
61
  ig_metadata.ordered_groups
53
- .reject { |group| SpecialCases.exclude_resource? group.resource }
62
+ .reject { |group| SpecialCases.exclude_group? group }
54
63
  end
55
64
 
56
65
  def group_id_list
@@ -62,6 +71,22 @@ module USCoreTestKit
62
71
  @group_file_list ||=
63
72
  groups.map { |group| group.file_name.delete_suffix('.rb') }
64
73
  end
74
+
75
+ def capability_statement_file_name
76
+ "../../custom_groups/#{ig_metadata.ig_version}/capability_statement_group"
77
+ end
78
+
79
+ def capability_statement_group_id
80
+ "us_core_#{ig_metadata.reformatted_version}_capability_statement"
81
+ end
82
+
83
+ def clinical_notes_guidance_file_name
84
+ "../../custom_groups/#{ig_metadata.ig_version}/clinical_notes_guidance_group"
85
+ end
86
+
87
+ def clinical_notes_guidance_group_id
88
+ "us_core_#{ig_metadata.reformatted_version}_clinical_notes_guidance"
89
+ end
65
90
  end
66
91
  end
67
92
  end
@@ -5,26 +5,27 @@ module USCoreTestKit
5
5
  class Generator
6
6
  class ValidationTestGenerator
7
7
  class << self
8
- def generate(ig_metadata)
8
+ def generate(ig_metadata, base_output_dir)
9
9
  ig_metadata.groups
10
- .reject { |group| SpecialCases.exclude_resource? group.resource }
10
+ .reject { |group| SpecialCases.exclude_group? group }
11
11
  .each do |group|
12
- new(group).generate
12
+ new(group, base_output_dir: base_output_dir).generate
13
13
  next unless group.resource == 'MedicationRequest'
14
14
 
15
15
  # The Medication validation test lives in the MedicationRequest
16
16
  # group, so we need to pass in that group's metadata
17
17
  medication_group_metadata = ig_metadata.groups.find { |group| group.resource == 'Medication' }
18
- new(medication_group_metadata, group).generate
18
+ new(medication_group_metadata, group, base_output_dir: base_output_dir).generate
19
19
  end
20
20
  end
21
21
  end
22
22
 
23
- attr_accessor :group_metadata, :medication_request_metadata
23
+ attr_accessor :group_metadata, :medication_request_metadata, :base_output_dir
24
24
 
25
- def initialize(group_metadata, medication_request_metadata = nil)
25
+ def initialize(group_metadata, medication_request_metadata = nil, base_output_dir:)
26
26
  self.group_metadata = group_metadata
27
27
  self.medication_request_metadata = medication_request_metadata
28
+ self.base_output_dir = base_output_dir
28
29
  end
29
30
 
30
31
  def template
@@ -40,7 +41,7 @@ module USCoreTestKit
40
41
  end
41
42
 
42
43
  def output_file_directory
43
- File.join(__dir__, '..', 'generated', directory_name)
44
+ File.join(base_output_dir, directory_name)
44
45
  end
45
46
 
46
47
  def output_file_name
@@ -64,13 +65,17 @@ module USCoreTestKit
64
65
  end
65
66
 
66
67
  def test_id
67
- "us_core_311_#{profile_identifier}_validation_test"
68
+ "us_core_#{group_metadata.reformatted_version}_#{profile_identifier}_validation_test"
68
69
  end
69
70
 
70
71
  def class_name
71
72
  "#{Naming.upper_camel_case_for_profile(group_metadata)}ValidationTest"
72
73
  end
73
74
 
75
+ def module_name
76
+ "USCore#{group_metadata.reformatted_version.upcase}"
77
+ end
78
+
74
79
  def resource_type
75
80
  group_metadata.resource
76
81
  end
@@ -79,6 +84,12 @@ module USCoreTestKit
79
84
  read_interaction[:expectation]
80
85
  end
81
86
 
87
+ def skip_if_empty
88
+ # Return true if a system must demonstrate at least one example of the resource type.
89
+ # This drives omit vs. skip result statuses in this test.
90
+ resource_type != 'Medication'
91
+ end
92
+
82
93
  def generate
83
94
  FileUtils.mkdir_p(output_file_directory)
84
95
  File.open(output_file_name, 'w') { |f| f.write(output) }
@@ -116,6 +127,7 @@ module USCoreTestKit
116
127
  <<~GENERIC_INTRO
117
128
  This test verifies resources returned from the first search conform to
118
129
  the [#{profile_name}](#{profile_url}).
130
+ Systems must demonstrate at least one valid example in order to pass this test.
119
131
  GENERIC_INTRO
120
132
  end
121
133
  end
@@ -15,9 +15,27 @@ require_relative 'generator/validation_test_generator'
15
15
 
16
16
  module USCoreTestKit
17
17
  class Generator
18
- attr_accessor :ig_resources, :ig_metadata
18
+ def self.generate
19
+ base_ig_directory = File.join(Dir.pwd, 'lib', 'us_core_test_kit', 'igs')
20
+ ig_directories =
21
+ Dir.entries(base_ig_directory)
22
+ .reject { |path| path.start_with? '.' }
23
+ .map { |path| File.join(base_ig_directory, path) }
24
+ .select { |path| File.directory? path }
25
+
26
+ ig_directories.each do |ig_directory|
27
+ new(ig_directory).generate
28
+ end
29
+ end
30
+
31
+ attr_accessor :ig_resources, :ig_metadata, :ig_directory
32
+
33
+ def initialize(ig_directory)
34
+ self.ig_directory = ig_directory
35
+ end
19
36
 
20
37
  def generate
38
+ puts "Generating tests for IG in #{ig_directory}"
21
39
  load_ig_package
22
40
  extract_metadata
23
41
  generate_resource_list
@@ -37,50 +55,56 @@ module USCoreTestKit
37
55
 
38
56
  def extract_metadata
39
57
  self.ig_metadata = IGMetadataExtractor.new(ig_resources).extract
40
- File.open(File.join(__dir__, 'generated', 'metadata.yml'), 'w') do |file|
58
+
59
+ FileUtils.mkdir_p(base_output_dir)
60
+ File.open(File.join(base_output_dir, 'metadata.yml'), 'w') do |file|
41
61
  file.write(YAML.dump(ig_metadata.to_hash))
42
62
  end
43
63
  end
44
64
 
65
+ def base_output_dir
66
+ File.join(__dir__, 'generated', ig_metadata.ig_version)
67
+ end
68
+
45
69
  def load_ig_package
46
70
  FHIR.logger = Logger.new('/dev/null')
47
- self.ig_resources = IGLoader.new.load
71
+ self.ig_resources = IGLoader.new(ig_directory).load
48
72
  end
49
73
 
50
74
  def generate_resource_list
51
- ResourceListGenerator.generate(ig_metadata)
75
+ ResourceListGenerator.generate(ig_metadata, base_output_dir)
52
76
  end
53
77
 
54
78
  def generate_reference_resolution_tests
55
- ReferenceResolutionTestGenerator.generate(ig_metadata)
79
+ ReferenceResolutionTestGenerator.generate(ig_metadata, base_output_dir)
56
80
  end
57
81
 
58
82
  def generate_must_support_tests
59
- MustSupportTestGenerator.generate(ig_metadata)
83
+ MustSupportTestGenerator.generate(ig_metadata, base_output_dir)
60
84
  end
61
85
 
62
86
  def generate_validation_tests
63
- ValidationTestGenerator.generate(ig_metadata)
87
+ ValidationTestGenerator.generate(ig_metadata, base_output_dir)
64
88
  end
65
89
 
66
90
  def generate_read_tests
67
- ReadTestGenerator.generate(ig_metadata)
91
+ ReadTestGenerator.generate(ig_metadata, base_output_dir)
68
92
  end
69
93
 
70
94
  def generate_search_tests
71
- SearchTestGenerator.generate(ig_metadata)
95
+ SearchTestGenerator.generate(ig_metadata, base_output_dir)
72
96
  end
73
97
 
74
98
  def generate_provenance_revinclude_search_tests
75
- ProvenanceRevincludeSearchTestGenerator.generate(ig_metadata)
99
+ ProvenanceRevincludeSearchTestGenerator.generate(ig_metadata, base_output_dir)
76
100
  end
77
101
 
78
102
  def generate_groups
79
- GroupGenerator.generate(ig_metadata)
103
+ GroupGenerator.generate(ig_metadata, base_output_dir)
80
104
  end
81
105
 
82
106
  def generate_suites
83
- SuiteGenerator.generate(ig_metadata)
107
+ SuiteGenerator.generate(ig_metadata, base_output_dir)
84
108
  end
85
109
  end
86
110
  end
@@ -14,7 +14,7 @@ module USCoreTestKit
14
14
  def perform_must_support_test(resources)
15
15
  skip_if resources.blank?, "No #{resource_type} resources were found"
16
16
 
17
- if (missing_elements(resources) + missing_slices(resources)).length.zero?
17
+ if (missing_elements(resources) + missing_slices(resources) + missing_extensions(resources)).length.zero?
18
18
  pass
19
19
  end
20
20
 
@@ -64,12 +64,24 @@ module USCoreTestKit
64
64
 
65
65
  (value_without_extensions.present? || value_without_extensions == false) &&
66
66
  (element_definition[:fixed_value].blank? || value == element_definition[:fixed_value])
67
+
67
68
  end
68
69
 
69
70
  # Note that false.present? => false, which is why we need to add this extra check
70
71
  value_found.present? || value_found == false
71
72
  end
72
73
  end
74
+
75
+ if metadata.must_supports[:choices].present?
76
+ @missing_elements.delete_if do |element|
77
+ choice_paths = metadata.must_supports[:choices].find { |choice| choice[:paths].include?(element[:path]) }
78
+
79
+ choice_paths.present? &&
80
+ choice_paths[:paths].any? { |path| @missing_elements.none? { |element| element[:path] == path } }
81
+ end
82
+ end
83
+
84
+ @missing_elements
73
85
  end
74
86
 
75
87
  def must_support_slices
@@ -94,6 +106,11 @@ module USCoreTestKit
94
106
  find_a_value_at(element, coding_path) do |coding|
95
107
  coding.code == discriminator[:code] && coding.system == discriminator[:system]
96
108
  end
109
+ when 'patternCoding'
110
+ coding_path = discriminator[:path].present? ? discriminator[:path] : ''
111
+ find_a_value_at(element, coding_path) do |coding|
112
+ coding.code == discriminator[:code] && coding.system == discriminator[:system]
113
+ end
97
114
  when 'patternIdentifier'
98
115
  find_a_value_at(element, discriminator[:path]) { |identifier| identifier.system == discriminator[:system] }
99
116
  when 'value'
@@ -52,7 +52,7 @@ module USCoreTestKit
52
52
  end
53
53
 
54
54
  def bad_resource_id_message(expected_id)
55
- "Expected resource to have id: `#{id}`, but found `#{resource.id}`"
55
+ "Expected resource to have id: `#{expected_id.inspect}`, but found `#{resource.id.inspect}`"
56
56
  end
57
57
 
58
58
  def resource_class