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
@@ -13,23 +13,23 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Observation.category
16
- * Observation.category.coding
17
- * Observation.category.coding.code
18
- * Observation.category.coding.system
19
- * Observation.category:VSCat
20
- * Observation.code
21
- * Observation.component
22
- * Observation.component.code
23
- * Observation.component.value[x]
24
- * Observation.component.value[x].code
25
- * Observation.component.value[x].system
26
- * Observation.component.value[x].unit
27
- * Observation.component.value[x].value
28
- * Observation.component:DiastolicBP
29
- * Observation.component:SystolicBP
30
- * Observation.effective[x]
31
- * Observation.status
32
- * Observation.subject
16
+ * Observation.category.coding
17
+ * Observation.category.coding.code
18
+ * Observation.category.coding.system
19
+ * Observation.category:VSCat
20
+ * Observation.code
21
+ * Observation.component
22
+ * Observation.component.code
23
+ * Observation.component.value[x]
24
+ * Observation.component.value[x].code
25
+ * Observation.component.value[x].system
26
+ * Observation.component.value[x].unit
27
+ * Observation.component.value[x].value
28
+ * Observation.component:DiastolicBP
29
+ * Observation.component:SystolicBP
30
+ * Observation.effective[x]
31
+ * Observation.status
32
+ * Observation.subject
33
33
  )
34
34
 
35
35
  id :us_core_v311_bp_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Observation 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 Observation 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 Observation 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 Observation 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 Observation search by patient + category + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + category + status on the Observation 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 Observation 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 Observation 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 Observation 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 Observation 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,11 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within Observation 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 Observation 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
+ * Observation.subject
17
17
  )
18
18
 
19
19
  id :us_core_v311_bp_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_bp_validation_test
9
9
  title 'Observation resources returned during previous tests conform to the Observation Blood Pressure 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 [Observation Blood Pressure Profile](http://hl7.org/fhir/StructureDefinition/bp).
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/StructureDefinition/bp')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/StructureDefinition/bp',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -67,9 +67,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
67
67
  then the test will fail.
68
68
 
69
69
  ## Reference Validation
70
- Each reference within the resources found from the previous tests must
71
- resolve. The test will attempt to read each reference found and will
72
- fail if any attempted read fails.
70
+ At least one instance of each external reference in elements marked as
71
+ "must support" within the resources provided by the system must resolve.
72
+ The test will attempt to read each reference found and will fail if no
73
+ read succeeds.
73
74
 
74
75
  )
75
76
 
@@ -13,12 +13,12 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * CarePlan.category
16
- * CarePlan.category:AssessPlan
17
- * CarePlan.intent
18
- * CarePlan.status
19
- * CarePlan.subject
20
- * CarePlan.text
21
- * CarePlan.text.status
16
+ * CarePlan.category:AssessPlan
17
+ * CarePlan.intent
18
+ * CarePlan.status
19
+ * CarePlan.subject
20
+ * CarePlan.text
21
+ * CarePlan.text.status
22
22
  )
23
23
 
24
24
  id :us_core_v311_care_plan_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for CarePlan search by patient + category + date'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + category + date on the CarePlan 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 CarePlan 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 CarePlan 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 CarePlan search by patient + category + status + date'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + category + status + date on the CarePlan 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 CarePlan search by patient + category + status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + category + status on the CarePlan 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,11 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within CarePlan 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 CarePlan 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
+ * CarePlan.subject
17
17
  )
18
18
 
19
19
  id :us_core_v311_care_plan_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_care_plan_validation_test
9
9
  title 'CarePlan resources returned during previous tests conform to the US Core CarePlan 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 CarePlan Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan).
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-careplan')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -64,9 +64,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
64
64
  then the test will fail.
65
65
 
66
66
  ## Reference Validation
67
- Each reference within the resources found from the previous tests must
68
- resolve. The test will attempt to read each reference found and will
69
- fail if any attempted read fails.
67
+ At least one instance of each external reference in elements marked as
68
+ "must support" within the resources provided by the system must resolve.
69
+ The test will attempt to read each reference found and will fail if no
70
+ read succeeds.
70
71
 
71
72
  )
72
73
 
@@ -13,10 +13,10 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * CareTeam.participant
16
- * CareTeam.participant.member
17
- * CareTeam.participant.role
18
- * CareTeam.status
19
- * CareTeam.subject
16
+ * CareTeam.participant.member
17
+ * CareTeam.participant.role
18
+ * CareTeam.status
19
+ * CareTeam.subject
20
20
  )
21
21
 
22
22
  id :us_core_v311_care_team_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for CareTeam search by patient + status'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  patient + status on the CareTeam 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,12 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within CareTeam 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 CareTeam 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
+ * CareTeam.participant.member
17
+ * CareTeam.subject
17
18
  )
18
19
 
