us_core_test_kit 0.2.0 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/clinical_note_attachment_test.rb +2 -2
  3. data/lib/us_core_test_kit/custom_groups/clinical_note_type_test.rb +11 -6
  4. data/lib/us_core_test_kit/fhir_resource_navigation.rb +11 -3
  5. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_must_support_test.rb +5 -5
  6. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +1 -1
  7. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_patient_search_test.rb +1 -1
  8. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +4 -4
  9. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/allergy_intolerance_validation_test.rb +5 -2
  10. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance_group.rb +4 -3
  11. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_must_support_test.rb +14 -14
  12. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_date_search_test.rb +1 -1
  13. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_search_test.rb +1 -1
  14. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_category_status_search_test.rb +1 -1
  15. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_code_date_search_test.rb +1 -1
  16. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_patient_code_search_test.rb +1 -1
  17. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_reference_resolution_test.rb +4 -4
  18. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_validation_test.rb +5 -2
  19. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight_group.rb +4 -3
  20. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_must_support_test.rb +14 -14
  21. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_date_search_test.rb +1 -1
  22. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_search_test.rb +1 -1
  23. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_category_status_search_test.rb +1 -1
  24. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_code_date_search_test.rb +1 -1
  25. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_patient_code_search_test.rb +1 -1
  26. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_reference_resolution_test.rb +4 -4
  27. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_validation_test.rb +5 -2
  28. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp_group.rb +4 -3
  29. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_must_support_test.rb +14 -14
  30. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_date_search_test.rb +1 -1
  31. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_search_test.rb +1 -1
  32. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_category_status_search_test.rb +1 -1
  33. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_code_date_search_test.rb +1 -1
  34. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_patient_code_search_test.rb +1 -1
  35. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_reference_resolution_test.rb +4 -4
  36. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_validation_test.rb +5 -2
  37. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight_group.rb +4 -3
  38. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_must_support_test.rb +17 -17
  39. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_date_search_test.rb +1 -1
  40. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_search_test.rb +1 -1
  41. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_category_status_search_test.rb +1 -1
  42. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_code_date_search_test.rb +1 -1
  43. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_patient_code_search_test.rb +1 -1
  44. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_reference_resolution_test.rb +4 -4
  45. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_validation_test.rb +5 -2
  46. data/lib/us_core_test_kit/generated/v3.1.1/bp_group.rb +4 -3
  47. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_must_support_test.rb +6 -6
  48. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_date_search_test.rb +1 -1
  49. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_search_test.rb +1 -1
  50. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_status_date_search_test.rb +1 -1
  51. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_patient_category_status_search_test.rb +1 -1
  52. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_reference_resolution_test.rb +4 -4
  53. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/care_plan_validation_test.rb +5 -2
  54. data/lib/us_core_test_kit/generated/v3.1.1/care_plan_group.rb +4 -3
  55. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_must_support_test.rb +4 -4
  56. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_patient_status_search_test.rb +1 -1
  57. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_reference_resolution_test.rb +5 -4
  58. data/lib/us_core_test_kit/generated/v3.1.1/care_team/care_team_validation_test.rb +5 -2
  59. data/lib/us_core_test_kit/generated/v3.1.1/care_team_group.rb +4 -3
  60. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_must_support_test.rb +4 -4
  61. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_category_search_test.rb +1 -1
  62. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_clinical_status_search_test.rb +1 -1
  63. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_code_search_test.rb +1 -1
  64. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_onset_date_search_test.rb +1 -1
  65. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_patient_search_test.rb +1 -1
  66. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_reference_resolution_test.rb +4 -4
  67. data/lib/us_core_test_kit/generated/v3.1.1/condition/condition_validation_test.rb +5 -2
  68. data/lib/us_core_test_kit/generated/v3.1.1/condition_group.rb +4 -3
  69. data/lib/us_core_test_kit/generated/v3.1.1/device/device_must_support_test.rb +9 -10
  70. data/lib/us_core_test_kit/generated/v3.1.1/device/device_patient_search_test.rb +1 -1
  71. data/lib/us_core_test_kit/generated/v3.1.1/device/device_patient_type_search_test.rb +1 -1
  72. data/lib/us_core_test_kit/generated/v3.1.1/device/device_reference_resolution_test.rb +4 -4
  73. data/lib/us_core_test_kit/generated/v3.1.1/device/device_validation_test.rb +5 -2
  74. data/lib/us_core_test_kit/generated/v3.1.1/device_group.rb +4 -3
  75. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +8 -8
  76. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +1 -1
  77. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +1 -1
  78. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +1 -1
  79. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +1 -1
  80. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +1 -1
  81. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +1 -1
  82. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +6 -4
  83. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +5 -2
  84. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab_group.rb +4 -3
  85. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +8 -8
  86. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +1 -1
  87. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +1 -1
  88. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +1 -1
  89. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +1 -1
  90. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +1 -1
  91. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +1 -1
  92. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +6 -4
  93. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +5 -2
  94. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note_group.rb +4 -3
  95. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_id_search_test.rb +1 -1
  96. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_must_support_test.rb +15 -16
  97. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_category_date_search_test.rb +1 -1
  98. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_category_search_test.rb +1 -1
  99. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_search_test.rb +1 -1
  100. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_status_search_test.rb +1 -1
  101. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_type_period_search_test.rb +1 -1
  102. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_patient_type_search_test.rb +1 -1
  103. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_reference_resolution_test.rb +8 -5
  104. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_validation_test.rb +5 -2
  105. data/lib/us_core_test_kit/generated/v3.1.1/document_reference_group.rb +4 -3
  106. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_class_patient_search_test.rb +1 -1
  107. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_date_patient_search_test.rb +1 -1
  108. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_id_search_test.rb +1 -1
  109. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_identifier_search_test.rb +1 -1
  110. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_must_support_test.rb +16 -16
  111. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_search_test.rb +1 -1
  112. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_status_search_test.rb +1 -1
  113. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_patient_type_search_test.rb +1 -1
  114. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_reference_resolution_test.rb +6 -4
  115. data/lib/us_core_test_kit/generated/v3.1.1/encounter/encounter_validation_test.rb +5 -2
  116. data/lib/us_core_test_kit/generated/v3.1.1/encounter_group.rb +4 -3
  117. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_must_support_test.rb +4 -4
  118. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_lifecycle_status_search_test.rb +1 -1
  119. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_search_test.rb +1 -1
  120. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_patient_target_date_search_test.rb +1 -1
  121. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_reference_resolution_test.rb +4 -4
  122. data/lib/us_core_test_kit/generated/v3.1.1/goal/goal_validation_test.rb +5 -2
  123. data/lib/us_core_test_kit/generated/v3.1.1/goal_group.rb +4 -3
  124. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_must_support_test.rb +14 -14
  125. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_date_search_test.rb +1 -1
  126. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_search_test.rb +1 -1
  127. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_category_status_search_test.rb +1 -1
  128. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_code_date_search_test.rb +1 -1
  129. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_patient_code_search_test.rb +1 -1
  130. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_reference_resolution_test.rb +4 -4
  131. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_validation_test.rb +5 -2
  132. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference_group.rb +4 -3
  133. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_must_support_test.rb +14 -14
  134. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_date_search_test.rb +1 -1
  135. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_search_test.rb +1 -1
  136. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_category_status_search_test.rb +1 -1
  137. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_code_date_search_test.rb +1 -1
  138. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_patient_code_search_test.rb +1 -1
  139. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_reference_resolution_test.rb +4 -4
  140. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_validation_test.rb +5 -2
  141. data/lib/us_core_test_kit/generated/v3.1.1/heartrate_group.rb +4 -3
  142. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_must_support_test.rb +5 -5
  143. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_date_search_test.rb +1 -1
  144. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_search_test.rb +1 -1
  145. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_patient_status_search_test.rb +1 -1
  146. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_reference_resolution_test.rb +4 -4
  147. data/lib/us_core_test_kit/generated/v3.1.1/immunization/immunization_validation_test.rb +5 -2
  148. data/lib/us_core_test_kit/generated/v3.1.1/immunization_group.rb +4 -3
  149. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_must_support_test.rb +9 -9
  150. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_authoredon_search_test.rb +1 -1
  151. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_encounter_search_test.rb +1 -1
  152. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_search_test.rb +1 -1
  153. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_patient_intent_status_search_test.rb +1 -1
  154. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_reference_resolution_test.rb +9 -5
  155. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_request_validation_test.rb +5 -2
  156. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/medication_validation_test.rb +4 -2
  157. data/lib/us_core_test_kit/generated/v3.1.1/medication_request_group.rb +4 -3
  158. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_must_support_test.rb +6 -6
  159. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_date_search_test.rb +1 -1
  160. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_search_test.rb +1 -1
  161. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_category_status_search_test.rb +1 -1
  162. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_code_date_search_test.rb +1 -1
  163. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_patient_code_search_test.rb +1 -1
  164. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_reference_resolution_test.rb +4 -4
  165. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/observation_lab_validation_test.rb +5 -2
  166. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab_group.rb +4 -3
  167. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +0 -2
  168. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_address_search_test.rb +1 -1
  169. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_must_support_test.rb +12 -12
  170. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_name_search_test.rb +1 -1
  171. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_validation_test.rb +5 -2
  172. data/lib/us_core_test_kit/generated/v3.1.1/organization_group.rb +4 -5
  173. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +0 -2
  174. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_family_search_test.rb +1 -1
  175. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_birthdate_name_search_test.rb +1 -1
  176. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_family_gender_search_test.rb +1 -1
  177. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_gender_name_search_test.rb +1 -1
  178. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_id_search_test.rb +1 -1
  179. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_identifier_search_test.rb +1 -1
  180. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb +22 -22
  181. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_name_search_test.rb +1 -1
  182. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_validation_test.rb +5 -2
  183. data/lib/us_core_test_kit/generated/v3.1.1/patient_group.rb +4 -5
  184. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +14 -14
  185. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +1 -1
  186. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +1 -1
  187. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +1 -1
  188. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +1 -1
  189. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +1 -1
  190. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +4 -4
  191. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +5 -2
  192. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age_group.rb +4 -3
  193. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +14 -14
  194. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +1 -1
  195. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +1 -1
  196. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +1 -1
  197. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +1 -1
  198. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +1 -1
  199. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +4 -4
  200. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +5 -2
  201. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height_group.rb +4 -3
  202. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +0 -2
  203. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_identifier_search_test.rb +1 -1
  204. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_must_support_test.rb +5 -5
  205. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_name_search_test.rb +1 -1
  206. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_validation_test.rb +5 -2
  207. data/lib/us_core_test_kit/generated/v3.1.1/practitioner_group.rb +4 -5
  208. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_must_support_test.rb +3 -3
  209. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_code_date_search_test.rb +1 -1
  210. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_date_search_test.rb +1 -1
  211. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_search_test.rb +1 -1
  212. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_patient_status_search_test.rb +1 -1
  213. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_reference_resolution_test.rb +4 -4
  214. data/lib/us_core_test_kit/generated/v3.1.1/procedure/procedure_validation_test.rb +5 -2
  215. data/lib/us_core_test_kit/generated/v3.1.1/procedure_group.rb +4 -3
  216. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_must_support_test.rb +8 -8
  217. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_reference_resolution_test.rb +6 -4
  218. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_validation_test.rb +5 -2
  219. data/lib/us_core_test_kit/generated/v3.1.1/provenance_group.rb +4 -3
  220. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +28 -28
  221. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +1 -1
  222. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +1 -1
  223. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +1 -1
  224. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +1 -1
  225. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +1 -1
  226. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +4 -4
  227. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_validation_test.rb +5 -2
  228. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry_group.rb +4 -3
  229. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_must_support_test.rb +14 -14
  230. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_date_search_test.rb +1 -1
  231. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_search_test.rb +1 -1
  232. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_category_status_search_test.rb +1 -1
  233. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_date_search_test.rb +1 -1
  234. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_patient_code_search_test.rb +1 -1
  235. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_reference_resolution_test.rb +4 -4
  236. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_validation_test.rb +5 -2
  237. data/lib/us_core_test_kit/generated/v3.1.1/resprate_group.rb +4 -3
  238. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_must_support_test.rb +4 -4
  239. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +1 -1
  240. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_search_test.rb +1 -1
  241. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +1 -1
  242. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +1 -1
  243. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_patient_code_search_test.rb +1 -1
  244. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_reference_resolution_test.rb +4 -4
  245. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/smokingstatus_validation_test.rb +5 -2
  246. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus_group.rb +4 -3
  247. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +5 -5
  248. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +1 -1
  249. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +1 -1
  250. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +4 -4
  251. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +5 -2
  252. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance_group.rb +4 -3
  253. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_must_support_test.rb +18 -18
  254. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +1 -1
  255. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +1 -1
  256. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +1 -1
  257. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +1 -1
  258. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +1 -1
  259. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +4 -4
  260. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_validation_test.rb +5 -2
  261. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +4 -3
  262. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_must_support_test.rb +14 -14
  263. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_date_search_test.rb +1 -1
  264. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_search_test.rb +1 -1
  265. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_category_status_search_test.rb +1 -1
  266. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_date_search_test.rb +1 -1
  267. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_patient_code_search_test.rb +1 -1
  268. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_reference_resolution_test.rb +4 -4
  269. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_validation_test.rb +5 -2
  270. data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +4 -3
  271. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_must_support_test.rb +14 -14
  272. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_date_search_test.rb +1 -1
  273. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_search_test.rb +1 -1
  274. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_category_status_search_test.rb +1 -1
  275. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_date_search_test.rb +1 -1
  276. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_patient_code_search_test.rb +1 -1
  277. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_reference_resolution_test.rb +4 -4
  278. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_validation_test.rb +5 -2
  279. data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +4 -3
  280. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_must_support_test.rb +14 -14
  281. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +1 -1
  282. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_search_test.rb +1 -1
  283. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +1 -1
  284. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +1 -1
  285. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_patient_code_search_test.rb +1 -1
  286. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_reference_resolution_test.rb +4 -4
  287. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_validation_test.rb +5 -2
  288. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +4 -3
  289. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_must_support_test.rb +14 -14
  290. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_date_search_test.rb +1 -1
  291. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_search_test.rb +1 -1
  292. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_category_status_search_test.rb +1 -1
  293. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_date_search_test.rb +1 -1
  294. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_patient_code_search_test.rb +1 -1
  295. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_reference_resolution_test.rb +4 -4
  296. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_validation_test.rb +5 -2
  297. data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +4 -3
  298. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_must_support_test.rb +7 -7
  299. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_date_search_test.rb +1 -1
  300. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_search_test.rb +1 -1
  301. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +1 -1
  302. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_patient_category_status_search_test.rb +1 -1
  303. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_reference_resolution_test.rb +4 -4
  304. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/care_plan_validation_test.rb +5 -2
  305. data/lib/us_core_test_kit/generated/v4.0.0/care_plan_group.rb +4 -3
  306. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_must_support_test.rb +4 -4
  307. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_patient_status_search_test.rb +1 -1
  308. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_reference_resolution_test.rb +5 -4
  309. data/lib/us_core_test_kit/generated/v4.0.0/care_team/care_team_validation_test.rb +5 -2
  310. data/lib/us_core_test_kit/generated/v4.0.0/care_team_group.rb +4 -3
  311. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_must_support_test.rb +4 -4
  312. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_category_search_test.rb +1 -1
  313. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_clinical_status_search_test.rb +1 -1
  314. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_code_search_test.rb +1 -1
  315. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_onset_date_search_test.rb +1 -1
  316. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_patient_search_test.rb +1 -1
  317. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_reference_resolution_test.rb +4 -4
  318. data/lib/us_core_test_kit/generated/v4.0.0/condition/condition_validation_test.rb +5 -2
  319. data/lib/us_core_test_kit/generated/v4.0.0/condition_group.rb +4 -3
  320. data/lib/us_core_test_kit/generated/v4.0.0/device/device_must_support_test.rb +9 -9
  321. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_search_test.rb +1 -1
  322. data/lib/us_core_test_kit/generated/v4.0.0/device/device_patient_type_search_test.rb +1 -1
  323. data/lib/us_core_test_kit/generated/v4.0.0/device/device_reference_resolution_test.rb +4 -4
  324. data/lib/us_core_test_kit/generated/v4.0.0/device/device_validation_test.rb +5 -2
  325. data/lib/us_core_test_kit/generated/v4.0.0/device_group.rb +4 -3
  326. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +8 -8
  327. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +1 -1
  328. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +1 -1
  329. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +1 -1
  330. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +1 -1
  331. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +1 -1
  332. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +1 -1
  333. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +6 -4
  334. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +5 -2
  335. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab_group.rb +4 -3
  336. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +8 -8
  337. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +1 -1
  338. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +1 -1
  339. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +1 -1
  340. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +1 -1
  341. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +1 -1
  342. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +1 -1
  343. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +6 -4
  344. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +5 -2
  345. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note_group.rb +4 -3
  346. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_id_search_test.rb +1 -1
  347. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_must_support_test.rb +14 -15
  348. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_date_search_test.rb +1 -1
  349. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_category_search_test.rb +1 -1
  350. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_search_test.rb +1 -1
  351. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_status_search_test.rb +1 -1
  352. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_period_search_test.rb +1 -1
  353. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_patient_type_search_test.rb +1 -1
  354. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_reference_resolution_test.rb +6 -4
  355. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/document_reference_validation_test.rb +5 -2
  356. data/lib/us_core_test_kit/generated/v4.0.0/document_reference_group.rb +4 -3
  357. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_class_patient_search_test.rb +1 -1
  358. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_date_patient_search_test.rb +1 -1
  359. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_id_search_test.rb +1 -1
  360. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_identifier_search_test.rb +1 -1
  361. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_must_support_test.rb +16 -18
  362. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_search_test.rb +1 -1
  363. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_status_search_test.rb +1 -1
  364. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_patient_type_search_test.rb +1 -1
  365. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_reference_resolution_test.rb +9 -5
  366. data/lib/us_core_test_kit/generated/v4.0.0/encounter/encounter_validation_test.rb +5 -2
  367. data/lib/us_core_test_kit/generated/v4.0.0/encounter_group.rb +4 -3
  368. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_must_support_test.rb +4 -4
  369. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_lifecycle_status_search_test.rb +1 -1
  370. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_search_test.rb +1 -1
  371. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_patient_target_date_search_test.rb +1 -1
  372. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_reference_resolution_test.rb +4 -4
  373. data/lib/us_core_test_kit/generated/v4.0.0/goal/goal_validation_test.rb +5 -2
  374. data/lib/us_core_test_kit/generated/v4.0.0/goal_group.rb +4 -3
  375. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_must_support_test.rb +14 -14
  376. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +1 -1
  377. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_search_test.rb +1 -1
  378. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +1 -1
  379. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +1 -1
  380. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_patient_code_search_test.rb +1 -1
  381. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_reference_resolution_test.rb +4 -4
  382. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_validation_test.rb +5 -2
  383. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +4 -3
  384. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +14 -14
  385. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +1 -1
  386. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +1 -1
  387. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +1 -1
  388. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +1 -1
  389. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +1 -1
  390. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +4 -4
  391. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +5 -2
  392. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +4 -3
  393. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_must_support_test.rb +14 -14
  394. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +1 -1
  395. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_search_test.rb +1 -1
  396. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +1 -1
  397. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +1 -1
  398. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_patient_code_search_test.rb +1 -1
  399. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_reference_resolution_test.rb +4 -4
  400. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_validation_test.rb +5 -2
  401. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +4 -3
  402. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_must_support_test.rb +5 -5
  403. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_date_search_test.rb +1 -1
  404. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_search_test.rb +1 -1
  405. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_patient_status_search_test.rb +1 -1
  406. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_reference_resolution_test.rb +4 -4
  407. data/lib/us_core_test_kit/generated/v4.0.0/immunization/immunization_validation_test.rb +5 -2
  408. data/lib/us_core_test_kit/generated/v4.0.0/immunization_group.rb +4 -3
  409. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_must_support_test.rb +10 -11
  410. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +1 -1
  411. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +1 -1
  412. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_search_test.rb +1 -1
  413. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +1 -1
  414. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_reference_resolution_test.rb +8 -5
  415. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_request_validation_test.rb +5 -2
  416. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/medication_validation_test.rb +4 -2
  417. data/lib/us_core_test_kit/generated/v4.0.0/medication_request_group.rb +4 -3
  418. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +20 -2
  419. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_must_support_test.rb +8 -8
  420. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +1 -1
  421. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_search_test.rb +1 -1
  422. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +1 -1
  423. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +1 -1
  424. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_patient_code_search_test.rb +1 -1
  425. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_reference_resolution_test.rb +4 -4
  426. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/observation_lab_validation_test.rb +5 -2
  427. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +4 -3
  428. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +0 -2
  429. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_address_search_test.rb +1 -1
  430. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_must_support_test.rb +14 -14
  431. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_name_search_test.rb +1 -1
  432. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_validation_test.rb +5 -2
  433. data/lib/us_core_test_kit/generated/v4.0.0/organization_group.rb +4 -5
  434. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +20 -3
  435. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_family_search_test.rb +1 -1
  436. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_birthdate_name_search_test.rb +1 -1
  437. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_family_gender_search_test.rb +1 -1
  438. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_gender_name_search_test.rb +1 -1
  439. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_id_search_test.rb +1 -1
  440. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_identifier_search_test.rb +1 -1
  441. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +27 -23
  442. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_name_search_test.rb +1 -1
  443. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_validation_test.rb +5 -2
  444. data/lib/us_core_test_kit/generated/v4.0.0/patient_group.rb +4 -5
  445. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +14 -14
  446. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +1 -1
  447. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +1 -1
  448. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +1 -1
  449. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +1 -1
  450. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +1 -1
  451. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +4 -4
  452. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +5 -2
  453. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +4 -3
  454. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +14 -14
  455. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +1 -1
  456. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +1 -1
  457. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +1 -1
  458. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +1 -1
  459. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +1 -1
  460. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +4 -4
  461. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +5 -2
  462. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +4 -3
  463. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +0 -2
  464. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_identifier_search_test.rb +1 -1
  465. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_must_support_test.rb +5 -5
  466. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_name_search_test.rb +1 -1
  467. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_validation_test.rb +5 -2
  468. data/lib/us_core_test_kit/generated/v4.0.0/practitioner_group.rb +4 -5
  469. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_must_support_test.rb +3 -3
  470. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_code_date_search_test.rb +1 -1
  471. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_date_search_test.rb +1 -1
  472. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_search_test.rb +1 -1
  473. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_patient_status_search_test.rb +1 -1
  474. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_reference_resolution_test.rb +4 -4
  475. data/lib/us_core_test_kit/generated/v4.0.0/procedure/procedure_validation_test.rb +5 -2
  476. data/lib/us_core_test_kit/generated/v4.0.0/procedure_group.rb +4 -3
  477. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +0 -1
  478. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_must_support_test.rb +9 -9
  479. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_reference_resolution_test.rb +6 -4
  480. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_validation_test.rb +5 -2
  481. data/lib/us_core_test_kit/generated/v4.0.0/provenance_group.rb +4 -3
  482. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +22 -22
  483. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +1 -1
  484. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +1 -1
  485. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +1 -1
  486. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +1 -1
  487. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +1 -1
  488. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +4 -4
  489. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +5 -2
  490. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +4 -3
  491. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +14 -14
  492. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +1 -1
  493. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +1 -1
  494. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +1 -1
  495. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +1 -1
  496. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +1 -1
  497. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +4 -4
  498. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_validation_test.rb +5 -2
  499. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +4 -3
  500. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_must_support_test.rb +6 -6
  501. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +1 -1
  502. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +1 -1
  503. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +1 -1
  504. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +1 -1
  505. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +1 -1
  506. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +4 -4
  507. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/smokingstatus_validation_test.rb +5 -2
  508. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +4 -3
  509. data/lib/us_core_test_kit/generator/group_generator.rb +4 -3
  510. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +35 -22
  511. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +27 -4
  512. data/lib/us_core_test_kit/generator/reference_resolution_test_generator.rb +9 -3
  513. data/lib/us_core_test_kit/generator/validation_test_generator.rb +7 -0
  514. data/lib/us_core_test_kit/must_support_test.rb +19 -3
  515. data/lib/us_core_test_kit/search_test.rb +95 -51
  516. data/lib/us_core_test_kit/validation_test.rb +9 -3
  517. data/lib/us_core_test_kit/version.rb +3 -1
  518. metadata +2 -8
  519. data/lib/us_core_test_kit/generated/v3.1.1/organization/organization_reference_resolution_test.rb +0 -38
  520. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_reference_resolution_test.rb +0 -38
  521. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/practitioner_reference_resolution_test.rb +0 -38
  522. data/lib/us_core_test_kit/generated/v4.0.0/organization/organization_reference_resolution_test.rb +0 -38
  523. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_reference_resolution_test.rb +0 -38
  524. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/practitioner_reference_resolution_test.rb +0 -38
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + code + date'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + code + date on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + code'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + code on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + status on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -9,11 +9,13 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within DiagnosticReport resources can be read'
11
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 DiagnosticReport resources
14
- found previously for the following must support elements:
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
15
 
