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
@@ -0,0 +1,38 @@
1
+ require_relative '../../../reference_resolution_test'
2
+ require_relative '../resource_list'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV400
6
+ class SmokingstatusReferenceResolutionTest < Inferno::Test
7
+ include USCoreTestKit::ReferenceResolutionTest
8
+ include ResourceList
9
+
10
+ title 'MustSupport references within Observation resources can be read'
11
+ description %(
12
+ This test will attempt to read MustSupport references found in the
13
+ resources from the first search. This test will look through the Observation resources
14
+ found previously for the following must support elements:
15
+
16
+
17
+ )
18
+
19
+ id :us_core_v400_smokingstatus_reference_resolution_test
20
+
21
+ def resource_type
22
+ 'Observation'
23
+ end
24
+
25
+ def self.metadata
26
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
27
+ end
28
+
29
+ def scratch_resources
30
+ scratch[:smokingstatus_resources] ||= {}
31
+ end
32
+
33
+ run do
34
+ perform_reference_resolution_test(scratch_resources[:all])
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,36 @@
1
+ require_relative '../../../validation_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV400
5
+ class SmokingstatusValidationTest < Inferno::Test
6
+ include USCoreTestKit::ValidationTest
7
+
8
+ id :us_core_v400_smokingstatus_validation_test
9
+ title 'Observation resources returned during previous tests conform to the US Core Smoking Status Observation Profile'
10
+ description %(
11
+ This test verifies resources returned from the first search conform to
12
+ the [US Core Smoking Status Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus).
13
+
14
+ It verifies the presence of mandatory elements and that elements with
15
+ required bindings contain appropriate values. CodeableConcept element
16
+ bindings will fail if none of their codings have a code/system belonging
17
+ to the bound ValueSet. Quantity, Coding, and code element bindings will
18
+ fail if their code/system are not found in the valueset.
19
+
20
+ )
21
+ output :dar_code_found, :dar_extension_found
22
+
23
+ def resource_type
24
+ 'Observation'
25
+ end
26
+
27
+ def scratch_resources
28
+ scratch[:smokingstatus_resources] ||= {}
29
+ end
30
+
31
+ run do
32
+ perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus')
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,95 @@
1
+ require_relative 'smokingstatus/smokingstatus_patient_code_search_test'
2
+ require_relative 'smokingstatus/smokingstatus_patient_category_status_search_test'
3
+ require_relative 'smokingstatus/smokingstatus_patient_code_date_search_test'
4
+ require_relative 'smokingstatus/smokingstatus_patient_category_search_test'
5
+ require_relative 'smokingstatus/smokingstatus_patient_category_date_search_test'
6
+ require_relative 'smokingstatus/smokingstatus_read_test'
7
+ require_relative 'smokingstatus/smokingstatus_provenance_revinclude_search_test'
8
+ require_relative 'smokingstatus/smokingstatus_validation_test'
9
+ require_relative 'smokingstatus/smokingstatus_must_support_test'
10
+ require_relative 'smokingstatus/smokingstatus_reference_resolution_test'
11
+
12
+ module USCoreTestKit
13
+ module USCoreV400
14
+ class SmokingstatusGroup < Inferno::TestGroup
15
+ title 'Smoking Status Observation Tests'
16
+ short_description 'Verify support for the server capabilities required by the US Core Smoking Status Observation Profile.'
17
+ description %(
18
+ # Background
19
+
20
+ The US Core Smoking Status Observation sequence verifies that the system under test is
21
+ able to provide correct responses for Observation queries. These queries
22
+ must contain resources conforming to the US Core Smoking Status Observation Profile as
23
+ specified in the US Core v4.0.0 Implementation Guide.
24
+
25
+ # Testing Methodology
26
+ ## Searching
27
+ This test sequence will first perform each required search associated
28
+ with this resource. This sequence will perform searches with the
29
+ following parameters:
30
+
31
+ * patient + code
32
+ * patient + category
33
+ * patient + category + date
34
+
35
+ ### Search Parameters
36
+ The first search uses the selected patient(s) from the prior launch
37
+ sequence. Any subsequent searches will look for its parameter values
38
+ from the results of the first search. For example, the `identifier`
39
+ search in the patient sequence is performed by looking for an existing
40
+ `Patient.identifier` from any of the resources returned in the `_id`
41
+ search. If a value cannot be found this way, the search is skipped.
42
+
43
+ ### Search Validation
44
+ Inferno will retrieve up to the first 20 bundle pages of the reply for
45
+ Observation resources and save them for subsequent tests. Each of
46
+ these resources is then checked to see if it matches the searched
47
+ parameters in accordance with [FHIR search
48
+ guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
49
+ for example, if a Patient search for `gender=male` returns a `female`
50
+ patient.
51
+
52
+
53
+ ## Must Support
54
+ Each profile contains elements marked as "must support". This test
55
+ sequence expects to see each of these elements at least once. If at
56
+ least one cannot be found, the test will fail. The test will look
57
+ through the Observation resources found in the first test for these
58
+ elements.
59
+
60
+ ## Profile Validation
61
+ Each resource returned from the first search is expected to conform to
62
+ the [US Core Smoking Status Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus). Each element is checked against
63
+ teminology binding and cardinality requirements.
64
+
65
+ Elements with a required binding are validated against their bound
66
+ ValueSet. If the code/system in the element is not part of the ValueSet,
67
+ then the test will fail.
68
+
69
+ ## Reference Validation
70
+ Each reference within the resources found from the previous tests must
71
+ resolve. The test will attempt to read each reference found and will
72
+ fail if any attempted read fails.
73
+
74
+ )
75
+
76
+ id :us_core_v400_smokingstatus
77
+ run_as_group
78
+
79
+ def self.metadata
80
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'smokingstatus', 'metadata.yml')))
81
+ end
82
+
83
+ test from: :us_core_v400_smokingstatus_patient_code_search_test
84
+ test from: :us_core_v400_smokingstatus_patient_category_status_search_test
85
+ test from: :us_core_v400_smokingstatus_patient_code_date_search_test
86
+ test from: :us_core_v400_smokingstatus_patient_category_search_test
87
+ test from: :us_core_v400_smokingstatus_patient_category_date_search_test
88
+ test from: :us_core_v400_smokingstatus_read_test
89
+ test from: :us_core_v400_smokingstatus_provenance_revinclude_search_test
90
+ test from: :us_core_v400_smokingstatus_validation_test
91
+ test from: :us_core_v400_smokingstatus_must_support_test
92
+ test from: :us_core_v400_smokingstatus_reference_resolution_test
93
+ end
94
+ end
95
+ end
@@ -0,0 +1,116 @@
1
+ require 'inferno/dsl/oauth_credentials'
2
+ require_relative '../../version'
3
+ require_relative '../../custom_groups/v4.0.0/capability_statement_group'
4
+ require_relative '../../custom_groups/v4.0.0/clinical_notes_guidance_group'
5
+ require_relative '../../custom_groups/data_absent_reason_group'
6
+ require_relative 'patient_group'
7
+ require_relative 'allergy_intolerance_group'
8
+ require_relative 'care_plan_group'
9
+ require_relative 'care_team_group'
10
+ require_relative 'condition_group'
11
+ require_relative 'device_group'
12
+ require_relative 'diagnostic_report_lab_group'
13
+ require_relative 'diagnostic_report_note_group'
14
+ require_relative 'document_reference_group'
15
+ require_relative 'goal_group'
16
+ require_relative 'immunization_group'
17
+ require_relative 'medication_request_group'
18
+ require_relative 'observation_lab_group'
19
+ require_relative 'blood_pressure_group'
20
+ require_relative 'bmi_group'
21
+ require_relative 'head_circumference_group'
22
+ require_relative 'body_height_group'
23
+ require_relative 'body_weight_group'
24
+ require_relative 'body_temperature_group'
25
+ require_relative 'heart_rate_group'
26
+ require_relative 'pediatric_bmi_for_age_group'
27
+ require_relative 'head_circumference_percentile_group'
28
+ require_relative 'pediatric_weight_for_height_group'
29
+ require_relative 'pulse_oximetry_group'
30
+ require_relative 'respiratory_rate_group'
31
+ require_relative 'smokingstatus_group'
32
+ require_relative 'procedure_group'
33
+ require_relative 'encounter_group'
34
+ require_relative 'organization_group'
35
+ require_relative 'practitioner_group'
36
+ require_relative 'provenance_group'
37
+
38
+ module USCoreTestKit
39
+ module USCoreV400
40
+ class USCoreTestSuite < Inferno::TestSuite
41
+ title 'US Core v4.0.0'
42
+ version VERSION
43
+
44
+ VALIDATION_MESSAGE_FILTERS = [
45
+ %r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris$},
46
+ %r{Sub-extension url 'revoke' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris$},
47
+ /^Observation\.effective\.ofType\(Period\): vs-1:/, # Invalid invariant in FHIR v4.0.1
48
+ /^Observation\.effective\.ofType\(Period\): us-core-1:/ # Invalid invariant in US Core v3.1.1
49
+ ].freeze
50
+
51
+ def self.metadata
52
+ @metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'))[:groups].map do |raw_metadata|
53
+ Generator::GroupMetadata.new(raw_metadata)
54
+ end
55
+ end
56
+
57
+ validator do
58
+ url ENV.fetch('V400_VALIDATOR_URL', 'http://validator_service:4567')
59
+ exclude_message do |message|
60
+ VALIDATION_MESSAGE_FILTERS.any? { |filter| filter.match? message.message }
61
+ end
62
+ end
63
+
64
+ id :us_core_v400
65
+
66
+ input :url,
67
+ title: 'FHIR Endpoint',
68
+ description: 'URL of the FHIR endpoint'
69
+ input :smart_credentials,
70
+ title: 'OAuth Credentials',
71
+ type: :oauth_credentials,
72
+ optional: true
73
+
74
+ fhir_client do
75
+ url :url
76
+ oauth_credentials :smart_credentials
77
+ end
78
+
79
+ group from: :us_core_v400_capability_statement
80
+
81
+ group from: :us_core_v400_patient
82
+ group from: :us_core_v400_allergy_intolerance
83
+ group from: :us_core_v400_care_plan
84
+ group from: :us_core_v400_care_team
85
+ group from: :us_core_v400_condition
86
+ group from: :us_core_v400_device
87
+ group from: :us_core_v400_diagnostic_report_lab
88
+ group from: :us_core_v400_diagnostic_report_note
89
+ group from: :us_core_v400_document_reference
90
+ group from: :us_core_v400_goal
91
+ group from: :us_core_v400_immunization
92
+ group from: :us_core_v400_medication_request
93
+ group from: :us_core_v400_observation_lab
94
+ group from: :us_core_v400_blood_pressure
95
+ group from: :us_core_v400_bmi
96
+ group from: :us_core_v400_head_circumference
97
+ group from: :us_core_v400_body_height
98
+ group from: :us_core_v400_body_weight
99
+ group from: :us_core_v400_body_temperature
100
+ group from: :us_core_v400_heart_rate
101
+ group from: :us_core_v400_pediatric_bmi_for_age
102
+ group from: :us_core_v400_head_circumference_percentile
103
+ group from: :us_core_v400_pediatric_weight_for_height
104
+ group from: :us_core_v400_pulse_oximetry
105
+ group from: :us_core_v400_respiratory_rate
106
+ group from: :us_core_v400_smokingstatus
107
+ group from: :us_core_v400_procedure
108
+ group from: :us_core_v400_encounter
109
+ group from: :us_core_v400_organization
110
+ group from: :us_core_v400_practitioner
111
+ group from: :us_core_v400_provenance
112
+ group from: :us_core_v400_clinical_notes_guidance
113
+ group from: :us_core_311_data_absent_reason
114
+ end
115
+ end
116
+ end
@@ -5,17 +5,18 @@ module USCoreTestKit
5
5
  class Generator
