us_core_test_kit 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1060) 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 +109 -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 +36 -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 +87 -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 +36 -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 +95 -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 +36 -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 +95 -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 +36 -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 +95 -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 +36 -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 +95 -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 +36 -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 +91 -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 +38 -0
  88. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +36 -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 +85 -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 +36 -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 +93 -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 +36 -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 +87 -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 +38 -0
  122. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +36 -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 +98 -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 +38 -0
  135. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +36 -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 +98 -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 +38 -0
  149. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +36 -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 +101 -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 +38 -0
  163. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +36 -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 +99 -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 +36 -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 +89 -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 +36 -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 +95 -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 +36 -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 +95 -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 +36 -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 +89 -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 +38 -0
  218. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +36 -0
  219. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +36 -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 +94 -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 +36 -0
  234. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab_group.rb +95 -0
  235. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +150 -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_reference_resolution_test.rb +38 -0
  241. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +36 -0
  242. data/lib/us_core_test_kit/generated/v3.1.1/organization_group.rb +86 -0
  243. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +332 -0
  244. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_family_search_test.rb +43 -0
  245. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_name_search_test.rb +41 -0
  246. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_family_gender_search_test.rb +43 -0
  247. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_gender_name_search_test.rb +41 -0
  248. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_id_search_test.rb +55 -0
  249. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_identifier_search_test.rb +42 -0
  250. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb +59 -0
  251. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_name_search_test.rb +41 -0
  252. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_provenance_revinclude_search_test.rb +51 -0
  253. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_read_test.rb +26 -0
  254. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_reference_resolution_test.rb +38 -0
  255. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +36 -0
  256. data/lib/us_core_test_kit/generated/v3.1.1/patient_group.rb +101 -0
  257. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +334 -0
  258. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  259. 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
  260. 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
  261. 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
  262. 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
  263. 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
  264. 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
  265. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  266. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  267. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +36 -0
  268. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age_group.rb +95 -0
  269. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +334 -0
  270. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  271. 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
  272. 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
  273. 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
  274. 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
  275. 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
  276. 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
  277. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  278. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  279. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +36 -0
  280. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height_group.rb +95 -0
  281. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +140 -0
  282. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_identifier_search_test.rb +42 -0
  283. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_must_support_test.rb +42 -0
  284. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_name_search_test.rb +51 -0
  285. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_read_test.rb +26 -0
  286. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_reference_resolution_test.rb +38 -0
  287. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +36 -0
  288. data/lib/us_core_test_kit/generated/v3.1.1/practitioner_group.rb +86 -0
  289. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1275 -0
  290. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_must_support_test.rb +40 -0
  291. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_code_date_search_test.rb +50 -0
  292. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_date_search_test.rb +47 -0
  293. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_search_test.rb +62 -0
  294. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_status_search_test.rb +48 -0
  295. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  296. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_read_test.rb +26 -0
  297. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_reference_resolution_test.rb +38 -0
  298. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +36 -0
  299. data/lib/us_core_test_kit/generated/v3.1.1/procedure_group.rb +92 -0
  300. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +188 -0
  301. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_must_support_test.rb +45 -0
  302. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_read_test.rb +26 -0
  303. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_reference_resolution_test.rb +38 -0
  304. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +36 -0
  305. data/lib/us_core_test_kit/generated/v3.1.1/provenance_group.rb +58 -0
  306. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +412 -0
  307. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +65 -0
  308. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  309. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  310. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  311. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  312. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  313. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  314. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  315. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  316. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +36 -0
  317. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry_group.rb +95 -0
  318. data/lib/us_core_test_kit/generated/v3.1.1/resource_list.rb +28 -0
  319. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +336 -0
  320. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_must_support_test.rb +51 -0
  321. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_date_search_test.rb +48 -0
  322. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_search_test.rb +47 -0
  323. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_status_search_test.rb +49 -0
  324. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_date_search_test.rb +50 -0
  325. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_search_test.rb +64 -0
  326. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_provenance_revinclude_search_test.rb +53 -0
  327. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_read_test.rb +26 -0
  328. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_reference_resolution_test.rb +38 -0
  329. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +36 -0
  330. data/lib/us_core_test_kit/generated/v3.1.1/resprate_group.rb +95 -0
  331. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +303 -0
  332. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_must_support_test.rb +41 -0
  333. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
  334. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_search_test.rb +49 -0
  335. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  336. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  337. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  338. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  339. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_read_test.rb +26 -0
  340. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  341. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +36 -0
  342. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus_group.rb +95 -0
  343. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +112 -0
  344. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  345. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  346. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  347. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  348. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  349. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
  350. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +36 -0
  351. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +171 -0
  352. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance_group.rb +87 -0
  353. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  354. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  355. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  356. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  357. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  358. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  359. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  360. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_read_test.rb +26 -0
  361. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +38 -0
  362. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +36 -0
  363. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +384 -0
  364. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +95 -0
  365. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_must_support_test.rb +51 -0
  366. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
  367. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_search_test.rb +47 -0
  368. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
  369. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
  370. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_search_test.rb +64 -0
  371. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  372. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_read_test.rb +26 -0
  373. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_reference_resolution_test.rb +38 -0
  374. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_validation_test.rb +36 -0
  375. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +335 -0
  376. data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +95 -0
  377. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_must_support_test.rb +51 -0
  378. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
  379. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_search_test.rb +47 -0
  380. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
  381. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
  382. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_search_test.rb +64 -0
  383. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  384. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_read_test.rb +26 -0
  385. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_reference_resolution_test.rb +38 -0
  386. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_validation_test.rb +36 -0
  387. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +338 -0
  388. data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +95 -0
  389. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_must_support_test.rb +51 -0
  390. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  391. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  392. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  393. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  394. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  395. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  396. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_read_test.rb +26 -0
  397. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_reference_resolution_test.rb +38 -0
  398. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_validation_test.rb +36 -0
  399. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +338 -0
  400. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +95 -0
  401. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_must_support_test.rb +51 -0
  402. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  403. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
  404. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  405. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  406. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
  407. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  408. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_read_test.rb +26 -0
  409. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_reference_resolution_test.rb +38 -0
  410. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_validation_test.rb +36 -0
  411. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +338 -0
  412. data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +95 -0
  413. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_must_support_test.rb +44 -0
  414. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  415. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
  416. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  417. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  418. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  419. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_read_test.rb +26 -0
  420. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_reference_resolution_test.rb +38 -0
  421. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_validation_test.rb +36 -0
  422. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +306 -0
  423. data/lib/us_core_test_kit/generated/v4.0.0/care_plan_group.rb +91 -0
  424. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_must_support_test.rb +41 -0
  425. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_patient_status_search_test.rb +63 -0
  426. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  427. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_read_test.rb +26 -0
  428. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_reference_resolution_test.rb +38 -0
  429. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +36 -0
  430. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +154 -0
  431. data/lib/us_core_test_kit/generated/v4.0.0/care_team_group.rb +85 -0
  432. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_must_support_test.rb +41 -0
  433. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_category_search_test.rb +49 -0
  434. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_clinical_status_search_test.rb +48 -0
  435. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_code_search_test.rb +49 -0
  436. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_onset_date_search_test.rb +49 -0
  437. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_search_test.rb +62 -0
  438. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_provenance_revinclude_search_test.rb +51 -0
  439. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_read_test.rb +26 -0
  440. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_reference_resolution_test.rb +38 -0
  441. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +36 -0
  442. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +246 -0
  443. data/lib/us_core_test_kit/generated/v4.0.0/condition_group.rb +93 -0
  444. data/lib/us_core_test_kit/generated/v4.0.0/device/device_must_support_test.rb +46 -0
  445. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_search_test.rb +67 -0
  446. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_type_search_test.rb +54 -0
  447. data/lib/us_core_test_kit/generated/v4.0.0/device/device_provenance_revinclude_search_test.rb +51 -0
  448. data/lib/us_core_test_kit/generated/v4.0.0/device/device_read_test.rb +26 -0
  449. data/lib/us_core_test_kit/generated/v4.0.0/device/device_reference_resolution_test.rb +38 -0
  450. data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +36 -0
  451. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1154 -0
  452. data/lib/us_core_test_kit/generated/v4.0.0/device_group.rb +89 -0
  453. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  454. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  455. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  456. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  457. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  458. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  459. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  460. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  461. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  462. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +38 -0
  463. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +36 -0
  464. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1274 -0
  465. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab_group.rb +98 -0
  466. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +45 -0
  467. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  468. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  469. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  470. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  471. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  472. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  473. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  474. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  475. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +38 -0
  476. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +36 -0
  477. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1269 -0
  478. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note_group.rb +98 -0
  479. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_id_search_test.rb +42 -0
  480. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_must_support_test.rb +52 -0
  481. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  482. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
  483. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_search_test.rb +63 -0
  484. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
  485. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  486. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
  487. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  488. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_read_test.rb +26 -0
  489. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_reference_resolution_test.rb +38 -0
  490. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +36 -0
  491. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +384 -0
  492. data/lib/us_core_test_kit/generated/v4.0.0/document_reference_group.rb +103 -0
  493. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_class_patient_search_test.rb +49 -0
  494. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_date_patient_search_test.rb +47 -0
  495. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_id_search_test.rb +42 -0
  496. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_identifier_search_test.rb +45 -0
  497. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_must_support_test.rb +55 -0
  498. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_search_test.rb +63 -0
  499. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_status_search_test.rb +47 -0
  500. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_type_search_test.rb +49 -0
  501. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  502. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_read_test.rb +26 -0
  503. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_reference_resolution_test.rb +38 -0
  504. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +36 -0
  505. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +407 -0
  506. data/lib/us_core_test_kit/generated/v4.0.0/encounter_group.rb +99 -0
  507. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_must_support_test.rb +41 -0
  508. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  509. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_search_test.rb +62 -0
  510. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_target_date_search_test.rb +49 -0
  511. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
  512. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_read_test.rb +26 -0
  513. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_reference_resolution_test.rb +38 -0
  514. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +36 -0
  515. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +200 -0
  516. data/lib/us_core_test_kit/generated/v4.0.0/goal_group.rb +89 -0
  517. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_must_support_test.rb +51 -0
  518. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  519. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  520. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  521. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  522. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  523. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  524. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_read_test.rb +26 -0
  525. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
  526. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +36 -0
  527. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +338 -0
  528. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +95 -0
  529. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  530. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  531. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  532. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  533. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  534. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  535. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  536. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  537. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +38 -0
  538. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +36 -0
  539. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +335 -0
  540. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +95 -0
  541. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_must_support_test.rb +51 -0
  542. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  543. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  544. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  545. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  546. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  547. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  548. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_read_test.rb +26 -0
  549. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_reference_resolution_test.rb +38 -0
  550. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_validation_test.rb +36 -0
  551. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +335 -0
  552. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +95 -0
  553. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_must_support_test.rb +42 -0
  554. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_date_search_test.rb +49 -0
  555. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_search_test.rb +62 -0
  556. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_status_search_test.rb +47 -0
  557. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  558. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_read_test.rb +26 -0
  559. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_reference_resolution_test.rb +38 -0
  560. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_validation_test.rb +36 -0
  561. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +219 -0
  562. data/lib/us_core_test_kit/generated/v4.0.0/immunization_group.rb +89 -0
  563. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_must_support_test.rb +48 -0
  564. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  565. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  566. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  567. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  568. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  569. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_read_test.rb +26 -0
  570. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_reference_resolution_test.rb +38 -0
  571. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +36 -0
  572. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +36 -0
  573. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +345 -0
  574. data/lib/us_core_test_kit/generated/v4.0.0/medication_request_group.rb +94 -0
  575. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +14102 -0
  576. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1304 -0
  577. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_must_support_test.rb +45 -0
  578. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  579. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
  580. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  581. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  582. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  583. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  584. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_read_test.rb +26 -0
  585. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
  586. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +36 -0
  587. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +95 -0
  588. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +162 -0
  589. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_address_search_test.rb +41 -0
  590. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_must_support_test.rb +51 -0
  591. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_name_search_test.rb +51 -0
  592. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_read_test.rb +26 -0
  593. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_reference_resolution_test.rb +38 -0
  594. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +36 -0
  595. data/lib/us_core_test_kit/generated/v4.0.0/organization_group.rb +86 -0
  596. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +334 -0
  597. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_family_search_test.rb +43 -0
  598. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_name_search_test.rb +41 -0
  599. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_family_gender_search_test.rb +43 -0
  600. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_gender_name_search_test.rb +41 -0
  601. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_id_search_test.rb +55 -0
  602. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_identifier_search_test.rb +42 -0
  603. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +60 -0
  604. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_name_search_test.rb +41 -0
  605. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
  606. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_read_test.rb +26 -0
  607. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_reference_resolution_test.rb +38 -0
  608. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +36 -0
  609. data/lib/us_core_test_kit/generated/v4.0.0/patient_group.rb +101 -0
  610. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +335 -0
  611. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  612. 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
  613. 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
  614. 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
  615. 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
  616. 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
  617. 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
  618. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  619. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  620. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +36 -0
  621. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +95 -0
  622. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +335 -0
  623. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  624. 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
  625. 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
  626. 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
  627. 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
  628. 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
  629. 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
  630. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  631. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  632. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +36 -0
  633. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +95 -0
  634. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +140 -0
  635. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_identifier_search_test.rb +42 -0
  636. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_must_support_test.rb +42 -0
  637. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_name_search_test.rb +51 -0
  638. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_read_test.rb +26 -0
  639. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_reference_resolution_test.rb +38 -0
  640. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +36 -0
  641. data/lib/us_core_test_kit/generated/v4.0.0/practitioner_group.rb +86 -0
  642. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1276 -0
  643. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_must_support_test.rb +40 -0
  644. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
  645. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_date_search_test.rb +47 -0
  646. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_search_test.rb +62 -0
  647. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_status_search_test.rb +48 -0
  648. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  649. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_read_test.rb +26 -0
  650. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_reference_resolution_test.rb +38 -0
  651. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +36 -0
  652. data/lib/us_core_test_kit/generated/v4.0.0/procedure_group.rb +92 -0
  653. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +201 -0
  654. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_must_support_test.rb +46 -0
  655. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_read_test.rb +26 -0
  656. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_reference_resolution_test.rb +38 -0
  657. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +36 -0
  658. data/lib/us_core_test_kit/generated/v4.0.0/provenance_group.rb +58 -0
  659. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +404 -0
  660. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +59 -0
  661. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  662. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  663. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  664. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  665. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  666. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  667. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  668. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  669. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +36 -0
  670. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +95 -0
  671. data/lib/us_core_test_kit/generated/v4.0.0/resource_list.rb +28 -0
  672. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +335 -0
  673. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  674. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  675. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  676. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  677. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  678. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  679. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  680. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  681. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +38 -0
  682. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +36 -0
  683. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +95 -0
  684. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +309 -0
  685. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  686. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
  687. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  688. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  689. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  690. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  691. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  692. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_read_test.rb +26 -0
  693. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  694. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +36 -0
  695. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +95 -0
  696. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +116 -0
  697. data/lib/us_core_test_kit/generator/group_generator.rb +36 -10
  698. data/lib/us_core_test_kit/generator/group_metadata.rb +1 -1
  699. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +10 -18
  700. data/lib/us_core_test_kit/generator/ig_loader.rb +8 -2
  701. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +12 -10
  702. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +224 -32
  703. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +13 -7
  704. data/lib/us_core_test_kit/generator/naming.rb +3 -1
  705. data/lib/us_core_test_kit/generator/provenance_revinclude_search_test_generator.rb +12 -7
  706. data/lib/us_core_test_kit/generator/read_test_generator.rb +12 -7
  707. data/lib/us_core_test_kit/generator/reference_resolution_test_generator.rb +21 -7
  708. data/lib/us_core_test_kit/generator/resource_list_generator.rb +9 -13
  709. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +39 -19
  710. data/lib/us_core_test_kit/generator/search_test_generator.rb +24 -10
  711. data/lib/us_core_test_kit/generator/special_cases.rb +9 -0
  712. data/lib/us_core_test_kit/generator/suite_generator.rb +33 -8
  713. data/lib/us_core_test_kit/generator/validation_test_generator.rb +13 -8
  714. data/lib/us_core_test_kit/generator.rb +36 -12
  715. data/lib/us_core_test_kit/igs/{StructureDefinition-bodyheight.json → v311/StructureDefinition-bodyheight.json} +0 -0
  716. data/lib/us_core_test_kit/igs/{StructureDefinition-bodytemp.json → v311/StructureDefinition-bodytemp.json} +0 -0
  717. data/lib/us_core_test_kit/igs/{StructureDefinition-bodyweight.json → v311/StructureDefinition-bodyweight.json} +0 -0
  718. data/lib/us_core_test_kit/igs/{StructureDefinition-bp.json → v311/StructureDefinition-bp.json} +0 -0
  719. data/lib/us_core_test_kit/igs/{StructureDefinition-heartrate.json → v311/StructureDefinition-heartrate.json} +0 -0
  720. data/lib/us_core_test_kit/igs/{StructureDefinition-resprate.json → v311/StructureDefinition-resprate.json} +0 -0
  721. data/lib/us_core_test_kit/igs/{package.tgz → v311/package.tgz} +0 -0
  722. data/lib/us_core_test_kit/igs/v400/package.tgz +0 -0
  723. data/lib/us_core_test_kit/must_support_test.rb +18 -1
  724. data/lib/us_core_test_kit/read_test.rb +1 -1
  725. data/lib/us_core_test_kit/reference_resolution_test.rb +91 -71
  726. data/lib/us_core_test_kit/search_test.rb +143 -124
  727. data/lib/us_core_test_kit/version.rb +1 -1
  728. data/lib/us_core_test_kit.rb +2 -1
  729. metadata +701 -340
  730. data/lib/us_core_test_kit/custom_groups/capability_statement_group.rb +0 -64
  731. data/lib/us_core_test_kit/custom_groups/clinical_notes_guidance_group.rb +0 -208
  732. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_must_support_test.rb +0 -40
  733. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +0 -46
  734. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_patient_search_test.rb +0 -60
  735. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +0 -49
  736. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_read_test.rb +0 -24
  737. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +0 -28
  738. data/lib/us_core_test_kit/generated/allergy_intolerance/allergy_intolerance_validation_test.rb +0 -34
  739. data/lib/us_core_test_kit/generated/allergy_intolerance/metadata.yml +0 -165
  740. data/lib/us_core_test_kit/generated/allergy_intolerance_group.rb +0 -85
  741. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_must_support_test.rb +0 -49
  742. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_date_search_test.rb +0 -46
  743. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_search_test.rb +0 -45
  744. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_category_status_search_test.rb +0 -47
  745. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_code_date_search_test.rb +0 -48
  746. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_patient_code_search_test.rb +0 -62
  747. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_provenance_revinclude_search_test.rb +0 -51
  748. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_read_test.rb +0 -24
  749. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_reference_resolution_test.rb +0 -28
  750. data/lib/us_core_test_kit/generated/bodyheight/bodyheight_validation_test.rb +0 -34
  751. data/lib/us_core_test_kit/generated/bodyheight/metadata.yml +0 -328
  752. data/lib/us_core_test_kit/generated/bodyheight_group.rb +0 -93
  753. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_must_support_test.rb +0 -49
  754. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_date_search_test.rb +0 -46
  755. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_search_test.rb +0 -45
  756. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_category_status_search_test.rb +0 -47
  757. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_code_date_search_test.rb +0 -48
  758. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_patient_code_search_test.rb +0 -62
  759. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_provenance_revinclude_search_test.rb +0 -51
  760. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_read_test.rb +0 -24
  761. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_reference_resolution_test.rb +0 -28
  762. data/lib/us_core_test_kit/generated/bodytemp/bodytemp_validation_test.rb +0 -34
  763. data/lib/us_core_test_kit/generated/bodytemp/metadata.yml +0 -328
  764. data/lib/us_core_test_kit/generated/bodytemp_group.rb +0 -93
  765. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_must_support_test.rb +0 -49
  766. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_date_search_test.rb +0 -46
  767. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_search_test.rb +0 -45
  768. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_category_status_search_test.rb +0 -47
  769. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_code_date_search_test.rb +0 -48
  770. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_patient_code_search_test.rb +0 -62
  771. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_provenance_revinclude_search_test.rb +0 -51
  772. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_read_test.rb +0 -24
  773. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_reference_resolution_test.rb +0 -28
  774. data/lib/us_core_test_kit/generated/bodyweight/bodyweight_validation_test.rb +0 -34
  775. data/lib/us_core_test_kit/generated/bodyweight/metadata.yml +0 -328
  776. data/lib/us_core_test_kit/generated/bodyweight_group.rb +0 -93
  777. data/lib/us_core_test_kit/generated/bp/bp_must_support_test.rb +0 -52
  778. data/lib/us_core_test_kit/generated/bp/bp_patient_category_date_search_test.rb +0 -46
  779. data/lib/us_core_test_kit/generated/bp/bp_patient_category_search_test.rb +0 -45
  780. data/lib/us_core_test_kit/generated/bp/bp_patient_category_status_search_test.rb +0 -47
  781. data/lib/us_core_test_kit/generated/bp/bp_patient_code_date_search_test.rb +0 -48
  782. data/lib/us_core_test_kit/generated/bp/bp_patient_code_search_test.rb +0 -62
  783. data/lib/us_core_test_kit/generated/bp/bp_provenance_revinclude_search_test.rb +0 -51
  784. data/lib/us_core_test_kit/generated/bp/bp_read_test.rb +0 -24
  785. data/lib/us_core_test_kit/generated/bp/bp_reference_resolution_test.rb +0 -28
  786. data/lib/us_core_test_kit/generated/bp/bp_validation_test.rb +0 -34
  787. data/lib/us_core_test_kit/generated/bp/metadata.yml +0 -379
  788. data/lib/us_core_test_kit/generated/bp_group.rb +0 -93
  789. data/lib/us_core_test_kit/generated/care_plan/care_plan_must_support_test.rb +0 -41
  790. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_date_search_test.rb +0 -48
  791. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_search_test.rb +0 -62
  792. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_status_date_search_test.rb +0 -48
  793. data/lib/us_core_test_kit/generated/care_plan/care_plan_patient_category_status_search_test.rb +0 -47
  794. data/lib/us_core_test_kit/generated/care_plan/care_plan_provenance_revinclude_search_test.rb +0 -51
  795. data/lib/us_core_test_kit/generated/care_plan/care_plan_read_test.rb +0 -24
  796. data/lib/us_core_test_kit/generated/care_plan/care_plan_reference_resolution_test.rb +0 -28
  797. data/lib/us_core_test_kit/generated/care_plan/care_plan_validation_test.rb +0 -34
  798. data/lib/us_core_test_kit/generated/care_plan/metadata.yml +0 -296
  799. data/lib/us_core_test_kit/generated/care_plan_group.rb +0 -89
  800. data/lib/us_core_test_kit/generated/care_team/care_team_must_support_test.rb +0 -39
  801. data/lib/us_core_test_kit/generated/care_team/care_team_patient_status_search_test.rb +0 -62
  802. data/lib/us_core_test_kit/generated/care_team/care_team_provenance_revinclude_search_test.rb +0 -50
  803. data/lib/us_core_test_kit/generated/care_team/care_team_read_test.rb +0 -24
  804. data/lib/us_core_test_kit/generated/care_team/care_team_reference_resolution_test.rb +0 -28
  805. data/lib/us_core_test_kit/generated/care_team/care_team_validation_test.rb +0 -34
  806. data/lib/us_core_test_kit/generated/care_team/metadata.yml +0 -140
  807. data/lib/us_core_test_kit/generated/care_team_group.rb +0 -83
  808. data/lib/us_core_test_kit/generated/condition/condition_must_support_test.rb +0 -39
  809. data/lib/us_core_test_kit/generated/condition/condition_patient_category_search_test.rb +0 -47
  810. data/lib/us_core_test_kit/generated/condition/condition_patient_clinical_status_search_test.rb +0 -46
  811. data/lib/us_core_test_kit/generated/condition/condition_patient_code_search_test.rb +0 -47
  812. data/lib/us_core_test_kit/generated/condition/condition_patient_onset_date_search_test.rb +0 -47
  813. data/lib/us_core_test_kit/generated/condition/condition_patient_search_test.rb +0 -60
  814. data/lib/us_core_test_kit/generated/condition/condition_provenance_revinclude_search_test.rb +0 -49
  815. data/lib/us_core_test_kit/generated/condition/condition_read_test.rb +0 -24
  816. data/lib/us_core_test_kit/generated/condition/condition_reference_resolution_test.rb +0 -28
  817. data/lib/us_core_test_kit/generated/condition/condition_validation_test.rb +0 -34
  818. data/lib/us_core_test_kit/generated/condition/metadata.yml +0 -231
  819. data/lib/us_core_test_kit/generated/condition_group.rb +0 -91
  820. data/lib/us_core_test_kit/generated/device/device_must_support_test.rb +0 -43
  821. data/lib/us_core_test_kit/generated/device/device_patient_search_test.rb +0 -65
  822. data/lib/us_core_test_kit/generated/device/device_patient_type_search_test.rb +0 -52
  823. data/lib/us_core_test_kit/generated/device/device_provenance_revinclude_search_test.rb +0 -49
  824. data/lib/us_core_test_kit/generated/device/device_read_test.rb +0 -24
  825. data/lib/us_core_test_kit/generated/device/device_reference_resolution_test.rb +0 -28
  826. data/lib/us_core_test_kit/generated/device/device_validation_test.rb +0 -34
  827. data/lib/us_core_test_kit/generated/device/metadata.yml +0 -1145
  828. data/lib/us_core_test_kit/generated/device_group.rb +0 -85
  829. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +0 -43
  830. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +0 -46
  831. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +0 -63
  832. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +0 -48
  833. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +0 -45
  834. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +0 -44
  835. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +0 -46
  836. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +0 -51
  837. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +0 -24
  838. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +0 -28
  839. data/lib/us_core_test_kit/generated/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +0 -34
  840. data/lib/us_core_test_kit/generated/diagnostic_report_lab/metadata.yml +0 -1253
  841. data/lib/us_core_test_kit/generated/diagnostic_report_lab_group.rb +0 -96
  842. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +0 -43
  843. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +0 -46
  844. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +0 -63
  845. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +0 -48
  846. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +0 -45
  847. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +0 -44
  848. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +0 -46
  849. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +0 -51
  850. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_read_test.rb +0 -24
  851. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +0 -28
  852. data/lib/us_core_test_kit/generated/diagnostic_report_note/diagnostic_report_note_validation_test.rb +0 -34
  853. data/lib/us_core_test_kit/generated/diagnostic_report_note/metadata.yml +0 -1246
  854. data/lib/us_core_test_kit/generated/diagnostic_report_note_group.rb +0 -96
  855. data/lib/us_core_test_kit/generated/document_reference/document_reference_id_search_test.rb +0 -40
  856. data/lib/us_core_test_kit/generated/document_reference/document_reference_must_support_test.rb +0 -49
  857. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_category_date_search_test.rb +0 -46
  858. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_category_search_test.rb +0 -45
  859. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_search_test.rb +0 -61
  860. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_status_search_test.rb +0 -46
  861. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_type_period_search_test.rb +0 -48
  862. data/lib/us_core_test_kit/generated/document_reference/document_reference_patient_type_search_test.rb +0 -45
  863. data/lib/us_core_test_kit/generated/document_reference/document_reference_provenance_revinclude_search_test.rb +0 -50
  864. data/lib/us_core_test_kit/generated/document_reference/document_reference_read_test.rb +0 -24
  865. data/lib/us_core_test_kit/generated/document_reference/document_reference_reference_resolution_test.rb +0 -28
  866. data/lib/us_core_test_kit/generated/document_reference/document_reference_validation_test.rb +0 -34
  867. data/lib/us_core_test_kit/generated/document_reference/metadata.yml +0 -354
  868. data/lib/us_core_test_kit/generated/document_reference_group.rb +0 -99
  869. data/lib/us_core_test_kit/generated/encounter/encounter_class_patient_search_test.rb +0 -47
  870. data/lib/us_core_test_kit/generated/encounter/encounter_date_patient_search_test.rb +0 -45
  871. data/lib/us_core_test_kit/generated/encounter/encounter_id_search_test.rb +0 -40
  872. data/lib/us_core_test_kit/generated/encounter/encounter_identifier_search_test.rb +0 -43
  873. data/lib/us_core_test_kit/generated/encounter/encounter_must_support_test.rb +0 -51
  874. data/lib/us_core_test_kit/generated/encounter/encounter_patient_search_test.rb +0 -61
  875. data/lib/us_core_test_kit/generated/encounter/encounter_patient_status_search_test.rb +0 -45
  876. data/lib/us_core_test_kit/generated/encounter/encounter_patient_type_search_test.rb +0 -47
  877. data/lib/us_core_test_kit/generated/encounter/encounter_provenance_revinclude_search_test.rb +0 -50
  878. data/lib/us_core_test_kit/generated/encounter/encounter_read_test.rb +0 -24
  879. data/lib/us_core_test_kit/generated/encounter/encounter_reference_resolution_test.rb +0 -28
  880. data/lib/us_core_test_kit/generated/encounter/encounter_validation_test.rb +0 -34
  881. data/lib/us_core_test_kit/generated/encounter/metadata.yml +0 -364
  882. data/lib/us_core_test_kit/generated/encounter_group.rb +0 -97
  883. data/lib/us_core_test_kit/generated/goal/goal_must_support_test.rb +0 -39
  884. data/lib/us_core_test_kit/generated/goal/goal_patient_lifecycle_status_search_test.rb +0 -45
  885. data/lib/us_core_test_kit/generated/goal/goal_patient_search_test.rb +0 -60
  886. data/lib/us_core_test_kit/generated/goal/goal_patient_target_date_search_test.rb +0 -47
  887. data/lib/us_core_test_kit/generated/goal/goal_provenance_revinclude_search_test.rb +0 -49
  888. data/lib/us_core_test_kit/generated/goal/goal_read_test.rb +0 -24
  889. data/lib/us_core_test_kit/generated/goal/goal_reference_resolution_test.rb +0 -28
  890. data/lib/us_core_test_kit/generated/goal/goal_validation_test.rb +0 -34
  891. data/lib/us_core_test_kit/generated/goal/metadata.yml +0 -195
  892. data/lib/us_core_test_kit/generated/goal_group.rb +0 -87
  893. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_must_support_test.rb +0 -49
  894. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_date_search_test.rb +0 -46
  895. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_search_test.rb +0 -45
  896. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_category_status_search_test.rb +0 -47
  897. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_code_date_search_test.rb +0 -48
  898. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_patient_code_search_test.rb +0 -62
  899. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_provenance_revinclude_search_test.rb +0 -51
  900. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_read_test.rb +0 -24
  901. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_reference_resolution_test.rb +0 -28
  902. data/lib/us_core_test_kit/generated/head_circumference/head_circumference_validation_test.rb +0 -34
  903. data/lib/us_core_test_kit/generated/head_circumference/metadata.yml +0 -323
  904. data/lib/us_core_test_kit/generated/head_circumference_group.rb +0 -93
  905. data/lib/us_core_test_kit/generated/heartrate/heartrate_must_support_test.rb +0 -49
  906. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_date_search_test.rb +0 -46
  907. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_search_test.rb +0 -45
  908. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_category_status_search_test.rb +0 -47
  909. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_code_date_search_test.rb +0 -48
  910. data/lib/us_core_test_kit/generated/heartrate/heartrate_patient_code_search_test.rb +0 -62
  911. data/lib/us_core_test_kit/generated/heartrate/heartrate_provenance_revinclude_search_test.rb +0 -51
  912. data/lib/us_core_test_kit/generated/heartrate/heartrate_read_test.rb +0 -24
  913. data/lib/us_core_test_kit/generated/heartrate/heartrate_reference_resolution_test.rb +0 -28
  914. data/lib/us_core_test_kit/generated/heartrate/heartrate_validation_test.rb +0 -34
  915. data/lib/us_core_test_kit/generated/heartrate/metadata.yml +0 -325
  916. data/lib/us_core_test_kit/generated/heartrate_group.rb +0 -93
  917. data/lib/us_core_test_kit/generated/immunization/immunization_must_support_test.rb +0 -40
  918. data/lib/us_core_test_kit/generated/immunization/immunization_patient_date_search_test.rb +0 -47
  919. data/lib/us_core_test_kit/generated/immunization/immunization_patient_search_test.rb +0 -60
  920. data/lib/us_core_test_kit/generated/immunization/immunization_patient_status_search_test.rb +0 -45
  921. data/lib/us_core_test_kit/generated/immunization/immunization_provenance_revinclude_search_test.rb +0 -50
  922. data/lib/us_core_test_kit/generated/immunization/immunization_read_test.rb +0 -24
  923. data/lib/us_core_test_kit/generated/immunization/immunization_reference_resolution_test.rb +0 -28
  924. data/lib/us_core_test_kit/generated/immunization/immunization_validation_test.rb +0 -34
  925. data/lib/us_core_test_kit/generated/immunization/metadata.yml +0 -210
  926. data/lib/us_core_test_kit/generated/immunization_group.rb +0 -87
  927. data/lib/us_core_test_kit/generated/medication_request/medication_request_must_support_test.rb +0 -44
  928. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_authoredon_search_test.rb +0 -53
  929. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_encounter_search_test.rb +0 -52
  930. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_search_test.rb +0 -68
  931. data/lib/us_core_test_kit/generated/medication_request/medication_request_patient_intent_status_search_test.rb +0 -49
  932. data/lib/us_core_test_kit/generated/medication_request/medication_request_provenance_revinclude_search_test.rb +0 -51
  933. data/lib/us_core_test_kit/generated/medication_request/medication_request_read_test.rb +0 -24
  934. data/lib/us_core_test_kit/generated/medication_request/medication_request_reference_resolution_test.rb +0 -28
  935. data/lib/us_core_test_kit/generated/medication_request/medication_request_validation_test.rb +0 -34
  936. data/lib/us_core_test_kit/generated/medication_request/medication_validation_test.rb +0 -34
  937. data/lib/us_core_test_kit/generated/medication_request/metadata.yml +0 -307
  938. data/lib/us_core_test_kit/generated/medication_request_group.rb +0 -92
  939. data/lib/us_core_test_kit/generated/metadata.yml +0 -12911
  940. data/lib/us_core_test_kit/generated/observation_lab/metadata.yml +0 -1287
  941. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_must_support_test.rb +0 -41
  942. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_date_search_test.rb +0 -46
  943. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_search_test.rb +0 -62
  944. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_category_status_search_test.rb +0 -47
  945. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_code_date_search_test.rb +0 -48
  946. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_patient_code_search_test.rb +0 -45
  947. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_provenance_revinclude_search_test.rb +0 -51
  948. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_read_test.rb +0 -24
  949. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_reference_resolution_test.rb +0 -28
  950. data/lib/us_core_test_kit/generated/observation_lab/observation_lab_validation_test.rb +0 -34
  951. data/lib/us_core_test_kit/generated/observation_lab_group.rb +0 -93
  952. data/lib/us_core_test_kit/generated/organization/metadata.yml +0 -146
  953. data/lib/us_core_test_kit/generated/organization/organization_address_search_test.rb +0 -39
  954. data/lib/us_core_test_kit/generated/organization/organization_must_support_test.rb +0 -47
  955. data/lib/us_core_test_kit/generated/organization/organization_name_search_test.rb +0 -49
  956. data/lib/us_core_test_kit/generated/organization/organization_read_test.rb +0 -24
  957. data/lib/us_core_test_kit/generated/organization/organization_reference_resolution_test.rb +0 -28
  958. data/lib/us_core_test_kit/generated/organization/organization_validation_test.rb +0 -34
  959. data/lib/us_core_test_kit/generated/organization_group.rb +0 -84
  960. data/lib/us_core_test_kit/generated/patient/metadata.yml +0 -320
  961. data/lib/us_core_test_kit/generated/patient/patient_birthdate_family_search_test.rb +0 -41
  962. data/lib/us_core_test_kit/generated/patient/patient_birthdate_name_search_test.rb +0 -39
  963. data/lib/us_core_test_kit/generated/patient/patient_family_gender_search_test.rb +0 -41
  964. data/lib/us_core_test_kit/generated/patient/patient_gender_name_search_test.rb +0 -39
  965. data/lib/us_core_test_kit/generated/patient/patient_id_search_test.rb +0 -53
  966. data/lib/us_core_test_kit/generated/patient/patient_identifier_search_test.rb +0 -40
  967. data/lib/us_core_test_kit/generated/patient/patient_must_support_test.rb +0 -57
  968. data/lib/us_core_test_kit/generated/patient/patient_name_search_test.rb +0 -39
  969. data/lib/us_core_test_kit/generated/patient/patient_provenance_revinclude_search_test.rb +0 -49
  970. data/lib/us_core_test_kit/generated/patient/patient_read_test.rb +0 -24
  971. data/lib/us_core_test_kit/generated/patient/patient_reference_resolution_test.rb +0 -28
  972. data/lib/us_core_test_kit/generated/patient/patient_validation_test.rb +0 -34
  973. data/lib/us_core_test_kit/generated/patient_group.rb +0 -99
  974. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/metadata.yml +0 -323
  975. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +0 -49
  976. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +0 -46
  977. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +0 -45
  978. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +0 -47
  979. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +0 -48
  980. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +0 -62
  981. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +0 -51
  982. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +0 -24
  983. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +0 -28
  984. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +0 -34
  985. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age_group.rb +0 -93
  986. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/metadata.yml +0 -323
  987. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +0 -49
  988. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +0 -46
  989. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +0 -45
  990. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +0 -47
  991. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +0 -48
  992. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +0 -62
  993. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +0 -51
  994. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +0 -24
  995. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +0 -28
  996. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +0 -34
  997. data/lib/us_core_test_kit/generated/pediatric_weight_for_height_group.rb +0 -93
  998. data/lib/us_core_test_kit/generated/practitioner/metadata.yml +0 -136
  999. data/lib/us_core_test_kit/generated/practitioner/practitioner_identifier_search_test.rb +0 -40
  1000. data/lib/us_core_test_kit/generated/practitioner/practitioner_must_support_test.rb +0 -40
  1001. data/lib/us_core_test_kit/generated/practitioner/practitioner_name_search_test.rb +0 -49
  1002. data/lib/us_core_test_kit/generated/practitioner/practitioner_read_test.rb +0 -24
  1003. data/lib/us_core_test_kit/generated/practitioner/practitioner_reference_resolution_test.rb +0 -28
  1004. data/lib/us_core_test_kit/generated/practitioner/practitioner_validation_test.rb +0 -34
  1005. data/lib/us_core_test_kit/generated/practitioner_group.rb +0 -84
  1006. data/lib/us_core_test_kit/generated/procedure/metadata.yml +0 -1265
  1007. data/lib/us_core_test_kit/generated/procedure/procedure_must_support_test.rb +0 -38
  1008. data/lib/us_core_test_kit/generated/procedure/procedure_patient_code_date_search_test.rb +0 -48
  1009. data/lib/us_core_test_kit/generated/procedure/procedure_patient_date_search_test.rb +0 -45
  1010. data/lib/us_core_test_kit/generated/procedure/procedure_patient_search_test.rb +0 -60
  1011. data/lib/us_core_test_kit/generated/procedure/procedure_patient_status_search_test.rb +0 -46
  1012. data/lib/us_core_test_kit/generated/procedure/procedure_provenance_revinclude_search_test.rb +0 -50
  1013. data/lib/us_core_test_kit/generated/procedure/procedure_read_test.rb +0 -24
  1014. data/lib/us_core_test_kit/generated/procedure/procedure_reference_resolution_test.rb +0 -28
  1015. data/lib/us_core_test_kit/generated/procedure/procedure_validation_test.rb +0 -34
  1016. data/lib/us_core_test_kit/generated/procedure_group.rb +0 -90
  1017. data/lib/us_core_test_kit/generated/provenance/metadata.yml +0 -185
  1018. data/lib/us_core_test_kit/generated/provenance/provenance_must_support_test.rb +0 -44
  1019. data/lib/us_core_test_kit/generated/provenance/provenance_read_test.rb +0 -24
  1020. data/lib/us_core_test_kit/generated/provenance/provenance_reference_resolution_test.rb +0 -28
  1021. data/lib/us_core_test_kit/generated/provenance/provenance_validation_test.rb +0 -34
  1022. data/lib/us_core_test_kit/generated/provenance_group.rb +0 -56
  1023. data/lib/us_core_test_kit/generated/pulse_oximetry/metadata.yml +0 -410
  1024. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_must_support_test.rb +0 -65
  1025. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +0 -46
  1026. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +0 -45
  1027. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +0 -47
  1028. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +0 -48
  1029. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +0 -62
  1030. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +0 -51
  1031. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_read_test.rb +0 -24
  1032. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +0 -28
  1033. data/lib/us_core_test_kit/generated/pulse_oximetry/pulse_oximetry_validation_test.rb +0 -34
  1034. data/lib/us_core_test_kit/generated/pulse_oximetry_group.rb +0 -93
  1035. data/lib/us_core_test_kit/generated/resource_list.rb +0 -26
  1036. data/lib/us_core_test_kit/generated/resprate/metadata.yml +0 -325
  1037. data/lib/us_core_test_kit/generated/resprate/resprate_must_support_test.rb +0 -49
  1038. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_date_search_test.rb +0 -46
  1039. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_search_test.rb +0 -45
  1040. data/lib/us_core_test_kit/generated/resprate/resprate_patient_category_status_search_test.rb +0 -47
  1041. data/lib/us_core_test_kit/generated/resprate/resprate_patient_code_date_search_test.rb +0 -48
  1042. data/lib/us_core_test_kit/generated/resprate/resprate_patient_code_search_test.rb +0 -62
  1043. data/lib/us_core_test_kit/generated/resprate/resprate_provenance_revinclude_search_test.rb +0 -51
  1044. data/lib/us_core_test_kit/generated/resprate/resprate_read_test.rb +0 -24
  1045. data/lib/us_core_test_kit/generated/resprate/resprate_reference_resolution_test.rb +0 -28
  1046. data/lib/us_core_test_kit/generated/resprate/resprate_validation_test.rb +0 -34
  1047. data/lib/us_core_test_kit/generated/resprate_group.rb +0 -93
  1048. data/lib/us_core_test_kit/generated/smokingstatus/metadata.yml +0 -292
  1049. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_must_support_test.rb +0 -39
  1050. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_date_search_test.rb +0 -48
  1051. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_search_test.rb +0 -47
  1052. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_category_status_search_test.rb +0 -47
  1053. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_code_date_search_test.rb +0 -48
  1054. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_patient_code_search_test.rb +0 -62
  1055. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +0 -51
  1056. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_read_test.rb +0 -24
  1057. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_reference_resolution_test.rb +0 -28
  1058. data/lib/us_core_test_kit/generated/smokingstatus/smokingstatus_validation_test.rb +0 -34
  1059. data/lib/us_core_test_kit/generated/smokingstatus_group.rb +0 -93
  1060. data/lib/us_core_test_kit/generated/us_core_test_suite.rb +0 -110