16
-
16
+ * DiagnosticReport.performer
17
+ * DiagnosticReport.result
18
+ * DiagnosticReport.subject
17
19
  )
18
20
 
19
21
  id :us_core_v311_diagnostic_report_lab_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_diagnostic_report_lab_validation_test
9
9
  title 'DiagnosticReport resources returned during previous tests conform to the US Core DiagnosticReport Profile for Laboratory Results Reporting'
10
10
  description %(
11
- This test verifies resources returned from the first search conform to
11
+ This test verifies resources returned from the first search conform to
12
12
  the [US Core DiagnosticReport Profile for Laboratory Results Reporting](http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
13
14
 
14
15
  It verifies the presence of mandatory elements and that elements with
15
16
  required bindings contain appropriate values. CodeableConcept element
@@ -29,7 +30,9 @@ fail if their code/system are not found in the valueset.
29
30
  end
30
31
 
31
32
  run do
32
- perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -69,9 +69,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
69
69
  then the test will fail.
70
70
 
71
71
  ## Reference Validation
72
- Each reference within the resources found from the previous tests must
73
- resolve. The test will attempt to read each reference found and will
74
- fail if any attempted read fails.
72
+ At least one instance of each external reference in elements marked as
73
+ "must support" within the resources provided by the system must resolve.
74
+ The test will attempt to read each reference found and will fail if no
75
+ read succeeds.
75
76
 
76
77
  )
77
78
 
@@ -13,14 +13,14 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * DiagnosticReport.category
16
- * DiagnosticReport.code
17
- * DiagnosticReport.effective[x]
18
- * DiagnosticReport.encounter
19
- * DiagnosticReport.issued
20
- * DiagnosticReport.performer
21
- * DiagnosticReport.presentedForm
22
- * DiagnosticReport.status
23
- * DiagnosticReport.subject
16
+ * DiagnosticReport.code
17
+ * DiagnosticReport.effective[x]
18
+ * DiagnosticReport.encounter
19
+ * DiagnosticReport.issued
20
+ * DiagnosticReport.performer
21
+ * DiagnosticReport.presentedForm
22
+ * DiagnosticReport.status
23
+ * DiagnosticReport.subject
24
24
  )