6
6
  class GroupGenerator
7
7
  class << self
8
- def generate(ig_metadata)
8
+ def generate(ig_metadata, base_output_dir)
9
9
  ig_metadata.ordered_groups
10
- .reject { |group| SpecialCases.exclude_resource? group.resource }
11
- .each { |group| new(group).generate }
10
+ .reject { |group| SpecialCases.exclude_group? group }
11
+ .each { |group| new(group, base_output_dir).generate }
12
12
  end
13
13
  end
14
14
 
15
- attr_accessor :group_metadata
15
+ attr_accessor :group_metadata, :base_output_dir
16
16
 
17
- def initialize(group_metadata)
17
+ def initialize(group_metadata, base_output_dir)
18
18
  self.group_metadata = group_metadata
19
+ self.base_output_dir = base_output_dir
19
20
  end
20
21
 
21
22
  def template
@@ -38,6 +39,10 @@ module USCoreTestKit
38
39
  "#{Naming.upper_camel_case_for_profile(group_metadata)}Group"
39
40
  end
40
41
 
42
+ def module_name
43
+ "USCore#{group_metadata.reformatted_version.upcase}"
44
+ end
45
+
41
46
  def title
42
47
  group_metadata.title
43
48
  end
@@ -47,11 +52,11 @@ module USCoreTestKit
47
52
  end
