us_core_test_kit 0.2.4 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (648) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/v4.0.0/device_udi_pi_test.rb +1 -1
  3. data/lib/us_core_test_kit/custom_groups/v4.0.0/document_reference_custodian_test.rb +1 -1
  4. data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +128 -0
  5. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
  6. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +1 -0
  7. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_validation_test.rb +1 -0
  8. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +1 -0
  9. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_validation_test.rb +1 -0
  10. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +1 -0
  11. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_validation_test.rb +1 -0
  12. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +1 -0
  13. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_validation_test.rb +1 -0
  14. data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +1 -0
  15. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_validation_test.rb +1 -0
  16. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +1 -0
  17. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +1 -0
  18. data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +1 -0
  19. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_validation_test.rb +1 -0
  20. data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +1 -0
  21. data/lib/us_core_test_kit/generated/v3.1.1/device/device_validation_test.rb +1 -0
  22. data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1 -0
  23. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
  24. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1 -0
  25. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
  26. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1 -0
  27. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +1 -0
  28. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -0
  29. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +1 -0
  30. data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +1 -0
  31. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_validation_test.rb +1 -0
  32. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +2 -1
  33. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb +1 -0
  34. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +1 -0
  35. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_validation_test.rb +1 -0
  36. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +1 -0
  37. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_validation_test.rb +1 -0
  38. data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +1 -0
  39. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +1 -0
  40. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +1 -0
  41. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +1 -0
  42. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +33 -1
  43. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -0
  44. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_validation_test.rb +1 -0
  45. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +1 -0
  46. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +1 -0
  47. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +1 -0
  48. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +1 -0
  49. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +1 -0
  50. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
  51. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +1 -0
  52. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
  53. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +1 -0
  54. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +1 -0
  55. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -0
  56. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +1 -0
  57. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +1 -0
  58. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +1 -0
  59. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +1 -0
  60. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
  61. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +1 -0
  62. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +1 -0
  63. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -0
  64. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +1 -0
  65. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +1 -0
  66. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +1 -0
  67. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +1 -0
  68. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +2 -1
  69. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +2 -2
  70. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_validation_test.rb +1 -0
  71. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +2 -1
  72. data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +2 -2
  73. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_validation_test.rb +1 -0
  74. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +2 -1
  75. data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +2 -2
  76. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_validation_test.rb +1 -0
  77. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +2 -1
  78. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +2 -2
  79. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_validation_test.rb +1 -0
  80. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +2 -1
  81. data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +2 -2
  82. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_validation_test.rb +1 -0
  83. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +1 -0
  84. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +1 -0
  85. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +1 -0
  86. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +1 -0
  87. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +1 -0
  88. data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +1 -0
  89. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -0
  90. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +1 -0
  91. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -0
  92. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +1 -0
  93. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -0
  94. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +1 -0
  95. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -0
  96. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +1 -0
  97. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +1 -0
  98. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +1 -0
  99. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +2 -1
  100. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +1 -0
  101. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +2 -1
  102. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +2 -2
  103. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +1 -0
  104. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +2 -1
  105. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +2 -2
  106. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_validation_test.rb +1 -0
  107. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +2 -1
  108. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +2 -2
  109. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_validation_test.rb +1 -0
  110. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +1 -0
  111. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +1 -0
  112. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +1 -0
  113. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +1 -0
  114. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +53 -321
  115. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +2 -1
  116. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +1 -0
  117. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +2 -2
  118. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +1 -0
  119. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +1 -0
  120. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +1 -0
  121. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +1 -0
  122. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +2 -1
  123. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +1 -0
  124. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +2 -2
  125. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +2 -1
  126. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +1 -0
  127. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +2 -2
  128. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +1 -0
  129. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +1 -0
  130. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -0
  131. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +1 -0
  132. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +1 -0
  133. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +1 -0
  134. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +2 -1
  135. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +1 -0
  136. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +2 -2
  137. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +2 -1
  138. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +1 -0
  139. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +2 -2
  140. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +6 -7
  141. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +0 -2
  142. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +1 -0
  143. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +2 -2
  144. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  145. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  146. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  147. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  148. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  149. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
  150. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
  151. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +172 -0
  152. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance_group.rb +88 -0
  153. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  154. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  155. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  156. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  157. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  158. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  159. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  160. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_read_test.rb +26 -0
  161. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_reference_resolution_test.rb +38 -0
  162. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_validation_test.rb +40 -0
  163. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +385 -0
  164. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure_group.rb +96 -0
  165. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_must_support_test.rb +51 -0
  166. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_date_search_test.rb +48 -0
  167. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_search_test.rb +47 -0
  168. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_status_search_test.rb +49 -0
  169. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_date_search_test.rb +50 -0
  170. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_search_test.rb +64 -0
  171. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  172. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_read_test.rb +26 -0
  173. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_reference_resolution_test.rb +38 -0
  174. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_validation_test.rb +40 -0
  175. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +336 -0
  176. data/lib/us_core_test_kit/generated/v5.0.1/bmi_group.rb +96 -0
  177. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_must_support_test.rb +51 -0
  178. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_date_search_test.rb +48 -0
  179. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_search_test.rb +47 -0
  180. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_status_search_test.rb +49 -0
  181. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_date_search_test.rb +50 -0
  182. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_search_test.rb +64 -0
  183. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  184. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_read_test.rb +26 -0
  185. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_reference_resolution_test.rb +38 -0
  186. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_validation_test.rb +40 -0
  187. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +339 -0
  188. data/lib/us_core_test_kit/generated/v5.0.1/body_height_group.rb +96 -0
  189. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_must_support_test.rb +51 -0
  190. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  191. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  192. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  193. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  194. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  195. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  196. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_read_test.rb +26 -0
  197. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_reference_resolution_test.rb +38 -0
  198. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_validation_test.rb +40 -0
  199. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +339 -0
  200. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature_group.rb +96 -0
  201. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_must_support_test.rb +51 -0
  202. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  203. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_search_test.rb +47 -0
  204. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  205. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  206. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_search_test.rb +64 -0
  207. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  208. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_read_test.rb +26 -0
  209. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_reference_resolution_test.rb +38 -0
  210. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_validation_test.rb +40 -0
  211. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +339 -0
  212. data/lib/us_core_test_kit/generated/v5.0.1/body_weight_group.rb +96 -0
  213. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_must_support_test.rb +44 -0
  214. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  215. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_search_test.rb +64 -0
  216. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  217. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  218. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  219. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_read_test.rb +26 -0
  220. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_reference_resolution_test.rb +38 -0
  221. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_validation_test.rb +40 -0
  222. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +307 -0
  223. data/lib/us_core_test_kit/generated/v5.0.1/care_plan_group.rb +92 -0
  224. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_must_support_test.rb +41 -0
  225. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_role_search_test.rb +49 -0
  226. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_status_search_test.rb +63 -0
  227. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  228. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_read_test.rb +26 -0
  229. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_reference_resolution_test.rb +39 -0
  230. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_role_search_test.rb +45 -0
  231. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_validation_test.rb +40 -0
  232. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +192 -0
  233. data/lib/us_core_test_kit/generated/v5.0.1/care_team_group.rb +90 -0
  234. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
  235. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
  236. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
  237. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
  238. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +49 -0
  239. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
  240. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
  241. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
  242. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
  243. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +62 -0
  244. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +51 -0
  245. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
  246. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +39 -0
  247. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
  248. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +374 -0
  249. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis_group.rb +102 -0
  250. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
  251. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
  252. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
  253. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
  254. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +49 -0
  255. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
  256. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
  257. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
  258. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
  259. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +62 -0
  260. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +51 -0
  261. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
  262. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +38 -0
  263. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
  264. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +387 -0
  265. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns_group.rb +102 -0
  266. data/lib/us_core_test_kit/generated/v5.0.1/device/device_must_support_test.rb +46 -0
  267. data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_search_test.rb +67 -0
  268. data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_type_search_test.rb +54 -0
  269. data/lib/us_core_test_kit/generated/v5.0.1/device/device_provenance_revinclude_search_test.rb +51 -0
  270. data/lib/us_core_test_kit/generated/v5.0.1/device/device_read_test.rb +26 -0
  271. data/lib/us_core_test_kit/generated/v5.0.1/device/device_reference_resolution_test.rb +38 -0
  272. data/lib/us_core_test_kit/generated/v5.0.1/device/device_validation_test.rb +40 -0
  273. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1155 -0
  274. data/lib/us_core_test_kit/generated/v5.0.1/device_group.rb +90 -0
  275. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  276. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  277. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  278. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  279. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  280. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  281. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  282. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  283. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  284. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +40 -0
  285. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
  286. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1273 -0
  287. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab_group.rb +99 -0
  288. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
  289. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  290. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  291. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  292. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  293. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  294. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  295. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  296. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  297. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +42 -0
  298. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
  299. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1293 -0
  300. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note_group.rb +99 -0
  301. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_id_search_test.rb +42 -0
  302. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_must_support_test.rb +52 -0
  303. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  304. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_search_test.rb +47 -0
  305. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_search_test.rb +63 -0
  306. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_status_search_test.rb +48 -0
  307. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  308. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_search_test.rb +47 -0
  309. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  310. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_read_test.rb +26 -0
  311. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_reference_resolution_test.rb +40 -0
  312. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_validation_test.rb +40 -0
  313. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +394 -0
  314. data/lib/us_core_test_kit/generated/v5.0.1/document_reference_group.rb +104 -0
  315. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_class_patient_search_test.rb +49 -0
  316. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_date_patient_search_test.rb +47 -0
  317. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_id_search_test.rb +42 -0
  318. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_identifier_search_test.rb +45 -0
  319. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_must_support_test.rb +53 -0
  320. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
  321. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_location_search_test.rb +48 -0
  322. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_search_test.rb +63 -0
  323. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_status_search_test.rb +47 -0
  324. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_type_search_test.rb +49 -0
  325. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  326. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_read_test.rb +26 -0
  327. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_reference_resolution_test.rb +42 -0
  328. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_validation_test.rb +40 -0
  329. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +447 -0
  330. data/lib/us_core_test_kit/generated/v5.0.1/encounter_group.rb +104 -0
  331. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_must_support_test.rb +41 -0
  332. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_description_search_test.rb +49 -0
  333. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  334. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_search_test.rb +62 -0
  335. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_target_date_search_test.rb +49 -0
  336. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_provenance_revinclude_search_test.rb +51 -0
  337. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_read_test.rb +26 -0
  338. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_reference_resolution_test.rb +38 -0
  339. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_validation_test.rb +40 -0
  340. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1219 -0
  341. data/lib/us_core_test_kit/generated/v5.0.1/goal_group.rb +92 -0
  342. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_must_support_test.rb +51 -0
  343. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  344. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  345. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  346. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  347. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  348. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  349. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_read_test.rb +26 -0
  350. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
  351. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_validation_test.rb +40 -0
  352. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +339 -0
  353. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_group.rb +96 -0
  354. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  355. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  356. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  357. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  358. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  359. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  360. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  361. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  362. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +38 -0
  363. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
  364. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +336 -0
  365. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile_group.rb +96 -0
  366. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_must_support_test.rb +51 -0
  367. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  368. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  369. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  370. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  371. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  372. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  373. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_read_test.rb +26 -0
  374. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_reference_resolution_test.rb +38 -0
  375. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_validation_test.rb +40 -0
  376. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +336 -0
  377. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate_group.rb +96 -0
  378. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_must_support_test.rb +42 -0
  379. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_date_search_test.rb +49 -0
  380. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_search_test.rb +62 -0
  381. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_status_search_test.rb +47 -0
  382. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  383. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_read_test.rb +26 -0
  384. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_reference_resolution_test.rb +38 -0
  385. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_validation_test.rb +40 -0
  386. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +220 -0
  387. data/lib/us_core_test_kit/generated/v5.0.1/immunization_group.rb +90 -0
  388. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_must_support_test.rb +48 -0
  389. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  390. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  391. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  392. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  393. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  394. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_read_test.rb +26 -0
  395. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_reference_resolution_test.rb +41 -0
  396. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_validation_test.rb +40 -0
  397. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_validation_test.rb +39 -0
  398. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +355 -0
  399. data/lib/us_core_test_kit/generated/v5.0.1/medication_request_group.rb +95 -0
  400. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +21140 -0
  401. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +766 -0
  402. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_must_support_test.rb +45 -0
  403. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_date_search_test.rb +48 -0
  404. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_search_test.rb +64 -0
  405. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_status_search_test.rb +49 -0
  406. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_date_search_test.rb +50 -0
  407. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_search_test.rb +47 -0
  408. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_provenance_revinclude_search_test.rb +53 -0
  409. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_read_test.rb +26 -0
  410. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_reference_resolution_test.rb +38 -0
  411. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_validation_test.rb +40 -0
  412. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test_group.rb +96 -0
  413. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1305 -0
  414. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_must_support_test.rb +45 -0
  415. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_date_search_test.rb +48 -0
  416. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_search_test.rb +64 -0
  417. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_status_search_test.rb +49 -0
  418. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_date_search_test.rb +50 -0
  419. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_search_test.rb +47 -0
  420. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_provenance_revinclude_search_test.rb +53 -0
  421. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_read_test.rb +26 -0
  422. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_reference_resolution_test.rb +38 -0
  423. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_validation_test.rb +40 -0
  424. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging_group.rb +96 -0
  425. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1305 -0
  426. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_must_support_test.rb +45 -0
  427. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  428. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
  429. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  430. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  431. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  432. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  433. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_read_test.rb +26 -0
  434. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
  435. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_validation_test.rb +40 -0
  436. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab_group.rb +96 -0
  437. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +382 -0
  438. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_must_support_test.rb +49 -0
  439. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_date_search_test.rb +48 -0
  440. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_search_test.rb +65 -0
  441. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_status_search_test.rb +49 -0
  442. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_date_search_test.rb +50 -0
  443. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_search_test.rb +47 -0
  444. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_provenance_revinclude_search_test.rb +53 -0
  445. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_read_test.rb +26 -0
  446. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_reference_resolution_test.rb +41 -0
  447. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_validation_test.rb +40 -0
  448. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment_group.rb +96 -0
  449. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +308 -0
  450. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
  451. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
  452. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
  453. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
  454. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
  455. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
  456. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
  457. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
  458. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +38 -0
  459. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
  460. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation_group.rb +96 -0
  461. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1329 -0
  462. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_must_support_test.rb +48 -0
  463. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_date_search_test.rb +48 -0
  464. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_search_test.rb +65 -0
  465. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_status_search_test.rb +49 -0
  466. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_date_search_test.rb +50 -0
  467. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_search_test.rb +47 -0
  468. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_provenance_revinclude_search_test.rb +53 -0
  469. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_read_test.rb +26 -0
  470. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_reference_resolution_test.rb +39 -0
  471. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_validation_test.rb +40 -0
  472. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history_group.rb +96 -0
  473. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +161 -0
  474. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_address_search_test.rb +41 -0
  475. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_must_support_test.rb +51 -0
  476. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_name_search_test.rb +51 -0
  477. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_read_test.rb +26 -0
  478. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_validation_test.rb +40 -0
  479. data/lib/us_core_test_kit/generated/v5.0.1/organization_group.rb +85 -0
  480. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +364 -0
  481. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_family_search_test.rb +43 -0
  482. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_name_search_test.rb +41 -0
  483. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_family_gender_search_test.rb +43 -0
  484. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_gender_name_search_test.rb +41 -0
  485. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_id_search_test.rb +55 -0
  486. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_identifier_search_test.rb +42 -0
  487. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_must_support_test.rb +66 -0
  488. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_name_search_test.rb +41 -0
  489. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_provenance_revinclude_search_test.rb +51 -0
  490. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_read_test.rb +26 -0
  491. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_validation_test.rb +40 -0
  492. data/lib/us_core_test_kit/generated/v5.0.1/patient_group.rb +100 -0
  493. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +336 -0
  494. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  495. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  496. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  497. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  498. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  499. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  500. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  501. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  502. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  503. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
  504. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age_group.rb +96 -0
  505. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +336 -0
  506. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  507. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  508. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  509. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  510. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  511. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  512. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  513. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  514. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  515. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
  516. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height_group.rb +96 -0
  517. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +185 -0
  518. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_id_search_test.rb +53 -0
  519. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_identifier_search_test.rb +42 -0
  520. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_must_support_test.rb +51 -0
  521. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_name_search_test.rb +41 -0
  522. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_read_test.rb +26 -0
  523. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_validation_test.rb +40 -0
  524. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_group.rb +87 -0
  525. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1276 -0
  526. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_must_support_test.rb +40 -0
  527. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_code_date_search_test.rb +50 -0
  528. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_date_search_test.rb +47 -0
  529. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_search_test.rb +62 -0
  530. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_status_search_test.rb +48 -0
  531. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  532. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_read_test.rb +26 -0
  533. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_reference_resolution_test.rb +38 -0
  534. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_validation_test.rb +40 -0
  535. data/lib/us_core_test_kit/generated/v5.0.1/procedure_group.rb +93 -0
  536. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +201 -0
  537. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_must_support_test.rb +46 -0
  538. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_read_test.rb +26 -0
  539. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_reference_resolution_test.rb +40 -0
  540. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_validation_test.rb +40 -0
  541. data/lib/us_core_test_kit/generated/v5.0.1/provenance_group.rb +59 -0
  542. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +405 -0
  543. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +59 -0
  544. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  545. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  546. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  547. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  548. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  549. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  550. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  551. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  552. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
  553. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry_group.rb +96 -0
  554. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +288 -0
  555. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
  556. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_must_support_test.rb +56 -0
  557. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
  558. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
  559. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
  560. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
  561. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_tag_authored_search_test.rb +50 -0
  562. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_patient_tag_search_test.rb +49 -0
  563. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
  564. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_read_test.rb +26 -0
  565. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_reference_resolution_test.rb +39 -0
  566. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
  567. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response_group.rb +101 -0
  568. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +123 -0
  569. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_id_search_test.rb +41 -0
  570. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_must_support_test.rb +42 -0
  571. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_patient_search_test.rb +63 -0
  572. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
  573. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_read_test.rb +26 -0
  574. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_reference_resolution_test.rb +38 -0
  575. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_validation_test.rb +40 -0
  576. data/lib/us_core_test_kit/generated/v5.0.1/related_person_group.rb +88 -0
  577. data/lib/us_core_test_kit/generated/v5.0.1/resource_list.rb +31 -0
  578. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +336 -0
  579. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  580. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  581. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  582. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  583. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  584. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  585. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  586. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  587. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_reference_resolution_test.rb +38 -0
  588. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
  589. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate_group.rb +96 -0
  590. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1335 -0
  591. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_id_search_test.rb +42 -0
  592. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_must_support_test.rb +45 -0
  593. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_authored_search_test.rb +48 -0
  594. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_search_test.rb +47 -0
  595. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_authored_search_test.rb +50 -0
  596. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_search_test.rb +47 -0
  597. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_search_test.rb +63 -0
  598. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_status_search_test.rb +48 -0
  599. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
  600. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_read_test.rb +26 -0
  601. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_reference_resolution_test.rb +39 -0
  602. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_validation_test.rb +40 -0
  603. data/lib/us_core_test_kit/generated/v5.0.1/service_request_group.rb +102 -0
  604. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +308 -0
  605. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  606. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
  607. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  608. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  609. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  610. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  611. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  612. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_read_test.rb +26 -0
  613. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  614. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_validation_test.rb +40 -0
  615. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus_group.rb +96 -0
  616. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +134 -0
  617. data/lib/us_core_test_kit/generator/group_generator.rb +21 -2
  618. data/lib/us_core_test_kit/generator/group_metadata.rb +12 -9
  619. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +27 -5
  620. data/lib/us_core_test_kit/generator/ig_loader.rb +12 -5
  621. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +22 -5
  622. data/lib/us_core_test_kit/generator/ig_resources.rb +2 -1
  623. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +122 -39
  624. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +2 -1
  625. data/lib/us_core_test_kit/generator/naming.rb +1 -1
  626. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +32 -18
  627. data/lib/us_core_test_kit/generator/special_cases.rb +3 -7
  628. data/lib/us_core_test_kit/generator/suite_generator.rb +10 -2
  629. data/lib/us_core_test_kit/generator/terminology_binding_metadata_extractor.rb +3 -0
  630. data/lib/us_core_test_kit/generator/validation_test_generator.rb +4 -0
  631. data/lib/us_core_test_kit/generator.rb +9 -14
  632. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyheight.json +0 -0
  633. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodytemp.json +0 -0
  634. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bodyweight.json +0 -0
  635. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-bp.json +0 -0
  636. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-heartrate.json +0 -0
  637. data/lib/us_core_test_kit/igs/{v311 → us_core_311}/StructureDefinition-resprate.json +0 -0
  638. data/lib/us_core_test_kit/igs/{v311/package.tgz → us_core_311.tgz} +0 -0
  639. data/lib/us_core_test_kit/igs/{v400/package.tgz → us_core_400.tgz} +0 -0
  640. data/lib/us_core_test_kit/igs/us_core_501.tgz +0 -0
  641. data/lib/us_core_test_kit/must_support_test.rb +53 -21
  642. data/lib/us_core_test_kit/read_test.rb +1 -1
  643. data/lib/us_core_test_kit/reference_resolution_test.rb +27 -4
  644. data/lib/us_core_test_kit/search_test.rb +19 -2
  645. data/lib/us_core_test_kit/validation_test.rb +4 -2
  646. data/lib/us_core_test_kit/version.rb +1 -1
  647. data/lib/us_core_test_kit.rb +1 -0
  648. metadata +488 -13
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -6,7 +6,8 @@
6
6
  :resource: Observation
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age
8
8
  :profile_name: US Core Pediatric BMI for Age Observation Profile
