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 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_observation_lab_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_observation_lab_validation_test
9
9
  title 'Observation resources returned during previous tests conform to the US Core Laboratory Result Observation 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 Laboratory Result Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-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-observation-lab')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
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
 
@@ -143,8 +143,6 @@
143
143
  :file_name: organization_validation_test.rb
144
144
  - :id: us_core_v311_organization_must_support_test
145
145
  :file_name: organization_must_support_test.rb
146
- - :id: us_core_v311_organization_reference_resolution_test
147
- :file_name: organization_reference_resolution_test.rb
148
146
  :id: us_core_v311_organization
149
147
  :file_name: organization_group.rb
150
148
  :delayed_references: []
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Organization search by address'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  address on the Organization 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,18 +13,18 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Organization.active
16
- * Organization.address
17
- * Organization.address.city
18
- * Organization.address.country
19
- * Organization.address.line
20
- * Organization.address.postalCode
21
- * Organization.address.state
22
- * Organization.identifier
23
- * Organization.identifier.system
24
- * Organization.identifier.value
25
- * Organization.identifier:NPI
26
- * Organization.name
27
- * Organization.telecom
16
+ * Organization.address
17
+ * Organization.address.city
18
+ * Organization.address.country
19
+ * Organization.address.line
20
+ * Organization.address.postalCode
21
+ * Organization.address.state
22
+ * Organization.identifier
23
+ * Organization.identifier.system
24
+ * Organization.identifier.value
25
+ * Organization.identifier:NPI
26
+ * Organization.name
27
+ * Organization.telecom
28
28
  )
29
29
 
30
30
  id :us_core_v311_organization_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Organization search by name'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  name on the Organization 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,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_organization_validation_test
9
9
  title 'Organization resources returned during previous tests conform to the US Core Organization 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 Organization Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization).
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-organization')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -3,7 +3,6 @@ require_relative 'organization/organization_name_search_test'
3
3
  require_relative 'organization/organization_address_search_test'
4
4
  require_relative 'organization/organization_validation_test'
5
5
  require_relative 'organization/organization_must_support_test'
6
- require_relative 'organization/organization_reference_resolution_test'
7
6
 
8
7
  module USCoreTestKit
9
8
  module USCoreV311
@@ -62,9 +61,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
62
61
  then the test will fail.
63
62
 
64
63
  ## 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.
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.
68
68
 
69
69
  )
70
70
 
@@ -80,7 +80,6 @@ fail if any attempted read fails.
80
80
  test from: :us_core_v311_organization_address_search_test
81
81
  test from: :us_core_v311_organization_validation_test
82
82
  test from: :us_core_v311_organization_must_support_test
83
- test from: :us_core_v311_organization_reference_resolution_test
84
83
  end
85
84
  end
86
85
  end
@@ -325,8 +325,6 @@
325
325
  :file_name: patient_validation_test.rb
326
326
  - :id: us_core_v311_patient_must_support_test
327
327
  :file_name: patient_must_support_test.rb
328
- - :id: us_core_v311_patient_reference_resolution_test
329
- :file_name: patient_reference_resolution_test.rb
330
328
  :id: us_core_v311_patient
331
329
  :file_name: patient_group.rb
332
330
  :delayed_references: []
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Patient search by birthdate + family'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  birthdate + family on the Patient 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 Patient search by birthdate + name'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  birthdate + name on the Patient 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 Patient search by family + gender'
10
10
  description %(
11
- A server SHOULD support searching by
11
+ A server SHOULD support searching by
12
12
  family + gender on the Patient 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 Patient search by gender + name'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  gender + name on the Patient 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 Patient 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 Patient 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 Patient search by identifier'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  identifier on the Patient 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,28 +13,28 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Patient.address
16
- * Patient.address.city
17
- * Patient.address.line
18
- * Patient.address.period
19
- * Patient.address.postalCode
20
- * Patient.address.state
21
- * Patient.birthDate
22
- * Patient.communication
23
- * Patient.communication.language
24
- * Patient.extension:birthsex
25
- * Patient.extension:ethnicity
26
- * Patient.extension:race
27
- * Patient.gender
28
- * Patient.identifier
29
- * Patient.identifier.system
30
- * Patient.identifier.value
31
- * Patient.name
32
- * Patient.name.family
33
- * Patient.name.given
34
- * Patient.telecom
35
- * Patient.telecom.system
36
- * Patient.telecom.use
37
- * Patient.telecom.value
16
+ * Patient.address.city
17
+ * Patient.address.line
18
+ * Patient.address.period
19
+ * Patient.address.postalCode
20
+ * Patient.address.state
21
+ * Patient.birthDate
22
+ * Patient.communication
23
+ * Patient.communication.language
24
+ * Patient.extension:birthsex
25
+ * Patient.extension:ethnicity
26
+ * Patient.extension:race
27
+ * Patient.gender
28
+ * Patient.identifier
29
+ * Patient.identifier.system
30
+ * Patient.identifier.value
31
+ * Patient.name
32
+ * Patient.name.family
33
+ * Patient.name.given
34
+ * Patient.telecom
35
+ * Patient.telecom.system
36
+ * Patient.telecom.use
37
+ * Patient.telecom.value
38
38
  )