@@ -1,40 +1,29 @@
1
- require_relative '../us_core_test_kit/generated/resource_list'
1
+ require_relative 'fhir_resource_navigation'
2
2
 
3
3
  module USCoreTestKit
4
4
  module ReferenceResolutionTest
5
- include ResourceList
5
+ extend Forwardable
6
+ include FHIRResourceNavigation
7
+
8
+ def_delegators 'self.class', :metadata
6
9
 
7
10
  def perform_reference_resolution_test(resources)
8
11
  skip_if resources.blank?, no_resources_skip_message
9
12
 
10
- self.resolution_count = 0
11
-
12
- resources.each do |resource|
13
- break if resolution_count >= max_resolutions
14
-
15
- validate_reference_resolutions(resource)
16
- end
17
-
18
- messages.uniq!
19
- errors_found = messages.any? { |message| message[:type] == 'error' }
20
-
21
- assert !errors_found, "Inferno was unable to resolve all US Core references"
22
- end
23
-
24
- def max_resolutions
25
- 50
26
- end
13
+ pass if unresolved_references(resources).length.zero?
27
14
 
28
- def resolution_count
29
- @resolution_count
15
+ skip "Could not resolve Must Support references #{unresolved_references_strings.join(', ')}"
30
16
  end
31
17
 
