us_core_test_kit 0.6.2 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +124 -0
  3. data/lib/us_core_test_kit/custom_groups/clinical_note_type_test.rb +8 -1
  4. data/lib/us_core_test_kit/custom_groups/smart_app_launch_group.rb +53 -0
  5. data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb +40 -0
  6. data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb +40 -0
  7. data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +55 -0
  8. data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu1_group.rb +40 -0
  9. data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_group.rb +40 -0
  10. data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +73 -0
  11. data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/capability_statement_group.rb +133 -0
  12. data/lib/us_core_test_kit/custom_groups/v7.0.0-ballot/smart_granular_scopes_group.rb +81 -0
  13. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +1 -0
  14. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +1 -0
  15. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +1 -0
  16. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +1 -0
  17. data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +1 -0
  18. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +1 -0
  19. data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +1 -0
  20. data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +1 -0
  21. data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1 -0
  22. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1 -0
  23. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1 -0
  24. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -0
  25. data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +1 -0
  26. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +1 -0
  27. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +1 -0
  28. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +1 -0
  29. data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +1 -0
  30. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +1 -0
  31. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +661 -0
  32. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -0
  33. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +1 -0
  34. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +11 -0
  35. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +1 -0
  36. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +1 -0
  37. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +1 -0
  38. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -0
  39. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +1 -0
  40. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +1 -0
  41. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +1 -0
  42. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -0
  43. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +69 -43
  44. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +1 -0
  45. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +1 -0
  46. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +1 -0
  47. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +1 -0
  48. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +1 -0
  49. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +1 -0
  50. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +1 -0
  51. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +1 -0
  52. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +1 -0
  53. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -0
  54. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -0
  55. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -0
  56. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -0
  57. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +1 -0
  58. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +1 -0
  59. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +1 -0
  60. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +1 -0
  61. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +1 -0
  62. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +1 -0
  63. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +1 -0
  64. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +711 -0
  65. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -0
  66. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +1 -0
  67. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +11 -0
  68. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +1 -0
  69. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +1 -0
  70. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +1 -0
  71. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -0
  72. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +1 -0
  73. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +1 -0
  74. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +1 -0
  75. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +1 -0
  76. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +71 -45
  77. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +1 -0
  78. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +1 -0
  79. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +1 -0
  80. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +1 -0
  81. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +1 -0
  82. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +1 -0
  83. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +1 -0
  84. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +1 -0
  85. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +1 -0
  86. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +1 -0
  87. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1 -0
  88. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1 -0
  89. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1 -0
  90. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +1 -0
  91. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +1 -0
  92. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1 -0
  93. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +1 -0
  94. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +1 -0
  95. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +1 -0
  96. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +1 -0
  97. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +1 -0
  98. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +968 -2
  99. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +1 -0
  100. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1 -0
  101. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1 -0
  102. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +1 -0
  103. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +1 -0
  104. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1 -0
  105. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +1 -0
  106. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +7 -2
  107. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +1 -0
  108. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +1 -0
  109. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +1 -0
  110. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/metadata.yml +155 -0
  111. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_must_support_test.rb +45 -0
  112. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
  113. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_read_test.rb +26 -0
  114. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
  115. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
  116. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role/practitioner_role_validation_test.rb +40 -0
  117. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_role_group.rb +89 -0
  118. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1 -0
  119. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +1 -0
  120. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +1 -0
  121. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +1 -0
  122. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +1 -0
  123. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +1 -0
  124. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1 -0
  125. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +1 -0
  126. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +82 -54
  127. data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/metadata.yml +1 -0
  128. data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/metadata.yml +1 -0
  129. data/lib/us_core_test_kit/generated/v6.1.0/bmi/metadata.yml +1 -0
  130. data/lib/us_core_test_kit/generated/v6.1.0/body_height/metadata.yml +1 -0
  131. data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/metadata.yml +1 -0
  132. data/lib/us_core_test_kit/generated/v6.1.0/body_weight/metadata.yml +1 -0
  133. data/lib/us_core_test_kit/generated/v6.1.0/care_plan/metadata.yml +1 -0
  134. data/lib/us_core_test_kit/generated/v6.1.0/care_team/metadata.yml +1 -0
  135. data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +22 -0
  136. data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope1_group.rb +42 -0
  137. data/lib/us_core_test_kit/generated/v6.1.0/condition_granular_scope2_group.rb +43 -0
  138. data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +1 -4
  139. data/lib/us_core_test_kit/generated/v6.1.0/coverage/metadata.yml +1 -0
  140. data/lib/us_core_test_kit/generated/v6.1.0/device/metadata.yml +1 -0
  141. data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/metadata.yml +1 -0
  142. data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/metadata.yml +1 -0
  143. data/lib/us_core_test_kit/generated/v6.1.0/document_reference/metadata.yml +1 -0
  144. data/lib/us_core_test_kit/generated/v6.1.0/encounter/metadata.yml +1 -0
  145. data/lib/us_core_test_kit/generated/v6.1.0/goal/metadata.yml +1 -0
  146. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_test.rb +41 -0
  147. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_test.rb +41 -0
  148. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_test.rb +41 -0
  149. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_test.rb +41 -0
  150. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_category_granular_scope_test.rb +41 -0
  151. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_test.rb +41 -0
  152. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_code_granular_scope_test.rb +41 -0
  153. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_granular_scope_test.rb +41 -0
  154. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_test.rb +41 -0
  155. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_test.rb +41 -0
  156. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/condition/metadata.yml +374 -0
  157. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/metadata.yml +281 -0
  158. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_date_granular_scope_test.rb +41 -0
  159. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_granular_scope_test.rb +41 -0
  160. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_category_status_granular_scope_test.rb +41 -0
  161. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_date_granular_scope_test.rb +41 -0
  162. data/lib/us_core_test_kit/generated/v6.1.0/granular_scope_tests/observation/observation_patient_code_granular_scope_test.rb +41 -0
  163. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +51 -0
  164. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +52 -0
  165. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/metadata.yml +1 -0
  166. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/metadata.yml +1 -0
  167. data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/metadata.yml +1 -0
  168. data/lib/us_core_test_kit/generated/v6.1.0/immunization/metadata.yml +1 -0
  169. data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/metadata.yml +1 -0
  170. data/lib/us_core_test_kit/generated/v6.1.0/medication_request/metadata.yml +1 -0
  171. data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +1119 -40
  172. data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/metadata.yml +1 -0
  173. data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope1_group.rb +34 -0
  174. data/lib/us_core_test_kit/generated/v6.1.0/observation_granular_scope2_group.rb +32 -0
  175. data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +12 -0
  176. data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/metadata.yml +1 -8
  177. data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/metadata.yml +1 -8
  178. data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/metadata.yml +1 -8
  179. data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/metadata.yml +1 -0
  180. data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/metadata.yml +2 -10
  181. data/lib/us_core_test_kit/generated/v6.1.0/organization/metadata.yml +1 -0
  182. data/lib/us_core_test_kit/generated/v6.1.0/patient/metadata.yml +3 -2
  183. data/lib/us_core_test_kit/generated/v6.1.0/patient/patient_must_support_test.rb +0 -2
  184. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/metadata.yml +1 -0
  185. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/metadata.yml +1 -0
  186. data/lib/us_core_test_kit/generated/v6.1.0/practitioner/metadata.yml +1 -0
  187. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/metadata.yml +155 -0
  188. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_must_support_test.rb +45 -0
  189. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_practitioner_search_test.rb +41 -0
  190. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_read_test.rb +26 -0
  191. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
  192. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_specialty_search_test.rb +53 -0
  193. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role/practitioner_role_validation_test.rb +40 -0
  194. data/lib/us_core_test_kit/generated/v6.1.0/practitioner_role_group.rb +89 -0
  195. data/lib/us_core_test_kit/generated/v6.1.0/procedure/metadata.yml +1 -0
  196. data/lib/us_core_test_kit/generated/v6.1.0/provenance/metadata.yml +1 -0
  197. data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/metadata.yml +1 -0
  198. data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +1 -0
  199. data/lib/us_core_test_kit/generated/v6.1.0/related_person/metadata.yml +1 -0
  200. data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/metadata.yml +1 -0
  201. data/lib/us_core_test_kit/generated/v6.1.0/service_request/metadata.yml +1 -0
  202. data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/metadata.yml +1 -0
  203. data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/metadata.yml +1 -0
  204. data/lib/us_core_test_kit/generated/v6.1.0/specimen/metadata.yml +1 -0
  205. data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +97 -58
  206. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  207. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  208. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  209. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  210. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  211. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +40 -0
  212. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
  213. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance/metadata.yml +155 -0
  214. data/lib/us_core_test_kit/generated/v7.0.0-ballot/allergy_intolerance_group.rb +88 -0
  215. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_must_support_test.rb +72 -0
  216. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_date_search_test.rb +48 -0
  217. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_search_test.rb +47 -0
  218. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_category_status_search_test.rb +49 -0
  219. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_code_date_search_test.rb +50 -0
  220. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_patient_code_search_test.rb +64 -0
  221. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_provenance_revinclude_search_test.rb +53 -0
  222. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_read_test.rb +26 -0
  223. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_reference_resolution_test.rb +40 -0
  224. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/average_blood_pressure_validation_test.rb +40 -0
  225. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure/metadata.yml +357 -0
  226. data/lib/us_core_test_kit/generated/v7.0.0-ballot/average_blood_pressure_group.rb +96 -0
  227. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_must_support_test.rb +65 -0
  228. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  229. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  230. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  231. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  232. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  233. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  234. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_read_test.rb +26 -0
  235. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_reference_resolution_test.rb +40 -0
  236. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/blood_pressure_validation_test.rb +40 -0
  237. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure/metadata.yml +326 -0
  238. data/lib/us_core_test_kit/generated/v7.0.0-ballot/blood_pressure_group.rb +96 -0
  239. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_must_support_test.rb +51 -0
  240. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_date_search_test.rb +48 -0
  241. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_search_test.rb +47 -0
  242. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_category_status_search_test.rb +49 -0
  243. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_code_date_search_test.rb +50 -0
  244. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_patient_code_search_test.rb +64 -0
  245. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  246. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_read_test.rb +26 -0
  247. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_reference_resolution_test.rb +40 -0
  248. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/bmi_validation_test.rb +40 -0
  249. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi/metadata.yml +290 -0
  250. data/lib/us_core_test_kit/generated/v7.0.0-ballot/bmi_group.rb +96 -0
  251. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_must_support_test.rb +51 -0
  252. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_date_search_test.rb +48 -0
  253. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_search_test.rb +47 -0
  254. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_category_status_search_test.rb +49 -0
  255. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_code_date_search_test.rb +50 -0
  256. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_patient_code_search_test.rb +64 -0
  257. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  258. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_read_test.rb +26 -0
  259. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_reference_resolution_test.rb +40 -0
  260. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/body_height_validation_test.rb +40 -0
  261. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height/metadata.yml +293 -0
  262. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_height_group.rb +96 -0
  263. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_must_support_test.rb +51 -0
  264. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  265. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  266. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  267. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  268. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  269. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  270. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_read_test.rb +26 -0
  271. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_reference_resolution_test.rb +40 -0
  272. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/body_temperature_validation_test.rb +40 -0
  273. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature/metadata.yml +293 -0
  274. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_temperature_group.rb +96 -0
  275. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_must_support_test.rb +51 -0
  276. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  277. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_search_test.rb +47 -0
  278. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  279. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  280. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_patient_code_search_test.rb +64 -0
  281. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  282. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_read_test.rb +26 -0
  283. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_reference_resolution_test.rb +40 -0
  284. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/body_weight_validation_test.rb +40 -0
  285. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight/metadata.yml +293 -0
  286. data/lib/us_core_test_kit/generated/v7.0.0-ballot/body_weight_group.rb +96 -0
  287. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_must_support_test.rb +44 -0
  288. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_date_search_test.rb +48 -0
  289. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_search_test.rb +47 -0
  290. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_category_status_search_test.rb +49 -0
  291. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_code_date_search_test.rb +50 -0
  292. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_patient_code_search_test.rb +64 -0
  293. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_provenance_revinclude_search_test.rb +53 -0
  294. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_read_test.rb +26 -0
  295. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_reference_resolution_test.rb +40 -0
  296. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/care_experience_preference_validation_test.rb +40 -0
  297. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference/metadata.yml +256 -0
  298. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_experience_preference_group.rb +96 -0
  299. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_must_support_test.rb +44 -0
  300. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  301. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_search_test.rb +64 -0
  302. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  303. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  304. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  305. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_read_test.rb +26 -0
  306. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_reference_resolution_test.rb +40 -0
  307. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/care_plan_validation_test.rb +40 -0
  308. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan/metadata.yml +283 -0
  309. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_plan_group.rb +92 -0
  310. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_must_support_test.rb +41 -0
  311. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_patient_role_search_test.rb +49 -0
  312. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_patient_status_search_test.rb +63 -0
  313. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  314. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_read_test.rb +26 -0
  315. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_reference_resolution_test.rb +41 -0
  316. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_role_search_test.rb +45 -0
  317. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/care_team_validation_test.rb +40 -0
  318. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team/metadata.yml +179 -0
  319. data/lib/us_core_test_kit/generated/v7.0.0-ballot/care_team_group.rb +90 -0
  320. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
  321. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
  322. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
  323. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_clinical_status_search_test.rb +48 -0
  324. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
  325. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
  326. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
  327. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
  328. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
  329. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
  330. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
  331. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
  332. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
  333. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +41 -0
  334. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
  335. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis/metadata.yml +375 -0
  336. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_encounter_diagnosis_group.rb +105 -0
  337. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope1_group.rb +43 -0
  338. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_granular_scope2_group.rb +42 -0
  339. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
  340. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
  341. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
  342. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_clinical_status_search_test.rb +48 -0
  343. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
  344. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +64 -0
  345. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
  346. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
  347. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
  348. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
  349. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
  350. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +52 -0
  351. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
  352. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +40 -0
  353. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
  354. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns/metadata.yml +371 -0
  355. data/lib/us_core_test_kit/generated/v7.0.0-ballot/condition_problems_health_concerns_group.rb +105 -0
  356. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_must_support_test.rb +53 -0
  357. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_patient_search_test.rb +62 -0
  358. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
  359. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_read_test.rb +26 -0
  360. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_reference_resolution_test.rb +41 -0
  361. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/coverage_validation_test.rb +40 -0
  362. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage/metadata.yml +167 -0
  363. data/lib/us_core_test_kit/generated/v7.0.0-ballot/coverage_group.rb +86 -0
  364. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_must_support_test.rb +46 -0
  365. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_search_test.rb +68 -0
  366. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_status_search_test.rb +54 -0
  367. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_patient_type_search_test.rb +55 -0
  368. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_provenance_revinclude_search_test.rb +52 -0
  369. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_read_test.rb +26 -0
  370. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_reference_resolution_test.rb +40 -0
  371. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/device_validation_test.rb +40 -0
  372. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device/metadata.yml +167 -0
  373. data/lib/us_core_test_kit/generated/v7.0.0-ballot/device_group.rb +90 -0
  374. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope1_group.rb +35 -0
  375. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_granular_scope2_group.rb +35 -0
  376. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +46 -0
  377. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  378. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  379. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  380. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  381. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  382. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  383. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  384. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  385. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +43 -0
  386. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
  387. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab/metadata.yml +270 -0
  388. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_lab_group.rb +99 -0
  389. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
  390. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  391. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  392. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  393. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  394. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  395. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  396. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  397. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  398. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +44 -0
  399. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
  400. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note/metadata.yml +297 -0
  401. data/lib/us_core_test_kit/generated/v7.0.0-ballot/diagnostic_report_note_group.rb +99 -0
  402. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_id_search_test.rb +42 -0
  403. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_must_support_test.rb +55 -0
  404. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  405. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_category_search_test.rb +47 -0
  406. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_search_test.rb +63 -0
  407. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_status_search_test.rb +48 -0
  408. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  409. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_patient_type_search_test.rb +47 -0
  410. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  411. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_read_test.rb +26 -0
  412. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_reference_resolution_test.rb +42 -0
  413. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/document_reference_validation_test.rb +40 -0
  414. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference/metadata.yml +339 -0
  415. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_granular_scope1_group.rb +36 -0
  416. data/lib/us_core_test_kit/generated/v7.0.0-ballot/document_reference_group.rb +104 -0
  417. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_class_patient_search_test.rb +49 -0
  418. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_date_patient_search_test.rb +47 -0
  419. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_id_search_test.rb +42 -0
  420. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_identifier_search_test.rb +45 -0
  421. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_must_support_test.rb +53 -0
  422. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
  423. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_location_search_test.rb +48 -0
  424. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_search_test.rb +63 -0
  425. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_status_search_test.rb +47 -0
  426. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_patient_type_search_test.rb +49 -0
  427. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  428. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_read_test.rb +26 -0
  429. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_reference_resolution_test.rb +44 -0
  430. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/encounter_validation_test.rb +40 -0
  431. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter/metadata.yml +375 -0
  432. data/lib/us_core_test_kit/generated/v7.0.0-ballot/encounter_group.rb +104 -0
  433. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_must_support_test.rb +41 -0
  434. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_description_search_test.rb +49 -0
  435. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  436. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_search_test.rb +62 -0
  437. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_patient_target_date_search_test.rb +49 -0
  438. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_provenance_revinclude_search_test.rb +51 -0
  439. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_read_test.rb +26 -0
  440. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_reference_resolution_test.rb +40 -0
  441. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/goal_validation_test.rb +40 -0
  442. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal/metadata.yml +194 -0
  443. data/lib/us_core_test_kit/generated/v7.0.0-ballot/goal_group.rb +92 -0
  444. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_abatement_date_granular_scope_test.rb +41 -0
  445. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_asserted_date_granular_scope_test.rb +41 -0
  446. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_clinical_status_granular_scope_test.rb +41 -0
  447. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_encounter_granular_scope_test.rb +41 -0
  448. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_category_granular_scope_test.rb +41 -0
  449. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_clinical_status_granular_scope_test.rb +41 -0
  450. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_code_granular_scope_test.rb +41 -0
  451. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_granular_scope_test.rb +41 -0
  452. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_onset_date_granular_scope_test.rb +41 -0
  453. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/condition_patient_recorded_date_granular_scope_test.rb +41 -0
  454. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/condition/metadata.yml +375 -0
  455. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_category_date_granular_scope_test.rb +41 -0
  456. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_category_granular_scope_test.rb +41 -0
  457. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_code_date_granular_scope_test.rb +41 -0
  458. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_code_granular_scope_test.rb +41 -0
  459. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_granular_scope_test.rb +41 -0
  460. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/diagnostic_report_patient_status_granular_scope_test.rb +41 -0
  461. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/diagnostic_report/metadata.yml +297 -0
  462. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_id_granular_scope_test.rb +37 -0
  463. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_category_date_granular_scope_test.rb +41 -0
  464. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_category_granular_scope_test.rb +41 -0
  465. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_granular_scope_test.rb +41 -0
  466. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_status_granular_scope_test.rb +41 -0
  467. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_type_granular_scope_test.rb +41 -0
  468. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/document_reference_patient_type_period_granular_scope_test.rb +41 -0
  469. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/document_reference/metadata.yml +339 -0
  470. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/metadata.yml +294 -0
  471. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_date_granular_scope_test.rb +41 -0
  472. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_granular_scope_test.rb +41 -0
  473. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_category_status_granular_scope_test.rb +41 -0
  474. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_code_date_granular_scope_test.rb +41 -0
  475. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/observation/observation_patient_code_granular_scope_test.rb +41 -0
  476. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/metadata.yml +355 -0
  477. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_id_granular_scope_test.rb +37 -0
  478. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_category_authored_granular_scope_test.rb +41 -0
  479. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_category_granular_scope_test.rb +41 -0
  480. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_code_authored_granular_scope_test.rb +41 -0
  481. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_code_granular_scope_test.rb +41 -0
  482. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_granular_scope_test.rb +41 -0
  483. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scope_tests/service_request/service_request_patient_status_granular_scope_test.rb +41 -0
  484. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scopes1_group.rb +63 -0
  485. data/lib/us_core_test_kit/generated/v7.0.0-ballot/granular_scopes2_group.rb +60 -0
  486. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_must_support_test.rb +51 -0
  487. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  488. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  489. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  490. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  491. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  492. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  493. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_read_test.rb +26 -0
  494. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_reference_resolution_test.rb +40 -0
  495. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/head_circumference_validation_test.rb +40 -0
  496. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference/metadata.yml +293 -0
  497. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_group.rb +96 -0
  498. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  499. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  500. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  501. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  502. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  503. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  504. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  505. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  506. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +40 -0
  507. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
  508. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile/metadata.yml +290 -0
  509. data/lib/us_core_test_kit/generated/v7.0.0-ballot/head_circumference_percentile_group.rb +96 -0
  510. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_must_support_test.rb +51 -0
  511. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  512. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  513. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  514. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  515. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  516. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  517. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_read_test.rb +26 -0
  518. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_reference_resolution_test.rb +40 -0
  519. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/heart_rate_validation_test.rb +40 -0
  520. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate/metadata.yml +290 -0
  521. data/lib/us_core_test_kit/generated/v7.0.0-ballot/heart_rate_group.rb +96 -0
  522. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_must_support_test.rb +44 -0
  523. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_date_search_test.rb +49 -0
  524. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_search_test.rb +63 -0
  525. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_patient_status_search_test.rb +47 -0
  526. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  527. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_read_test.rb +26 -0
  528. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_reference_resolution_test.rb +42 -0
  529. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/immunization_validation_test.rb +40 -0
  530. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization/metadata.yml +187 -0
  531. data/lib/us_core_test_kit/generated/v7.0.0-ballot/immunization_group.rb +90 -0
  532. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_city_search_test.rb +43 -0
  533. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_postalcode_search_test.rb +43 -0
  534. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_search_test.rb +52 -0
  535. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_address_state_search_test.rb +43 -0
  536. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_must_support_test.rb +47 -0
  537. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_name_search_test.rb +41 -0
  538. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_read_test.rb +26 -0
  539. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_reference_resolution_test.rb +40 -0
  540. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/location_validation_test.rb +40 -0
  541. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location/metadata.yml +194 -0
  542. data/lib/us_core_test_kit/generated/v7.0.0-ballot/location_group.rb +93 -0
  543. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_must_support_test.rb +51 -0
  544. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
  545. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
  546. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
  547. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
  548. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_read_test.rb +26 -0
  549. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_reference_resolution_test.rb +44 -0
  550. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/medication_dispense_validation_test.rb +40 -0
  551. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense/metadata.yml +241 -0
  552. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_dispense_group.rb +90 -0
  553. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_must_support_test.rb +59 -0
  554. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  555. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  556. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  557. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  558. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  559. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_read_test.rb +26 -0
  560. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_reference_resolution_test.rb +45 -0
  561. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_request_validation_test.rb +40 -0
  562. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/medication_validation_test.rb +39 -0
  563. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request/metadata.yml +328 -0
  564. data/lib/us_core_test_kit/generated/v7.0.0-ballot/medication_request_group.rb +95 -0
  565. data/lib/us_core_test_kit/generated/v7.0.0-ballot/metadata.yml +13229 -0
  566. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/metadata.yml +280 -0
  567. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_must_support_test.rb +46 -0
  568. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
  569. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +65 -0
  570. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
  571. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
  572. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
  573. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
  574. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
  575. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +41 -0
  576. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
  577. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_clinical_result_group.rb +96 -0
  578. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope1_group.rb +35 -0
  579. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_granular_scope2_group.rb +34 -0
  580. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/metadata.yml +294 -0
  581. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_must_support_test.rb +49 -0
  582. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  583. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
  584. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  585. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  586. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  587. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  588. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_read_test.rb +26 -0
  589. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_reference_resolution_test.rb +42 -0
  590. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab/observation_lab_validation_test.rb +40 -0
  591. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_lab_group.rb +96 -0
  592. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/metadata.yml +275 -0
  593. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_must_support_test.rb +47 -0
  594. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
  595. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
  596. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
  597. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
  598. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
  599. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
  600. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_read_test.rb +26 -0
  601. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_reference_resolution_test.rb +40 -0
  602. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation/observation_occupation_validation_test.rb +40 -0
  603. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_occupation_group.rb +96 -0
  604. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/metadata.yml +264 -0
  605. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
  606. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
  607. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
  608. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
  609. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
  610. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
  611. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
  612. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
  613. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +40 -0
  614. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
  615. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancyintent_group.rb +96 -0
  616. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/metadata.yml +264 -0
  617. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
  618. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
  619. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
  620. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
  621. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
  622. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
  623. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
  624. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
  625. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +40 -0
  626. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
  627. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_pregnancystatus_group.rb +96 -0
  628. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/metadata.yml +299 -0
  629. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
  630. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
  631. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
  632. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
  633. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
  634. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
  635. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
  636. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
  637. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +43 -0
  638. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
  639. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_screening_assessment_group.rb +96 -0
  640. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/metadata.yml +251 -0
  641. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
  642. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
  643. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
  644. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
  645. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
  646. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
  647. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
  648. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
  649. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +40 -0
  650. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
  651. data/lib/us_core_test_kit/generated/v7.0.0-ballot/observation_sexual_orientation_group.rb +96 -0
  652. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/metadata.yml +143 -0
  653. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_address_search_test.rb +51 -0
  654. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_must_support_test.rb +51 -0
  655. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_name_search_test.rb +41 -0
  656. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_read_test.rb +26 -0
  657. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization/organization_validation_test.rb +40 -0
  658. data/lib/us_core_test_kit/generated/v7.0.0-ballot/organization_group.rb +85 -0
  659. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/metadata.yml +388 -0
  660. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_birthdate_family_search_test.rb +43 -0
  661. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_birthdate_name_search_test.rb +41 -0
  662. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_death_date_family_search_test.rb +43 -0
  663. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_family_gender_search_test.rb +43 -0
  664. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_gender_name_search_test.rb +41 -0
  665. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_id_search_test.rb +55 -0
  666. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_identifier_search_test.rb +42 -0
  667. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_must_support_test.rb +67 -0
  668. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_name_search_test.rb +41 -0
  669. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_provenance_revinclude_search_test.rb +51 -0
  670. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_read_test.rb +26 -0
  671. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient/patient_validation_test.rb +40 -0
  672. data/lib/us_core_test_kit/generated/v7.0.0-ballot/patient_group.rb +102 -0
  673. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/metadata.yml +290 -0
  674. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  675. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  676. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  677. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  678. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  679. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  680. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  681. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  682. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +40 -0
  683. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
  684. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_bmi_for_age_group.rb +96 -0
  685. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/metadata.yml +290 -0
  686. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  687. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  688. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  689. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  690. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  691. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  692. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  693. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  694. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +40 -0
  695. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
  696. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pediatric_weight_for_height_group.rb +96 -0
  697. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/metadata.yml +167 -0
  698. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_id_search_test.rb +53 -0
  699. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_identifier_search_test.rb +42 -0
  700. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_must_support_test.rb +51 -0
  701. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_name_search_test.rb +41 -0
  702. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_read_test.rb +26 -0
  703. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner/practitioner_validation_test.rb +40 -0
  704. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_group.rb +87 -0
  705. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/metadata.yml +160 -0
  706. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_must_support_test.rb +45 -0
  707. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_practitioner_search_test.rb +52 -0
  708. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_read_test.rb +26 -0
  709. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_reference_resolution_test.rb +43 -0
  710. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_specialty_search_test.rb +42 -0
  711. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role/practitioner_role_validation_test.rb +40 -0
  712. data/lib/us_core_test_kit/generated/v7.0.0-ballot/practitioner_role_group.rb +89 -0
  713. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/metadata.yml +252 -0
  714. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_must_support_test.rb +46 -0
  715. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_code_date_search_test.rb +50 -0
  716. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_date_search_test.rb +47 -0
  717. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_search_test.rb +62 -0
  718. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_patient_status_search_test.rb +48 -0
  719. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  720. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_read_test.rb +26 -0
  721. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_reference_resolution_test.rb +43 -0
  722. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure/procedure_validation_test.rb +40 -0
  723. data/lib/us_core_test_kit/generated/v7.0.0-ballot/procedure_group.rb +93 -0
  724. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/metadata.yml +164 -0
  725. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_must_support_test.rb +47 -0
  726. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_read_test.rb +26 -0
  727. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_reference_resolution_test.rb +42 -0
  728. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance/provenance_validation_test.rb +40 -0
  729. data/lib/us_core_test_kit/generated/v7.0.0-ballot/provenance_group.rb +59 -0
  730. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/metadata.yml +366 -0
  731. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_must_support_test.rb +71 -0
  732. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  733. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  734. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  735. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  736. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  737. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  738. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  739. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +40 -0
  740. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
  741. data/lib/us_core_test_kit/generated/v7.0.0-ballot/pulse_oximetry_group.rb +96 -0
  742. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/metadata.yml +235 -0
  743. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
  744. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
  745. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
  746. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
  747. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
  748. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
  749. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
  750. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_read_test.rb +26 -0
  751. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_reference_resolution_test.rb +41 -0
  752. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
  753. data/lib/us_core_test_kit/generated/v7.0.0-ballot/questionnaire_response_group.rb +97 -0
  754. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/metadata.yml +139 -0
  755. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_id_search_test.rb +41 -0
  756. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_must_support_test.rb +42 -0
  757. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_name_search_test.rb +43 -0
  758. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_patient_name_search_test.rb +47 -0
  759. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_patient_search_test.rb +63 -0
  760. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
  761. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_read_test.rb +26 -0
  762. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_reference_resolution_test.rb +40 -0
  763. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person/related_person_validation_test.rb +40 -0
  764. data/lib/us_core_test_kit/generated/v7.0.0-ballot/related_person_group.rb +92 -0
  765. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/metadata.yml +290 -0
  766. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  767. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  768. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  769. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  770. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  771. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  772. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  773. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  774. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_reference_resolution_test.rb +40 -0
  775. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
  776. data/lib/us_core_test_kit/generated/v7.0.0-ballot/respiratory_rate_group.rb +96 -0
  777. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/metadata.yml +355 -0
  778. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_id_search_test.rb +42 -0
  779. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_must_support_test.rb +50 -0
  780. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_authored_search_test.rb +48 -0
  781. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_category_search_test.rb +47 -0
  782. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_authored_search_test.rb +50 -0
  783. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_code_search_test.rb +47 -0
  784. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_search_test.rb +63 -0
  785. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_patient_status_search_test.rb +48 -0
  786. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
  787. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_read_test.rb +26 -0
  788. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_reference_resolution_test.rb +43 -0
  789. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request/service_request_validation_test.rb +40 -0
  790. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope1_group.rb +36 -0
  791. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_granular_scope2_group.rb +37 -0
  792. data/lib/us_core_test_kit/generated/v7.0.0-ballot/service_request_group.rb +102 -0
  793. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/metadata.yml +305 -0
  794. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_must_support_test.rb +51 -0
  795. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
  796. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
  797. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
  798. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
  799. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
  800. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
  801. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_read_test.rb +26 -0
  802. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_reference_resolution_test.rb +42 -0
  803. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation/simple_observation_validation_test.rb +40 -0
  804. data/lib/us_core_test_kit/generated/v7.0.0-ballot/simple_observation_group.rb +98 -0
  805. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/metadata.yml +254 -0
  806. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  807. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
  808. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  809. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  810. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  811. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  812. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  813. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_read_test.rb +26 -0
  814. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_reference_resolution_test.rb +40 -0
  815. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus/smokingstatus_validation_test.rb +40 -0
  816. data/lib/us_core_test_kit/generated/v7.0.0-ballot/smokingstatus_group.rb +96 -0
  817. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/metadata.yml +132 -0
  818. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_id_search_test.rb +41 -0
  819. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_must_support_test.rb +45 -0
  820. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_patient_search_test.rb +64 -0
  821. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_read_test.rb +26 -0
  822. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_reference_resolution_test.rb +40 -0
  823. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen/specimen_validation_test.rb +40 -0
  824. data/lib/us_core_test_kit/generated/v7.0.0-ballot/specimen_group.rb +86 -0
  825. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/metadata.yml +256 -0
  826. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_must_support_test.rb +44 -0
  827. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_date_search_test.rb +48 -0
  828. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_search_test.rb +47 -0
  829. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_category_status_search_test.rb +49 -0
  830. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_code_date_search_test.rb +50 -0
  831. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_patient_code_search_test.rb +64 -0
  832. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_provenance_revinclude_search_test.rb +53 -0
  833. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_read_test.rb +26 -0
  834. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_reference_resolution_test.rb +40 -0
  835. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference/treatment_intervention_preference_validation_test.rb +40 -0
  836. data/lib/us_core_test_kit/generated/v7.0.0-ballot/treatment_intervention_preference_group.rb +96 -0
  837. data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +216 -0
  838. data/lib/us_core_test_kit/generator/granular_scope_group_generator.rb +127 -0
  839. data/lib/us_core_test_kit/generator/granular_scope_resource_type_group_generator.rb +144 -0
  840. data/lib/us_core_test_kit/generator/granular_scope_test_generator.rb +164 -0
  841. data/lib/us_core_test_kit/generator/group_generator.rb +2 -2
  842. data/lib/us_core_test_kit/generator/group_metadata.rb +26 -15
  843. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +12 -25
  844. data/lib/us_core_test_kit/generator/ig_metadata.rb +13 -2
  845. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +9 -0
  846. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +4 -1
  847. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_3.rb +64 -18
  848. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +1 -18
  849. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +0 -15
  850. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +5 -2
  851. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_7.rb +42 -0
  852. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +51 -8
  853. data/lib/us_core_test_kit/generator/search_metadata_extractor.rb +4 -4
  854. data/lib/us_core_test_kit/generator/special_cases.rb +51 -6
  855. data/lib/us_core_test_kit/generator/suite_generator.rb +16 -0
  856. data/lib/us_core_test_kit/generator/value_extractor.rb +0 -7
  857. data/lib/us_core_test_kit/generator.rb +26 -0
  858. data/lib/us_core_test_kit/granular_scope_checker.rb +138 -0
  859. data/lib/us_core_test_kit/igs/us_core_700_ballot/CodeSystem-observation-category.json +83 -0
  860. data/lib/us_core_test_kit/igs/us_core_700_ballot/StructureDefinition-condition-assertedDate.json +280 -0
  861. data/lib/us_core_test_kit/igs/us_core_700_ballot/ValueSet-servicerequest-category.json +69 -0
  862. data/lib/us_core_test_kit/igs/us_core_700_ballot.tgz +0 -0
  863. data/lib/us_core_test_kit/search_test.rb +132 -98
  864. data/lib/us_core_test_kit/us_core_options.rb +10 -0
  865. data/lib/us_core_test_kit/version.rb +1 -1
  866. data/lib/us_core_test_kit.rb +2 -0
  867. metadata +707 -3
  868. data/lib/us_core_test_kit/igs/us_core_610/ValueSet-observation-category.json +0 -48