48
53
 
49
54
  def output_file_name
50
- File.join(__dir__, '..', 'generated', base_output_file_name)
55
+ File.join(base_output_dir, base_output_file_name)
51
56
  end
52
57
 
53
58
  def metadata_file_name
54
- File.join(__dir__, '..', 'generated', profile_identifier, base_metadata_file_name)
59
+ File.join(base_output_dir, profile_identifier, base_metadata_file_name)
55
60
  end
56
61
 
57
62
  def profile_identifier
@@ -59,7 +64,7 @@ module USCoreTestKit
59
64
  end
60
65
 
61
66
  def group_id
62
- "us_core_311_#{profile_identifier}"
67
+ "us_core_#{group_metadata.reformatted_version}_#{profile_identifier}"
63
68
  end
64
69
 
65
70
  def resource_type
@@ -75,12 +80,30 @@ module USCoreTestKit
75
80
  end
76
81
 
77
82
  def generate
83
+ add_special_tests
78
84
  File.open(output_file_name, 'w') { |f| f.write(output) }
79
85
  group_metadata.id = group_id
80
86
  group_metadata.file_name = base_output_file_name
81
87
  File.open(metadata_file_name, 'w') { |f| f.write(YAML.dump(group_metadata.to_hash)) }
82
88
  end