25
25
 
26
26
  id :us_core_v311_diagnostic_report_note_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + category + date'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + category + date on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + category'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + category on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + code + date'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + code + date on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + code'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + code on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DiagnosticReport search by patient + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + status on the DiagnosticReport resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -9,11 +9,13 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within DiagnosticReport resources can be read'
11
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 DiagnosticReport resources
14
- found previously for the following must support elements:
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
15
 
16
-
16
+ * DiagnosticReport.encounter
17
+ * DiagnosticReport.performer
18
+ * DiagnosticReport.subject
17
19
  )
18
20
 
19
21
  id :us_core_v311_diagnostic_report_note_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_diagnostic_report_note_validation_test
9
9
  title 'DiagnosticReport resources returned during previous tests conform to the US Core DiagnosticReport Profile for Report and Note exchange'
10
10
  description %(
11
- This test verifies resources returned from the first search conform to
11
+ This test verifies resources returned from the first search conform to
12
12
  the [US Core DiagnosticReport Profile for Report and Note exchange](http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
13
14
 
14
15
  It verifies the presence of mandatory elements and that elements with
15
16
  required bindings contain appropriate values. CodeableConcept element
@@ -29,7 +30,9 @@ fail if their code/system are not found in the valueset.
29
30
  end
30
31
 
31
32
  run do
32
- perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -69,9 +69,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
69
69
  then the test will fail.
70
70
 
71
71
  ## Reference Validation
72
- Each reference within the resources found from the previous tests must
73
- resolve. The test will attempt to read each reference found and will
74
- fail if any attempted read fails.
72
+ At least one instance of each external reference in elements marked as
73
+ "must support" within the resources provided by the system must resolve.
74
+ The test will attempt to read each reference found and will fail if no
75
+ read succeeds.
75
76
 
76
77
  )
77
78
 
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by _id'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  _id on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -13,22 +13,21 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * DocumentReference.author
16
- * DocumentReference.category
17
- * DocumentReference.content
18
- * DocumentReference.content.attachment
19
- * DocumentReference.content.attachment.contentType
20
- * DocumentReference.content.attachment.data
21
- * DocumentReference.content.attachment.url
22
- * DocumentReference.content.format
23
- * DocumentReference.context
24
- * DocumentReference.context.encounter
25
- * DocumentReference.context.period
26
- * DocumentReference.custodian
27
- * DocumentReference.date
28
- * DocumentReference.identifier
29
- * DocumentReference.status
30
- * DocumentReference.subject
31
- * DocumentReference.type
16
+ * DocumentReference.category
17
+ * DocumentReference.content
18
+ * DocumentReference.content.attachment
19
+ * DocumentReference.content.attachment.contentType
20
+ * DocumentReference.content.attachment.data or DocumentReference.content.attachment.url
21
+ * DocumentReference.content.format
22
+ * DocumentReference.context
23
+ * DocumentReference.context.encounter
24
+ * DocumentReference.context.period
25
+ * DocumentReference.custodian
26
+ * DocumentReference.date
27
+ * DocumentReference.identifier
28
+ * DocumentReference.status
29
+ * DocumentReference.subject
30
+ * DocumentReference.type
32
31
  )