@@ -17,7 +17,6 @@ module USCoreTestKit
17
17
 
18
18
  def handle_special_cases
19
19
  add_must_support_choices
20
- remove_patient_address_period
21
20
  add_patient_uscdi_elements
22
21
  remove_survey_questionnaire_response
23
22
  end
@@ -48,10 +47,6 @@ module USCoreTestKit
48
47
  end
49
48
  end
50
49
 
51
- def remove_patient_address_period
52
- us_core_4_extractor.remove_patient_address_period
53
- end
54
-
55
50
  def add_patient_uscdi_elements
56
51
  return unless profile.type == 'Patient'
57
52
 
@@ -62,16 +57,6 @@ module USCoreTestKit
62
57
  url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity',
63
58
  uscdi_only: true
64
59
  }
65
- must_supports[:elements] << {
66
- path: 'address.use',
67
- fixed_value: 'old',
68
- uscdi_only: true
69
- }
70
- must_supports[:elements] << {
71
- path: 'name.use',
72
- fixed_value: 'old',
73
- uscdi_only: true
74
- }
75
60
  end
76
61
 
77
62
  def add_value_set_expansion
@@ -12,6 +12,10 @@ module USCoreTestKit
12
12
  self.must_supports = must_supports
13
13
  end
14
14
 
