us_core_test_kit 0.4.7 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (565) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/v6.0.0/capability_statement_group.rb +131 -0
  3. data/lib/us_core_test_kit/fhir_resource_navigation.rb +1 -1
  4. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +2 -1
  5. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +2 -1
  6. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +11 -5
  7. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +2 -1
  8. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +2 -1
  9. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +11 -5
  10. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +2 -1
  11. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +9 -2
  12. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +2 -1
  13. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +5 -0
  14. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +11 -5
  15. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  16. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  17. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  18. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  19. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  20. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +42 -0
  21. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
  22. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/metadata.yml +152 -0
  23. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance_group.rb +88 -0
  24. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  25. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  26. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  27. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  28. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  29. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  30. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  31. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_read_test.rb +26 -0
  32. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +42 -0
  33. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_validation_test.rb +40 -0
  34. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/metadata.yml +305 -0
  35. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure_group.rb +96 -0
  36. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_must_support_test.rb +51 -0
  37. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
  38. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_search_test.rb +47 -0
  39. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
  40. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
  41. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_search_test.rb +64 -0
  42. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  43. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_read_test.rb +26 -0
  44. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_reference_resolution_test.rb +42 -0
  45. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_validation_test.rb +40 -0
  46. data/lib/us_core_test_kit/generated/v6.0.0/bmi/metadata.yml +285 -0
  47. data/lib/us_core_test_kit/generated/v6.0.0/bmi_group.rb +96 -0
  48. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_must_support_test.rb +51 -0
  49. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
  50. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_search_test.rb +47 -0
  51. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
  52. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
  53. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_search_test.rb +64 -0
  54. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  55. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_read_test.rb +26 -0
  56. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_reference_resolution_test.rb +42 -0
  57. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_validation_test.rb +40 -0
  58. data/lib/us_core_test_kit/generated/v6.0.0/body_height/metadata.yml +288 -0
  59. data/lib/us_core_test_kit/generated/v6.0.0/body_height_group.rb +96 -0
  60. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_must_support_test.rb +51 -0
  61. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  62. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  63. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  64. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  65. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  66. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  67. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_read_test.rb +26 -0
  68. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_reference_resolution_test.rb +42 -0
  69. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_validation_test.rb +40 -0
  70. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/metadata.yml +288 -0
  71. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature_group.rb +96 -0
  72. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_must_support_test.rb +51 -0
  73. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  74. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
  75. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  76. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  77. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
  78. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  79. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_read_test.rb +26 -0
  80. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_reference_resolution_test.rb +42 -0
  81. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_validation_test.rb +40 -0
  82. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/metadata.yml +288 -0
  83. data/lib/us_core_test_kit/generated/v6.0.0/body_weight_group.rb +96 -0
  84. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_must_support_test.rb +44 -0
  85. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  86. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
  87. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  88. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  89. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  90. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_read_test.rb +26 -0
  91. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_reference_resolution_test.rb +42 -0
  92. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_validation_test.rb +40 -0
  93. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/metadata.yml +278 -0
  94. data/lib/us_core_test_kit/generated/v6.0.0/care_plan_group.rb +92 -0
  95. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_must_support_test.rb +41 -0
  96. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_role_search_test.rb +49 -0
  97. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_status_search_test.rb +63 -0
  98. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  99. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_read_test.rb +26 -0
  100. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_reference_resolution_test.rb +43 -0
  101. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_role_search_test.rb +45 -0
  102. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_validation_test.rb +40 -0
  103. data/lib/us_core_test_kit/generated/v6.0.0/care_team/metadata.yml +175 -0
  104. data/lib/us_core_test_kit/generated/v6.0.0/care_team_group.rb +90 -0
  105. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
  106. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
  107. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
  108. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_clinical_status_search_test.rb +48 -0
  109. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
  110. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
  111. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
  112. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
  113. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
  114. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
  115. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
  116. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
  117. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
  118. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +43 -0
  119. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
  120. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/metadata.yml +347 -0
  121. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis_group.rb +105 -0
  122. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
  123. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
  124. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
  125. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_clinical_status_search_test.rb +48 -0
  126. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
  127. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +64 -0
  128. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
  129. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
  130. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
  131. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
  132. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
  133. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +52 -0
  134. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
  135. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +42 -0
  136. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
  137. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/metadata.yml +367 -0
  138. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns_group.rb +105 -0
  139. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_must_support_test.rb +51 -0
  140. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_patient_search_test.rb +62 -0
  141. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
  142. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_read_test.rb +26 -0
  143. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_reference_resolution_test.rb +43 -0
  144. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_validation_test.rb +40 -0
  145. data/lib/us_core_test_kit/generated/v6.0.0/coverage/metadata.yml +160 -0
  146. data/lib/us_core_test_kit/generated/v6.0.0/coverage_group.rb +86 -0
  147. data/lib/us_core_test_kit/generated/v6.0.0/device/device_must_support_test.rb +46 -0
  148. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_search_test.rb +68 -0
  149. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_status_search_test.rb +54 -0
  150. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_type_search_test.rb +55 -0
  151. data/lib/us_core_test_kit/generated/v6.0.0/device/device_provenance_revinclude_search_test.rb +52 -0
  152. data/lib/us_core_test_kit/generated/v6.0.0/device/device_read_test.rb +26 -0
  153. data/lib/us_core_test_kit/generated/v6.0.0/device/device_reference_resolution_test.rb +42 -0
  154. data/lib/us_core_test_kit/generated/v6.0.0/device/device_validation_test.rb +40 -0
  155. data/lib/us_core_test_kit/generated/v6.0.0/device/metadata.yml +164 -0
  156. data/lib/us_core_test_kit/generated/v6.0.0/device_group.rb +90 -0
  157. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  158. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  159. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  160. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  161. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  162. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  163. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  164. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  165. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  166. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +44 -0
  167. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
  168. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/metadata.yml +253 -0
  169. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab_group.rb +99 -0
  170. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
  171. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  172. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  173. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  174. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  175. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  176. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  177. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  178. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  179. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +46 -0
  180. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
  181. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/metadata.yml +272 -0
  182. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note_group.rb +99 -0
  183. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_id_search_test.rb +42 -0
  184. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_must_support_test.rb +55 -0
  185. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  186. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
  187. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_search_test.rb +63 -0
  188. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
  189. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  190. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
  191. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  192. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_read_test.rb +26 -0
  193. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_reference_resolution_test.rb +44 -0
  194. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_validation_test.rb +40 -0
  195. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/metadata.yml +315 -0
  196. data/lib/us_core_test_kit/generated/v6.0.0/document_reference_group.rb +104 -0
  197. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_class_patient_search_test.rb +49 -0
  198. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_date_patient_search_test.rb +47 -0
  199. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_id_search_test.rb +42 -0
  200. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_identifier_search_test.rb +45 -0
  201. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_must_support_test.rb +53 -0
  202. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
  203. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_location_search_test.rb +48 -0
  204. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_search_test.rb +63 -0
  205. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_status_search_test.rb +47 -0
  206. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_type_search_test.rb +49 -0
  207. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  208. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_read_test.rb +26 -0
  209. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_reference_resolution_test.rb +46 -0
  210. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_validation_test.rb +40 -0
  211. data/lib/us_core_test_kit/generated/v6.0.0/encounter/metadata.yml +364 -0
  212. data/lib/us_core_test_kit/generated/v6.0.0/encounter_group.rb +104 -0
  213. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_must_support_test.rb +41 -0
  214. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_description_search_test.rb +49 -0
  215. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  216. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_search_test.rb +62 -0
  217. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_target_date_search_test.rb +49 -0
  218. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
  219. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_read_test.rb +26 -0
  220. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_reference_resolution_test.rb +42 -0
  221. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_validation_test.rb +40 -0
  222. data/lib/us_core_test_kit/generated/v6.0.0/goal/metadata.yml +189 -0
  223. data/lib/us_core_test_kit/generated/v6.0.0/goal_group.rb +92 -0
  224. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_must_support_test.rb +51 -0
  225. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  226. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  227. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  228. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  229. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  230. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  231. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_read_test.rb +26 -0
  232. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_reference_resolution_test.rb +42 -0
  233. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_validation_test.rb +40 -0
  234. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/metadata.yml +288 -0
  235. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_group.rb +96 -0
  236. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  237. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  238. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  239. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  240. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  241. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  242. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  243. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  244. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +42 -0
  245. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
  246. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/metadata.yml +285 -0
  247. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile_group.rb +96 -0
  248. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_must_support_test.rb +51 -0
  249. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  250. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  251. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  252. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  253. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  254. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  255. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_read_test.rb +26 -0
  256. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_reference_resolution_test.rb +42 -0
  257. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_validation_test.rb +40 -0
  258. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/metadata.yml +285 -0
  259. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate_group.rb +96 -0
  260. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_must_support_test.rb +42 -0
  261. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_date_search_test.rb +49 -0
  262. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_search_test.rb +62 -0
  263. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_status_search_test.rb +47 -0
  264. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  265. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_read_test.rb +26 -0
  266. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_reference_resolution_test.rb +42 -0
  267. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_validation_test.rb +40 -0
  268. data/lib/us_core_test_kit/generated/v6.0.0/immunization/metadata.yml +171 -0
  269. data/lib/us_core_test_kit/generated/v6.0.0/immunization_group.rb +90 -0
  270. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_must_support_test.rb +50 -0
  271. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
  272. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
  273. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
  274. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
  275. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_read_test.rb +26 -0
  276. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_reference_resolution_test.rb +45 -0
  277. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_validation_test.rb +40 -0
  278. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/metadata.yml +230 -0
  279. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense_group.rb +90 -0
  280. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_must_support_test.rb +58 -0
  281. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  282. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  283. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  284. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  285. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  286. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_read_test.rb +26 -0
  287. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_reference_resolution_test.rb +47 -0
  288. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_validation_test.rb +40 -0
  289. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_validation_test.rb +39 -0
  290. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/metadata.yml +311 -0
  291. data/lib/us_core_test_kit/generated/v6.0.0/medication_request_group.rb +95 -0
  292. data/lib/us_core_test_kit/generated/v6.0.0/metadata.yml +10853 -0
  293. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/metadata.yml +265 -0
  294. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_must_support_test.rb +45 -0
  295. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
  296. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +64 -0
  297. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
  298. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
  299. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
  300. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
  301. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
  302. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +42 -0
  303. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
  304. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result_group.rb +96 -0
  305. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/metadata.yml +264 -0
  306. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_must_support_test.rb +46 -0
  307. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  308. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
  309. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  310. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  311. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  312. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  313. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_read_test.rb +26 -0
  314. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_reference_resolution_test.rb +43 -0
  315. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_validation_test.rb +40 -0
  316. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab_group.rb +96 -0
  317. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/metadata.yml +277 -0
  318. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_must_support_test.rb +47 -0
  319. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
  320. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
  321. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
  322. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
  323. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
  324. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
  325. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_read_test.rb +26 -0
  326. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_reference_resolution_test.rb +42 -0
  327. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_validation_test.rb +40 -0
  328. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation_group.rb +96 -0
  329. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/metadata.yml +266 -0
  330. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
  331. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
  332. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
  333. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
  334. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
  335. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
  336. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
  337. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
  338. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +42 -0
  339. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
  340. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent_group.rb +96 -0
  341. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/metadata.yml +266 -0
  342. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
  343. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
  344. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
  345. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
  346. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
  347. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
  348. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
  349. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
  350. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +42 -0
  351. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
  352. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus_group.rb +96 -0
  353. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/metadata.yml +286 -0
  354. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
  355. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
  356. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
  357. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
  358. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
  359. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
  360. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
  361. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
  362. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +45 -0
  363. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
  364. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment_group.rb +96 -0
  365. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/metadata.yml +256 -0
  366. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
  367. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
  368. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
  369. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
  370. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
  371. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
  372. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
  373. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
  374. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +42 -0
  375. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
  376. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation_group.rb +96 -0
  377. data/lib/us_core_test_kit/generated/v6.0.0/organization/metadata.yml +141 -0
  378. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_address_search_test.rb +41 -0
  379. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_must_support_test.rb +51 -0
  380. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_name_search_test.rb +51 -0
  381. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_read_test.rb +26 -0
  382. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_validation_test.rb +40 -0
  383. data/lib/us_core_test_kit/generated/v6.0.0/organization_group.rb +85 -0
  384. data/lib/us_core_test_kit/generated/v6.0.0/patient/metadata.yml +381 -0
  385. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_family_search_test.rb +43 -0
  386. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_name_search_test.rb +41 -0
  387. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_death_date_family_search_test.rb +43 -0
  388. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_family_gender_search_test.rb +43 -0
  389. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_gender_name_search_test.rb +41 -0
  390. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_id_search_test.rb +55 -0
  391. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_identifier_search_test.rb +42 -0
  392. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_must_support_test.rb +69 -0
  393. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_name_search_test.rb +41 -0
  394. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
  395. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_read_test.rb +26 -0
  396. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_validation_test.rb +40 -0
  397. data/lib/us_core_test_kit/generated/v6.0.0/patient_group.rb +102 -0
  398. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/metadata.yml +285 -0
  399. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  400. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  401. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  402. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  403. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  404. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  405. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  406. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  407. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +42 -0
  408. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
  409. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age_group.rb +96 -0
  410. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/metadata.yml +285 -0
  411. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  412. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  413. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  414. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  415. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  416. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  417. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  418. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  419. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +42 -0
  420. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
  421. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height_group.rb +96 -0
  422. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/metadata.yml +165 -0
  423. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_id_search_test.rb +53 -0
  424. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_identifier_search_test.rb +42 -0
  425. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_must_support_test.rb +51 -0
  426. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_name_search_test.rb +41 -0
  427. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_read_test.rb +26 -0
  428. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_validation_test.rb +40 -0
  429. data/lib/us_core_test_kit/generated/v6.0.0/practitioner_group.rb +87 -0
  430. data/lib/us_core_test_kit/generated/v6.0.0/procedure/metadata.yml +232 -0
  431. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_must_support_test.rb +44 -0
  432. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
  433. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_date_search_test.rb +47 -0
  434. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_search_test.rb +62 -0
  435. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_status_search_test.rb +48 -0
  436. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  437. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_read_test.rb +26 -0
  438. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_reference_resolution_test.rb +43 -0
  439. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_validation_test.rb +40 -0
  440. data/lib/us_core_test_kit/generated/v6.0.0/procedure_group.rb +93 -0
  441. data/lib/us_core_test_kit/generated/v6.0.0/provenance/metadata.yml +161 -0
  442. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_must_support_test.rb +46 -0
  443. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_read_test.rb +26 -0
  444. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_reference_resolution_test.rb +44 -0
  445. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_validation_test.rb +40 -0
  446. data/lib/us_core_test_kit/generated/v6.0.0/provenance_group.rb +59 -0
  447. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/metadata.yml +348 -0
  448. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +64 -0
  449. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  450. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  451. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  452. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  453. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  454. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  455. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  456. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +42 -0
  457. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
  458. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry_group.rb +96 -0
  459. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/metadata.yml +231 -0
  460. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
  461. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
  462. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
  463. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
  464. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
  465. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
  466. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
  467. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_read_test.rb +26 -0
  468. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_reference_resolution_test.rb +43 -0
  469. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
  470. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response_group.rb +97 -0
  471. data/lib/us_core_test_kit/generated/v6.0.0/related_person/metadata.yml +136 -0
  472. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_id_search_test.rb +41 -0
  473. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_must_support_test.rb +42 -0
  474. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_name_search_test.rb +43 -0
  475. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_name_search_test.rb +47 -0
  476. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_search_test.rb +63 -0
  477. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
  478. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_read_test.rb +26 -0
  479. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_reference_resolution_test.rb +42 -0
  480. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_validation_test.rb +40 -0
  481. data/lib/us_core_test_kit/generated/v6.0.0/related_person_group.rb +92 -0
  482. data/lib/us_core_test_kit/generated/v6.0.0/resource_list.rb +34 -0
  483. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/metadata.yml +285 -0
  484. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  485. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  486. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  487. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  488. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  489. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  490. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  491. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  492. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +42 -0
  493. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
  494. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate_group.rb +96 -0
  495. data/lib/us_core_test_kit/generated/v6.0.0/service_request/metadata.yml +321 -0
  496. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_id_search_test.rb +42 -0
  497. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_must_support_test.rb +49 -0
  498. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_authored_search_test.rb +48 -0
  499. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_search_test.rb +47 -0
  500. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_authored_search_test.rb +50 -0
  501. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_search_test.rb +47 -0
  502. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_search_test.rb +63 -0
  503. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_status_search_test.rb +48 -0
  504. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
  505. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_read_test.rb +26 -0
  506. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_reference_resolution_test.rb +44 -0
  507. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_validation_test.rb +40 -0
  508. data/lib/us_core_test_kit/generated/v6.0.0/service_request_group.rb +102 -0
  509. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/metadata.yml +291 -0
  510. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_must_support_test.rb +51 -0
  511. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
  512. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
  513. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
  514. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
  515. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
  516. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
  517. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_read_test.rb +26 -0
  518. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_reference_resolution_test.rb +44 -0
  519. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_validation_test.rb +40 -0
  520. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation_group.rb +98 -0
  521. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/metadata.yml +249 -0
  522. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  523. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
  524. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  525. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  526. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  527. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  528. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  529. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_read_test.rb +26 -0
  530. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +42 -0
  531. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_validation_test.rb +40 -0
  532. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus_group.rb +96 -0
  533. data/lib/us_core_test_kit/generated/v6.0.0/specimen/metadata.yml +115 -0
  534. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_id_search_test.rb +41 -0
  535. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_must_support_test.rb +38 -0
  536. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_patient_search_test.rb +63 -0
  537. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_read_test.rb +26 -0
  538. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_reference_resolution_test.rb +42 -0
  539. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_validation_test.rb +40 -0
  540. data/lib/us_core_test_kit/generated/v6.0.0/specimen_group.rb +86 -0
  541. data/lib/us_core_test_kit/generated/v6.0.0/us_core_test_suite.rb +168 -0
  542. data/lib/us_core_test_kit/generator/group_generator.rb +2 -1
  543. data/lib/us_core_test_kit/generator/group_metadata.rb +7 -6
  544. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +14 -3
  545. data/lib/us_core_test_kit/generator/ig_metadata.rb +1 -1
  546. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +2 -1
  547. data/lib/us_core_test_kit/generator/ig_resources.rb +4 -0
  548. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +34 -4
  549. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +7 -0
  550. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +0 -19
  551. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +84 -0
  552. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +3 -1
  553. data/lib/us_core_test_kit/generator/search_test_generator.rb +1 -1
  554. data/lib/us_core_test_kit/generator/suite_generator.rb +4 -0
  555. data/lib/us_core_test_kit/generator/value_extractor.rb +18 -2
  556. data/lib/us_core_test_kit/igs/us_core_501/ValueSet-servicerequest-category.json +69 -0
  557. data/lib/us_core_test_kit/igs/us_core_600/CodeSystem-observation-category.json +83 -0
  558. data/lib/us_core_test_kit/igs/us_core_600/StructureDefinition-condition-assertedDate.json +280 -0
  559. data/lib/us_core_test_kit/igs/us_core_600/ValueSet-observation-category.json +48 -0
  560. data/lib/us_core_test_kit/igs/us_core_600/ValueSet-servicerequest-category.json +69 -0
  561. data/lib/us_core_test_kit/igs/us_core_600.tgz +0 -0
  562. data/lib/us_core_test_kit/reference_resolution_test.rb +4 -2
  563. data/lib/us_core_test_kit/version.rb +1 -1
  564. data/lib/us_core_test_kit.rb +1 -0
  565. metadata +537 -2