9
- :title: Pediatric BMI for Age Observation
9
+ :profile_version: 4.0.0
10
+ :title: Observation Pediatric BMI for Age
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Pediatric BMI for Age Observation Profile.
12
13
  :interactions:
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -12,12 +12,12 @@ require_relative 'pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resoluti
12
12
  module USCoreTestKit
13
13
  module USCoreV400
14
14
  class PediatricBmiForAgeGroup < Inferno::TestGroup
15
- title 'Pediatric BMI for Age Observation Tests'
15
+ title 'Observation Pediatric BMI for Age Tests'
16
16
  short_description 'Verify support for the server capabilities required by the US Core Pediatric BMI for Age Observation Profile.'
17
17
  description %(
18
18
  # Background
19
19
 
20
- The US Core Pediatric BMI for Age Observation sequence verifies that the system under test is
20
+ The US Core Observation Pediatric BMI for Age sequence verifies that the system under test is
21
21
  able to provide correct responses for Observation queries. These queries
22
22
  must contain resources conforming to the US Core Pediatric BMI for Age Observation Profile as
23
23
  specified in the US Core v4.0.0 Implementation Guide.
@@ -6,7 +6,8 @@
6
6
  :resource: Observation
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height
8
8
  :profile_name: US Core Pediatric Weight for Height Observation Profile
9
- :title: Pediatric Weight for Height Observation
9
+ :profile_version: 4.0.0
10
+ :title: Observation Pediatric Weight for Height
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Pediatric Weight for Height Observation Profile.
12
13
  :interactions:
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -12,12 +12,12 @@ require_relative 'pediatric_weight_for_height/pediatric_weight_for_height_refere
12
12
  module USCoreTestKit
13
13
  module USCoreV400
14
14
  class PediatricWeightForHeightGroup < Inferno::TestGroup
15
- title 'Pediatric Weight for Height Observation Tests'
15
+ title 'Observation Pediatric Weight for Height Tests'
16
16
  short_description 'Verify support for the server capabilities required by the US Core Pediatric Weight for Height Observation Profile.'
17
17
  description %(
18
18
  # Background
19
19
 
20
- The US Core Pediatric Weight for Height Observation sequence verifies that the system under test is
20
+ The US Core Observation Pediatric Weight for Height sequence verifies that the system under test is
21
21
  able to provide correct responses for Observation queries. These queries
22
22
  must contain resources conforming to the US Core Pediatric Weight for Height Observation Profile as
23
23
  specified in the US Core v4.0.0 Implementation Guide.
@@ -6,6 +6,7 @@
6
6
  :resource: Practitioner
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
8
8
  :profile_name: US Core Practitioner Profile
9
+ :profile_version: 4.0.0
9
10
  :title: Practitioner
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Practitioner Profile.
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -6,6 +6,7 @@
6
6
  :resource: Procedure
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure
8
8
  :profile_name: US Core Procedure Profile
9
+ :profile_version: 4.0.0
9
10
  :title: Procedure
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Procedure Profile.
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -6,6 +6,7 @@
6
6
  :resource: Provenance
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance
8
8
  :profile_name: US Core Provenance Profile
9
+ :profile_version: 4.0.0
9
10
  :title: Provenance
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Provenance Profile.
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -6,7 +6,8 @@
6
6
  :resource: Observation
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry
8
8
  :profile_name: US Core Pulse Oximetry Profile
9
- :title: Pulse Oximetry
9
+ :profile_version: 4.0.0
10
+ :title: Observation Pulse Oximetry
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Pulse Oximetry Profile.
12
13
  :interactions:
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -12,12 +12,12 @@ require_relative 'pulse_oximetry/pulse_oximetry_reference_resolution_test'
12
12
  module USCoreTestKit
13
13
  module USCoreV400
14
14
  class PulseOximetryGroup < Inferno::TestGroup
15
- title 'Pulse Oximetry Tests'
15
+ title 'Observation Pulse Oximetry Tests'
16
16
  short_description 'Verify support for the server capabilities required by the US Core Pulse Oximetry Profile.'
17
17
  description %(
18
18
  # Background
19
19
 
20
- The US Core Pulse Oximetry sequence verifies that the system under test is
20
+ The US Core Observation Pulse Oximetry sequence verifies that the system under test is
21
21
  able to provide correct responses for Observation queries. These queries
22
22
  must contain resources conforming to the US Core Pulse Oximetry Profile as
23
23
  specified in the US Core v4.0.0 Implementation Guide.
@@ -6,7 +6,8 @@
6
6
  :resource: Observation
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate
8
8
  :profile_name: US Core Respiratory Rate Profile
9
- :title: Respiratory Rate
9
+ :profile_version: 4.0.0
10
+ :title: Observation Respiratory Rate
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Respiratory Rate Profile.
12
13
  :interactions:
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -12,12 +12,12 @@ require_relative 'respiratory_rate/respiratory_rate_reference_resolution_test'
12
12
  module USCoreTestKit
13
13
  module USCoreV400
14
14
  class RespiratoryRateGroup < Inferno::TestGroup
15
- title 'Respiratory Rate Tests'
15
+ title 'Observation Respiratory Rate Tests'
16
16
  short_description 'Verify support for the server capabilities required by the US Core Respiratory Rate Profile.'
17
17
  description %(
18
18
  # Background
19
19
 
20
- The US Core Respiratory Rate sequence verifies that the system under test is
20
+ The US Core Observation Respiratory Rate sequence verifies that the system under test is
21
21
  able to provide correct responses for Observation queries. These queries
22
22
  must contain resources conforming to the US Core Respiratory Rate Profile as
23
23
  specified in the US Core v4.0.0 Implementation Guide.
@@ -6,7 +6,8 @@
6
6
  :resource: Observation
7
7
  :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus
8
8
  :profile_name: US Core Smoking Status Observation Profile
9
- :title: Smoking Status Observation
9
+ :profile_version: 4.0.0
10
+ :title: Observation Smoking Status
10
11
  :short_description: Verify support for the server capabilities required by the US
11
12
  Core Smoking Status Observation Profile.
12
13
  :interactions:
@@ -48,9 +49,8 @@
48
49
  - patient
49
50
  - code
50
51
  - date
51
- :names_not_must_support_or_mandatory:
52
- - date
53
- :must_support_or_mandatory: false
52
+ :names_not_must_support_or_mandatory: []
53
+ :must_support_or_mandatory: true
54
54
  - :expectation: SHALL
55
55
  :names:
56
56
  - patient
@@ -62,9 +62,8 @@
62
62
  - patient
63
63
  - category
64
64
  - date
65
- :names_not_must_support_or_mandatory:
66
- - date
67
- :must_support_or_mandatory: false
65
+ :names_not_must_support_or_mandatory: []
66
+ :must_support_or_mandatory: true
68
67
  :search_definitions:
69
68
  :patient:
70
69
  :paths:
@@ -18,8 +18,6 @@ none are returned, the test is skipped.
18
18
  )
19
19
 
20
20
  id :us_core_v400_smokingstatus_patient_category_date_search_test
21
- optional
22
-
23
21
  input :patient_ids,
24
22
  title: 'Patient IDs',
25
23
  description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
@@ -32,6 +32,7 @@ fail if their code/system are not found in the valueset.
32
32
  run do
33
33
  perform_validation_test(scratch_resources[:all] || [],
34
34
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus',
35
+ '4.0.0',
35
36
  skip_if_empty: true)
36
37
  end
37
38
  end
@@ -12,12 +12,12 @@ require_relative 'smokingstatus/smokingstatus_reference_resolution_test'
12
12
  module USCoreTestKit
13
13
  module USCoreV400
14
14
  class SmokingstatusGroup < Inferno::TestGroup
15
- title 'Smoking Status Observation Tests'
15
+ title 'Observation Smoking Status Tests'
16
16
  short_description 'Verify support for the server capabilities required by the US Core Smoking Status Observation Profile.'
17
17
  description %(
18
18
  # Background
19
19
 
20
- The US Core Smoking Status Observation sequence verifies that the system under test is
20
+ The US Core Observation Smoking Status sequence verifies that the system under test is
21
21
  able to provide correct responses for Observation queries. These queries
22
22
  must contain resources conforming to the US Core Smoking Status Observation Profile as
23
23
  specified in the US Core v4.0.0 Implementation Guide.
@@ -0,0 +1,42 @@
1
+ require_relative '../../../must_support_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV501
5
+ class AllergyIntoleranceMustSupportTest < Inferno::Test
6
+ include USCoreTestKit::MustSupportTest
7
+
8
+ title 'All must support elements are provided in the AllergyIntolerance resources returned'
9
+ description %(
10
+ US Core Responders SHALL be capable of populating all data elements as
11
+ part of the query results as specified by the US Core Server Capability
12
+ Statement. This test will look through the AllergyIntolerance resources
13
+ found previously for the following must support elements:
14
+
15
+ * AllergyIntolerance.clinicalStatus
16
+ * AllergyIntolerance.code
17
+ * AllergyIntolerance.patient
18
+ * AllergyIntolerance.reaction
19
+ * AllergyIntolerance.reaction.manifestation
20
+ * AllergyIntolerance.verificationStatus
21
+ )
22
+
23
+ id :us_core_v501_allergy_intolerance_must_support_test
24
+
25
+ def resource_type
26
+ 'AllergyIntolerance'
27
+ end
28
+
29
+ def self.metadata
30
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
31
+ end
32
+
33
+ def scratch_resources
34
+ scratch[:allergy_intolerance_resources] ||= {}
35
+ end
36
+
37
+ run do
38
+ perform_must_support_test(all_scratch_resources)
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,48 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class AllergyIntolerancePatientClinicalStatusSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for AllergyIntolerance search by patient + clinical-status'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ patient + clinical-status on the AllergyIntolerance resource. This test
13
+ will pass if resources are returned and match the search criteria. If
14
+ none are returned, the test is skipped.
15
+
16
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
17
+
18
+ )
19
+
20
+ id :us_core_v501_allergy_intolerance_patient_clinical_status_search_test
21
+ optional
22
+
23
+ input :patient_ids,
24
+ title: 'Patient IDs',
25
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
26
+
27
+ def self.properties
28
+ @properties ||= SearchTestProperties.new(
29
+ resource_type: 'AllergyIntolerance',
30
+ search_param_names: ['patient', 'clinical-status'],
31
+ token_search_params: ['clinical-status']
32
+ )
33
+ end
34
+
35
+ def self.metadata
36
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
37
+ end
38
+
39
+ def scratch_resources
40
+ scratch[:allergy_intolerance_resources] ||= {}
41
+ end
42
+
43
+ run do
44
+ run_search_test
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,62 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class AllergyIntolerancePatientSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for AllergyIntolerance search by patient'
10
+ description %(
11
+ A server SHALL support searching by
12
+ patient on the AllergyIntolerance resource. This test
13
+ will pass if resources are returned and match the search criteria. If
14
+ none are returned, the test is skipped.
15
+
16
+ This test verifies that the server supports searching by reference using
17
+ the form `patient=[id]` as well as `patient=Patient/[id]`. The two
18
+ different forms are expected to return the same number of results. US
19
+ Core requires that both forms are supported by US Core responders.
20
+
21
+ Because this is the first search of the sequence, resources in the
22
+ response will be used for subsequent tests.
23
+
24
+ Additionally, this test will check that GET and POST search methods
25
+ return the same number of results. Search by POST is required by the
26
+ FHIR R4 specification, and these tests interpret search by GET as a
27
+ requirement of US Core v5.0.1.
28
+
29
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
30
+
31
+ )
32
+
33
+ id :us_core_v501_allergy_intolerance_patient_search_test
34
+ input :patient_ids,
35
+ title: 'Patient IDs',
36
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
37
+
38
+ def self.properties
39
+ @properties ||= SearchTestProperties.new(
40
+ first_search: true,
41
+ resource_type: 'AllergyIntolerance',
42
+ search_param_names: ['patient'],
43
+ possible_status_search: true,
44
+ test_reference_variants: true,
45
+ test_post_search: true
46
+ )
47
+ end
48
+
49
+ def self.metadata
50
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
51
+ end
52
+
53
+ def scratch_resources
54
+ scratch[:allergy_intolerance_resources] ||= {}
55
+ end
56
+
57
+ run do
58
+ run_search_test
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,51 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class AllergyIntoleranceProvenanceRevincludeSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns Provenance resources from AllergyIntolerance search by patient + revInclude:Provenance:target'
10
+ description %(
11
+ A server SHALL be capable of supporting _revIncludes:Provenance:target.
12
+
13
+ This test will perform a search by patient + revInclude:Provenance:target and
14
+ will pass if a Provenance resource is found in the response.
15
+ %)
16
+
17
+ id :us_core_v501_allergy_intolerance_provenance_revinclude_search_test
18
+
19
+ input :patient_ids,
20
+ title: 'Patient IDs',
21
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
22
+
23
+ def properties
24
+ @properties ||= SearchTestProperties.new(
25
+ resource_type: 'AllergyIntolerance',
26
+ search_param_names: ['patient']
27
+ )
28
+ end
29
+
30
+ def self.metadata
31
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
32
+ end
33
+
34
+ def self.provenance_metadata
35
+ @provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml')))
36
+ end
37
+
38
+ def scratch_resources
39
+ scratch[:allergy_intolerance_resources] ||= {}
40
+ end
41
+
42
+ def scratch_provenance_resources
43
+ scratch[:provenance_resources] ||= {}
44
+ end
45
+
46
+ run do
47
+ run_provenance_revinclude_search_test
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,26 @@
1
+ require_relative '../../../read_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV501
5
+ class AllergyIntoleranceReadTest < Inferno::Test
6
+ include USCoreTestKit::ReadTest
7
+
8
+ title 'Server returns correct AllergyIntolerance resource from AllergyIntolerance read interaction'
9
+ description 'A server SHALL support the AllergyIntolerance read interaction.'
10
+
11
+ id :us_core_v501_allergy_intolerance_read_test
12
+
13
+ def resource_type
14
+ 'AllergyIntolerance'
15
+ end
16
+
17
+ def scratch_resources
18
+ scratch[:allergy_intolerance_resources] ||= {}
19
+ end
20
+
21
+ run do
22
+ perform_read_test(all_scratch_resources)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,38 @@
1
+ require_relative '../../../reference_resolution_test'
2
+ require_relative '../resource_list'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class AllergyIntoleranceReferenceResolutionTest < Inferno::Test
7
+ include USCoreTestKit::ReferenceResolutionTest
8
+ include ResourceList
9
+
10
+ title 'MustSupport references within AllergyIntolerance resources can be read'
11
+ description %(
12
+ This test will attempt to read external references provided within elements
13
+ marked as 'MustSupport', if any are available. Elements which may provide
14
+ external references include:
15
+
16
+ * AllergyIntolerance.patient
17
+ )
18
+
19
+ id :us_core_v501_allergy_intolerance_reference_resolution_test
20
+
21
+ def resource_type
22
+ 'AllergyIntolerance'
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[:allergy_intolerance_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,40 @@
1
+ require_relative '../../../validation_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV501
5
+ class AllergyIntoleranceValidationTest < Inferno::Test
6
+ include USCoreTestKit::ValidationTest
7
+
8
+ id :us_core_v501_allergy_intolerance_validation_test
9
+ title 'AllergyIntolerance resources returned during previous tests conform to the US Core AllergyIntolerance Profile'
10
+ description %(
11
+ This test verifies resources returned from the first search conform to
12
+ the [US Core AllergyIntolerance Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
14
+
15
+ It verifies the presence of mandatory elements and that elements with
16
+ required bindings contain appropriate values. CodeableConcept element
17
+ bindings will fail if none of their codings have a code/system belonging
18
+ to the bound ValueSet. Quantity, Coding, and code element bindings will
19
+ fail if their code/system are not found in the valueset.
20
+
21
+ )
22
+ output :dar_code_found, :dar_extension_found
23
+
24
+ def resource_type
25
+ 'AllergyIntolerance'
26
+ end
27
+
28
+ def scratch_resources
29
+ scratch[:allergy_intolerance_resources] ||= {}
30
+ end
31
+
32
+ run do
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance',
35
+ '5.0.1',
36
+ skip_if_empty: true)
37
+ end
38
+ end
39
+ end
40
+ end