15
+ def us_core_3_extractor
16
+ @us_core_3_extractor ||= MustSupportMetadataExtractorUsCore3.new(profile, must_supports)
17
+ end
18
+
15
19
  def us_core_4_extractor
16
20
  @us_core_4_extractor ||= MustSupportMetadataExtractorUsCore4.new(profile, must_supports)
17
21
  end
@@ -66,11 +70,10 @@ module USCoreTestKit
66
70
  return unless profile.type == 'Patient'
67
71
 
68
72
  us_core_4_extractor.add_patient_telecom_communication_uscdi
73
+ us_core_3_extractor.update_patient_previous_name_address
69
74
 
70
75
  must_supports[:elements].each do |element|
71
76
  case element[:path]
72
- when 'address.use', 'name.use'
73
- element[:fixed_value] = 'old'
74
77
  when 'deceased[x]'
75
78
  element[:original_path] = element[:path]
76
79
  element[:path] = 'deceasedDateTime'
@@ -0,0 +1,42 @@
1
+ require_relative 'must_support_metadata_extractor_us_core_6'
2
+
3
+ module USCoreTestKit
4
+ class Generator
5
+ class MustSupportMetadataExtractorUsCore7
6
+ attr_accessor :profile, :must_supports
7
+
8
+ US_CORE_CATEGORY = ['sdoh', 'functional-status', 'disability-status', 'cognitive-status']
9
+
10
+ def initialize(profile, must_supports)
11
+ self.profile = profile
12
+ self.must_supports = must_supports
13
+ end
14
+
15
+ def us_core_6_extractor
16
+ @us_core_6_extractor ||= MustSupportMetadataExtractorUsCore6.new(profile, must_supports)
17
+ end
18
+
19
+ def handle_special_cases
20
+ us_core_6_extractor.handle_special_cases
21
+ add_must_support_choices
22
+ end
23
+
24
+ def add_must_support_choices
25
+ more_choices = []
26
+
27
+ case profile.type
28
+ when 'Procedure'
29
+ more_choices << {
30
+ paths: ['reasonCode', 'reasonReference'],
31
+ uscdi_only: true
32
+ }
33
+ end
34
+
35
+ if more_choices.present?
36
+ must_supports[:choices] ||= []
37
+ must_supports[:choices].concat(more_choices)
38
+ end
39
+ end
40
+ end
41
+ end
42
+ end
@@ -3,13 +3,13 @@ require_relative 'value_extractor'
3
3
  module USCoreTestKit