33
32
 
34
33
  id :us_core_v311_document_reference_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient + category + date'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + category + date on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient + category'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + category on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + status on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient + type + period'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + type + period on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for DocumentReference search by patient + type'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + type on the DocumentReference resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -9,11 +9,14 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within DocumentReference resources can be read'
11
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 DocumentReference resources
14
- found previously for the following must support elements:
15
-
16
-
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
+ * DocumentReference.author
17
+ * DocumentReference.context.encounter
18
+ * DocumentReference.custodian
19
+ * DocumentReference.subject
17
20
  )
18
21
 
19
22
  id :us_core_v311_document_reference_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_document_reference_validation_test
9
9
  title 'DocumentReference resources returned during previous tests conform to the US Core DocumentReference Profile'
10
10
  description %(
11
- This test verifies resources returned from the first search conform to
11
+ This test verifies resources returned from the first search conform to
12
12
  the [US Core DocumentReference Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
13
14
 
14
15
  It verifies the presence of mandatory elements and that elements with
15
16
  required bindings contain appropriate values. CodeableConcept element
@@ -29,7 +30,9 @@ fail if their code/system are not found in the valueset.
29
30
  end
30
31
 
31
32
  run do
32
- perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -71,9 +71,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
71
71
  then the test will fail.
72
72
 
73
73
  ## Reference Validation
74
- Each reference within the resources found from the previous tests must
75
- resolve. The test will attempt to read each reference found and will
76
- fail if any attempted read fails.
74
+ At least one instance of each external reference in elements marked as
75
+ "must support" within the resources provided by the system must resolve.
76
+ The test will attempt to read each reference found and will fail if no
77
+ read succeeds.
77
78
 
78
79
  )
79
80
 
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by class + patient'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  class + patient on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by date + patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  date + patient on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by _id'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  _id on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by identifier'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  identifier on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -13,22 +13,22 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Encounter.class
16
- * Encounter.hospitalization
17
- * Encounter.hospitalization.dischargeDisposition
18
- * Encounter.identifier
19
- * Encounter.identifier.system
20
- * Encounter.identifier.value
21
- * Encounter.location
22
- * Encounter.location.location
23
- * Encounter.participant
24
- * Encounter.participant.individual
25
- * Encounter.participant.period
26
- * Encounter.participant.type
27
- * Encounter.period
28
- * Encounter.reasonCode
29
- * Encounter.status
30
- * Encounter.subject
31
- * Encounter.type
16
+ * Encounter.hospitalization
17
+ * Encounter.hospitalization.dischargeDisposition
18
+ * Encounter.identifier
19
+ * Encounter.identifier.system
20
+ * Encounter.identifier.value
21
+ * Encounter.location
22
+ * Encounter.location.location
23
+ * Encounter.participant
24
+ * Encounter.participant.individual
25
+ * Encounter.participant.period
26
+ * Encounter.participant.type
27
+ * Encounter.period
28
+ * Encounter.reasonCode
29
+ * Encounter.status
30
+ * Encounter.subject
31
+ * Encounter.type
32
32
  )
