us_core_test_kit 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (511) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +128 -0
  3. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +1 -1
  4. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure_group.rb +2 -2
  5. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +1 -1
  6. data/lib/us_core_test_kit/generated/v4.0.0/bmi_group.rb +2 -2
  7. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +1 -1
  8. data/lib/us_core_test_kit/generated/v4.0.0/body_height_group.rb +2 -2
  9. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +1 -1
  10. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature_group.rb +2 -2
  11. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +1 -1
  12. data/lib/us_core_test_kit/generated/v4.0.0/body_weight_group.rb +2 -2
  13. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +1 -1
  14. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_group.rb +2 -2
  15. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +1 -1
  16. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile_group.rb +2 -2
  17. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +1 -1
  18. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate_group.rb +2 -2
  19. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +23 -15
  20. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -1
  21. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab_group.rb +2 -2
  22. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +8 -0
  23. data/lib/us_core_test_kit/generated/v4.0.0/patient/patient_must_support_test.rb +6 -4
  24. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +1 -1
  25. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age_group.rb +2 -2
  26. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +1 -1
  27. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height_group.rb +2 -2
  28. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +1 -1
  29. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry_group.rb +2 -2
  30. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +1 -1
  31. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate_group.rb +2 -2
  32. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +1 -1
  33. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus_group.rb +2 -2
  34. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_must_support_test.rb +42 -0
  35. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_clinical_status_search_test.rb +48 -0
  36. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_patient_search_test.rb +62 -0
  37. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_provenance_revinclude_search_test.rb +51 -0
  38. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_read_test.rb +26 -0
  39. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_reference_resolution_test.rb +38 -0
  40. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/allergy_intolerance_validation_test.rb +40 -0
  41. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +172 -0
  42. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance_group.rb +88 -0
  43. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_must_support_test.rb +55 -0
  44. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_date_search_test.rb +48 -0
  45. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_search_test.rb +47 -0
  46. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_category_status_search_test.rb +49 -0
  47. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_date_search_test.rb +50 -0
  48. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_patient_code_search_test.rb +64 -0
  49. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_provenance_revinclude_search_test.rb +53 -0
  50. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_read_test.rb +26 -0
  51. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_reference_resolution_test.rb +38 -0
  52. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_validation_test.rb +40 -0
  53. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +385 -0
  54. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure_group.rb +96 -0
  55. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_must_support_test.rb +51 -0
  56. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_date_search_test.rb +48 -0
  57. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_search_test.rb +47 -0
  58. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_category_status_search_test.rb +49 -0
  59. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_date_search_test.rb +50 -0
  60. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_patient_code_search_test.rb +64 -0
  61. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_provenance_revinclude_search_test.rb +53 -0
  62. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_read_test.rb +26 -0
  63. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_reference_resolution_test.rb +38 -0
  64. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_validation_test.rb +40 -0
  65. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +336 -0
  66. data/lib/us_core_test_kit/generated/v5.0.1/bmi_group.rb +96 -0
  67. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_must_support_test.rb +51 -0
  68. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_date_search_test.rb +48 -0
  69. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_search_test.rb +47 -0
  70. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_category_status_search_test.rb +49 -0
  71. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_date_search_test.rb +50 -0
  72. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_patient_code_search_test.rb +64 -0
  73. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_provenance_revinclude_search_test.rb +53 -0
  74. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_read_test.rb +26 -0
  75. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_reference_resolution_test.rb +38 -0
  76. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_validation_test.rb +40 -0
  77. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +339 -0
  78. data/lib/us_core_test_kit/generated/v5.0.1/body_height_group.rb +96 -0
  79. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_must_support_test.rb +51 -0
  80. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_date_search_test.rb +48 -0
  81. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_search_test.rb +47 -0
  82. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_category_status_search_test.rb +49 -0
  83. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_date_search_test.rb +50 -0
  84. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_patient_code_search_test.rb +64 -0
  85. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_provenance_revinclude_search_test.rb +53 -0
  86. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_read_test.rb +26 -0
  87. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_reference_resolution_test.rb +38 -0
  88. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_validation_test.rb +40 -0
  89. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +339 -0
  90. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature_group.rb +96 -0
  91. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_must_support_test.rb +51 -0
  92. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_date_search_test.rb +48 -0
  93. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_search_test.rb +47 -0
  94. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_category_status_search_test.rb +49 -0
  95. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_date_search_test.rb +50 -0
  96. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_patient_code_search_test.rb +64 -0
  97. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_provenance_revinclude_search_test.rb +53 -0
  98. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_read_test.rb +26 -0
  99. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_reference_resolution_test.rb +38 -0
  100. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_validation_test.rb +40 -0
  101. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +339 -0
  102. data/lib/us_core_test_kit/generated/v5.0.1/body_weight_group.rb +96 -0
  103. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_must_support_test.rb +44 -0
  104. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_date_search_test.rb +50 -0
  105. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_search_test.rb +64 -0
  106. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_date_search_test.rb +50 -0
  107. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_patient_category_status_search_test.rb +49 -0
  108. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_provenance_revinclude_search_test.rb +53 -0
  109. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_read_test.rb +26 -0
  110. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_reference_resolution_test.rb +38 -0
  111. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/care_plan_validation_test.rb +40 -0
  112. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +307 -0
  113. data/lib/us_core_test_kit/generated/v5.0.1/care_plan_group.rb +92 -0
  114. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_must_support_test.rb +41 -0
  115. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_role_search_test.rb +49 -0
  116. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_patient_status_search_test.rb +63 -0
  117. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_provenance_revinclude_search_test.rb +52 -0
  118. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_read_test.rb +26 -0
  119. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_reference_resolution_test.rb +39 -0
  120. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_role_search_test.rb +45 -0
  121. data/lib/us_core_test_kit/generated/v5.0.1/care_team/care_team_validation_test.rb +40 -0
  122. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +192 -0
  123. data/lib/us_core_test_kit/generated/v5.0.1/care_team_group.rb +90 -0
  124. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test.rb +47 -0
  125. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test.rb +49 -0
  126. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test.rb +49 -0
  127. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test.rb +49 -0
  128. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test.rb +49 -0
  129. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test.rb +48 -0
  130. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test.rb +49 -0
  131. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test.rb +49 -0
  132. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test.rb +49 -0
  133. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test.rb +62 -0
  134. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test.rb +51 -0
  135. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_read_test.rb +26 -0
  136. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test.rb +39 -0
  137. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test.rb +40 -0
  138. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +374 -0
  139. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis_group.rb +102 -0
  140. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_must_support_test.rb +47 -0
  141. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_abatement_date_search_test.rb +49 -0
  142. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_asserted_date_search_test.rb +49 -0
  143. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_encounter_search_test.rb +49 -0
  144. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_category_search_test.rb +49 -0
  145. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_clinical_status_search_test.rb +48 -0
  146. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_code_search_test.rb +49 -0
  147. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_onset_date_search_test.rb +49 -0
  148. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_recorded_date_search_test.rb +49 -0
  149. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_patient_search_test.rb +62 -0
  150. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_provenance_revinclude_search_test.rb +51 -0
  151. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_read_test.rb +26 -0
  152. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_reference_resolution_test.rb +38 -0
  153. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/condition_problems_health_concerns_validation_test.rb +40 -0
  154. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +387 -0
  155. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns_group.rb +102 -0
  156. data/lib/us_core_test_kit/generated/v5.0.1/device/device_must_support_test.rb +46 -0
  157. data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_search_test.rb +67 -0
  158. data/lib/us_core_test_kit/generated/v5.0.1/device/device_patient_type_search_test.rb +54 -0
  159. data/lib/us_core_test_kit/generated/v5.0.1/device/device_provenance_revinclude_search_test.rb +51 -0
  160. data/lib/us_core_test_kit/generated/v5.0.1/device/device_read_test.rb +26 -0
  161. data/lib/us_core_test_kit/generated/v5.0.1/device/device_reference_resolution_test.rb +38 -0
  162. data/lib/us_core_test_kit/generated/v5.0.1/device/device_validation_test.rb +40 -0
  163. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1155 -0
  164. data/lib/us_core_test_kit/generated/v5.0.1/device_group.rb +90 -0
  165. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_must_support_test.rb +45 -0
  166. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_date_search_test.rb +48 -0
  167. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_category_search_test.rb +65 -0
  168. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_date_search_test.rb +50 -0
  169. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_code_search_test.rb +47 -0
  170. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_search_test.rb +46 -0
  171. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_patient_status_search_test.rb +48 -0
  172. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_provenance_revinclude_search_test.rb +53 -0
  173. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_read_test.rb +26 -0
  174. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_reference_resolution_test.rb +40 -0
  175. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/diagnostic_report_lab_validation_test.rb +40 -0
  176. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1273 -0
  177. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab_group.rb +99 -0
  178. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_must_support_test.rb +49 -0
  179. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_date_search_test.rb +48 -0
  180. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_category_search_test.rb +65 -0
  181. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_date_search_test.rb +50 -0
  182. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_code_search_test.rb +47 -0
  183. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_search_test.rb +46 -0
  184. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_patient_status_search_test.rb +48 -0
  185. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_provenance_revinclude_search_test.rb +53 -0
  186. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_read_test.rb +26 -0
  187. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_reference_resolution_test.rb +42 -0
  188. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/diagnostic_report_note_validation_test.rb +40 -0
  189. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1293 -0
  190. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note_group.rb +99 -0
  191. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_id_search_test.rb +42 -0
  192. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_must_support_test.rb +52 -0
  193. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_date_search_test.rb +48 -0
  194. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_category_search_test.rb +47 -0
  195. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_search_test.rb +63 -0
  196. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_status_search_test.rb +48 -0
  197. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_period_search_test.rb +50 -0
  198. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_patient_type_search_test.rb +47 -0
  199. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_provenance_revinclude_search_test.rb +52 -0
  200. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_read_test.rb +26 -0
  201. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_reference_resolution_test.rb +40 -0
  202. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/document_reference_validation_test.rb +40 -0
  203. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +394 -0
  204. data/lib/us_core_test_kit/generated/v5.0.1/document_reference_group.rb +104 -0
  205. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_class_patient_search_test.rb +49 -0
  206. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_date_patient_search_test.rb +47 -0
  207. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_id_search_test.rb +42 -0
  208. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_identifier_search_test.rb +45 -0
  209. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_must_support_test.rb +53 -0
  210. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_discharge_disposition_search_test.rb +49 -0
  211. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_location_search_test.rb +48 -0
  212. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_search_test.rb +63 -0
  213. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_status_search_test.rb +47 -0
  214. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_patient_type_search_test.rb +49 -0
  215. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_provenance_revinclude_search_test.rb +52 -0
  216. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_read_test.rb +26 -0
  217. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_reference_resolution_test.rb +42 -0
  218. data/lib/us_core_test_kit/generated/v5.0.1/encounter/encounter_validation_test.rb +40 -0
  219. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +447 -0
  220. data/lib/us_core_test_kit/generated/v5.0.1/encounter_group.rb +104 -0
  221. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_must_support_test.rb +41 -0
  222. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_description_search_test.rb +49 -0
  223. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_lifecycle_status_search_test.rb +47 -0
  224. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_search_test.rb +62 -0
  225. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_patient_target_date_search_test.rb +49 -0
  226. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_provenance_revinclude_search_test.rb +51 -0
  227. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_read_test.rb +26 -0
  228. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_reference_resolution_test.rb +38 -0
  229. data/lib/us_core_test_kit/generated/v5.0.1/goal/goal_validation_test.rb +40 -0
  230. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1219 -0
  231. data/lib/us_core_test_kit/generated/v5.0.1/goal_group.rb +92 -0
  232. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_must_support_test.rb +51 -0
  233. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_date_search_test.rb +48 -0
  234. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_search_test.rb +47 -0
  235. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_category_status_search_test.rb +49 -0
  236. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_date_search_test.rb +50 -0
  237. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_patient_code_search_test.rb +64 -0
  238. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_provenance_revinclude_search_test.rb +53 -0
  239. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_read_test.rb +26 -0
  240. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_reference_resolution_test.rb +38 -0
  241. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_validation_test.rb +40 -0
  242. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +339 -0
  243. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_group.rb +96 -0
  244. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +51 -0
  245. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_date_search_test.rb +48 -0
  246. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_search_test.rb +47 -0
  247. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_category_status_search_test.rb +49 -0
  248. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_date_search_test.rb +50 -0
  249. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_patient_code_search_test.rb +64 -0
  250. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_provenance_revinclude_search_test.rb +53 -0
  251. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_read_test.rb +26 -0
  252. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_reference_resolution_test.rb +38 -0
  253. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_validation_test.rb +40 -0
  254. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +336 -0
  255. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile_group.rb +96 -0
  256. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_must_support_test.rb +51 -0
  257. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_date_search_test.rb +48 -0
  258. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_search_test.rb +47 -0
  259. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_category_status_search_test.rb +49 -0
  260. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_date_search_test.rb +50 -0
  261. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_patient_code_search_test.rb +64 -0
  262. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_provenance_revinclude_search_test.rb +53 -0
  263. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_read_test.rb +26 -0
  264. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_reference_resolution_test.rb +38 -0
  265. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_validation_test.rb +40 -0
  266. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +336 -0
  267. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate_group.rb +96 -0
  268. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_must_support_test.rb +42 -0
  269. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_date_search_test.rb +49 -0
  270. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_search_test.rb +62 -0
  271. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_patient_status_search_test.rb +47 -0
  272. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_provenance_revinclude_search_test.rb +52 -0
  273. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_read_test.rb +26 -0
  274. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_reference_resolution_test.rb +38 -0
  275. data/lib/us_core_test_kit/generated/v5.0.1/immunization/immunization_validation_test.rb +40 -0
  276. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +220 -0
  277. data/lib/us_core_test_kit/generated/v5.0.1/immunization_group.rb +90 -0
  278. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_must_support_test.rb +48 -0
  279. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_authoredon_search_test.rb +55 -0
  280. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_encounter_search_test.rb +54 -0
  281. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_search_test.rb +70 -0
  282. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_patient_intent_status_search_test.rb +51 -0
  283. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_provenance_revinclude_search_test.rb +53 -0
  284. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_read_test.rb +26 -0
  285. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_reference_resolution_test.rb +41 -0
  286. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_request_validation_test.rb +40 -0
  287. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/medication_validation_test.rb +39 -0
  288. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +355 -0
  289. data/lib/us_core_test_kit/generated/v5.0.1/medication_request_group.rb +95 -0
  290. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +22745 -0
  291. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +766 -0
  292. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_must_support_test.rb +45 -0
  293. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_date_search_test.rb +48 -0
  294. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_search_test.rb +64 -0
  295. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_category_status_search_test.rb +49 -0
  296. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_date_search_test.rb +50 -0
  297. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_patient_code_search_test.rb +47 -0
  298. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_provenance_revinclude_search_test.rb +53 -0
  299. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_read_test.rb +26 -0
  300. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_reference_resolution_test.rb +38 -0
  301. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/observation_clinical_test_validation_test.rb +40 -0
  302. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test_group.rb +96 -0
  303. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1305 -0
  304. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_must_support_test.rb +45 -0
  305. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_date_search_test.rb +48 -0
  306. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_search_test.rb +64 -0
  307. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_category_status_search_test.rb +49 -0
  308. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_date_search_test.rb +50 -0
  309. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_patient_code_search_test.rb +47 -0
  310. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_provenance_revinclude_search_test.rb +53 -0
  311. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_read_test.rb +26 -0
  312. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_reference_resolution_test.rb +38 -0
  313. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/observation_imaging_validation_test.rb +40 -0
  314. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging_group.rb +96 -0
  315. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1305 -0
  316. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_must_support_test.rb +45 -0
  317. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_date_search_test.rb +48 -0
  318. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_search_test.rb +64 -0
  319. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_category_status_search_test.rb +49 -0
  320. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_date_search_test.rb +50 -0
  321. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_patient_code_search_test.rb +47 -0
  322. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_provenance_revinclude_search_test.rb +53 -0
  323. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_read_test.rb +26 -0
  324. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_reference_resolution_test.rb +38 -0
  325. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/observation_lab_validation_test.rb +40 -0
  326. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab_group.rb +96 -0
  327. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +383 -0
  328. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_must_support_test.rb +49 -0
  329. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_date_search_test.rb +48 -0
  330. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_search_test.rb +65 -0
  331. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_category_status_search_test.rb +49 -0
  332. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_date_search_test.rb +50 -0
  333. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_patient_code_search_test.rb +47 -0
  334. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_provenance_revinclude_search_test.rb +53 -0
  335. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_read_test.rb +26 -0
  336. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_reference_resolution_test.rb +41 -0
  337. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/observation_sdoh_assessment_validation_test.rb +40 -0
  338. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment_group.rb +96 -0
  339. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +308 -0
  340. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_must_support_test.rb +41 -0
  341. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_date_search_test.rb +50 -0
  342. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_search_test.rb +49 -0
  343. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_category_status_search_test.rb +49 -0
  344. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_date_search_test.rb +50 -0
  345. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_patient_code_search_test.rb +64 -0
  346. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_provenance_revinclude_search_test.rb +53 -0
  347. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_read_test.rb +26 -0
  348. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_reference_resolution_test.rb +38 -0
  349. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/observation_sexual_orientation_validation_test.rb +40 -0
  350. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation_group.rb +96 -0
  351. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1329 -0
  352. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_must_support_test.rb +48 -0
  353. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_date_search_test.rb +48 -0
  354. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_search_test.rb +65 -0
  355. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_category_status_search_test.rb +49 -0
  356. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_date_search_test.rb +50 -0
  357. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_patient_code_search_test.rb +47 -0
  358. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_provenance_revinclude_search_test.rb +53 -0
  359. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_read_test.rb +26 -0
  360. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_reference_resolution_test.rb +39 -0
  361. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/observation_social_history_validation_test.rb +40 -0
  362. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history_group.rb +96 -0
  363. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +161 -0
  364. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_address_search_test.rb +41 -0
  365. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_must_support_test.rb +51 -0
  366. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_name_search_test.rb +51 -0
  367. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_read_test.rb +26 -0
  368. data/lib/us_core_test_kit/generated/v5.0.1/organization/organization_validation_test.rb +40 -0
  369. data/lib/us_core_test_kit/generated/v5.0.1/organization_group.rb +85 -0
  370. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +364 -0
  371. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_family_search_test.rb +43 -0
  372. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_birthdate_name_search_test.rb +41 -0
  373. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_family_gender_search_test.rb +43 -0
  374. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_gender_name_search_test.rb +41 -0
  375. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_id_search_test.rb +55 -0
  376. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_identifier_search_test.rb +42 -0
  377. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_must_support_test.rb +66 -0
  378. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_name_search_test.rb +41 -0
  379. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_provenance_revinclude_search_test.rb +51 -0
  380. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_read_test.rb +26 -0
  381. data/lib/us_core_test_kit/generated/v5.0.1/patient/patient_validation_test.rb +40 -0
  382. data/lib/us_core_test_kit/generated/v5.0.1/patient_group.rb +100 -0
  383. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +336 -0
  384. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +51 -0
  385. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_date_search_test.rb +48 -0
  386. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_search_test.rb +47 -0
  387. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_category_status_search_test.rb +49 -0
  388. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_date_search_test.rb +50 -0
  389. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_patient_code_search_test.rb +64 -0
  390. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_provenance_revinclude_search_test.rb +53 -0
  391. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_read_test.rb +26 -0
  392. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_reference_resolution_test.rb +38 -0
  393. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_validation_test.rb +40 -0
  394. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age_group.rb +96 -0
  395. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +336 -0
  396. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +51 -0
  397. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_date_search_test.rb +48 -0
  398. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_search_test.rb +47 -0
  399. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_category_status_search_test.rb +49 -0
  400. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_date_search_test.rb +50 -0
  401. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_patient_code_search_test.rb +64 -0
  402. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_provenance_revinclude_search_test.rb +53 -0
  403. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_read_test.rb +26 -0
  404. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_reference_resolution_test.rb +38 -0
  405. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_validation_test.rb +40 -0
  406. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height_group.rb +96 -0
  407. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +185 -0
  408. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_id_search_test.rb +53 -0
  409. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_identifier_search_test.rb +42 -0
  410. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_must_support_test.rb +51 -0
  411. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_name_search_test.rb +41 -0
  412. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_read_test.rb +26 -0
  413. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/practitioner_validation_test.rb +40 -0
  414. data/lib/us_core_test_kit/generated/v5.0.1/practitioner_group.rb +87 -0
  415. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1276 -0
  416. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_must_support_test.rb +40 -0
  417. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_code_date_search_test.rb +50 -0
  418. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_date_search_test.rb +47 -0
  419. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_search_test.rb +62 -0
  420. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_patient_status_search_test.rb +48 -0
  421. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_provenance_revinclude_search_test.rb +52 -0
  422. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_read_test.rb +26 -0
  423. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_reference_resolution_test.rb +38 -0
  424. data/lib/us_core_test_kit/generated/v5.0.1/procedure/procedure_validation_test.rb +40 -0
  425. data/lib/us_core_test_kit/generated/v5.0.1/procedure_group.rb +93 -0
  426. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +201 -0
  427. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_must_support_test.rb +46 -0
  428. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_read_test.rb +26 -0
  429. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_reference_resolution_test.rb +40 -0
  430. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_validation_test.rb +40 -0
  431. data/lib/us_core_test_kit/generated/v5.0.1/provenance_group.rb +59 -0
  432. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +405 -0
  433. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +59 -0
  434. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_date_search_test.rb +48 -0
  435. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_search_test.rb +47 -0
  436. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_category_status_search_test.rb +49 -0
  437. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_date_search_test.rb +50 -0
  438. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_patient_code_search_test.rb +64 -0
  439. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_provenance_revinclude_search_test.rb +53 -0
  440. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_read_test.rb +26 -0
  441. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_reference_resolution_test.rb +38 -0
  442. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_validation_test.rb +40 -0
  443. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry_group.rb +96 -0
  444. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +123 -0
  445. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_id_search_test.rb +41 -0
  446. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_must_support_test.rb +42 -0
  447. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_patient_search_test.rb +63 -0
  448. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_provenance_revinclude_search_test.rb +51 -0
  449. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_read_test.rb +26 -0
  450. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_reference_resolution_test.rb +38 -0
  451. data/lib/us_core_test_kit/generated/v5.0.1/related_person/related_person_validation_test.rb +40 -0
  452. data/lib/us_core_test_kit/generated/v5.0.1/related_person_group.rb +88 -0
  453. data/lib/us_core_test_kit/generated/v5.0.1/resource_list.rb +31 -0
  454. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +336 -0
  455. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb +51 -0
  456. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_date_search_test.rb +48 -0
  457. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_search_test.rb +47 -0
  458. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_category_status_search_test.rb +49 -0
  459. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_date_search_test.rb +50 -0
  460. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_patient_code_search_test.rb +64 -0
  461. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_provenance_revinclude_search_test.rb +53 -0
  462. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_read_test.rb +26 -0
  463. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_reference_resolution_test.rb +38 -0
  464. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_validation_test.rb +40 -0
  465. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate_group.rb +96 -0
  466. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1335 -0
  467. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_id_search_test.rb +42 -0
  468. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_must_support_test.rb +45 -0
  469. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_authored_search_test.rb +48 -0
  470. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_category_search_test.rb +47 -0
  471. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_authored_search_test.rb +50 -0
  472. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_code_search_test.rb +47 -0
  473. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_search_test.rb +63 -0
  474. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_patient_status_search_test.rb +48 -0
  475. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_provenance_revinclude_search_test.rb +52 -0
  476. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_read_test.rb +26 -0
  477. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_reference_resolution_test.rb +39 -0
  478. data/lib/us_core_test_kit/generated/v5.0.1/service_request/service_request_validation_test.rb +40 -0
  479. data/lib/us_core_test_kit/generated/v5.0.1/service_request_group.rb +102 -0
  480. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +310 -0
  481. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_must_support_test.rb +43 -0
  482. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_date_search_test.rb +50 -0
  483. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_search_test.rb +47 -0
  484. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_category_status_search_test.rb +49 -0
  485. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_date_search_test.rb +50 -0
  486. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_patient_code_search_test.rb +64 -0
  487. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_provenance_revinclude_search_test.rb +53 -0
  488. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_read_test.rb +26 -0
  489. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_reference_resolution_test.rb +38 -0
  490. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/smokingstatus_validation_test.rb +40 -0
  491. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus_group.rb +96 -0
  492. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +132 -0
  493. data/lib/us_core_test_kit/generator/group_generator.rb +16 -2
  494. data/lib/us_core_test_kit/generator/group_metadata.rb +11 -9
  495. data/lib/us_core_test_kit/generator/group_metadata_extractor.rb +17 -4
  496. data/lib/us_core_test_kit/generator/ig_metadata_extractor.rb +13 -5
  497. data/lib/us_core_test_kit/generator/ig_resources.rb +2 -1
  498. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +110 -27
  499. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +2 -1
  500. data/lib/us_core_test_kit/generator/naming.rb +1 -1
  501. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +32 -18
  502. data/lib/us_core_test_kit/generator/special_cases.rb +3 -1
  503. data/lib/us_core_test_kit/generator/suite_generator.rb +10 -2
  504. data/lib/us_core_test_kit/generator/terminology_binding_metadata_extractor.rb +3 -0
  505. data/lib/us_core_test_kit/igs/us_core_501.tgz +0 -0
  506. data/lib/us_core_test_kit/must_support_test.rb +47 -21
  507. data/lib/us_core_test_kit/reference_resolution_test.rb +13 -2
  508. data/lib/us_core_test_kit/search_test.rb +17 -1
  509. data/lib/us_core_test_kit/version.rb +1 -1
  510. data/lib/us_core_test_kit.rb +1 -0
  511. metadata +463 -2