4
4
  class Generator
5
5
  class SearchDefinitionMetadataExtractor
6
- attr_accessor :ig_resources, :name, :resource, :profile_elements
6
+ attr_accessor :ig_resources, :name, :profile_elements, :group_metadata
7
7
 
8
- def initialize(name, ig_resources, resource, profile_elements)
8
+ def initialize(name, ig_resources, profile_elements, group_metadata)
9
9
  self.name = name
10
10
  self.ig_resources = ig_resources
11
- self.resource = resource
12
11
  self.profile_elements = profile_elements
12
+ self.group_metadata = group_metadata
13
13
  end
14
14
 
15
15
  def search_definition
@@ -26,6 +26,10 @@ module USCoreTestKit
26
26
  }.compact
27
27
  end
28
28
 
29
+ def resource
30
+ group_metadata[:resource]
31
+ end
32
+
29
33
  def param
30
34
  @param ||= ig_resources.search_param_by_resource_and_name(resource, name)
31
35
  end
@@ -162,11 +166,50 @@ module USCoreTestKit
162
166
  end
163
167
 
164
168
  def values
165
- value_extractor.values_from_slicing(profile_element, type).presence ||
166
- value_extractor.values_from_required_binding(profile_element).presence ||
167
- value_extractor.values_from_value_set_binding(profile_element).presence ||
168
- values_from_resource_metadata(paths).presence ||
169
- []
169
+ values_from_must_supports(profile_element).presence ||
170
+ value_extractor.values_from_fixed_codes(profile_element, type).presence ||
171
+ #value_extractor.values_from_required_binding(profile_element).presence ||
172
+ value_extractor.values_from_value_set_binding(profile_element).presence ||
173
+ values_from_resource_metadata(paths).presence ||
174
+ []
175
+ end
176
+
177
+ def values_from_must_supports(profile_element)
178
+ return if profile_element.nil?
179
+
180
+ short_path = profile_element.path.split('.', 2)[1]
181
+
182
+ values_from_must_support_slices(profile_element, short_path, true).presence ||
183
+ values_from_must_support_slices(profile_element, short_path, false).presence ||
184
+ values_from_must_support_elements(short_path).presence ||
185
+ []
186
+ end
187
+
188
+ def values_from_must_support_slices(profile_element, short_path, mandatory_slice_only)
189
+ group_metadata[:must_supports][:slices]
190
+ .select { |slice| [short_path, "#{short_path}.coding"].include?(slice[:path]) }
191
+ .map do |slice|
192
+ slice_element = profile_elements.find { |element| slice[:slice_id] == element.id }
193
+ next if (profile_element.min > 0 && slice_element.min == 0 && mandatory_slice_only)
194
+
195
+ case slice[:discriminator][:type]
196
+ when 'patternCoding', 'patternCodeableConcept'
197
+ slice[:discriminator][:code]
198
+ when 'requiredBinding'
199
+ slice[:discriminator][:values]
200
+ when 'value'
201
+ slice[:discriminator][:values]
202
+ .select { |value| value[:path] == 'coding.code' }
203
+ .map { |value| value[:value] }
204
+ end
205
+ end
206
+ .compact.flatten
207
+ end
208
+
209
+ def values_from_must_support_elements(short_path)
210
+ group_metadata[:must_supports][:elements]
211
+ .select { |element| element[:path] == "#{short_path}.coding.code" }
212
+ .map { |element| element[:fixed_value] }
170
213
  end