@@ -0,0 +1,53 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class BodyTemperatureProvenanceRevincludeSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns Provenance resources from Observation search by patient + code + revInclude:Provenance:target'
10
+ description %(
11
+ A server SHALL be capable of supporting _revIncludes:Provenance:target.
12
+
13
+ This test will perform a search by patient + code + revInclude:Provenance:target and
14
+ will pass if a Provenance resource is found in the response.
15
+ %)
16
+
17
+ id :us_core_v600_body_temperature_provenance_revinclude_search_test
18
+
19
+ input :patient_ids,
20
+ title: 'Patient IDs',
21
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
22
+
23
+ def properties
24
+ @properties ||= SearchTestProperties.new(
25
+ fixed_value_search: true,
26
+ resource_type: 'Observation',
27
+ search_param_names: ['patient', 'code'],
28
+ possible_status_search: true
29
+ )
30
+ end
31
+
32
+ def self.metadata
33
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
34
+ end
35
+
36
+ def self.provenance_metadata
37
+ @provenance_metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml'), aliases: true))
38
+ end
39
+
40
+ def scratch_resources
41
+ scratch[:body_temperature_resources] ||= {}
42
+ end
43
+
44
+ def scratch_provenance_resources
45
+ scratch[:provenance_resources] ||= {}
46
+ end
47
+
48
+ run do
49
+ run_provenance_revinclude_search_test
50
+ end
51
+ end
52
+ end
53
+ end
@@ -0,0 +1,26 @@
1
+ require_relative '../../../read_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV600
5
+ class BodyTemperatureReadTest < Inferno::Test
6
+ include USCoreTestKit::ReadTest
7
+
8
+ title 'Server returns correct Observation resource from Observation read interaction'
9
+ description 'A server SHALL support the Observation read interaction.'
10
+
11
+ id :us_core_v600_body_temperature_read_test
12
+
13
+ def resource_type
14
+ 'Observation'
15
+ end
16
+
17
+ def scratch_resources
18
+ scratch[:body_temperature_resources] ||= {}
19
+ end
20
+
21
+ run do
22
+ perform_read_test(all_scratch_resources)
23
+ end
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,42 @@
1
+ require_relative '../../../reference_resolution_test'
2
+ require_relative '../resource_list'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class BodyTemperatureReferenceResolutionTest < Inferno::Test
7
+ include USCoreTestKit::ReferenceResolutionTest
8
+ include ResourceList
9
+
10
+ title 'MustSupport references within Observation resources are valid'
11
+ description %(
12
+ This test will attempt to read external references provided within elements
13
+ marked as 'MustSupport', if any are available.
14
+
15
+ It verifies that at least one external reference for each MustSupport Reference element
16
+ can be accessed by the test client, and conforms to corresponding US Core profile.
17
+
18
+ Elements which may provide external references include:
19
+
20
+ * Observation.subject
21
+ )
22
+
23
+ id :us_core_v600_body_temperature_reference_resolution_test
24
+
25
+ def resource_type
26
+ 'Observation'
27
+ end
28
+
29
+ def self.metadata
30
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
31
+ end
32
+
33
+ def scratch_resources
34
+ scratch[:body_temperature_resources] ||= {}
35
+ end
36
+
37
+ run do
38
+ perform_reference_resolution_test(scratch_resources[:all])
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,40 @@
1
+ require_relative '../../../validation_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV600
5
+ class BodyTemperatureValidationTest < Inferno::Test
6
+ include USCoreTestKit::ValidationTest
7
+
8
+ id :us_core_v600_body_temperature_validation_test
9
+ title 'Observation resources returned during previous tests conform to the US Core Body Temperature Profile'
10
+ description %(
11
+ This test verifies resources returned from the first search conform to
12
+ the [US Core Body Temperature Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature).
13
+ Systems must demonstrate at least one valid example in order to pass this test.
14
+
15
+ It verifies the presence of mandatory elements and that elements with
16
+ required bindings contain appropriate values. CodeableConcept element
17
+ bindings will fail if none of their codings have a code/system belonging
18
+ to the bound ValueSet. Quantity, Coding, and code element bindings will
19
+ fail if their code/system are not found in the valueset.
20
+
21
+ )
22
+ output :dar_code_found, :dar_extension_found
23
+
24
+ def resource_type
25
+ 'Observation'
26
+ end
27
+
28
+ def scratch_resources
29
+ scratch[:body_temperature_resources] ||= {}
30
+ end
31
+
32
+ run do
33
+ perform_validation_test(scratch_resources[:all] || [],
34
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature',
35
+ '6.0.0',
36
+ skip_if_empty: true)
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,288 @@
1
+ ---
2
+ :name: us_core_body_temperature
3
+ :class_name: USCorev600BodyTemperatureSequence
4
+ :version: v6.0.0
5
+ :reformatted_version: v600
6
+ :resource: Observation
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature
8
+ :profile_name: US Core Body Temperature Profile
9
+ :profile_version: 6.0.0
10
+ :title: Observation Body Temperature
11
+ :short_description: Verify support for the server capabilities required by the US
12
+ Core Body Temperature Profile.
13
+ :interactions:
14
+ - :code: create
15
+ :expectation: MAY
16
+ - :code: search-type
17
+ :expectation: SHALL
18
+ - :code: read
19
+ :expectation: SHALL
20
+ - :code: vread
21
+ :expectation: SHOULD
22
+ - :code: update
23
+ :expectation: MAY
24
+ - :code: patch
25
+ :expectation: MAY
26
+ - :code: delete
27
+ :expectation: MAY
28
+ - :code: history-instance
29
+ :expectation: SHOULD
30
+ - :code: history-type
31
+ :expectation: MAY
32
+ :operations: []
33
+ :searches:
34
+ - :expectation: SHALL
35
+ :names:
36
+ - patient
37
+ - code
38
+ :names_not_must_support_or_mandatory: []
39
+ :must_support_or_mandatory: true
40
+ - :expectation: SHOULD
41
+ :names:
42
+ - patient
43
+ - code
44
+ - date
45
+ :names_not_must_support_or_mandatory: []
46
+ :must_support_or_mandatory: true
47
+ - :expectation: SHOULD
48
+ :names:
49
+ - patient
50
+ - category
51
+ - status
52
+ :names_not_must_support_or_mandatory: []
53
+ :must_support_or_mandatory: true
54
+ - :expectation: SHALL
55
+ :names:
56
+ - patient
57
+ - category
58
+ - date
59
+ :names_not_must_support_or_mandatory: []
60
+ :must_support_or_mandatory: true
61
+ - :expectation: SHALL
62
+ :names:
63
+ - patient
64
+ - category
65
+ :names_not_must_support_or_mandatory: []
66
+ :must_support_or_mandatory: true
67
+ :search_definitions:
68
+ :patient:
69
+ :paths:
70
+ - subject
71
+ :full_paths:
72
+ - Observation.subject
73
+ :comparators: {}
74
+ :values: []
75
+ :type: Reference
76
+ :contains_multiple: false
77
+ :multiple_or: MAY
78
+ :code:
79
+ :paths:
80
+ - code
81
+ :full_paths:
82
+ - Observation.code
83
+ :comparators: {}
84
+ :values:
85
+ - 8310-5
86
+ :type: CodeableConcept
87
+ :contains_multiple: false
88
+ :multiple_or: SHOULD
89
+ :date:
90
+ :paths:
91
+ - effective
92
+ :full_paths:
93
+ - Observation.effective
94
+ :comparators:
95
+ :eq: MAY
96
+ :ne: MAY
97
+ :gt: SHALL
98
+ :ge: SHALL
99
+ :lt: SHALL
100
+ :le: SHALL
101
+ :sa: MAY
102
+ :eb: MAY
103
+ :ap: MAY
104
+ :values: []
105
+ :type: date
106
+ :contains_multiple: false
107
+ :multiple_or: MAY
108
+ :category:
109
+ :paths:
110
+ - category
111
+ :full_paths:
112
+ - Observation.category
113
+ :comparators: {}
114
+ :values:
115
+ - vital-signs
116
+ :type: CodeableConcept
117
+ :contains_multiple: true
118
+ :multiple_or: MAY
119
+ :status:
120
+ :paths:
121
+ - status
122
+ :full_paths:
123
+ - Observation.status
124
+ :comparators: {}
125
+ :values:
126
+ - registered
127
+ - preliminary
128
+ - final
129
+ - amended
130
+ - corrected
131
+ - cancelled
132
+ - entered-in-error
133
+ - unknown
134
+ :type: code
135
+ :contains_multiple: false
136
+ :multiple_or: SHALL
137
+ :include_params: []
138
+ :revincludes:
139
+ - Provenance:target
140
+ :required_concepts: []
141
+ :must_supports:
142
+ :extensions: []
143
+ :slices:
144
+ - :name: Observation.value[x]:valueQuantity
145
+ :path: value[x]
146
+ :discriminator:
147
+ :type: type
148
+ :code: Quantity
149
+ - :name: Observation.category:VSCat
150
+ :path: category
151
+ :discriminator:
152
+ :type: value
153
+ :values:
154
+ - :path: coding.code
155
+ :value: vital-signs
156
+ - :path: coding.system
157
+ :value: http://terminology.hl7.org/CodeSystem/observation-category
158
+ :elements:
159
+ - :path: status
160
+ - :path: category
161
+ - :path: category.coding
162
+ - :path: category.coding.system
163
+ :fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
164
+ - :path: category.coding.code
165
+ :fixed_value: vital-signs
166
+ - :path: code.coding.code
167
+ :fixed_value: 8310-5
168
+ - :path: subject
169
+ :types:
170
+ - Reference
171
+ - :path: effectiveDateTime
172
+ :original_path: effective[x]
173
+ - :path: valueQuantity
174
+ :original_path: value[x]
175
+ - :path: valueQuantity.value
176
+ :original_path: value[x].value
177
+ - :path: valueQuantity.unit
178
+ :original_path: value[x].unit
179
+ - :path: valueQuantity.system
180
+ :original_path: value[x].system
181
+ :fixed_value: http://unitsofmeasure.org
182
+ - :path: valueQuantity.code
183
+ :original_path: value[x].code
184
+ :mandatory_elements:
185
+ - Observation.status
186
+ - Observation.category
187
+ - Observation.category.coding
188
+ - Observation.category.coding.system
189
+ - Observation.category.coding.code
190
+ - Observation.code
191
+ - Observation.subject
192
+ - Observation.effective[x]
193
+ - Observation.value[x].value
194
+ - Observation.value[x].unit
195
+ - Observation.value[x].system
196
+ - Observation.value[x].code
197
+ - Observation.component.code
198
+ :bindings:
199
+ - :type: code
200
+ :strength: required
201
+ :system: http://hl7.org/fhir/ValueSet/observation-status
202
+ :path: status
203
+ - :type: code
204
+ :strength: required
205
+ :system: http://hl7.org/fhir/ValueSet/quantity-comparator
206
+ :path: value.comparator
207
+ - :type: code
208
+ :strength: required
209
+ :system: http://hl7.org/fhir/ValueSet/ucum-bodytemp
210
+ :path: value.code
211
+ :references:
212
+ - :path: Observation.basedOn
213
+ :profiles:
214
+ - http://hl7.org/fhir/StructureDefinition/CarePlan
215
+ - http://hl7.org/fhir/StructureDefinition/DeviceRequest
216
+ - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
217
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
218
+ - http://hl7.org/fhir/StructureDefinition/NutritionOrder
219
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
220
+ - :path: Observation.partOf
221
+ :profiles:
222
+ - http://hl7.org/fhir/StructureDefinition/MedicationAdministration
223
+ - http://hl7.org/fhir/StructureDefinition/MedicationDispense
224
+ - http://hl7.org/fhir/StructureDefinition/MedicationStatement
225
+ - http://hl7.org/fhir/StructureDefinition/Procedure
226
+ - http://hl7.org/fhir/StructureDefinition/Immunization
227
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
228
+ - :path: Observation.subject
229
+ :profiles:
230
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
231
+ - :path: Observation.focus
232
+ :profiles:
233
+ - http://hl7.org/fhir/StructureDefinition/Resource
234
+ - :path: Observation.encounter
235
+ :profiles:
236
+ - http://hl7.org/fhir/StructureDefinition/Encounter
237
+ - :path: Observation.performer
238
+ :profiles:
239
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
240
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
241
+ - http://hl7.org/fhir/StructureDefinition/Organization
242
+ - http://hl7.org/fhir/StructureDefinition/CareTeam
243
+ - http://hl7.org/fhir/StructureDefinition/Patient
244
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
245
+ - :path: Observation.specimen
246
+ :profiles:
247
+ - http://hl7.org/fhir/StructureDefinition/Specimen
248
+ - :path: Observation.device
249
+ :profiles:
250
+ - http://hl7.org/fhir/StructureDefinition/Device
251
+ - http://hl7.org/fhir/StructureDefinition/DeviceMetric
252
+ - :path: Observation.hasMember
253
+ :profiles:
254
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
255
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
256
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
257
+ - :path: Observation.derivedFrom
258
+ :profiles:
259
+ - http://hl7.org/fhir/StructureDefinition/DocumentReference
260
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
261
+ - http://hl7.org/fhir/StructureDefinition/Media
262
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
263
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
264
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
265
+ :tests:
266
+ - :id: us_core_v600_body_temperature_patient_code_search_test
267
+ :file_name: body_temperature_patient_code_search_test.rb
268
+ - :id: us_core_v600_body_temperature_patient_code_date_search_test
269
+ :file_name: body_temperature_patient_code_date_search_test.rb
270
+ - :id: us_core_v600_body_temperature_patient_category_status_search_test
271
+ :file_name: body_temperature_patient_category_status_search_test.rb
272
+ - :id: us_core_v600_body_temperature_patient_category_date_search_test
273
+ :file_name: body_temperature_patient_category_date_search_test.rb
274
+ - :id: us_core_v600_body_temperature_patient_category_search_test
275
+ :file_name: body_temperature_patient_category_search_test.rb
276
+ - :id: us_core_v600_body_temperature_read_test
277
+ :file_name: body_temperature_read_test.rb
278
+ - :id: us_core_v600_body_temperature_provenance_revinclude_search_test
279
+ :file_name: body_temperature_provenance_revinclude_search_test.rb
280
+ - :id: us_core_v600_body_temperature_validation_test
281
+ :file_name: body_temperature_validation_test.rb
282
+ - :id: us_core_v600_body_temperature_must_support_test
283
+ :file_name: body_temperature_must_support_test.rb
284
+ - :id: us_core_v600_body_temperature_reference_resolution_test
285
+ :file_name: body_temperature_reference_resolution_test.rb
286
+ :id: us_core_v600_body_temperature
287
+ :file_name: body_temperature_group.rb
288
+ :delayed_references: []
@@ -0,0 +1,96 @@
1
+ require_relative 'body_temperature/body_temperature_patient_code_search_test'
2
+ require_relative 'body_temperature/body_temperature_patient_code_date_search_test'
3
+ require_relative 'body_temperature/body_temperature_patient_category_status_search_test'
4
+ require_relative 'body_temperature/body_temperature_patient_category_date_search_test'
5
+ require_relative 'body_temperature/body_temperature_patient_category_search_test'
6
+ require_relative 'body_temperature/body_temperature_read_test'
7
+ require_relative 'body_temperature/body_temperature_provenance_revinclude_search_test'
8
+ require_relative 'body_temperature/body_temperature_validation_test'
9
+ require_relative 'body_temperature/body_temperature_must_support_test'
10
+ require_relative 'body_temperature/body_temperature_reference_resolution_test'
11
+
12
+ module USCoreTestKit
13
+ module USCoreV600
14
+ class BodyTemperatureGroup < Inferno::TestGroup
15
+ title 'Observation Body Temperature Tests'
16
+ short_description 'Verify support for the server capabilities required by the US Core Body Temperature Profile.'
17
+ description %(
18
+ # Background
19
+
20
+ The US Core Observation Body Temperature sequence verifies that the system under test is
21
+ able to provide correct responses for Observation queries. These queries
22
+ must contain resources conforming to the US Core Body Temperature Profile as
23
+ specified in the US Core v6.0.0 Implementation Guide.
24
+
25
+ # Testing Methodology
26
+ ## Searching
27
+ This test sequence will first perform each required search associated
28
+ with this resource. This sequence will perform searches with the
29
+ following parameters:
30
+
31
+ * patient + code
32
+ * patient + category + date
33
+ * patient + category
34
+
35
+ ### Search Parameters
36
+ The first search uses the selected patient(s) from the prior launch
37
+ sequence. Any subsequent searches will look for its parameter values
38
+ from the results of the first search. For example, the `identifier`
39
+ search in the patient sequence is performed by looking for an existing
40
+ `Patient.identifier` from any of the resources returned in the `_id`
41
+ search. If a value cannot be found this way, the search is skipped.
42
+
43
+ ### Search Validation
44
+ Inferno will retrieve up to the first 20 bundle pages of the reply for
45
+ Observation resources and save them for subsequent tests. Each of
46
+ these resources is then checked to see if it matches the searched
47
+ parameters in accordance with [FHIR search
48
+ guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
49
+ for example, if a Patient search for `gender=male` returns a `female`
50
+ patient.
51
+
52
+
53
+ ## Must Support
54
+ Each profile contains elements marked as "must support". This test
55
+ sequence expects to see each of these elements at least once. If at
56
+ least one cannot be found, the test will fail. The test will look
57
+ through the Observation resources found in the first test for these
58
+ elements.
59
+
60
+ ## Profile Validation
61
+ Each resource returned from the first search is expected to conform to
62
+ the [US Core Body Temperature Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature). Each element is checked against
63
+ teminology binding and cardinality requirements.
64
+
65
+ Elements with a required binding are validated against their bound
66
+ ValueSet. If the code/system in the element is not part of the ValueSet,
67
+ then the test will fail.
68
+
69
+ ## Reference Validation
70
+ At least one instance of each external reference in elements marked as
71
+ "must support" within the resources provided by the system must resolve.
72
+ The test will attempt to read each reference found and will fail if no
73
+ read succeeds.
74
+
75
+ )
76
+
77
+ id :us_core_v600_body_temperature
78
+ run_as_group
79
+
80
+ def self.metadata
81
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'body_temperature', 'metadata.yml'), aliases: true))
82
+ end
83
+
84
+ test from: :us_core_v600_body_temperature_patient_code_search_test
85
+ test from: :us_core_v600_body_temperature_patient_code_date_search_test
86
+ test from: :us_core_v600_body_temperature_patient_category_status_search_test
87
+ test from: :us_core_v600_body_temperature_patient_category_date_search_test
88
+ test from: :us_core_v600_body_temperature_patient_category_search_test
89
+ test from: :us_core_v600_body_temperature_read_test
90
+ test from: :us_core_v600_body_temperature_provenance_revinclude_search_test
91
+ test from: :us_core_v600_body_temperature_validation_test
92
+ test from: :us_core_v600_body_temperature_must_support_test
93
+ test from: :us_core_v600_body_temperature_reference_resolution_test
94
+ end
95
+ end
96
+ end
@@ -0,0 +1,51 @@
1
+ require_relative '../../../must_support_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV600
5
+ class BodyWeightMustSupportTest < Inferno::Test
6
+ include USCoreTestKit::MustSupportTest
7
+
8
+ title 'All must support elements are provided in the Observation resources returned'
9
+ description %(
10
+ US Core Responders SHALL be capable of populating all data elements as
11
+ part of the query results as specified by the US Core Server Capability
12
+ Statement. This test will look through the Observation resources
13
+ found previously for the following must support elements:
14
+
15
+ * Observation.category
16
+ * Observation.category.coding
17
+ * Observation.category.coding.code
18
+ * Observation.category.coding.system
19
+ * Observation.category:VSCat
20
+ * Observation.code.coding.code
21
+ * Observation.effectiveDateTime
22
+ * Observation.status
23
+ * Observation.subject
24
+ * Observation.valueQuantity
25
+ * Observation.valueQuantity.code
26
+ * Observation.valueQuantity.system
27
+ * Observation.valueQuantity.unit
28
+ * Observation.valueQuantity.value
29
+ * Observation.value[x]:valueQuantity
30
+ )
31
+
32
+ id :us_core_v600_body_weight_must_support_test
33
+
34
+ def resource_type
35
+ 'Observation'
36
+ end
37
+
38
+ def self.metadata
39
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
40
+ end
41
+
42
+ def scratch_resources
43
+ scratch[:body_weight_resources] ||= {}
44
+ end
45
+
46
+ run do
47
+ perform_must_support_test(all_scratch_resources)
48
+ end
49
+ end
50
+ end
51
+ end
@@ -0,0 +1,48 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class BodyWeightPatientCategoryDateSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Observation search by patient + category + date'
10
+ description %(
11
+ A server SHALL support searching by
12
+ patient + category + date on the Observation resource. This test
13
+ will pass if resources are returned and match the search criteria. If
14
+ none are returned, the test is skipped.
15
+
16
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
17
+
18
+ )
19
+
20
+ id :us_core_v600_body_weight_patient_category_date_search_test
21
+ input :patient_ids,
22
+ title: 'Patient IDs',
23
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
24
+
25
+ def self.properties
26
+ @properties ||= SearchTestProperties.new(
27
+ resource_type: 'Observation',
28
+ search_param_names: ['patient', 'category', 'date'],
29
+ possible_status_search: true,
30
+ token_search_params: ['category'],
31
+ params_with_comparators: ['date']
32
+ )
33
+ end
34
+
35
+ def self.metadata
36
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
37
+ end
38
+
39
+ def scratch_resources
40
+ scratch[:body_weight_resources] ||= {}
41
+ end
42
+
43
+ run do
44
+ run_search_test
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,47 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class BodyWeightPatientCategorySearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Observation search by patient + category'
10
+ description %(
11
+ A server SHALL support searching by
12
+ patient + category on the Observation resource. This test
13
+ will pass if resources are returned and match the search criteria. If
14
+ none are returned, the test is skipped.
15
+
16
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
17
+
18
+ )
19
+
20
+ id :us_core_v600_body_weight_patient_category_search_test
21
+ input :patient_ids,
22
+ title: 'Patient IDs',
23
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
24
+
25
+ def self.properties
26
+ @properties ||= SearchTestProperties.new(
27
+ resource_type: 'Observation',
28
+ search_param_names: ['patient', 'category'],
29
+ possible_status_search: true,
30
+ token_search_params: ['category']
31
+ )
32
+ end
33
+
34
+ def self.metadata
35
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
36
+ end
37
+
38
+ def scratch_resources
39
+ scratch[:body_weight_resources] ||= {}
40
+ end
41
+
42
+ run do
43
+ run_search_test
44
+ end
45
+ end
46
+ end
47
+ end