@@ -0,0 +1,374 @@
1
+ ---
2
+ :name: us_core_condition_encounter_diagnosis
3
+ :class_name: USCorev501ConditionEncounterDiagnosisSequence
4
+ :version: v5.0.1
5
+ :reformatted_version: v501
6
+ :resource: Condition
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis
8
+ :profile_name: US Core Condition Encounter Diagnosis Profile
9
+ :profile_version: 5.0.1
10
+ :title: Condition Encounter Diagnosis
11
+ :short_description: Verify support for the server capabilities required by the US
12
+ Core Condition Encounter Diagnosis 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
+ - patient
36
+ :expectation: SHALL
37
+ :names_not_must_support_or_mandatory: []
38
+ :must_support_or_mandatory: true
39
+ - :expectation: SHOULD
40
+ :names:
41
+ - patient
42
+ - abatement-date
43
+ :names_not_must_support_or_mandatory: []
44
+ :must_support_or_mandatory: true
45
+ - :expectation: SHOULD
46
+ :names:
47
+ - patient
48
+ - asserted-date
49
+ :names_not_must_support_or_mandatory:
50
+ - asserted-date
51
+ :must_support_or_mandatory: false
52
+ - :expectation: SHOULD
53
+ :names:
54
+ - patient
55
+ - code
56
+ :names_not_must_support_or_mandatory: []
57
+ :must_support_or_mandatory: true
58
+ - :expectation: SHOULD
59
+ :names:
60
+ - patient
61
+ - category
62
+ - encounter
63
+ :names_not_must_support_or_mandatory: []
64
+ :must_support_or_mandatory: true
65
+ - :expectation: SHOULD
66
+ :names:
67
+ - patient
68
+ - category
69
+ :names_not_must_support_or_mandatory: []
70
+ :must_support_or_mandatory: true
71
+ - :expectation: SHOULD
72
+ :names:
73
+ - patient
74
+ - recorded-date
75
+ :names_not_must_support_or_mandatory: []
76
+ :must_support_or_mandatory: true
77
+ - :expectation: SHOULD
78
+ :names:
79
+ - patient
80
+ - onset-date
81
+ :names_not_must_support_or_mandatory: []
82
+ :must_support_or_mandatory: true
83
+ - :expectation: SHOULD
84
+ :names:
85
+ - patient
86
+ - clinical-status
87
+ :names_not_must_support_or_mandatory: []
88
+ :must_support_or_mandatory: true
89
+ :search_definitions:
90
+ :patient:
91
+ :paths:
92
+ - subject
93
+ :full_paths:
94
+ - Condition.subject
95
+ :comparators: {}
96
+ :values: []
97
+ :type: Reference
98
+ :contains_multiple: false
99
+ :multiple_or: MAY
100
+ :abatement-date:
101
+ :paths:
102
+ - abatementDateTime
103
+ - abatementPeriod
104
+ :full_paths:
105
+ - Condition.abatementDateTime
106
+ - Condition.abatementPeriod
107
+ :comparators:
108
+ :eq: MAY
109
+ :ne: MAY
110
+ :gt: SHALL
111
+ :ge: SHALL
112
+ :lt: SHALL
113
+ :le: SHALL
114
+ :sa: MAY
115
+ :eb: MAY
116
+ :ap: MAY
117
+ :values: []
118
+ :type: date
119
+ :contains_multiple: false
120
+ :multiple_or: MAY
121
+ :asserted-date:
122
+ :paths:
123
+ - extension
124
+ :full_paths:
125
+ - Condition.extension
126
+ :comparators:
127
+ :eq: MAY
128
+ :ne: MAY
129
+ :gt: SHALL
130
+ :ge: SHALL
131
+ :lt: SHALL
132
+ :le: SHALL
133
+ :sa: MAY
134
+ :eb: MAY
135
+ :ap: MAY
136
+ :values: []
137
+ :type: Extension
138
+ :contains_multiple: true
139
+ :multiple_or: MAY
140
+ :code:
141
+ :paths:
142
+ - code
143
+ :full_paths:
144
+ - Condition.code
145
+ :comparators: {}
146
+ :values:
147
+ - '160245001'
148
+ :type: CodeableConcept
149
+ :contains_multiple: false
150
+ :multiple_or: MAY
151
+ :category:
152
+ :paths:
153
+ - category
154
+ :full_paths:
155
+ - Condition.category
156
+ :comparators: {}
157
+ :values:
158
+ - encounter-diagnosis
159
+ :type: CodeableConcept
160
+ :contains_multiple: true
161
+ :multiple_or: MAY
162
+ :encounter:
163
+ :paths:
164
+ - encounter
165
+ :full_paths:
166
+ - Condition.encounter
167
+ :comparators: {}
168
+ :values: []
169
+ :type: Reference
170
+ :contains_multiple: false
171
+ :multiple_or: MAY
172
+ :recorded-date:
173
+ :paths:
174
+ - recordedDate
175
+ :full_paths:
176
+ - Condition.recordedDate
177
+ :comparators:
178
+ :eq: MAY
179
+ :ne: MAY
180
+ :gt: SHALL
181
+ :ge: SHALL
182
+ :lt: SHALL
183
+ :le: SHALL
184
+ :sa: MAY
185
+ :eb: MAY
186
+ :ap: MAY
187
+ :values: []
188
+ :type: dateTime
189
+ :contains_multiple: false
190
+ :multiple_or: MAY
191
+ :onset-date:
192
+ :paths:
193
+ - onsetDateTime
194
+ - onsetPeriod
195
+ :full_paths:
196
+ - Condition.onsetDateTime
197
+ - Condition.onsetPeriod
198
+ :comparators:
199
+ :eq: MAY
200
+ :ne: MAY
201
+ :gt: SHALL
202
+ :ge: SHALL
203
+ :lt: SHALL
204
+ :le: SHALL
205
+ :sa: MAY
206
+ :eb: MAY
207
+ :ap: MAY
208
+ :values: []
209
+ :type: date
210
+ :contains_multiple: false
211
+ :multiple_or: MAY
212
+ :clinical-status:
213
+ :paths:
214
+ - clinicalStatus
215
+ :full_paths:
216
+ - Condition.clinicalStatus
217
+ :comparators: {}
218
+ :values:
219
+ - active
220
+ - recurrence
221
+ - relapse
222
+ - inactive
223
+ - remission
224
+ - resolved
225
+ :type: CodeableConcept
226
+ :contains_multiple: false
227
+ :multiple_or: MAY
228
+ :include_params: []
229
+ :revincludes:
230
+ - Provenance:target
231
+ :required_concepts:
232
+ - clinicalStatus
233
+ - verificationStatus
234
+ :must_supports:
235
+ :extensions:
236
+ - :id: Condition.extension:assertedDate
237
+ :url: http://hl7.org/fhir/StructureDefinition/condition-assertedDate
238
+ :slices:
239
+ - :name: Condition.category:us-core
240
+ :path: category
241
+ :discriminator:
242
+ :type: patternCodeableConcept
243
+ :path: ''
244
+ :code: encounter-diagnosis
245
+ :system: http://terminology.hl7.org/CodeSystem/condition-category
246
+ :elements:
247
+ - :path: clinicalStatus
248
+ - :path: verificationStatus
249
+ - :path: category
250
+ - :path: code
251
+ - :path: subject
252
+ :types:
253
+ - Reference
254
+ - :path: encounter
255
+ :types:
256
+ - Reference
257
+ - :path: onsetDateTime
258
+ :original_path: onset[x]
259
+ - :path: abatementDateTime
260
+ :original_path: abatement[x]
261
+ - :path: recordedDate
262
+ :choices:
263
+ - :paths:
264
+ - onsetDateTime
265
+ :extension_ids:
266
+ - Condition.extension:assertedDate
267
+ :mandatory_elements:
268
+ - Condition.category
269
+ - Condition.code
270
+ - Condition.subject
271
+ :bindings:
272
+ - :type: code
273
+ :strength: preferred
274
+ :system: http://hl7.org/fhir/ValueSet/languages
275
+ :path: language
276
+ - :type: CodeableConcept
277
+ :strength: required
278
+ :system: http://hl7.org/fhir/ValueSet/condition-clinical
279
+ :path: clinicalStatus
280
+ - :type: CodeableConcept
281
+ :strength: required
282
+ :system: http://hl7.org/fhir/ValueSet/condition-ver-status
283
+ :path: verificationStatus
284
+ - :type: CodeableConcept
285
+ :strength: extensible
286
+ :system: http://hl7.org/fhir/ValueSet/condition-category
287
+ :path: category
288
+ - :type: CodeableConcept
289
+ :strength: extensible
290
+ :system: http://hl7.org/fhir/ValueSet/condition-category
291
+ :path: category
292
+ - :type: CodeableConcept
293
+ :strength: preferred
294
+ :system: http://hl7.org/fhir/ValueSet/condition-severity
295
+ :path: severity
296
+ - :type: CodeableConcept
297
+ :strength: extensible
298
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
299
+ :path: code
300
+ - :type: CodeableConcept
301
+ :strength: example
302
+ :system: http://hl7.org/fhir/ValueSet/body-site
303
+ :path: bodySite
304
+ - :type: CodeableConcept
305
+ :strength: example
306
+ :system: http://hl7.org/fhir/ValueSet/condition-stage
307
+ :path: stage.summary
308
+ - :type: CodeableConcept
309
+ :strength: example
310
+ :system: http://hl7.org/fhir/ValueSet/condition-stage-type
311
+ :path: stage.type
312
+ - :type: CodeableConcept
313
+ :strength: example
314
+ :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom
315
+ :path: evidence.code
316
+ :references:
317
+ - :path: Condition.subject
318
+ :profiles:
319
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
320
+ - :path: Condition.encounter
321
+ :profiles:
322
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
323
+ - :path: Condition.recorder
324
+ :profiles:
325
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
326
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
327
+ - http://hl7.org/fhir/StructureDefinition/Patient
328
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
329
+ - :path: Condition.asserter
330
+ :profiles:
331
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
332
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
333
+ - http://hl7.org/fhir/StructureDefinition/Patient
334
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
335
+ - :path: Condition.stage.assessment
336
+ :profiles:
337
+ - http://hl7.org/fhir/StructureDefinition/ClinicalImpression
338
+ - http://hl7.org/fhir/StructureDefinition/DiagnosticReport
339
+ - http://hl7.org/fhir/StructureDefinition/Observation
340
+ - :path: Condition.evidence.detail
341
+ :profiles:
342
+ - http://hl7.org/fhir/StructureDefinition/Resource
343
+ :tests:
344
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_search_test
345
+ :file_name: condition_encounter_diagnosis_patient_search_test.rb
346
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_abatement_date_search_test
347
+ :file_name: condition_encounter_diagnosis_patient_abatement_date_search_test.rb
348
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_asserted_date_search_test
349
+ :file_name: condition_encounter_diagnosis_patient_asserted_date_search_test.rb
350
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_code_search_test
351
+ :file_name: condition_encounter_diagnosis_patient_code_search_test.rb
352
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_category_encounter_search_test
353
+ :file_name: condition_encounter_diagnosis_patient_category_encounter_search_test.rb
354
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_category_search_test
355
+ :file_name: condition_encounter_diagnosis_patient_category_search_test.rb
356
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_recorded_date_search_test
357
+ :file_name: condition_encounter_diagnosis_patient_recorded_date_search_test.rb
358
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_onset_date_search_test
359
+ :file_name: condition_encounter_diagnosis_patient_onset_date_search_test.rb
360
+ - :id: us_core_v501_condition_encounter_diagnosis_patient_clinical_status_search_test
361
+ :file_name: condition_encounter_diagnosis_patient_clinical_status_search_test.rb
362
+ - :id: us_core_v501_condition_encounter_diagnosis_read_test
363
+ :file_name: condition_encounter_diagnosis_read_test.rb
364
+ - :id: us_core_v501_condition_encounter_diagnosis_provenance_revinclude_search_test
365
+ :file_name: condition_encounter_diagnosis_provenance_revinclude_search_test.rb
366
+ - :id: us_core_v501_condition_encounter_diagnosis_validation_test
367
+ :file_name: condition_encounter_diagnosis_validation_test.rb
368
+ - :id: us_core_v501_condition_encounter_diagnosis_must_support_test
369
+ :file_name: condition_encounter_diagnosis_must_support_test.rb
370
+ - :id: us_core_v501_condition_encounter_diagnosis_reference_resolution_test
371
+ :file_name: condition_encounter_diagnosis_reference_resolution_test.rb
372
+ :id: us_core_v501_condition_encounter_diagnosis
373
+ :file_name: condition_encounter_diagnosis_group.rb
374
+ :delayed_references: []
@@ -0,0 +1,102 @@
1
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_search_test'
2
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_abatement_date_search_test'
3
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_asserted_date_search_test'
4
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_code_search_test'
5
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_encounter_search_test'
6
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_category_search_test'
7
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_recorded_date_search_test'
8
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_onset_date_search_test'
9
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_patient_clinical_status_search_test'
10
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_read_test'
11
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_provenance_revinclude_search_test'
12
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_validation_test'
13
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_must_support_test'
14
+ require_relative 'condition_encounter_diagnosis/condition_encounter_diagnosis_reference_resolution_test'
15
+
16
+ module USCoreTestKit
17
+ module USCoreV501
18
+ class ConditionEncounterDiagnosisGroup < Inferno::TestGroup
19
+ title 'Condition Encounter Diagnosis Tests'
20
+ short_description 'Verify support for the server capabilities required by the US Core Condition Encounter Diagnosis Profile.'
21
+ description %(
22
+ # Background
23
+
24
+ The US Core Condition Encounter Diagnosis sequence verifies that the system under test is
25
+ able to provide correct responses for Condition queries. These queries
26
+ must contain resources conforming to the US Core Condition Encounter Diagnosis Profile as
27
+ specified in the US Core v5.0.1 Implementation Guide.
28
+
29
+ # Testing Methodology
30
+ ## Searching
31
+ This test sequence will first perform each required search associated
32
+ with this resource. This sequence will perform searches with the
33
+ following parameters:
34
+
35
+ * patient
36
+
37
+ ### Search Parameters
38
+ The first search uses the selected patient(s) from the prior launch
39
+ sequence. Any subsequent searches will look for its parameter values
40
+ from the results of the first search. For example, the `identifier`
41
+ search in the patient sequence is performed by looking for an existing
42
+ `Patient.identifier` from any of the resources returned in the `_id`
43
+ search. If a value cannot be found this way, the search is skipped.
44
+
45
+ ### Search Validation
46
+ Inferno will retrieve up to the first 20 bundle pages of the reply for
47
+ Condition resources with category `encounter-diagnosis` and save them for subsequent tests. Each of
48
+ these resources is then checked to see if it matches the searched
49
+ parameters in accordance with [FHIR search
50
+ guidelines](https://www.hl7.org/fhir/search.html). The test will fail,
51
+ for example, if a Patient search for `gender=male` returns a `female`
52
+ patient.
53
+
54
+
55
+ ## Must Support
56
+ Each profile contains elements marked as "must support". This test
57
+ sequence expects to see each of these elements at least once. If at
58
+ least one cannot be found, the test will fail. The test will look
59
+ through the Condition resources found in the first test for these
60
+ elements.
61
+
62
+ ## Profile Validation
63
+ Each resource returned from the first search is expected to conform to
64
+ the [US Core Condition Encounter Diagnosis Profile](http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis). Each element is checked against
65
+ teminology binding and cardinality requirements.
66
+
67
+ Elements with a required binding are validated against their bound
68
+ ValueSet. If the code/system in the element is not part of the ValueSet,
69
+ then the test will fail.
70
+
71
+ ## Reference Validation
72
+ At least one instance of each external reference in elements marked as
73
+ "must support" within the resources provided by the system must resolve.
74
+ The test will attempt to read each reference found and will fail if no
75
+ read succeeds.
76
+
77
+ )
78
+
79
+ id :us_core_v501_condition_encounter_diagnosis
80
+ run_as_group
81
+
82
+ def self.metadata
83
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'condition_encounter_diagnosis', 'metadata.yml')))
84
+ end
85
+
86
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_search_test
87
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_abatement_date_search_test
88
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_asserted_date_search_test
89
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_code_search_test
90
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_category_encounter_search_test
91
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_category_search_test
92
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_recorded_date_search_test
93
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_onset_date_search_test
94
+ test from: :us_core_v501_condition_encounter_diagnosis_patient_clinical_status_search_test
95
+ test from: :us_core_v501_condition_encounter_diagnosis_read_test
96
+ test from: :us_core_v501_condition_encounter_diagnosis_provenance_revinclude_search_test
97
+ test from: :us_core_v501_condition_encounter_diagnosis_validation_test
98
+ test from: :us_core_v501_condition_encounter_diagnosis_must_support_test
99
+ test from: :us_core_v501_condition_encounter_diagnosis_reference_resolution_test
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,47 @@
1
+ require_relative '../../../must_support_test'
2
+
3
+ module USCoreTestKit
4
+ module USCoreV501
5
+ class ConditionProblemsHealthConcernsMustSupportTest < Inferno::Test
6
+ include USCoreTestKit::MustSupportTest
7
+
8
+ title 'All must support elements are provided in the Condition 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 Condition resources
13
+ found previously for the following must support elements:
14
+
15
+ * Condition.abatementDateTime
16
+ * Condition.category
17
+ * Condition.category:sdoh
18
+ * Condition.category:us-core
19
+ * Condition.clinicalStatus
20
+ * Condition.code
21
+ * Condition.extension:assertedDate
22
+ * Condition.onsetDateTime
23
+ * Condition.recordedDate
24
+ * Condition.subject
25
+ * Condition.verificationStatus
26
+ )
27
+
28
+ id :us_core_v501_condition_problems_health_concerns_must_support_test
29
+
30
+ def resource_type
31
+ 'Condition'
32
+ end
33
+
34
+ def self.metadata
35
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
36
+ end
37
+
38
+ def scratch_resources
39
+ scratch[:condition_problems_health_concerns_resources] ||= {}
40
+ end
41
+
42
+ run do
43
+ perform_must_support_test(all_scratch_resources)
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,49 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class ConditionProblemsHealthConcernsPatientAbatementDateSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Condition search by patient + abatement-date'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ patient + abatement-date on the Condition 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_v501_condition_problems_health_concerns_patient_abatement_date_search_test
21
+ optional
22
+
23
+ input :patient_ids,
24
+ title: 'Patient IDs',
25
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
26
+
27
+ def self.properties
28
+ @properties ||= SearchTestProperties.new(
29
+ resource_type: 'Condition',
30
+ search_param_names: ['patient', 'abatement-date'],
31
+ possible_status_search: true,
32
+ params_with_comparators: ['abatement-date']
33
+ )
34
+ end
35
+
36
+ def self.metadata
37
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
38
+ end
39
+
40
+ def scratch_resources
41
+ scratch[:condition_problems_health_concerns_resources] ||= {}
42
+ end
43
+
44
+ run do
45
+ run_search_test
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,49 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class ConditionProblemsHealthConcernsPatientAssertedDateSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Condition search by patient + asserted-date'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ patient + asserted-date on the Condition 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_v501_condition_problems_health_concerns_patient_asserted_date_search_test
21
+ optional
22
+
23
+ input :patient_ids,
24
+ title: 'Patient IDs',
25
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
26
+
27
+ def self.properties
28
+ @properties ||= SearchTestProperties.new(
29
+ resource_type: 'Condition',
30
+ search_param_names: ['patient', 'asserted-date'],
31
+ possible_status_search: true,
32
+ params_with_comparators: ['asserted-date']
33
+ )
34
+ end
35
+
36
+ def self.metadata
37
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
38
+ end
39
+
40
+ def scratch_resources
41
+ scratch[:condition_problems_health_concerns_resources] ||= {}
42
+ end
43
+
44
+ run do
45
+ run_search_test
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,49 @@
1
+ require_relative '../../../search_test'
2
+ require_relative '../../../generator/group_metadata'
3
+
4
+ module USCoreTestKit
5
+ module USCoreV501
6
+ class ConditionProblemsHealthConcernsPatientCategoryEncounterSearchTest < Inferno::Test
7
+ include USCoreTestKit::SearchTest
8
+
9
+ title 'Server returns valid results for Condition search by patient + category + encounter'
10
+ description %(
11
+ A server SHOULD support searching by
12
+ patient + category + encounter on the Condition 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_v501_condition_problems_health_concerns_patient_category_encounter_search_test
21
+ optional
22
+
23
+ input :patient_ids,
24
+ title: 'Patient IDs',
25
+ description: 'Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements'
26
+
27
+ def self.properties
28
+ @properties ||= SearchTestProperties.new(
29
+ resource_type: 'Condition',
30
+ search_param_names: ['patient', 'category', 'encounter'],
31
+ possible_status_search: true,
32
+ token_search_params: ['category']
33
+ )
34
+ end
35
+
36
+ def self.metadata
37
+ @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
38
+ end
39
+
40
+ def scratch_resources
41
+ scratch[:condition_problems_health_concerns_resources] ||= {}
42
+ end
43
+
44
+ run do
45
+ run_search_test
46
+ end
47
+ end
48
+ end
49
+ end