171
214
 
172
215
  def values_from_resource_metadata(paths)
@@ -6,13 +6,13 @@ module USCoreTestKit
6
6
  COMBO_EXTENSION_URL =
7
7
  'http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination'.freeze
8
8
 
9
- attr_accessor :resource_capabilities, :ig_resources, :resource, :profile_elements
9
+ attr_accessor :resource_capabilities, :ig_resources, :profile_elements, :group_metadata
10
10
 
11
- def initialize(resource_capabilities, ig_resources, resource, profile_elements)
11
+ def initialize(resource_capabilities, ig_resources, profile_elements, group_metadata)
12
12
  self.resource_capabilities = resource_capabilities
13
13
  self.ig_resources = ig_resources
14
- self.resource = resource
15
14
  self.profile_elements = profile_elements
15
+ self.group_metadata = group_metadata
16
16
  end
17
17
 
18
18
  def searches
@@ -66,7 +66,7 @@ module USCoreTestKit
66
66
  def search_definitions
67
67
  search_param_names.each_with_object({}) do |name, definitions|
68
68
  definitions[name.to_sym] =
69
- SearchDefinitionMetadataExtractor.new(name, ig_resources, resource, profile_elements).search_definition
69
+ SearchDefinitionMetadataExtractor.new(name, ig_resources, profile_elements, group_metadata).search_definition
70
70
  end