39
39
 
40
40
  id :us_core_v311_patient_must_support_test
@@ -8,7 +8,7 @@ module USCoreTestKit
8
8
 
9
9
  title 'Server returns valid results for Patient search by name'
10
10
  description %(
11
- A server SHALL support searching by
11
+ A server SHALL support searching by
12
12
  name on the Patient 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,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_patient_validation_test
9
9
  title 'Patient resources returned during previous tests conform to the US Core Patient 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 Patient Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient).
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-patient')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient',
35
+ skip_if_empty: true)
33
36
  end
34
37
  end
35
38
  end
@@ -9,7 +9,6 @@ require_relative 'patient/patient_read_test'
9
9
  require_relative 'patient/patient_provenance_revinclude_search_test'
10
10
  require_relative 'patient/patient_validation_test'
11
11
  require_relative 'patient/patient_must_support_test'
12
- require_relative 'patient/patient_reference_resolution_test'
13
12
 
14
13
  module USCoreTestKit
15
14
  module USCoreV311
@@ -71,9 +70,10 @@ ValueSet. If the code/system in the element is not part of the ValueSet,
71
70
  then the test will fail.
72
71
 
73
72
  ## 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.
73
+ At least one instance of each external reference in elements marked as
74
+ "must support" within the resources provided by the system must resolve.
75
+ The test will attempt to read each reference found and will fail if no
76
+ read succeeds.
77
77
 
78
78
  )
79
79
 
@@ -95,7 +95,6 @@ fail if any attempted read fails.
95
95
  test from: :us_core_v311_patient_provenance_revinclude_search_test
96
96
  test from: :us_core_v311_patient_validation_test
97
97
  test from: :us_core_v311_patient_must_support_test
98
- test from: :us_core_v311_patient_reference_resolution_test
99
98
  end
100
99
  end
101
100
  end
@@ -13,20 +13,20 @@ 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.coding.code
21
- * Observation.effective[x]
22
- * Observation.status
23
- * Observation.subject
24
- * Observation.value[x]
25
- * Observation.value[x].code
26
- * Observation.value[x].system
27
- * Observation.value[x].unit
28
- * Observation.value[x].value
29
- * Observation.value[x]:valueQuantity
16
+ * Observation.category.coding
17
+ * Observation.category.coding.code
18
+ * Observation.category.coding.system
19
+ * Observation.category:VSCat
20
+ * Observation.code.coding.code
21
+ * Observation.effective[x]
22
+ * Observation.status
23
+ * Observation.subject
24
+ * Observation.value[x]
25
+ * Observation.value[x].code
26
+ * Observation.value[x].system
27
+ * Observation.value[x].unit
28
+ * Observation.value[x].value
29
+ * Observation.value[x]:valueQuantity
30
30
  )
31
31
 
32
32
  id :us_core_v311_pediatric_bmi_for_age_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_pediatric_bmi_for_age_reference_resolution_test
@@ -8,8 +8,9 @@ module USCoreTestKit
8
8
  id :us_core_v311_pediatric_bmi_for_age_validation_test
9
9
  title 'Observation resources returned during previous tests conform to the US Core Pediatric BMI for Age Observation 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 Pediatric BMI for Age Observation Profile](http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age).
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/pediatric-bmi-for-age')
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age',
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,20 +13,20 @@ 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.coding.code
21
- * Observation.effective[x]
22
- * Observation.status
23
- * Observation.subject
24
- * Observation.value[x]
25
- * Observation.value[x].code
26
- * Observation.value[x].system
27
- * Observation.value[x].unit
28
- * Observation.value[x].value
29
- * Observation.value[x]:valueQuantity
16
+ * Observation.category.coding
17
+ * Observation.category.coding.code
18
+ * Observation.category.coding.system
19
+ * Observation.category:VSCat
20
+ * Observation.code.coding.code
21
+ * Observation.effective[x]
22
+ * Observation.status
23
+ * Observation.subject
24
+ * Observation.value[x]
25
+ * Observation.value[x].code
26
+ * Observation.value[x].system
27
+ * Observation.value[x].unit
28
+ * Observation.value[x].value
29
+ * Observation.value[x]:valueQuantity
30
30
  )
31
31
 
32
32
  id :us_core_v311_pediatric_weight_for_height_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.