83
89
 
90
+ def add_special_tests
91
+ return unless group_metadata.reformatted_version == 'v400'
92
+
93
+ case group_metadata.resource
94
+ when 'Device'
95
+ group_metadata.add_test(
96
+ id: 'us_core_v400_device_udi_pi_test',
97
+ file_name: '../../custom_groups/v4.0.0/device_udi_pi_test.rb'
98
+ )
99
+ when 'DocumentReference'
100
+ group_metadata.add_test(
101
+ id: 'us_core_v400_document_reference_custodian_test',
102
+ file_name: '../../custom_groups/v4.0.0/document_reference_custodian_test.rb'
103
+ )
104
+ end
105
+ end
106
+
84
107
  def test_id_list
85
108
  @test_id_list ||=
86
109
  group_metadata.tests.map { |test| test[:id] }
@@ -88,7 +111,10 @@ module USCoreTestKit
88
111
 
89
112
  def test_file_list
90
113
  @test_file_list ||=
91
- group_metadata.tests.map { |test| test[:file_name].delete_suffix('.rb') }
114
+ group_metadata.tests.map do |test|
115
+ name_without_suffix = test[:file_name].delete_suffix('.rb')
116
+ name_without_suffix.start_with?('..') ? name_without_suffix : "#{profile_identifier}/#{name_without_suffix}"
117
+ end
92
118
  end