71
71
  end
72
72
  end
@@ -1,20 +1,65 @@
1
1
  module USCoreTestKit
2
2
  class Generator
3
3
  module SpecialCases
4
- RESOURCES_TO_EXCLUDE = [
5
- 'Location',
6
- 'Medication',
7
- 'PractitionerRole'
8
- ].freeze
4
+ RESOURCES_TO_EXCLUDE = {
5
+ 'Location' => ['v311', 'v400', 'v501', 'v610'],
6
+ 'Medication' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
7
+ 'PractitionerRole' => ['v311', 'v400']
8
+ }.freeze
9
9
 
10
10
  PROFILES_TO_EXCLUDE = [
11
11
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
12
12
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs'
13
13
  ].freeze
14
14
 
15
+ OPTIONAL_RESOURCES = [
16
+ 'PractitionerRole',
17
+ 'QuestionnaireResponse'
18
+ ].freeze
19
+
20
+ OPTIONAL_PROFILES = [
21
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
22
+ ].freeze
23
+
24
+ NON_USCDI_RESOURCES = {
25
+ 'Encounter' => ['v311', 'v400'],
26
+ 'Location' => ['v311', 'v400', 'v501', 'v610'],
27
+ 'Organization' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
28
+ 'Practitioner' => ['v311', 'v400'],
29
+ 'PractitionerRole' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
30
+ 'Provenance' => ['v311', 'v400', 'v501', 'v610', 'v700_ballot'],
31
+ 'RelatedPerson' => ['v501', 'v610', 'v700_ballot'],
32
+ 'Specimen' => ['v610', 'v700_ballot']
33
+ }.freeze
34
+
35
+ SEARCHABLE_DELAYED_RESOURCES = {
36
+ 'Location' => ['v700_ballot'],
37
+ 'Practitioner' => ['v501', 'v610', 'v700_ballot']
38
+ }.freeze
39
+
40
+ ALL_VERSION_CATEGORY_FIRST_PROFILES = [
41
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan',
42
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
43
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note',
44
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
45
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test',
46
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging',
47
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
48
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
49
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment',
50
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history',
51
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
52
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation'
53
+ ].freeze
54
+
55
+ VERSION_SPECIFIC_CATEGORY_FIRST_PROFILES = {
56
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis' => ['v610', 'v700_ballot'],
57
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns' => ['v610', 'v700_ballot']
58
+ }.freeze
59
+
15
60
  class << self
16
61
  def exclude_group?(group)
17
- RESOURCES_TO_EXCLUDE.include?(group.resource)
62
+ RESOURCES_TO_EXCLUDE.key?(group.resource) && RESOURCES_TO_EXCLUDE[group.resource].include?(group.reformatted_version)
18
63
  end
19
64
  end
20
65
  end
@@ -49,6 +49,10 @@ module USCoreTestKit
49
49
  "us_core_#{ig_metadata.reformatted_version}"
50
50
  end
51
51
 
52
+ def fhir_api_group_id
53
+ "us_core_#{ig_metadata.reformatted_version}_fhir_api"
54
+ end
55
+
52
56
  def title
53
57
  "US Core #{ig_metadata.ig_version}"