33
33
 
34
34
  id :us_core_v311_encounter_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by patient + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + status on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Encounter search by patient + type'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + type on the Encounter resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -9,11 +9,13 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within Encounter resources can be read'
11
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 Encounter resources
14
- found previously for the following must support elements:
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
15
 
16
-
16
+ * Encounter.location.location
17
+ * Encounter.participant.individual
18
+ * Encounter.subject
17
19
  )
18
20
 
19
21
  id :us_core_v311_encounter_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_encounter_validation_test
9
9
  title 'Encounter resources returned during previous tests conform to the US Core Encounter Profile'
10
10
  description %(
11
- This test verifies resources returned from the first search conform to
11
+ This test verifies resources returned from the first search conform to
12
12
  the [US Core Encounter Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
13
14
 
14
15
  It verifies the presence of mandatory elements and that elements with
15
16
  required bindings contain appropriate values. CodeableConcept element
@@ -29,7 +30,9 @@ fail if their code/system are not found in the valueset.
29
30
  end
30
31
 
31
32
  run do
32
- perform_validation_test(scratch_resources[:all] || [], 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -69,9 +69,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
69
69
  then the test will fail.
70
70
 
71
71
  ## Reference Validation
72
- Each reference within the resources found from the previous tests must
73
- resolve. The test will attempt to read each reference found and will
74
- fail if any attempted read fails.
72
+ At least one instance of each external reference in elements marked as
73
+ "must support" within the resources provided by the system must resolve.
74
+ The test will attempt to read each reference found and will fail if no
75
+ read succeeds.
75
76
 
76
77
  )
77
78
 
@@ -13,10 +13,10 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Goal.description
16
- * Goal.lifecycleStatus
17
- * Goal.subject
18
- * Goal.target
19
- * Goal.target.due[x]:dueDate
16
+ * Goal.lifecycleStatus
17
+ * Goal.subject
18
+ * Goal.target
19
+ * Goal.target.due[x]:dueDate
20
20
  )
21
21
 
22
22
  id :us_core_v311_goal_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Goal search by patient + lifecycle-status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + lifecycle-status on the Goal resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Goal search by patient'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient on the Goal resource. This test
13
13
  will pass if resources are returned and match the search criteria. If
14
14
  none are returned, the test is skipped.