us_core_test_kit 0.4.6 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (576) 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 +10 -4
  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 +11 -2
  6. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +9 -1
  7. data/lib/us_core_test_kit/generated/v3.1.1/patient/patient_must_support_test.rb +5 -1
  8. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +11 -5
  9. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +2 -1
  10. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +11 -4
  11. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +9 -3
  12. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +2 -2
  13. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +11 -5
  14. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +4 -4
  15. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +4 -4
  16. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +2 -1
  17. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +26 -13
  18. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +9 -3
  19. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_must_support_test.rb +2 -4
  20. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +2 -1
  21. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +5 -0
  22. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +11 -5
  23. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  24. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  25. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  26. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  27. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  28. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +42 -0
  29. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
  30. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance/metadata.yml +152 -0
  31. data/lib/us_core_test_kit/generated/v6.0.0/allergy_intolerance_group.rb +88 -0
  32. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  33. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  34. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  35. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  36. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  37. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  38. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  39. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_read_test.rb +26 -0
  40. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_reference_resolution_test.rb +42 -0
  41. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/blood_pressure_validation_test.rb +40 -0
  42. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure/metadata.yml +305 -0
  43. data/lib/us_core_test_kit/generated/v6.0.0/blood_pressure_group.rb +96 -0
  44. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_must_support_test.rb +51 -0
  45. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_date_search_test.rb +48 -0
  46. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_search_test.rb +47 -0
  47. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_category_status_search_test.rb +49 -0
  48. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_date_search_test.rb +50 -0
  49. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_patient_code_search_test.rb +64 -0
  50. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  51. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_read_test.rb +26 -0
  52. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_reference_resolution_test.rb +42 -0
  53. data/lib/us_core_test_kit/generated/v6.0.0/bmi/bmi_validation_test.rb +40 -0
  54. data/lib/us_core_test_kit/generated/v6.0.0/bmi/metadata.yml +285 -0
  55. data/lib/us_core_test_kit/generated/v6.0.0/bmi_group.rb +96 -0
  56. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_must_support_test.rb +51 -0
  57. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_date_search_test.rb +48 -0
  58. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_search_test.rb +47 -0
  59. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_category_status_search_test.rb +49 -0
  60. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_date_search_test.rb +50 -0
  61. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_patient_code_search_test.rb +64 -0
  62. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  63. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_read_test.rb +26 -0
  64. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_reference_resolution_test.rb +42 -0
  65. data/lib/us_core_test_kit/generated/v6.0.0/body_height/body_height_validation_test.rb +40 -0
  66. data/lib/us_core_test_kit/generated/v6.0.0/body_height/metadata.yml +288 -0
  67. data/lib/us_core_test_kit/generated/v6.0.0/body_height_group.rb +96 -0
  68. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_must_support_test.rb +51 -0
  69. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  70. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  71. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  72. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  73. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  74. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  75. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_read_test.rb +26 -0
  76. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_reference_resolution_test.rb +42 -0
  77. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/body_temperature_validation_test.rb +40 -0
  78. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature/metadata.yml +288 -0
  79. data/lib/us_core_test_kit/generated/v6.0.0/body_temperature_group.rb +96 -0
  80. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_must_support_test.rb +51 -0
  81. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  82. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_search_test.rb +47 -0
  83. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  84. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  85. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_patient_code_search_test.rb +64 -0
  86. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  87. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_read_test.rb +26 -0
  88. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_reference_resolution_test.rb +42 -0
  89. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/body_weight_validation_test.rb +40 -0
  90. data/lib/us_core_test_kit/generated/v6.0.0/body_weight/metadata.yml +288 -0
  91. data/lib/us_core_test_kit/generated/v6.0.0/body_weight_group.rb +96 -0
  92. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_must_support_test.rb +44 -0
  93. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  94. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_search_test.rb +64 -0
  95. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  96. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  97. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  98. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_read_test.rb +26 -0
  99. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_reference_resolution_test.rb +42 -0
  100. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/care_plan_validation_test.rb +40 -0
  101. data/lib/us_core_test_kit/generated/v6.0.0/care_plan/metadata.yml +278 -0
  102. data/lib/us_core_test_kit/generated/v6.0.0/care_plan_group.rb +92 -0
  103. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_must_support_test.rb +41 -0
  104. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_role_search_test.rb +49 -0
  105. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_patient_status_search_test.rb +63 -0
  106. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  107. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_read_test.rb +26 -0
  108. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_reference_resolution_test.rb +43 -0
  109. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_role_search_test.rb +45 -0
  110. data/lib/us_core_test_kit/generated/v6.0.0/care_team/care_team_validation_test.rb +40 -0
  111. data/lib/us_core_test_kit/generated/v6.0.0/care_team/metadata.yml +175 -0
  112. data/lib/us_core_test_kit/generated/v6.0.0/care_team_group.rb +90 -0
  113. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
  114. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
  115. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
  116. 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
  117. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
  118. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +64 -0
  119. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
  120. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
  121. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
  122. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
  123. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +46 -0
  124. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +52 -0
  125. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
  126. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +43 -0
  127. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
  128. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis/metadata.yml +347 -0
  129. data/lib/us_core_test_kit/generated/v6.0.0/condition_encounter_diagnosis_group.rb +105 -0
  130. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +46 -0
  141. 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
  142. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
  143. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +42 -0
  144. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
  145. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns/metadata.yml +367 -0
  146. data/lib/us_core_test_kit/generated/v6.0.0/condition_problems_health_concerns_group.rb +105 -0
  147. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_must_support_test.rb +51 -0
  148. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_patient_search_test.rb +62 -0
  149. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_provenance_revinclude_search_test.rb +51 -0
  150. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_read_test.rb +26 -0
  151. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_reference_resolution_test.rb +43 -0
  152. data/lib/us_core_test_kit/generated/v6.0.0/coverage/coverage_validation_test.rb +40 -0
  153. data/lib/us_core_test_kit/generated/v6.0.0/coverage/metadata.yml +160 -0
  154. data/lib/us_core_test_kit/generated/v6.0.0/coverage_group.rb +86 -0
  155. data/lib/us_core_test_kit/generated/v6.0.0/device/device_must_support_test.rb +46 -0
  156. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_search_test.rb +68 -0
  157. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_status_search_test.rb +54 -0
  158. data/lib/us_core_test_kit/generated/v6.0.0/device/device_patient_type_search_test.rb +55 -0
  159. data/lib/us_core_test_kit/generated/v6.0.0/device/device_provenance_revinclude_search_test.rb +52 -0
  160. data/lib/us_core_test_kit/generated/v6.0.0/device/device_read_test.rb +26 -0
  161. data/lib/us_core_test_kit/generated/v6.0.0/device/device_reference_resolution_test.rb +42 -0
  162. data/lib/us_core_test_kit/generated/v6.0.0/device/device_validation_test.rb +40 -0
  163. data/lib/us_core_test_kit/generated/v6.0.0/device/metadata.yml +164 -0
  164. data/lib/us_core_test_kit/generated/v6.0.0/device_group.rb +90 -0
  165. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  166. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  167. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  168. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  169. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  170. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  171. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  172. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  173. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  174. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +44 -0
  175. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
  176. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab/metadata.yml +253 -0
  177. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_lab_group.rb +99 -0
  178. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
  179. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  180. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  181. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  182. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  183. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  184. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  185. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  186. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  187. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +46 -0
  188. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
  189. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note/metadata.yml +272 -0
  190. data/lib/us_core_test_kit/generated/v6.0.0/diagnostic_report_note_group.rb +99 -0
  191. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_id_search_test.rb +42 -0
  192. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_must_support_test.rb +55 -0
  193. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  194. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_category_search_test.rb +47 -0
  195. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_search_test.rb +63 -0
  196. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_status_search_test.rb +48 -0
  197. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  198. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_patient_type_search_test.rb +47 -0
  199. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  200. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_read_test.rb +26 -0
  201. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_reference_resolution_test.rb +44 -0
  202. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/document_reference_validation_test.rb +40 -0
  203. data/lib/us_core_test_kit/generated/v6.0.0/document_reference/metadata.yml +315 -0
  204. data/lib/us_core_test_kit/generated/v6.0.0/document_reference_group.rb +104 -0
  205. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_class_patient_search_test.rb +49 -0
  206. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_date_patient_search_test.rb +47 -0
  207. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_id_search_test.rb +42 -0
  208. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_identifier_search_test.rb +45 -0
  209. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_must_support_test.rb +53 -0
  210. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
  211. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_location_search_test.rb +48 -0
  212. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_search_test.rb +63 -0
  213. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_status_search_test.rb +47 -0
  214. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_patient_type_search_test.rb +49 -0
  215. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  216. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_read_test.rb +26 -0
  217. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_reference_resolution_test.rb +46 -0
  218. data/lib/us_core_test_kit/generated/v6.0.0/encounter/encounter_validation_test.rb +40 -0
  219. data/lib/us_core_test_kit/generated/v6.0.0/encounter/metadata.yml +364 -0
  220. data/lib/us_core_test_kit/generated/v6.0.0/encounter_group.rb +104 -0
  221. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_must_support_test.rb +41 -0
  222. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_description_search_test.rb +49 -0
  223. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  224. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_search_test.rb +62 -0
  225. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_patient_target_date_search_test.rb +49 -0
  226. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_provenance_revinclude_search_test.rb +51 -0
  227. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_read_test.rb +26 -0
  228. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_reference_resolution_test.rb +42 -0
  229. data/lib/us_core_test_kit/generated/v6.0.0/goal/goal_validation_test.rb +40 -0
  230. data/lib/us_core_test_kit/generated/v6.0.0/goal/metadata.yml +189 -0
  231. data/lib/us_core_test_kit/generated/v6.0.0/goal_group.rb +92 -0
  232. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_must_support_test.rb +51 -0
  233. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  234. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  235. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  236. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  237. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  238. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  239. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_read_test.rb +26 -0
  240. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_reference_resolution_test.rb +42 -0
  241. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/head_circumference_validation_test.rb +40 -0
  242. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference/metadata.yml +288 -0
  243. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_group.rb +96 -0
  244. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  245. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  246. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  247. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  248. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  249. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  250. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  251. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  252. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +42 -0
  253. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
  254. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile/metadata.yml +285 -0
  255. data/lib/us_core_test_kit/generated/v6.0.0/head_circumference_percentile_group.rb +96 -0
  256. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_must_support_test.rb +51 -0
  257. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  258. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  259. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  260. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  261. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  262. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  263. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_read_test.rb +26 -0
  264. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_reference_resolution_test.rb +42 -0
  265. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/heart_rate_validation_test.rb +40 -0
  266. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate/metadata.yml +285 -0
  267. data/lib/us_core_test_kit/generated/v6.0.0/heart_rate_group.rb +96 -0
  268. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_must_support_test.rb +42 -0
  269. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_date_search_test.rb +49 -0
  270. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_search_test.rb +62 -0
  271. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_patient_status_search_test.rb +47 -0
  272. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  273. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_read_test.rb +26 -0
  274. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_reference_resolution_test.rb +42 -0
  275. data/lib/us_core_test_kit/generated/v6.0.0/immunization/immunization_validation_test.rb +40 -0
  276. data/lib/us_core_test_kit/generated/v6.0.0/immunization/metadata.yml +171 -0
  277. data/lib/us_core_test_kit/generated/v6.0.0/immunization_group.rb +90 -0
  278. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_must_support_test.rb +50 -0
  279. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_search_test.rb +68 -0
  280. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_search_test.rb +53 -0
  281. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_patient_status_type_search_test.rb +54 -0
  282. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_provenance_revinclude_search_test.rb +52 -0
  283. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_read_test.rb +26 -0
  284. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_reference_resolution_test.rb +45 -0
  285. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/medication_dispense_validation_test.rb +40 -0
  286. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense/metadata.yml +230 -0
  287. data/lib/us_core_test_kit/generated/v6.0.0/medication_dispense_group.rb +90 -0
  288. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_must_support_test.rb +58 -0
  289. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  290. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  291. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  292. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  293. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  294. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_read_test.rb +26 -0
  295. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_reference_resolution_test.rb +47 -0
  296. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_request_validation_test.rb +40 -0
  297. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/medication_validation_test.rb +39 -0
  298. data/lib/us_core_test_kit/generated/v6.0.0/medication_request/metadata.yml +311 -0
  299. data/lib/us_core_test_kit/generated/v6.0.0/medication_request_group.rb +95 -0
  300. data/lib/us_core_test_kit/generated/v6.0.0/metadata.yml +10853 -0
  301. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/metadata.yml +265 -0
  302. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_must_support_test.rb +45 -0
  303. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_date_search_test.rb +48 -0
  304. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_search_test.rb +64 -0
  305. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_category_status_search_test.rb +49 -0
  306. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_date_search_test.rb +50 -0
  307. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_patient_code_search_test.rb +47 -0
  308. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_provenance_revinclude_search_test.rb +53 -0
  309. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_read_test.rb +26 -0
  310. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_reference_resolution_test.rb +42 -0
  311. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result/observation_clinical_result_validation_test.rb +40 -0
  312. data/lib/us_core_test_kit/generated/v6.0.0/observation_clinical_result_group.rb +96 -0
  313. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/metadata.yml +264 -0
  314. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_must_support_test.rb +46 -0
  315. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  316. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_search_test.rb +65 -0
  317. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  318. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  319. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  320. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  321. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_read_test.rb +26 -0
  322. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_reference_resolution_test.rb +43 -0
  323. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab/observation_lab_validation_test.rb +40 -0
  324. data/lib/us_core_test_kit/generated/v6.0.0/observation_lab_group.rb +96 -0
  325. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/metadata.yml +277 -0
  326. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_must_support_test.rb +47 -0
  327. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_date_search_test.rb +48 -0
  328. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_search_test.rb +47 -0
  329. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_category_status_search_test.rb +49 -0
  330. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_date_search_test.rb +50 -0
  331. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_patient_code_search_test.rb +64 -0
  332. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_provenance_revinclude_search_test.rb +53 -0
  333. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_read_test.rb +26 -0
  334. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_reference_resolution_test.rb +42 -0
  335. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation/observation_occupation_validation_test.rb +40 -0
  336. data/lib/us_core_test_kit/generated/v6.0.0/observation_occupation_group.rb +96 -0
  337. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/metadata.yml +266 -0
  338. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_must_support_test.rb +43 -0
  339. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_date_search_test.rb +48 -0
  340. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_search_test.rb +47 -0
  341. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_category_status_search_test.rb +49 -0
  342. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_date_search_test.rb +50 -0
  343. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_patient_code_search_test.rb +64 -0
  344. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_provenance_revinclude_search_test.rb +53 -0
  345. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_read_test.rb +26 -0
  346. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_reference_resolution_test.rb +42 -0
  347. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent/observation_pregnancyintent_validation_test.rb +40 -0
  348. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancyintent_group.rb +96 -0
  349. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/metadata.yml +266 -0
  350. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_must_support_test.rb +43 -0
  351. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_date_search_test.rb +48 -0
  352. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_search_test.rb +47 -0
  353. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_category_status_search_test.rb +49 -0
  354. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_date_search_test.rb +50 -0
  355. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_patient_code_search_test.rb +64 -0
  356. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_provenance_revinclude_search_test.rb +53 -0
  357. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_read_test.rb +26 -0
  358. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_reference_resolution_test.rb +42 -0
  359. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus/observation_pregnancystatus_validation_test.rb +40 -0
  360. data/lib/us_core_test_kit/generated/v6.0.0/observation_pregnancystatus_group.rb +96 -0
  361. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/metadata.yml +286 -0
  362. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_must_support_test.rb +49 -0
  363. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_date_search_test.rb +48 -0
  364. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_search_test.rb +65 -0
  365. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_category_status_search_test.rb +49 -0
  366. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_date_search_test.rb +50 -0
  367. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_patient_code_search_test.rb +47 -0
  368. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_provenance_revinclude_search_test.rb +53 -0
  369. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_read_test.rb +26 -0
  370. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_reference_resolution_test.rb +45 -0
  371. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment/observation_screening_assessment_validation_test.rb +40 -0
  372. data/lib/us_core_test_kit/generated/v6.0.0/observation_screening_assessment_group.rb +96 -0
  373. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/metadata.yml +256 -0
  374. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
  375. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
  376. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
  377. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
  378. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
  379. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
  380. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
  381. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
  382. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +42 -0
  383. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
  384. data/lib/us_core_test_kit/generated/v6.0.0/observation_sexual_orientation_group.rb +96 -0
  385. data/lib/us_core_test_kit/generated/v6.0.0/organization/metadata.yml +141 -0
  386. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_address_search_test.rb +41 -0
  387. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_must_support_test.rb +51 -0
  388. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_name_search_test.rb +51 -0
  389. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_read_test.rb +26 -0
  390. data/lib/us_core_test_kit/generated/v6.0.0/organization/organization_validation_test.rb +40 -0
  391. data/lib/us_core_test_kit/generated/v6.0.0/organization_group.rb +85 -0
  392. data/lib/us_core_test_kit/generated/v6.0.0/patient/metadata.yml +381 -0
  393. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_family_search_test.rb +43 -0
  394. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_birthdate_name_search_test.rb +41 -0
  395. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_death_date_family_search_test.rb +43 -0
  396. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_family_gender_search_test.rb +43 -0
  397. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_gender_name_search_test.rb +41 -0
  398. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_id_search_test.rb +55 -0
  399. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_identifier_search_test.rb +42 -0
  400. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_must_support_test.rb +69 -0
  401. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_name_search_test.rb +41 -0
  402. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_provenance_revinclude_search_test.rb +51 -0
  403. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_read_test.rb +26 -0
  404. data/lib/us_core_test_kit/generated/v6.0.0/patient/patient_validation_test.rb +40 -0
  405. data/lib/us_core_test_kit/generated/v6.0.0/patient_group.rb +102 -0
  406. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/metadata.yml +285 -0
  407. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  408. 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
  409. 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
  410. 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
  411. 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
  412. 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
  413. 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
  414. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  415. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +42 -0
  416. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
  417. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_bmi_for_age_group.rb +96 -0
  418. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/metadata.yml +285 -0
  419. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  420. 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
  421. 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
  422. 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
  423. 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
  424. 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
  425. 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
  426. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  427. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +42 -0
  428. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
  429. data/lib/us_core_test_kit/generated/v6.0.0/pediatric_weight_for_height_group.rb +96 -0
  430. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/metadata.yml +165 -0
  431. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_id_search_test.rb +53 -0
  432. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_identifier_search_test.rb +42 -0
  433. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_must_support_test.rb +51 -0
  434. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_name_search_test.rb +41 -0
  435. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_read_test.rb +26 -0
  436. data/lib/us_core_test_kit/generated/v6.0.0/practitioner/practitioner_validation_test.rb +40 -0
  437. data/lib/us_core_test_kit/generated/v6.0.0/practitioner_group.rb +87 -0
  438. data/lib/us_core_test_kit/generated/v6.0.0/procedure/metadata.yml +232 -0
  439. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_must_support_test.rb +44 -0
  440. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_code_date_search_test.rb +50 -0
  441. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_date_search_test.rb +47 -0
  442. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_search_test.rb +62 -0
  443. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_patient_status_search_test.rb +48 -0
  444. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  445. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_read_test.rb +26 -0
  446. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_reference_resolution_test.rb +43 -0
  447. data/lib/us_core_test_kit/generated/v6.0.0/procedure/procedure_validation_test.rb +40 -0
  448. data/lib/us_core_test_kit/generated/v6.0.0/procedure_group.rb +93 -0
  449. data/lib/us_core_test_kit/generated/v6.0.0/provenance/metadata.yml +161 -0
  450. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_must_support_test.rb +46 -0
  451. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_read_test.rb +26 -0
  452. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_reference_resolution_test.rb +44 -0
  453. data/lib/us_core_test_kit/generated/v6.0.0/provenance/provenance_validation_test.rb +40 -0
  454. data/lib/us_core_test_kit/generated/v6.0.0/provenance_group.rb +59 -0
  455. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/metadata.yml +348 -0
  456. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +64 -0
  457. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  458. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  459. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  460. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  461. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  462. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  463. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  464. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +42 -0
  465. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
  466. data/lib/us_core_test_kit/generated/v6.0.0/pulse_oximetry_group.rb +96 -0
  467. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/metadata.yml +231 -0
  468. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_id_search_test.rb +42 -0
  469. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_must_support_test.rb +53 -0
  470. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_authored_search_test.rb +49 -0
  471. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_questionnaire_search_test.rb +48 -0
  472. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_search_test.rb +63 -0
  473. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_patient_status_search_test.rb +48 -0
  474. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_provenance_revinclude_search_test.rb +52 -0
  475. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_read_test.rb +26 -0
  476. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_reference_resolution_test.rb +43 -0
  477. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response/questionnaire_response_validation_test.rb +40 -0
  478. data/lib/us_core_test_kit/generated/v6.0.0/questionnaire_response_group.rb +97 -0
  479. data/lib/us_core_test_kit/generated/v6.0.0/related_person/metadata.yml +136 -0
  480. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_id_search_test.rb +41 -0
  481. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_must_support_test.rb +42 -0
  482. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_name_search_test.rb +43 -0
  483. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_name_search_test.rb +47 -0
  484. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_patient_search_test.rb +63 -0
  485. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
  486. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_read_test.rb +26 -0
  487. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_reference_resolution_test.rb +42 -0
  488. data/lib/us_core_test_kit/generated/v6.0.0/related_person/related_person_validation_test.rb +40 -0
  489. data/lib/us_core_test_kit/generated/v6.0.0/related_person_group.rb +92 -0
  490. data/lib/us_core_test_kit/generated/v6.0.0/resource_list.rb +34 -0
  491. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/metadata.yml +285 -0
  492. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  493. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  494. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  495. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  496. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  497. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  498. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  499. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  500. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_reference_resolution_test.rb +42 -0
  501. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
  502. data/lib/us_core_test_kit/generated/v6.0.0/respiratory_rate_group.rb +96 -0
  503. data/lib/us_core_test_kit/generated/v6.0.0/service_request/metadata.yml +321 -0
  504. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_id_search_test.rb +42 -0
  505. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_must_support_test.rb +49 -0
  506. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_authored_search_test.rb +48 -0
  507. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_category_search_test.rb +47 -0
  508. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_authored_search_test.rb +50 -0
  509. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_code_search_test.rb +47 -0
  510. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_search_test.rb +63 -0
  511. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_patient_status_search_test.rb +48 -0
  512. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
  513. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_read_test.rb +26 -0
  514. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_reference_resolution_test.rb +44 -0
  515. data/lib/us_core_test_kit/generated/v6.0.0/service_request/service_request_validation_test.rb +40 -0
  516. data/lib/us_core_test_kit/generated/v6.0.0/service_request_group.rb +102 -0
  517. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/metadata.yml +291 -0
  518. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_must_support_test.rb +51 -0
  519. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_date_search_test.rb +48 -0
  520. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_search_test.rb +65 -0
  521. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_category_status_search_test.rb +49 -0
  522. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_date_search_test.rb +50 -0
  523. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_patient_code_search_test.rb +47 -0
  524. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_provenance_revinclude_search_test.rb +53 -0
  525. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_read_test.rb +26 -0
  526. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_reference_resolution_test.rb +44 -0
  527. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation/simple_observation_validation_test.rb +40 -0
  528. data/lib/us_core_test_kit/generated/v6.0.0/simple_observation_group.rb +98 -0
  529. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/metadata.yml +249 -0
  530. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  531. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_date_search_test.rb +48 -0
  532. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  533. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  534. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  535. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  536. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  537. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_read_test.rb +26 -0
  538. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_reference_resolution_test.rb +42 -0
  539. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus/smokingstatus_validation_test.rb +40 -0
  540. data/lib/us_core_test_kit/generated/v6.0.0/smokingstatus_group.rb +96 -0
  541. data/lib/us_core_test_kit/generated/v6.0.0/specimen/metadata.yml +115 -0
  542. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_id_search_test.rb +41 -0
  543. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_must_support_test.rb +38 -0
  544. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_patient_search_test.rb +63 -0
  545. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_read_test.rb +26 -0
  546. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_reference_resolution_test.rb +42 -0
  547. data/lib/us_core_test_kit/generated/v6.0.0/specimen/specimen_validation_test.rb +40 -0
  548. data/lib/us_core_test_kit/generated/v6.0.0/specimen_group.rb +86 -0
  549. data/lib/us_core_test_kit/generated/v6.0.0/us_core_test_suite.rb +168 -0
  550. data/lib/us_core_test_kit/generator/group_generator.rb +2 -1
  551. data/lib/us_core_test_kit/generator/group_metadata.rb +7 -6
  552. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +14 -3
  553. data/lib/us_core_test_kit/generator/ig_metadata.rb +1 -1
  554. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +2 -1
  555. data/lib/us_core_test_kit/generator/ig_resources.rb +4 -0
  556. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +34 -4
  557. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_3.rb +23 -0
  558. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_4.rb +31 -4
  559. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_5.rb +5 -19
  560. data/lib/us_core_test_kit/generator/must_support_metadata_extractor_us_core_6.rb +84 -0
  561. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +55 -5
  562. data/lib/us_core_test_kit/generator/search_test_generator.rb +1 -1
  563. data/lib/us_core_test_kit/generator/suite_generator.rb +4 -0
  564. data/lib/us_core_test_kit/generator/value_extractor.rb +18 -2
  565. data/lib/us_core_test_kit/igs/us_core_501/StructureDefinition-condition-assertedDate.json +280 -0
  566. data/lib/us_core_test_kit/igs/us_core_501/ValueSet-servicerequest-category.json +69 -0
  567. data/lib/us_core_test_kit/igs/us_core_600/CodeSystem-observation-category.json +83 -0
  568. data/lib/us_core_test_kit/igs/us_core_600/StructureDefinition-condition-assertedDate.json +280 -0
  569. data/lib/us_core_test_kit/igs/us_core_600/ValueSet-observation-category.json +48 -0
  570. data/lib/us_core_test_kit/igs/us_core_600/ValueSet-servicerequest-category.json +69 -0
  571. data/lib/us_core_test_kit/igs/us_core_600.tgz +0 -0
  572. data/lib/us_core_test_kit/reference_resolution_test.rb +4 -2
  573. data/lib/us_core_test_kit/search_test.rb +1 -1
  574. data/lib/us_core_test_kit/version.rb +1 -1
  575. data/lib/us_core_test_kit.rb +1 -0
  576. metadata +538 -2