54
58
  end
@@ -68,6 +72,10 @@ module USCoreTestKit
68
72
  end
69
73
  end
70
74
 
75
+ def test_granular_scopes?
76
+ ig_metadata.ig_version[1].to_i > 5
77
+ end
78
+
71
79
  def generate
72
80
  File.open(output_file_name, 'w') { |f| f.write(output) }
73
81
  end
@@ -110,6 +118,14 @@ module USCoreTestKit
110
118
  'us_core_v400_clinical_notes_guidance'
111
119
  end
112
120
  end
121
+
122
+ def granular_scopes_file_name
123
+ "../../custom_groups/#{ig_metadata.ig_version}/smart_granular_scopes_group"
124
+ end
125
+
126
+ def granular_scopes_id
127
+ "us_core_#{ig_metadata.reformatted_version}_smart_granular_scopes"
128
+ end
113
129
  end
114
130
  end
115
131
  end
@@ -9,13 +9,6 @@ module USCoreTestKit
9
9
  self.profile_elements = profile_elements
10
10
  end
11
11
 
12
- def values_from_slicing(profile_element, type)
13
- (
14
- values_from_fixed_codes(profile_element, type) +
15
- values_from_pattern_coding(profile_element, type) +
16
- values_from_pattern_codeable_concept(profile_element, type)
17
- ).uniq
18
- end
19
12
 
20
13
  def values_from_required_binding(profile_element)
21
14
  return [] unless profile_element&.max == '*'
@@ -3,6 +3,9 @@ require 'inferno/ext/fhir_models'
3
3
 
4
4
  require_relative 'generator/ig_loader'
5
5
  require_relative 'generator/ig_metadata_extractor'
6
+ require_relative 'generator/granular_scope_group_generator'
7
+ require_relative 'generator/granular_scope_resource_type_group_generator'
8
+ require_relative 'generator/granular_scope_test_generator'
6
9
  require_relative 'generator/group_generator'
7
10
  require_relative 'generator/must_support_test_generator'
8
11
  require_relative 'generator/provenance_revinclude_search_test_generator'
@@ -41,15 +44,26 @@ module USCoreTestKit
41
44
  generate_must_support_tests
42
45
  generate_reference_resolution_tests
43
46
 
47
+ generate_granular_scope_tests
48
+
44
49
  generate_groups
45
50
 
51
+ generate_granular_scope_resource_type_groups
52
+
53
+ generate_granular_scope_groups
54
+
46
55
  generate_suites
56
+
57
+ write_metadata
47
58
  end
48
59
 
49
60
  def extract_metadata
50
61
  self.ig_metadata = IGMetadataExtractor.new(ig_resources).extract
51
62
 
52
63
  FileUtils.mkdir_p(base_output_dir)
64
+ end
65
+
66
+ def write_metadata
53
67
  File.open(File.join(base_output_dir, 'metadata.yml'), 'w') do |file|
54
68
  file.write(YAML.dump(ig_metadata.to_hash))
55
69
  end
@@ -88,10 +102,22 @@ module USCoreTestKit
88
102
  ProvenanceRevincludeSearchTestGenerator.generate(ig_metadata, base_output_dir)
89
103
  end
90
104
 
105
+ def generate_granular_scope_tests
106
+ GranularScopeTestGenerator.generate(ig_metadata, base_output_dir)
107
+ end
108
+
91
109
  def generate_groups
92
110
  GroupGenerator.generate(ig_metadata, base_output_dir)
93
111
  end
94
112
 
113
+ def generate_granular_scope_resource_type_groups
114
+ GranularScopeResourceTypeGroupGenerator.generate(ig_metadata, base_output_dir)
115
+ end
116
+
117
+ def generate_granular_scope_groups
118
+ GranularScopeGroupGenerator.generate(ig_metadata, base_output_dir)
119
+ end
120
+
95
121
  def generate_suites
96
122
  SuiteGenerator.generate(ig_metadata, base_output_dir)
97
123
  end