93
119
 
94
120
  def required_searches
@@ -139,7 +165,7 @@ module USCoreTestKit
139
165
  The US Core #{title} sequence verifies that the system under test is
140
166
  able to provide correct responses for #{resource_type} queries. These queries
141
167
  must contain resources conforming to the #{profile_name} as
142
- specified in the US Core v3.1.1 Implementation Guide.
168
+ specified in the US Core #{group_metadata.version} Implementation Guide.
143
169
 
144
170
  # Testing Methodology
145
171
  #{search_description}
@@ -77,7 +77,7 @@ module USCoreTestKit
77
77
  end
78
78
 
79
79
  def to_hash
80
- ATTRIBUTES.each_with_object({}) { |key, hash| hash[key] = send(key) }
80
+ ATTRIBUTES.each_with_object({}) { |key, hash| hash[key] = send(key) unless send(key).nil? }
81
81
  end
82
82
 
83
83
  def add_delayed_references(delayed_profiles, ig_resources)
@@ -57,26 +57,28 @@ module USCoreTestKit
57
57
  def mark_mandatory_and_must_support_searches
58
58
  searches.each do |search|
59
59
  search[:names_not_must_support_or_mandatory] = search[:names].reject do |name|
60
- path = search_definitions[name.to_sym][:full_path]
60
+ full_paths = search_definitions[name.to_sym][:full_paths]
61
61
  any_must_support_elements = (must_supports[:elements]).any? do |element|
62
- full_must_support_path = "#{resource}.#{element[:path]}"
62
+ full_must_support_paths = ["#{resource}.#{element[:original_path]}", "#{resource}.#{element[:path]}"]
63
63
 
64
- # allow for non-choice, choice types, and _id
65
- name == '_id' || full_must_support_path == path || full_must_support_path == "#{path}[x]"
64
+ full_paths.any? do |path|
65
+ # allow for non-choice, choice types, and _id
66
+ name == '_id' || full_must_support_paths.include?(path) || full_must_support_paths.include?("#{path}[x]")
67
+ end
66
68
  end
67
69
 
68
70
  any_must_support_slices = must_supports[:slices].any? do |slice|
69
71
  # only handle type slices because that is all we need for now
70
72
  if slice[:discriminator] && slice[:discriminator][:type] == 'type'
71
73
  full_must_support_path = "#{resource}.#{slice[:path].sub('[x]', slice[:discriminator][:code])}"
72
- full_must_support_path == path
74
+ full_paths.include?(full_must_support_path)
73
75
  else
74
76
  false
75
77
  end
76
78
  end
77
79
 
78
80
  any_mandatory_elements = mandatory_elements.any? do |element|
79
- element == path
81
+ full_paths.include?(element)
80
82
  end
81
83
 
82
84
  any_must_support_elements || any_must_support_slices || any_mandatory_elements
@@ -114,17 +116,6 @@ module USCoreTestKit
114
116
 
115
117
  def handle_special_cases
116
118
  set_first_search
117
-
118
- case profile_url
119
- when 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device'
120
- must_supports[:elements].delete_if do |element|
121
- ['udiCarrier.carrierAIDC', 'udiCarrier.carrierHRF'].include? element[:path]
122
- end
123
- when 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference'
124
- must_supports[:elements].delete_if do |element|
125
- ['content.attachment.data', 'content.attachment.url'].include? element[:path]
126
- end
127
- end
128
119
  end