32
- def resolution_count=(count)
33
- @resolution_count = count
18
+ def unresolved_references_strings
19
+ unresolved_reference_hash =
20
+ unresolved_references.each_with_object(Hash.new { |hash, key| hash[key] = [] }) do |missing, hash|
21
+ hash[missing[:path]] << missing[:target_profile]
22
+ end
23
+ unresolved_reference_hash.map { |path, profiles| "#{path}#{"(#{profiles.join('|')})" unless profiles.first.empty?}" }
34
24
  end
35
25
 
36
26
  def record_resolved_reference(reference)
37
- self.resolution_count += 1
38
27
  resolved_references.add?(reference.reference)
39
28
  end
40
29
 
@@ -47,65 +36,96 @@ module USCoreTestKit
47
36
  'Please use patients with more information.'
48
37
  end
49
38
 
50
- def validate_reference_resolutions(resource)
51
- problems = []
39
+ def must_support_references
40
+ metadata.must_supports[:elements].select { |element_definition| element_definition[:types]&.include?('Reference') }
41
+ end
42
+
43
+ def must_support_references_with_target_profile
44
+ # mapping array of target_profiles to array of {path, target_profile} pair
45
+ must_support_references.map do |element_definition|
46
+ (element_definition[:target_profiles] || ['']).map do |target_profile|
47
+ {
48
+ path: element_definition[:path],
49
+ target_profile: target_profile
50
+ }
51
+ end
52
+ end.flatten
53
+ end
54
+
55
+ def unresolved_references(resources = [])
56
+ @unresolved_references ||=
57
+ must_support_references_with_target_profile.select do |reference_path_profile_pair|
58
+ path = reference_path_profile_pair[:path]
59
+ target_profile = reference_path_profile_pair[:target_profile]
52
60
 
53
- resource.each_element do |reference, meta, path|
54
- next if meta['type'] != 'Reference'
55
- next if reference.reference.blank?
56
- next if resolved_references.include?(reference.reference)
57
- break if resolution_count >= max_resolutions
61
+ found_one_reference = false
58
62
 
59
- if reference.contained?
60
- # if reference_id is blank it is referring to itself, so we know it exists
61
- next if reference.reference_id.blank?
63
+ resolve_one_reference = resources.any? do |resource|
64
+ value_found = resolve_path(resource, path)
65
+ next if value_found.empty?
62
66
 
63
- unless resource.contained.any? { |contained_resource| contained_resource&.id == reference.reference_id }
64
- messages << {
65
- type: 'error',
66
- message: "#{path} has contained reference to id '#{reference.reference_id}' that does not exist"
67
- }
67
+ found_one_reference = true
68
+
69
+ value_found.any? do |reference|
70
+ validate_reference_resolution(resource, reference, target_profile)
71
+ end
68
72
  end
69
73
 
70
- next
74
+ found_one_reference && !resolve_one_reference
71
75
  end
76
+ end
77
+
78
+ def validate_reference_resolution(resource, reference, target_profile)
79
+ return true if resolved_references.include?(reference.reference) && target_profile.blank?
80
+
81
+ if reference.contained?
82
+ # if reference_id is blank it is referring to itself, so we know it exists
83
+ return true if reference.reference_id.blank?
72
84
 
73
- # Should potentially update valid? method in fhir_dstu2_models
74
- # to check for this type of thing
75
- # e.g. "patient/54520" is invalid (fhir_client resource_class method would expect "Patient/54520")
76
- if reference.relative?
77
- begin
78
- reference.resource_class
79
- rescue NameError
80
- problems << "#{path} has invalid resource type in reference: #{reference.type}"
81
- next
85
+ return resource.contained.any? do |contained_resource|
86
+ contained_resource&.id == reference.reference_id &&
87
+ resource_is_valid_with_target_profile?(contained_resource, target_profile)
82
88
  end
83
- end
84
- reference_type = reference.resource_type
89
+ end
85
90
 
91
+ reference_type = reference.resource_type
92
+ reference_id = reference.reference_id
93
+
94
+ resolved_resource =
86
95
  begin
87
- # TODO: this request isn't persisted
88
- resolved_resource = reference.read(fhir_client)
89
- rescue ClientException => e
90
- # report error if the resource is a US Core resource type
91
- messages << {
92
- type: 'error',
93
- message: "#{path} did not resolve: #{e}"
94
- } if RESOURCE_LIST.include?(reference_type)
95
-
96
- next
96
+ if reference.relative?
97
+ begin
98
+ reference.resource_class
99
+ rescue NameError
100
+ return false
101
+ end
102
+
103
+ fhir_read(reference_type, reference_id)&.resource
104
+ else
105
+ if reference.base_uri.chomp('/') == fhir_client.instance_variable_get(:@base_service_url).chomp('/')
106
+ fhir_read(reference_type, reference_id)&.resource
107
+ else
108
+ get(reference.reference)&.resource
109
+ end
110
+ end
111
+ rescue StandardError => e
112
+ Inferno::Application['logger'].error("Unable to resolve reference #{reference.reference}")
113
+ Inferno::Application['logger'].error(e.full_message)
114
+ return false
97
115
  end
98
116
 
99
- if resolved_resource&.resourceType == reference_type
100
- record_resolved_reference(reference)
101
- else
102
- messages << {
103
- type: 'error',
104
- message: "Expected #{reference.reference} to refer to a #{reference_type} resource, " \
105
- "but found a #{resolved_resource&.resourceType} resource."
106
- }
107
- end
108
- end
117
+ return false unless resolved_resource&.resourceType == reference_type && resolved_resource&.id == reference_id
118
+
119
+ return false unless resource_is_valid_with_target_profile?(resolved_resource, target_profile)
120
+
121
+ record_resolved_reference(reference)
122
+ true
123
+ end
124
+
125
+ def resource_is_valid_with_target_profile?(resource, target_profile)
126
+ return true if target_profile.blank?
127
+
128
+ resource_is_valid?(resource: resource, profile_url: target_profile)
109
129
  end
110
130
  end
111
131
  end
@@ -219,8 +219,8 @@ module USCoreTestKit
219
219
  next if search_variant_test_records[:comparator_searches].include? name
220
220
 
221
221
  required_comparators(name).each do |comparator|
222
- path = search_param_path(name)
223
- date_element = find_a_value_at(scratch_resources_for_patient(patient_id), path)
222
+ paths = search_param_paths(name).first
223
+ date_element = find_a_value_at(scratch_resources_for_patient(patient_id), paths)
224
224
  params_with_comparator = params.merge(name => date_comparator_value(comparator, date_element))
225
225
 
226
226
  search_and_check_response(params_with_comparator)
@@ -444,9 +444,13 @@ module USCoreTestKit
444
444
  name == 'patient' || (name == '_id' && resource_type == 'Patient')
445
445
  end
446
446
 
447
- def search_param_path(name)
448
- path = metadata.search_definitions[name.to_sym][:path]
449
- path == 'class' ? 'local_class' : path
447
+ def search_param_paths(name)
448
+ paths = metadata.search_definitions[name.to_sym][:paths]
449
+ if paths.first =='class'
450
+ paths[0] = 'local_class'
451
+ end
452
+
453
+ paths
450
454
  end
451
455
 
452
456
  def all_search_params_present?(params)
@@ -517,52 +521,59 @@ module USCoreTestKit
517
521
  end
518
522
 
519
523
  def search_param_value(name, patient_id, include_system: false)
520
- path = search_param_path(name)
521
- element = find_a_value_at(scratch_resources_for_patient(patient_id), path)
522
- search_value =
523
- case element
524
- when FHIR::Period
525
- if element.start.present?
526
- 'gt' + (DateTime.xmlschema(element.start) - 1).xmlschema
527
- else
528
- end_datetime = get_fhir_datetime_range(element.end)[:end]
529
- 'lt' + (end_datetime + 1).xmlschema
530
- end
531
- when FHIR::Reference
532
- element.reference
533
- when FHIR::CodeableConcept
534
- if include_system
535
- coding =
536
- find_a_value_at(element, 'coding') { |coding| coding.code.present? && coding.system.present? }
537
- coding.present? ? "#{coding.system}|#{coding.code}" : nil
538
- else
539
- find_a_value_at(element, 'coding.code')
540
- end
541
- when FHIR::Identifier
542
- if include_system
543
- identifier = find_a_value_at(scratch_resources_for_patient(patient_id), path) do |identifier|
544
- identifier.value.present? && identifier.system.present?
524
+ paths = search_param_paths(name)
525
+ search_value = nil
526
+ paths.each do |path|
527
+ element = find_a_value_at(scratch_resources_for_patient(patient_id), path)
528
+
529
+ search_value =
530
+ case element
531
+ when FHIR::Period
532
+ if element.start.present?
533
+ 'gt' + (DateTime.xmlschema(element.start) - 1).xmlschema
534
+ else
535
+ end_datetime = get_fhir_datetime_range(element.end)[:end]
536
+ 'lt' + (end_datetime + 1).xmlschema
545
537
  end
546
- identifier.present? ? "#{identifier.system}|#{identifier.value}" : nil
547
- else
548
- element.value
549
- end
550
- when FHIR::Coding
551
- if include_system
552
- coding = find_a_value_at(scratch_resources_for_patient(patient_id), path) do |coding|
553
- coding.code.present? && coding.system.present?
538
+ when FHIR::Reference
539
+ element.reference
540
+ when FHIR::CodeableConcept
541
+ if include_system
542
+ coding =
543
+ find_a_value_at(element, 'coding') { |coding| coding.code.present? && coding.system.present? }
544
+ coding.present? ? "#{coding.system}|#{coding.code}" : nil
545
+ else
546
+ find_a_value_at(element, 'coding.code')
547
+ end
548
+ when FHIR::Identifier
549
+ if include_system
550
+ identifier = find_a_value_at(scratch_resources_for_patient(patient_id), path) do |identifier|
551
+ identifier.value.present? && identifier.system.present?
552
+ end
553
+ identifier.present? ? "#{identifier.system}|#{identifier.value}" : nil
554
+ else
555
+ element.value
556
+ end
557
+ when FHIR::Coding
558
+ if include_system
559
+ coding = find_a_value_at(scratch_resources_for_patient(patient_id), path) do |coding|
560
+ coding.code.present? && coding.system.present?
561
+ end
562
+ coding.present? ? "#{coding.system}|#{coding.code}" : nil
563
+ else
564
+ element.code
554
565
  end
555
- coding.present? ? "#{coding.system}|#{coding.code}" : nil
566
+ when FHIR::HumanName
567
+ element.family || element.given&.first || element.text
568
+ when FHIR::Address
569
+ element.text || element.city || element.state || element.postalCode || element.country
556
570
  else
557
- element.code
571
+ element
558
572
  end
559
- when FHIR::HumanName
560
- element.family || element.given&.first || element.text
561
- when FHIR::Address
562
- element.text || element.city || element.state || element.postalCode || element.country
563
- else
564
- element
565
- end
573
+
574
+ break if search_value.present?
575
+ end
576
+
566
577
  escaped_value = search_value&.gsub(',', '\\,')
567
578
  escaped_value
568
579
  end
@@ -593,88 +604,96 @@ module USCoreTestKit
593
604
 
594
605
  def check_resource_against_params(resource, params)
595
606
  params.each do |name, search_value|
596
- path = search_param_path(name)
597
- type = metadata.search_definitions[name.to_sym][:type]
598
- values_found =
599
- resolve_path(resource, path)
600
- .map do |value|
601
- if value.is_a? FHIR::Reference
602
- value.reference
603
- else
604
- value
607
+ paths = search_param_paths(name)
608
+
609
+ match_found = false
610
+ values_found = []
611
+
612
+ paths.each do |path|
613
+ type = metadata.search_definitions[name.to_sym][:type]
614
+ values_found =
615
+ resolve_path(resource, path)
616
+ .map do |value|
617
+ if value.is_a? FHIR::Reference
618
+ value.reference
619
+ else
620
+ value
621
+ end
605
622
  end
606
- end
607
623
 
608
- match_found =
609
- case type
610
- when 'Period', 'date', 'instant', 'dateTime'
611
- values_found.any? { |date| validate_date_search(search_value, date) }
612
- when 'HumanName'
613
- # When a string search parameter refers to the types HumanName and Address,
614
- # the search covers the elements of type string, and does not cover elements such as use and period
615
- # https://www.hl7.org/fhir/search.html#string
616
- search_value_downcase = search_value.downcase
617
- values_found.any? do |name|
618
- name&.text&.downcase&.start_with?(search_value_downcase) ||
619
- name&.family&.downcase&.start_with?(search_value_downcase) ||
620
- name&.given&.any? { |given| given.downcase.start_with?(search_value_downcase) } ||
621
- name&.prefix&.any? { |prefix| prefix.downcase.start_with?(search_value_downcase) } ||
622
- name&.suffix&.any? { |suffix| suffix.downcase.start_with?(search_value_downcase) }
623
- end
624
- when 'Address'
625
- search_value_downcase = search_value.downcase
626
- values_found.any? do |address|
627
- address&.text&.downcase&.start_with?(search_value_downcase) ||
628
- address&.city&.downcase&.start_with?(search_value_downcase) ||
629
- address&.state&.downcase&.start_with?(search_value_downcase) ||
630
- address&.postalCode&.downcase&.start_with?(search_value_downcase) ||
631
- address&.country&.downcase&.start_with?(search_value_downcase)
632
- end
633
- when 'CodeableConcept'
634
- # FHIR token search (https://www.hl7.org/fhir/search.html#token): "When in doubt, servers SHOULD
635
- # treat tokens in a case-insensitive manner, on the grounds that including undesired data has
636
- # less safety implications than excluding desired behavior".
637
- codings = values_found.flat_map(&:coding)
638
- if search_value.include? '|'
639
- system = search_value.split('|').first
640
- code = search_value.split('|').last
641
- codings&.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
642
- else
643
- codings&.any? { |coding| coding.code&.casecmp?(search_value) }
644
- end
645
- when 'Coding'
646
- if search_value.include? '|'
647
- system = search_value.split('|').first
648
- code = search_value.split('|').last
649
- values_found.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
650
- else
651
- values_found.any? { |coding| coding.code&.casecmp?(search_value) }
652
- end
653
- when 'Identifier'
654
- if search_value.include? '|'
655
- values_found.any? { |identifier| "#{identifier.system}|#{identifier.value}" == search_value }
656
- else
657
- values_found.any? { |identifier| identifier.value == search_value }
658
- end
659
- when 'string'
660
- searched_values = search_value.downcase.split(/(?<!\\\\),/).map{ |string| string.gsub('\\,', ',') }
661
- values_found.any? do |value_found|
662
- searched_values.any? { |searched_value| value_found.downcase.starts_with? searched_value }
663
- end
664
- else
665
- # searching by patient requires special case because we are searching by a resource identifier
666
- # references can also be URL's, so we made need to resolve those url's
667
- if ['subject', 'patient'].include? name.to_s
668
- id = search_value.split('Patient/').last
669
- possible_values = [id, 'Patient/' + id, "#{url}/Patient/\#{id}"]
670
- values_found.any? do |reference|
671
- possible_values.include? reference
624
+ match_found =
625
+ case type
626
+ when 'Period', 'date', 'instant', 'dateTime'
627
+ values_found.any? { |date| validate_date_search(search_value, date) }
628
+ when 'HumanName'
629
+ # When a string search parameter refers to the types HumanName and Address,
630
+ # the search covers the elements of type string, and does not cover elements such as use and period
631
+ # https://www.hl7.org/fhir/search.html#string
632
+ search_value_downcase = search_value.downcase
633
+ values_found.any? do |name|
634
+ name&.text&.downcase&.start_with?(search_value_downcase) ||
635
+ name&.family&.downcase&.start_with?(search_value_downcase) ||
636
+ name&.given&.any? { |given| given.downcase.start_with?(search_value_downcase) } ||
637
+ name&.prefix&.any? { |prefix| prefix.downcase.start_with?(search_value_downcase) } ||
638
+ name&.suffix&.any? { |suffix| suffix.downcase.start_with?(search_value_downcase) }
639
+ end
640
+ when 'Address'
641
+ search_value_downcase = search_value.downcase
642
+ values_found.any? do |address|
643
+ address&.text&.downcase&.start_with?(search_value_downcase) ||
644
+ address&.city&.downcase&.start_with?(search_value_downcase) ||
645
+ address&.state&.downcase&.start_with?(search_value_downcase) ||
646
+ address&.postalCode&.downcase&.start_with?(search_value_downcase) ||
647
+ address&.country&.downcase&.start_with?(search_value_downcase)
648
+ end
649
+ when 'CodeableConcept'
650
+ # FHIR token search (https://www.hl7.org/fhir/search.html#token): "When in doubt, servers SHOULD
651
+ # treat tokens in a case-insensitive manner, on the grounds that including undesired data has
652
+ # less safety implications than excluding desired behavior".
653
+ codings = values_found.flat_map(&:coding)
654
+ if search_value.include? '|'
655
+ system = search_value.split('|').first
656
+ code = search_value.split('|').last
657
+ codings&.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
658
+ else
659
+ codings&.any? { |coding| coding.code&.casecmp?(search_value) }
660
+ end
661
+ when 'Coding'
662
+ if search_value.include? '|'
663
+ system = search_value.split('|').first
664
+ code = search_value.split('|').last
665
+ values_found.any? { |coding| coding.system == system && coding.code&.casecmp?(code) }
666
+ else
667
+ values_found.any? { |coding| coding.code&.casecmp?(search_value) }
668
+ end
669
+ when 'Identifier'
670
+ if search_value.include? '|'
671
+ values_found.any? { |identifier| "#{identifier.system}|#{identifier.value}" == search_value }
672
+ else
673
+ values_found.any? { |identifier| identifier.value == search_value }
674
+ end
675
+ when 'string'
676
+ searched_values = search_value.downcase.split(/(?<!\\\\),/).map{ |string| string.gsub('\\,', ',') }
677
+ values_found.any? do |value_found|
678
+ searched_values.any? { |searched_value| value_found.downcase.starts_with? searched_value }
672
679
  end
673
680
  else
674
- search_values = search_value.split(/(?<!\\\\),/).map { |string| string.gsub('\\,', ',') }
675
- values_found.any? { |value_found| search_values.include? value_found }
681
+ # searching by patient requires special case because we are searching by a resource identifier
682
+ # references can also be URLs, so we may need to resolve those URLs
683
+ if ['subject', 'patient'].include? name.to_s
684
+ id = search_value.split('Patient/').last
685
+ possible_values = [id, "Patient/#{id}", "#{url}/Patient/#{id}"]
686
+ values_found.any? do |reference|
687
+ possible_values.include? reference
688
+ end
689
+ else
690
+ search_values = search_value.split(/(?<!\\\\),/).map { |string| string.gsub('\\,', ',') }
691
+ values_found.any? { |value_found| search_values.include? value_found }
692
+ end
676
693
  end
677
- end
694
+
695
+ break if match_found
696
+ end
678
697
 
679
698
  assert match_found,
680
699
  "#{resource_type}/#{resource.id} did not match the search parameters:\n" \
@@ -1,3 +1,3 @@
1
1
  module USCoreTestKit
2
- VERSION = '0.1.1'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -1,2 +1,3 @@
1
1
  require_relative 'us_core_test_kit/ext/fhir_models'
2
- require_relative 'us_core_test_kit/generated/us_core_test_suite'
2
+ require_relative 'us_core_test_kit/generated/v3.1.1/us_core_test_suite'
3
+ require_relative 'us_core_test_kit/generated/v4.0.0/us_core_test_suite'