@@ -0,0 +1,381 @@
1
+ ---
2
+ :name: us_core_patient
3
+ :class_name: USCorev600PatientSequence
4
+ :version: v6.0.0
5
+ :reformatted_version: v600
6
+ :resource: Patient
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
8
+ :profile_name: US Core Patient Profile
9
+ :profile_version: 6.0.0
10
+ :title: Patient
11
+ :short_description: Verify support for the server capabilities required by the US
12
+ Core Patient 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
+ - :names:
35
+ - _id
36
+ :expectation: SHALL
37
+ :names_not_must_support_or_mandatory: []
38
+ :must_support_or_mandatory: true
39
+ - :names:
40
+ - identifier
41
+ :expectation: SHALL
42
+ :names_not_must_support_or_mandatory: []
43
+ :must_support_or_mandatory: true
44
+ - :names:
45
+ - name
46
+ :expectation: SHALL
47
+ :names_not_must_support_or_mandatory: []
48
+ :must_support_or_mandatory: true
49
+ - :expectation: SHOULD
50
+ :names:
51
+ - birthdate
52
+ - family
53
+ :names_not_must_support_or_mandatory: []
54
+ :must_support_or_mandatory: true
55
+ - :expectation: SHOULD
56
+ :names:
57
+ - family
58
+ - gender
59
+ :names_not_must_support_or_mandatory: []
60
+ :must_support_or_mandatory: true
61
+ - :expectation: SHALL
62
+ :names:
63
+ - birthdate
64
+ - name
65
+ :names_not_must_support_or_mandatory: []
66
+ :must_support_or_mandatory: true
67
+ - :expectation: SHALL
68
+ :names:
69
+ - gender
70
+ - name
71
+ :names_not_must_support_or_mandatory: []
72
+ :must_support_or_mandatory: true
73
+ - :expectation: SHOULD
74
+ :names:
75
+ - death-date
76
+ - family
77
+ :names_not_must_support_or_mandatory: []
78
+ :must_support_or_mandatory: true
79
+ :search_definitions:
80
+ :_id:
81
+ :paths:
82
+ - id
83
+ :full_paths:
84
+ - Patient.id
85
+ :comparators: {}
86
+ :values: []
87
+ :type: http://hl7.org/fhirpath/System.String
88
+ :contains_multiple: false
89
+ :multiple_or: MAY
90
+ :identifier:
91
+ :paths:
92
+ - identifier
93
+ :full_paths:
94
+ - Patient.identifier
95
+ :comparators: {}
96
+ :values: []
97
+ :type: Identifier
98
+ :contains_multiple: true
99
+ :multiple_or: MAY
100
+ :name:
101
+ :paths:
102
+ - name
103
+ :full_paths:
104
+ - Patient.name
105
+ :comparators: {}
106
+ :values: []
107
+ :type: HumanName
108
+ :contains_multiple: true
109
+ :multiple_or: MAY
110
+ :birthdate:
111
+ :paths:
112
+ - birthDate
113
+ :full_paths:
114
+ - Patient.birthDate
115
+ :comparators:
116
+ :eq: MAY
117
+ :ne: MAY
118
+ :gt: MAY
119
+ :ge: MAY
120
+ :lt: MAY
121
+ :le: MAY
122
+ :sa: MAY
123
+ :eb: MAY
124
+ :ap: MAY
125
+ :values: []
126
+ :type: date
127
+ :contains_multiple: false
128
+ :multiple_or: MAY
129
+ :family:
130
+ :paths:
131
+ - name.family
132
+ :full_paths:
133
+ - Patient.name.family
134
+ :comparators: {}
135
+ :values: []
136
+ :type: string
137
+ :contains_multiple: false
138
+ :multiple_or: MAY
139
+ :gender:
140
+ :paths:
141
+ - gender
142
+ :full_paths:
143
+ - Patient.gender
144
+ :comparators: {}
145
+ :values: []
146
+ :type: code
147
+ :contains_multiple: false
148
+ :multiple_or: MAY
149
+ :death-date:
150
+ :paths:
151
+ - deceasedDateTime
152
+ :full_paths:
153
+ - Patient.deceasedDateTime
154
+ :comparators:
155
+ :eq: MAY
156
+ :ne: MAY
157
+ :gt: MAY
158
+ :ge: MAY
159
+ :lt: MAY
160
+ :le: MAY
161
+ :sa: MAY
162
+ :eb: MAY
163
+ :ap: MAY
164
+ :values: []
165
+ :type: date
166
+ :contains_multiple: false
167
+ :multiple_or: MAY
168
+ :include_params: []
169
+ :revincludes:
170
+ - Provenance:target
171
+ :required_concepts: []
172
+ :must_supports:
173
+ :extensions:
174
+ - :id: Patient.extension:race
175
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
176
+ :uscdi_only: true
177
+ - :id: Patient.extension:ethnicity
178
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
179
+ :uscdi_only: true
180
+ - :id: Patient.extension:tribalAffiliation
181
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation
182
+ :uscdi_only: true
183
+ - :id: Patient.extension:birthsex
184
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
185
+ :uscdi_only: true
186
+ - :id: Patient.extension:genderIdentity
187
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity
188
+ :uscdi_only: true
189
+ :slices: []
190
+ :elements:
191
+ - :path: identifier
192
+ - :path: identifier.system
193
+ - :path: identifier.value
194
+ - :path: name
195
+ - :path: name.use
196
+ :uscdi_only: true
197
+ :fixed_value: old
198
+ - :path: name.family
199
+ - :path: name.given
200
+ - :path: name.suffix
201
+ :uscdi_only: true
202
+ - :path: name.period
203
+ :uscdi_only: true
204
+ - :path: telecom
205
+ :uscdi_only: true
206
+ - :path: telecom.system
207
+ :uscdi_only: true
208
+ - :path: telecom.value
209
+ :uscdi_only: true
210
+ - :path: telecom.use
211
+ :uscdi_only: true
212
+ - :path: gender
213
+ - :path: birthDate
214
+ - :path: deceasedDateTime
215
+ :uscdi_only: true
216
+ :original_path: deceased[x]
217
+ - :path: address
218
+ - :path: address.use
219
+ :uscdi_only: true
220
+ :fixed_value: old
221
+ - :path: address.line
222
+ - :path: address.city
223
+ - :path: address.state
224
+ - :path: address.postalCode
225
+ - :path: address.period
226
+ :uscdi_only: true
227
+ - :path: communication
228
+ :uscdi_only: true
229
+ - :path: communication.language
230
+ :uscdi_only: true
231
+ :choices:
232
+ - :paths:
233
+ - address.period.end
234
+ - address.use
235
+ :uscdi_only: true
236
+ - :paths:
237
+ - name.period.end
238
+ - name.use
239
+ :uscdi_only: true
240
+ :mandatory_elements:
241
+ - Patient.identifier
242
+ - Patient.identifier.system
243
+ - Patient.identifier.value
244
+ - Patient.name
245
+ - Patient.telecom.system
246
+ - Patient.telecom.value
247
+ - Patient.gender
248
+ - Patient.communication.language
249
+ - Patient.link.other
250
+ - Patient.link.type
251
+ :bindings:
252
+ - :type: code
253
+ :strength: required
254
+ :system: http://hl7.org/fhir/ValueSet/identifier-use
255
+ :path: identifier.use
256
+ - :type: code
257
+ :strength: required
258
+ :system: http://hl7.org/fhir/ValueSet/name-use
259
+ :path: name.use
260
+ - :type: code
261
+ :strength: required
262
+ :system: http://hl7.org/fhir/ValueSet/contact-point-system
263
+ :path: telecom.system
264
+ - :type: code
265
+ :strength: required
266
+ :system: http://hl7.org/fhir/ValueSet/contact-point-use
267
+ :path: telecom.use
268
+ - :type: code
269
+ :strength: required
270
+ :system: http://hl7.org/fhir/ValueSet/administrative-gender
271
+ :path: gender
272
+ - :type: code
273
+ :strength: required
274
+ :system: http://hl7.org/fhir/ValueSet/address-use
275
+ :path: address.use
276
+ - :type: code
277
+ :strength: required
278
+ :system: http://hl7.org/fhir/ValueSet/address-type
279
+ :path: address.type
280
+ - :type: code
281
+ :strength: required
282
+ :system: http://hl7.org/fhir/ValueSet/administrative-gender
283
+ :path: contact.gender
284
+ - :type: code
285
+ :strength: required
286
+ :system: http://hl7.org/fhir/ValueSet/link-type
287
+ :path: link.type
288
+ - :type: Coding
289
+ :strength: required
290
+ :system: http://hl7.org/fhir/us/core/ValueSet/omb-race-category
291
+ :path: value
292
+ :extensions:
293
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
294
+ - ombCategory
295
+ - :type: Coding
296
+ :strength: required
297
+ :system: http://hl7.org/fhir/us/core/ValueSet/detailed-race
298
+ :path: value
299
+ :extensions:
300
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
301
+ - detailed
302
+ - :type: Coding
303
+ :strength: required
304
+ :system: http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category
305
+ :path: value
306
+ :extensions:
307
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
308
+ - ombCategory
309
+ - :type: Coding
310
+ :strength: required
311
+ :system: http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity
312
+ :path: value
313
+ :extensions:
314
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
315
+ - detailed
316
+ - :type: CodeableConcept
317
+ :strength: extensible
318
+ :system: http://terminology.hl7.org/ValueSet/v3-TribalEntityUS
319
+ :path: value
320
+ :extensions:
321
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation
322
+ - tribalAffiliation
323
+ - :type: code
324
+ :strength: required
325
+ :system: http://hl7.org/fhir/us/core/ValueSet/birthsex
326
+ :path: value
327
+ :extensions:
328
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
329
+ - :type: CodeableConcept
330
+ :strength: extensible
331
+ :system: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32
332
+ :path: value
333
+ :extensions:
334
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity
335
+ :references:
336
+ - :path: Patient.identifier.assigner
337
+ :profiles:
338
+ - http://hl7.org/fhir/StructureDefinition/Organization
339
+ - :path: Patient.contact.organization
340
+ :profiles:
341
+ - http://hl7.org/fhir/StructureDefinition/Organization
342
+ - :path: Patient.generalPractitioner
343
+ :profiles:
344
+ - http://hl7.org/fhir/StructureDefinition/Organization
345
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
346
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
347
+ - :path: Patient.managingOrganization
348
+ :profiles:
349
+ - http://hl7.org/fhir/StructureDefinition/Organization
350
+ - :path: Patient.link.other
351
+ :profiles:
352
+ - http://hl7.org/fhir/StructureDefinition/Patient
353
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
354
+ :tests:
355
+ - :id: us_core_v600_patient__id_search_test
356
+ :file_name: patient_id_search_test.rb
357
+ - :id: us_core_v600_patient_identifier_search_test
358
+ :file_name: patient_identifier_search_test.rb
359
+ - :id: us_core_v600_patient_name_search_test
360
+ :file_name: patient_name_search_test.rb
361
+ - :id: us_core_v600_patient_birthdate_family_search_test
362
+ :file_name: patient_birthdate_family_search_test.rb
363
+ - :id: us_core_v600_patient_family_gender_search_test
364
+ :file_name: patient_family_gender_search_test.rb
365
+ - :id: us_core_v600_patient_birthdate_name_search_test
366
+ :file_name: patient_birthdate_name_search_test.rb
367
+ - :id: us_core_v600_patient_gender_name_search_test
368
+ :file_name: patient_gender_name_search_test.rb
369
+ - :id: us_core_v600_patient_death_date_family_search_test
370
+ :file_name: patient_death_date_family_search_test.rb
371
+ - :id: us_core_v600_patient_read_test
372
+ :file_name: patient_read_test.rb
373
+ - :id: us_core_v600_patient_provenance_revinclude_search_test
374
+ :file_name: patient_provenance_revinclude_search_test.rb
375
+ - :id: us_core_v600_patient_validation_test
376
+ :file_name: patient_validation_test.rb
377
+ - :id: us_core_v600_patient_must_support_test
378
+ :file_name: patient_must_support_test.rb
379
+ :id: us_core_v600_patient
380
+ :file_name: patient_group.rb
381
+ :delayed_references: []
@@ -0,0 +1,43 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientBirthdateFamilySearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by birthdate + family'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ birthdate + family on the Patient 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_patient_birthdate_family_search_test
21
+ optional
22
+
23
+ def self.properties
24
+ @properties ||= SearchTestProperties.new(
25
+ resource_type: 'Patient',
26
+ search_param_names: ['birthdate', 'family']
27
+ )
28
+ end
29
+
30
+ def self.metadata
31
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
32
+ end
33
+
34
+ def scratch_resources
35
+ scratch[:patient_resources] ||= {}
36
+ end
37
+
38
+ run do
39
+ run_search_test
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,41 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientBirthdateNameSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by birthdate + name'
10
+ description %(
11
+ A server SHALL support searching by
12
+ birthdate + name on the Patient 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_patient_birthdate_name_search_test
21
+ def self.properties
22
+ @properties ||= SearchTestProperties.new(
23
+ resource_type: 'Patient',
24
+ search_param_names: ['birthdate', 'name']
25
+ )
26
+ end
27
+
28
+ def self.metadata
29
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
30
+ end
31
+
32
+ def scratch_resources
33
+ scratch[:patient_resources] ||= {}
34
+ end
35
+
36
+ run do
37
+ run_search_test
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,43 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientDeathDateFamilySearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by death-date + family'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ death-date + family on the Patient 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_patient_death_date_family_search_test
21
+ optional
22
+
23
+ def self.properties
24
+ @properties ||= SearchTestProperties.new(
25
+ resource_type: 'Patient',
26
+ search_param_names: ['death-date', 'family']
27
+ )
28
+ end
29
+
30
+ def self.metadata
31
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
32
+ end
33
+
34
+ def scratch_resources
35
+ scratch[:patient_resources] ||= {}
36
+ end
37
+
38
+ run do
39
+ run_search_test
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,43 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientFamilyGenderSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by family + gender'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ family + gender on the Patient 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_patient_family_gender_search_test
21
+ optional
22
+
23
+ def self.properties
24
+ @properties ||= SearchTestProperties.new(
25
+ resource_type: 'Patient',
26
+ search_param_names: ['family', 'gender']
27
+ )
28
+ end
29
+
30
+ def self.metadata
31
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
32
+ end
33
+
34
+ def scratch_resources
35
+ scratch[:patient_resources] ||= {}
36
+ end
37
+
38
+ run do
39
+ run_search_test
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,41 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientGenderNameSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by gender + name'
10
+ description %(
11
+ A server SHALL support searching by
12
+ gender + name on the Patient 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_patient_gender_name_search_test
21
+ def self.properties
22
+ @properties ||= SearchTestProperties.new(
23
+ resource_type: 'Patient',
24
+ search_param_names: ['gender', 'name']
25
+ )
26
+ end
27
+
28
+ def self.metadata
29
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
30
+ end
31
+
32
+ def scratch_resources
33
+ scratch[:patient_resources] ||= {}
34
+ end
35
+
36
+ run do
37
+ run_search_test
38
+ end
39
+ end
40
+ end
41
+ end
@@ -0,0 +1,55 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientIdSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by _id'
10
+ description %(
11
+ A server SHALL support searching by
12
+ _id on the Patient 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
+ Because this is the first search of the sequence, resources in the
17
+ response will be used for subsequent tests.
18
+
19
+ Additionally, this test will check that GET and POST search methods
20
+ return the same number of results. Search by POST is required by the
21
+ FHIR R4 specification, and these tests interpret search by GET as a
22
+ requirement of US Core v6.0.0.
23
+
24
+ [US Core Server CapabilityStatement](http://hl7.org/fhir/us/core//CapabilityStatement-us-core-server.html)
25
+
26
+ )
27
+
28
+ id :us_core_v600_patient__id_search_test
29
+ input :patient_ids,
30
+ title: 'Patient IDs',
31
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
32
+
33
+ def self.properties
34
+ @properties ||= SearchTestProperties.new(
35
+ first_search: true,
36
+ resource_type: 'Patient',
37
+ search_param_names: ['_id'],
38
+ test_post_search: true
39
+ )
40
+ end
41
+
42
+ def self.metadata
43
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true))
44
+ end
45
+
46
+ def scratch_resources
47
+ scratch[:patient_resources] ||= {}
48
+ end
49
+
50
+ run do
51
+ run_search_test
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,42 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV600
6
+ class PatientIdentifierSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Patient search by identifier'
10
+ description %(
11
+ A server SHALL support searching by
12
+ identifier on the Patient 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_patient_identifier_search_test
21
+ def self.properties
22
+ @properties ||= SearchTestProperties.new(
23
+ resource_type: 'Patient',
24
+ search_param_names: ['identifier'],
25
+ token_search_params: ['identifier']
26
+ )
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[:patient_resources] ||= {}
35
+ end
36
+
37
+ run do
38
+ run_search_test
39
+ end
40
+ end
41
+ end
42
+ end