129
120
 
130
121
  def set_first_search
@@ -230,7 +221,7 @@ module USCoreTestKit
230
221
  def required_concepts
231
222
  # The base FHIR vital signs profile has a required binding that isn't
232
223
  # relevant for any of its child profiles
233
- return if resource == 'Observation'
224
+ return [] if resource == 'Observation'
234
225
 
235
226
  profile_elements
236
227
  .select { |element| element.type&.any? { |type| type.code == 'CodeableConcept' } }
@@ -263,6 +254,7 @@ module USCoreTestKit
263
254
  profile_elements
264
255
  .select { |element| element.min.positive? }
265
256
  .map { |element| element.path }
257
+ .uniq
266
258
  end
267
259
 
268
260
  def references
@@ -7,6 +7,12 @@ require_relative 'ig_resources'
7
7
  module USCoreTestKit
8
8
  class Generator
9
9
  class IGLoader
10
+ attr_accessor :base_ig_directory
11
+
12
+ def initialize(base_ig_directory)
13
+ self.base_ig_directory = base_ig_directory
14
+ end
15
+
10
16
  def ig_resources
11
17
  @ig_resources ||= IGResources.new
12
18
  end
@@ -17,7 +23,7 @@ module USCoreTestKit
17
23
  end
18
24
 
19
25
  def load_ig
20
- tar = Gem::Package::TarReader.new(Zlib::GzipReader.open(File.join(__dir__, '..', 'igs', 'package.tgz')))
26
+ tar = Gem::Package::TarReader.new(Zlib::GzipReader.open(File.join(base_ig_directory, 'package.tgz')))
21
27
 
22
28
  tar.each do |entry|
23
29
  next if entry.directory?
@@ -43,7 +49,7 @@ module USCoreTestKit
43
49
  end
44
50
 
45
51
  def load_standalone_resources
46
- Dir.glob(File.join(__dir__, '..', 'igs', '*.json')).each do |file_path|
52
+ Dir.glob(File.join(base_ig_directory, '*.json')).each do |file_path|
47
53
  begin
48
54
  resource = FHIR.from_contents(File.read(file_path))
49
55
  next if resource.nil?
@@ -29,16 +29,18 @@ module USCoreTestKit
29
29
  # The US Core Server Capability Statement does not list support for the
30
30
  # required vital signs profiles, so they need to be added
31
31
  def add_vital_signs_profiles
32
- ig_resources.capability_statement.rest.first.resource
33
- .find { |resource| resource.type == 'Observation' }
34
- .supportedProfile.concat [
35
- 'http://hl7.org/fhir/StructureDefinition/bodyheight',
36
- 'http://hl7.org/fhir/StructureDefinition/bodytemp',
37
- 'http://hl7.org/fhir/StructureDefinition/bp',
38
- 'http://hl7.org/fhir/StructureDefinition/bodyweight',
39
- 'http://hl7.org/fhir/StructureDefinition/heartrate',
40
- 'http://hl7.org/fhir/StructureDefinition/resprate'
41
- ]
32
+ if ig_resources.ig.version == "3.1.1"
33
+ ig_resources.capability_statement.rest.first.resource
34
+ .find { |resource| resource.type == 'Observation' }
35
+ .supportedProfile.concat [
36
+ 'http://hl7.org/fhir/StructureDefinition/bodyheight',
37
+ 'http://hl7.org/fhir/StructureDefinition/bodytemp',
38
+ 'http://hl7.org/fhir/StructureDefinition/bp',
39
+ 'http://hl7.org/fhir/StructureDefinition/bodyweight',
40
+ 'http://hl7.org/fhir/StructureDefinition/heartrate',
41
+ 'http://hl7.org/fhir/StructureDefinition/resprate'
42
+ ]
43
+ end
42
44
  end
43
45
 
44
46
  def add_metadata_from_resources