@@ -0,0 +1,138 @@
1
+ module USCoreTestKit
2
+ module GranularScopeChecker
3
+ def self.included(klass)
4
+ klass.input(:received_scopes)
5
+ klass.attr_accessor :previous_requests
6
+ end
7
+
8
+ def run_scope_check_test
9
+ assert granular_scopes.present?, "No granular scopes were received for #{resource_type} resources"
10
+
11
+ load_previous_requests
12
+
13
+ skip_if previous_requests.blank?,
14
+ "No #{resource_type} searches with search params #{search_param_names.join(' & ')} found"
15
+
16
+ previous_request_resources.each do |previous_request, all_previous_resources|
17
+ search_method = previous_request.verb.to_sym
18
+ params = search_method == :get ? previous_request.query_parameters : Hash[URI.decode_www_form(previous_request.request_body)]
19
+ fhir_search(resource_type, params:, search_method:)
20
+
21
+ found_resources =
22
+ if request.status != 200
23
+ []
24
+ else
25
+ fetch_all_bundled_resources
26
+ end
27
+
28
+ mismatched_ids = mismatched_resource_ids(found_resources)
29
+
30
+ assert mismatched_ids.empty?,
31
+ 'Resources with the following ids were received even though they do not match the ' \
32
+ "granted granular scopes: #{mismatched_ids.join(', ')}"
33
+
34
+ found_ids = found_resources.map(&:id)
35
+ previous_ids = expected_resource_ids(all_previous_resources)
36
+ missing_ids = previous_ids - found_ids
37
+
38
+ assert missing_ids.empty?,
39
+ 'Resources with the following ids were received when using resource-level scopes, ' \
40
+ "but not when using granular scopes: #{missing_ids.join(', ')}"
41
+
42
+ unexpected_ids = found_ids - previous_ids
43
+
44
+ assert unexpected_ids.empty?,
45
+ 'Resources with the following ids were received when using granular scopes, ' \
46
+ "but not when using resource-level scopes: #{unexpected_ids.join(', ')}"
47
+ end
48
+ end
49
+
50
+ def previous_request_resources
51
+ first_request = previous_requests.first
52
+ next_page_url = nil
53
+ hash = Hash.new { |hash, key| hash[key] = [] }
54
+ previous_requests.each_with_object(hash) do |request, request_resource_hash|
55
+ request_resources =
56
+ if request.status == 200
57
+ request.resource.entry.map(&:resource).select { |resource| resource.resourceType == resource_type }
58
+ else
59
+ []
60
+ end
61
+
62
+ first_request = request if request.url != next_page_url
63
+
64
+ request_resource_hash[first_request].concat(request_resources)
65
+
66
+ next if request.resource&.resourceType != 'Bundle'
67
+
68
+ next_page_url = request.resource&.link&.find { |link| link.relation == 'next' }&.url
69
+ end
70
+ end
71
+
72
+ def granular_scopes
73
+ @granular_scopes ||=
74
+ received_scopes
75
+ .split(' ')
76
+ .select do |scope|
77
+ (scope.start_with?("patient/#{resource_type}") || scope.start_with?("user/#{resource_type}")) &&
78
+ scope.include?('?')
79
+ end
80
+ end
81
+
82
+ def granular_scope_search_params
83
+ @granular_scope_search_params ||=
84
+ granular_scopes.map do |scope|
85
+ _, granular_scope = scope.split('?')
86
+ name, value = granular_scope.split('=')
87
+
88
+ {
89
+ name:,
90
+ value:
91
+ }
92
+ end
93
+ end
94
+
95
+ def load_previous_requests
96
+ search_params_as_hash = search_param_names.each_with_object({}) do |name, hash|
97
+ hash[name] = nil
98
+ end
99
+ @previous_requests ||=
100
+ load_tagged_requests(search_params_tag(search_params_as_hash))
101
+ .sort_by { |request| request.index }
102
+ end
103
+
104
+ def previous_resources(params)
105
+ previous_requests(params)
106
+ .flat_map do |request|
107
+ resource = request.resource
108
+ if resource.is_a?(FHIR::Bundle)
109
+ resource.entry&.map(&:resource)
110
+ else
111
+ resource
112
+ end
113
+ end
114
+ .compact
115
+ .select { |resource| resource.resourceType == resource_type }
116
+ end
117
+
118
+ def expected_resource_ids(resources)
119
+ resources
120
+ .select do |resource|
121
+ granular_scope_search_params.any? do |param|
122
+ resource_matches_param?(resource, param[:name], param[:value])
123
+ end
124
+ end
125
+ .map(&:id)
126
+ end
127
+
128
+ def mismatched_resource_ids(resources)
129
+ resources
130
+ .reject do |resource|
131
+ granular_scope_search_params.any? do |param|
132
+ resource_matches_param?(resource, param[:name], param[:value])
133
+ end
134
+ end
135
+ .map(&:id)
136
+ end
137
+ end
138
+ end
@@ -0,0 +1,83 @@
1
+ {
2
+ "resourceType" : "CodeSystem",
3
+ "id" : "observation-category",
4
+ "meta" : {
5
+ "lastUpdated" : "2020-04-09T21:10:28.568+00:00",
6
+ "profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
7
+ },
8
+ "text" : {
9
+ "status" : "generated",
10
+ "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://terminology.hl7.org/CodeSystem/observation-category</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">social-history<a name=\"observation-category-social-history\"> </a></td><td>Social History</td><td>Social History Observations define the patient's occupational, personal (e.g., lifestyle), social, familial, and environmental history and health risk factors that may impact the patient's health.</td></tr><tr><td style=\"white-space:nowrap\">vital-signs<a name=\"observation-category-vital-signs\"> </a></td><td>Vital Signs</td><td>Clinical observations measure the body's basic functions such as blood pressure, heart rate, respiratory rate, height, weight, body mass index, head circumference, pulse oximetry, temperature, and body surface area.</td></tr><tr><td style=\"white-space:nowrap\">imaging<a name=\"observation-category-imaging\"> </a></td><td>Imaging</td><td>Observations generated by imaging. The scope includes observations regarding plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, and nuclear medicine.</td></tr><tr><td style=\"white-space:nowrap\">laboratory<a name=\"observation-category-laboratory\"> </a></td><td>Laboratory</td><td>The results of observations generated by laboratories. Laboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology (including digital pathology), microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory.</td></tr><tr><td style=\"white-space:nowrap\">procedure<a name=\"observation-category-procedure\"> </a></td><td>Procedure</td><td>Observations generated by other procedures. This category includes observations resulting from interventional and non-interventional procedures excluding laboratory and imaging (e.g., cardiology catheterization, endoscopy, electrodiagnostics, etc.). Procedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure. An example would be when a gastroenterologist reports the size of a polyp observed during a colonoscopy.</td></tr><tr><td style=\"white-space:nowrap\">survey<a name=\"observation-category-survey\"> </a></td><td>Survey</td><td>Assessment tool/survey instrument observations (e.g., Apgar Scores, Montreal Cognitive Assessment (MoCA)).</td></tr><tr><td style=\"white-space:nowrap\">exam<a name=\"observation-category-exam\"> </a></td><td>Exam</td><td>Observations generated by physical exam findings including direct observations made by a clinician and use of simple instruments and the result of simple maneuvers performed directly on the patient's body.</td></tr><tr><td style=\"white-space:nowrap\">therapy<a name=\"observation-category-therapy\"> </a></td><td>Therapy</td><td>Observations generated by non-interventional treatment protocols (e.g. occupational, physical, radiation, nutritional and medication therapy)</td></tr><tr><td style=\"white-space:nowrap\">activity<a name=\"observation-category-activity\"> </a></td><td>Activity</td><td>Observations that measure or record any bodily activity that enhances or maintains physical fitness and overall health and wellness. Not under direct supervision of practitioner such as a physical therapist. (e.g., laps swum, steps, sleep data)</td></tr></table></div>"
11
+ },
12
+ "extension" : [{
13
+ "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
14
+ "valueCode" : "oo"
15
+ }],
16
+ "url" : "http://terminology.hl7.org/CodeSystem/observation-category",
17
+ "identifier" : [{
18
+ "system" : "urn:ietf:rfc:3986",
19
+ "value" : "urn:oid:2.16.840.1.113883.4.642.1.1125"
20
+ }],
21
+ "version" : "0.1.0",
22
+ "name" : "ObservationCategoryCodes",
23
+ "title" : "Observation Category Codes",
24
+ "status" : "draft",
25
+ "experimental" : false,
26
+ "date" : "2023-02-25T11:07:30-07:00",
27
+ "publisher" : "FHIR Project team",
28
+ "contact" : [{
29
+ "telecom" : [{
30
+ "system" : "url",
31
+ "value" : "http://hl7.org/fhir"
32
+ }]
33
+ }],
34
+ "description" : "Observation Category codes.",
35
+ "caseSensitive" : true,
36
+ "valueSet" : "http://terminology.hl7.org/ValueSet/observation-category",
37
+ "content" : "complete",
38
+ "concept" : [{
39
+ "code" : "social-history",
40
+ "display" : "Social History",
41
+ "definition" : "Social History Observations define the patient's occupational, personal (e.g., lifestyle), social, familial, and environmental history and health risk factors that may impact the patient's health."
42
+ },
43
+ {
44
+ "code" : "vital-signs",
45
+ "display" : "Vital Signs",
46
+ "definition" : "Clinical observations measure the body's basic functions such as blood pressure, heart rate, respiratory rate, height, weight, body mass index, head circumference, pulse oximetry, temperature, and body surface area."
47
+ },
48
+ {
49
+ "code" : "imaging",
50
+ "display" : "Imaging",
51
+ "definition" : "Observations generated by imaging. The scope includes observations regarding plain x-ray, ultrasound, CT, MRI, angiography, echocardiography, and nuclear medicine."
52
+ },
53
+ {
54
+ "code" : "laboratory",
55
+ "display" : "Laboratory",
56
+ "definition" : "The results of observations generated by laboratories. Laboratory results are typically generated by laboratories providing analytic services in areas such as chemistry, hematology, serology, histology, cytology, anatomic pathology (including digital pathology), microbiology, and/or virology. These observations are based on analysis of specimens obtained from the patient and submitted to the laboratory."
57
+ },
58
+ {
59
+ "code" : "procedure",
60
+ "display" : "Procedure",
61
+ "definition" : "Observations generated by other procedures. This category includes observations resulting from interventional and non-interventional procedures excluding laboratory and imaging (e.g., cardiology catheterization, endoscopy, electrodiagnostics, etc.). Procedure results are typically generated by a clinician to provide more granular information about component observations made during a procedure. An example would be when a gastroenterologist reports the size of a polyp observed during a colonoscopy."
62
+ },
63
+ {
64
+ "code" : "survey",
65
+ "display" : "Survey",
66
+ "definition" : "Assessment tool/survey instrument observations (e.g., Apgar Scores, Montreal Cognitive Assessment (MoCA))."
67
+ },
68
+ {
69
+ "code" : "exam",
70
+ "display" : "Exam",
71
+ "definition" : "Observations generated by physical exam findings including direct observations made by a clinician and use of simple instruments and the result of simple maneuvers performed directly on the patient's body."
72
+ },
73
+ {
74
+ "code" : "therapy",
75
+ "display" : "Therapy",
76
+ "definition" : "Observations generated by non-interventional treatment protocols (e.g. occupational, physical, radiation, nutritional and medication therapy)"
77
+ },
78
+ {
79
+ "code" : "activity",
80
+ "display" : "Activity",
81
+ "definition" : "Observations that measure or record any bodily activity that enhances or maintains physical fitness and overall health and wellness. Not under direct supervision of practitioner such as a physical therapist. (e.g., laps swum, steps, sleep data)"
82
+ }]
83
+ }