19
20
  id :us_core_v311_care_team_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_care_team_validation_test
9
9
  title 'CareTeam resources returned during previous tests conform to the US Core CareTeam 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 CareTeam Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam).
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-careteam')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -61,9 +61,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
61
61
  then the test will fail.
62
62
 
63
63
  ## Reference Validation
64
- Each reference within the resources found from the previous tests must
65
- resolve. The test will attempt to read each reference found and will
66
- fail if any attempted read fails.
64
+ At least one instance of each external reference in elements marked as
65
+ "must support" within the resources provided by the system must resolve.
66
+ The test will attempt to read each reference found and will fail if no
67
+ read succeeds.
67
68
 
68
69
  )
69
70
 
@@ -13,10 +13,10 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Condition.category
16
- * Condition.clinicalStatus
17
- * Condition.code
18
- * Condition.subject
19
- * Condition.verificationStatus
16
+ * Condition.clinicalStatus
17
+ * Condition.code
18
+ * Condition.subject
19
+ * Condition.verificationStatus
20
20
  )
21
21
 
22
22
  id :us_core_v311_condition_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Condition search by patient + category'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + category on the Condition 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 Condition search by patient + clinical-status'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + clinical-status on the Condition 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 Condition search by patient + code'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + code on the Condition 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 Condition search by patient + onset-date'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  patient + onset-date on the Condition 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 Condition 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 Condition 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,11 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within Condition 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 Condition 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
+ * Condition.subject
17
17
  )
18
18
 
19
19
  id :us_core_v311_condition_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_condition_validation_test
9
9
  title 'Condition resources returned during previous tests conform to the US Core Condition 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 Condition Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition).
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-condition')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -65,9 +65,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
65
65
  then the test will fail.
66
66
 
67
67
  ## Reference Validation
68
- Each reference within the resources found from the previous tests must
69
- resolve. The test will attempt to read each reference found and will
70
- fail if any attempted read fails.
68
+ At least one instance of each external reference in elements marked as
69
+ "must support" within the resources provided by the system must resolve.
70
+ The test will attempt to read each reference found and will fail if no
71
+ read succeeds.
71
72
 
72
73
  )
73
74
 
@@ -13,16 +13,15 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Device.distinctIdentifier
16
- * Device.expirationDate
17
- * Device.lotNumber
18
- * Device.manufactureDate
19
- * Device.patient
20
- * Device.serialNumber
21
- * Device.type
22
- * Device.udiCarrier
23
- * Device.udiCarrier.carrierAIDC
24
- * Device.udiCarrier.carrierHRF
25
- * Device.udiCarrier.deviceIdentifier
16
+ * Device.expirationDate
17
+ * Device.lotNumber
18
+ * Device.manufactureDate
19
+ * Device.patient
20
+ * Device.serialNumber
21
+ * Device.type
22
+ * Device.udiCarrier
23
+ * Device.udiCarrier.carrierAIDC or Device.udiCarrier.carrierHRF
24
+ * Device.udiCarrier.deviceIdentifier
26
25
  )
27
26
 
28
27
  id :us_core_v311_device_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Device 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 Device 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 Device 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 Device 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,11 @@ module USCoreTestKit
9
9
 
10
10
  title 'MustSupport references within Device 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 Device 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
+ * Device.patient
17
17
  )
18
18
 
19
19
  id :us_core_v311_device_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_device_validation_test
9
9
  title 'Device resources returned during previous tests conform to the US Core Implantable Device 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 Implantable Device Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device).
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-implantable-device')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -62,9 +62,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
62
62
  then the test will fail.
63
63
 
64
64
  ## Reference Validation
65
- Each reference within the resources found from the previous tests must
66
- resolve. The test will attempt to read each reference found and will
67
- fail if any attempted read fails.
65
+ At least one instance of each external reference in elements marked as
66
+ "must support" within the resources provided by the system must resolve.
67
+ The test will attempt to read each reference found and will fail if no
68
+ read succeeds.
68
69
 
69
70
  )
70
71
 
@@ -13,14 +13,14 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * DiagnosticReport.category
16
- * DiagnosticReport.category:LaboratorySlice
17
- * DiagnosticReport.code
18
- * DiagnosticReport.effective[x]
19
- * DiagnosticReport.issued
20
- * DiagnosticReport.performer
21
- * DiagnosticReport.result
22
- * DiagnosticReport.status
23
- * DiagnosticReport.subject
16
+ * DiagnosticReport.category:LaboratorySlice
17
+ * DiagnosticReport.code
18
+ * DiagnosticReport.effective[x]
19
+ * DiagnosticReport.issued
20
+ * DiagnosticReport.performer
21
+ * DiagnosticReport.result
22
+ * DiagnosticReport.status
23
+ * DiagnosticReport.subject
24
24
  )
25
25
 
26
26
  id :us_core_v311_diagnostic_report_lab_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.