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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 827607a65eeb7956db852bbf500ad1d9d55f03403e6eb9075d2adb6186e69b2f
4
- data.tar.gz: efabaf62e09af2fed1de8a5e15e5bcc104ff744dbcfe4976577774a92700a700
3
+ metadata.gz: bdc4fea5a8e94c9dde41b1c053c16721409f58b6d37f4e42fa36e858aec9e7c5
4
+ data.tar.gz: 1727d350f98467cb1f8ba4900952490544181b831c2c73dba20951555b362a01
5
5
  SHA512:
6
- metadata.gz: 07a7bffbc53564983eb5c28944f98983108abf34be06f96eafff061edfc6bc4f800db1634b7e2414d452c063e926a97d834429c762825c0d72dd83eae58eb3be
7
- data.tar.gz: 4dcfe3c97fb35c3319f466936a3c09ea84d9c887b02d487ce1b0a14de2e999c0097b9d6d55e9e319f10f102693b0e58d8ccdcdb26861e35b51c39cdb35a3c931
6
+ metadata.gz: 74945726f34b89deadf829a77b2bf1e0bb7efb95e0c0c915768aa1db8125c18288412d93d6b111b518d7409fafc4dd064167e21d36696316a04994748f814a3c
7
+ data.tar.gz: 5d0d727278877a6c4a841740d189745c70da31487296e3e8e1c2b001bb8c5c519a37093d8b0f68c440cbf3a8d21989dacc42175163f38c8648a8aed78bfee0fe
@@ -0,0 +1,131 @@
1
+ require 'tls_test_kit'
2
+ require_relative '../capability_statement/conformance_support_test'
3
+ require_relative '../capability_statement/fhir_version_test'
4
+ require_relative '../capability_statement/json_support_test'
5
+ require_relative '../capability_statement/profile_support_test'
6
+ require_relative '../capability_statement/instantiate_test'
7
+
8
+ module USCoreTestKit
9
+ module USCoreV600
10
+ class CapabilityStatementGroup < Inferno::TestGroup
11
+ id :us_core_v600_capability_statement
12
+ title 'Capability Statement'
13
+ short_description 'Retrieve information about supported server functionality using the FHIR capabilties interaction.'
14
+ description %(
15
+ # Background
16
+ The #{title} Sequence tests a FHIR server's ability to formally describe
17
+ features supported by the API by using the [Capability
18
+ Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
19
+ The features described in the Capability Statement must be consistent with
20
+ the required capabilities of a US Core server. The Capability Statement
21
+ must also advertise the location of the required SMART on FHIR endpoints
22
+ that enable authenticated access to the FHIR server resources.
23
+
24
+ The Capability Statement resource allows clients to determine which
25
+ resources are supported by a FHIR Server. Not all servers are expected to
26
+ implement all possible queries and data elements described in the US Core
27
+ API. For example, the US Core Implementation Guide requires that the
28
+ Patient resource and only one additional resource profile from the US Core
29
+ Profiles.
30
+
31
+ # Test Methodology
32
+
33
+ This test sequence accesses the server endpoint at `/metadata` using a
34
+ `GET` request. It parses the Capability Statement and verifies that:
35
+
36
+ * The endpoint is secured by an appropriate cryptographic protocol
37
+ * The resource matches the expected FHIR version defined by the tests
38
+ * The resource is a valid FHIR resource
39
+ * The server claims support for JSON encoding of resources
40
+ * The server claims support for the Patient resource and one other
41
+ resource
42
+
43
+ It collects the following information that is saved in the testing session
44
+ for use by later tests:
45
+
46
+ * List of resources supported
47
+ * List of queries parameters supported
48
+ )
49
+ run_as_group
50
+
51
+ PROFILES = {
52
+ 'AllergyIntolerance' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance'].freeze,
53
+ 'CarePlan' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan'].freeze,
54
+ 'CareTeam' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam'].freeze,
55
+ 'Condition' => [
56
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-encounter-diagnosis',
57
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns'
58
+ ].freeze,
59
+ 'Coverage' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-coverage'].freeze,
60
+ 'Device' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device'].freeze,
61
+ 'DiagnosticReport' => [
62
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab',
63
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note'
64
+ ].freeze,
65
+ 'DocumentReference' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference'].freeze,
66
+ 'Encounter' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter'].freeze,
67
+ 'Goal' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal'].freeze,
68
+ 'Immunization' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization'].freeze,
69
+ 'Location' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'].freeze,
70
+ 'Medication' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication'].freeze,
71
+ 'MedicationDispense' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense'].freeze,
72
+ 'MedicationRequest' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest'].freeze,
73
+ 'Observation' => [
74
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent',
75
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment',
76
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation',
77
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs',
78
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry',
79
+ 'http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile',
80
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference',
81
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure',
82
+ 'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age',
83
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height',
84
+ 'http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height',
85
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate',
86
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight',
87
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate',
88
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi',
89
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature',
90
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation',
91
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus',
92
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result',
93
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab',
94
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation',
95
+ 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancystatus'
96
+ ].freeze,
97
+ 'Organization' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization'].freeze,
98
+ 'Patient' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient'].freeze,
99
+ 'Practitioner' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner'].freeze,
100
+ 'PractitionerRole' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'].freeze,
101
+ 'Procedure' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure'].freeze,
102
+ 'Provenance' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance'].freeze,
103
+ 'RelatedPerson' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson'].freeze,
104
+ 'ServiceRequest' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest'].freeze,
105
+ 'Specimen' => ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen'].freeze
106
+ }.freeze
107
+
108
+ test from: :tls_version_test,
109
+ id: :standalone_auth_tls,
110
+ title: 'FHIR server secured by transport layer security',
111
+ description: %(
112
+ Systems **SHALL** use TLS version 1.2 or higher for all transmissions
113
+ not taking place over a secure network connection.
114
+ ),
115
+ config: {
116
+ options: { minimum_allowed_version: OpenSSL::SSL::TLS1_2_VERSION }
117
+ }
118
+ test from: :us_core_conformance_support
119
+ test from: :us_core_fhir_version
120
+ test from: :us_core_json_support
121
+
122
+ test from: :us_core_profile_support do
123
+ config(
124
+ options: { us_core_resources: PROFILES.keys }
125
+ )
126
+ end
127
+
128
+ test from: :us_core_instantiate
129
+ end
130
+ end
131
+ end
@@ -6,7 +6,7 @@ module USCoreTestKit
6
6
  elements = Array.wrap(elements)
7
7
  return elements if path.blank?
8
8
 
9
- paths = path.split('.')
9
+ paths = path.split(/(?<!hl7)\./)
10
10
  segment = paths.first
11
11
  remaining_path = paths.drop(1).join('.')
12
12
 
@@ -33,8 +33,8 @@ module USCoreTestKit
33
33
  return elements.first
34
34
  end
35
35
 
36
- path_segments = path.split('.')
37
- segment = path_segments.shift.delete_suffix('[x]').to_sym
36
+ path_segments = path.split(/(?<!hl7)\./)
37
+ segment = path_segments.shift.delete_suffix('[x]').gsub(/^class$/, 'local_class').to_sym
38
38
 
39
39
  no_elements_present =
40
40
  elements.none? do |element|
@@ -63,7 +63,13 @@ module USCoreTestKit
63
63
  end
64
64
 
65
65
  def get_next_value(element, property)
66
- element.send(property)
66
+ extension_url = property[/(?<=where\(url=').*(?='\))/]
67
+
68
+ if extension_url.present?
69
+ element.url == extension_url ? element : nil
70
+ else
71
+ element.send(property)
72
+ end
67
73
  rescue NoMethodError
68
74
  nil
69
75
  end
@@ -132,7 +132,8 @@
132
132
  :full_paths:
133
133
  - DocumentReference.category
134
134
  :comparators: {}
135
- :values: []
135
+ :values:
136
+ - clinical-note
136
137
  :type: CodeableConcept
137
138
  :contains_multiple: true
138
139
  :multiple_or: MAY
@@ -1400,7 +1400,8 @@
1400
1400
  :full_paths:
1401
1401
  - DocumentReference.category
1402
1402
  :comparators: {}
1403
- :values: []
1403
+ :values:
1404
+ - clinical-note
1404
1405
  :type: CodeableConcept
1405
1406
  :contains_multiple: true
1406
1407
  :multiple_or: MAY
@@ -6040,9 +6041,17 @@
6040
6041
  - :path: address.city
6041
6042
  - :path: address.state
6042
6043
  - :path: address.postalCode
6043
- - :path: address.period
6044
6044
  - :path: communication
6045
6045
  - :path: communication.language
6046
+ :choices:
6047
+ - :paths:
6048
+ - address.period.end
6049
+ - address.use
6050
+ :uscdi_only: true
6051
+ - :paths:
6052
+ - name.period.end
6053
+ - name.use
6054
+ :uscdi_only: true
6046
6055
  :mandatory_elements:
6047
6056
  - Patient.identifier
6048
6057
  - Patient.identifier.system
@@ -171,9 +171,17 @@
171
171
  - :path: address.city
172
172
  - :path: address.state
173
173
  - :path: address.postalCode
174
- - :path: address.period
175
174
  - :path: communication
176
175
  - :path: communication.language
176
+ :choices:
177
+ - :paths:
178
+ - address.period.end
179
+ - address.use
180
+ :uscdi_only: true
181
+ - :paths:
182
+ - name.period.end
183
+ - name.use
184
+ :uscdi_only: true
177
185
  :mandatory_elements:
178
186
  - Patient.identifier
179
187
  - Patient.identifier.system
@@ -15,7 +15,6 @@ module USCoreTestKit
15
15
  * Patient.address
16
16
  * Patient.address.city
17
17
  * Patient.address.line
18
- * Patient.address.period
19
18
  * Patient.address.postalCode
20
19
  * Patient.address.state
21
20
  * Patient.birthDate
@@ -35,6 +34,11 @@ module USCoreTestKit
35
34
  * Patient.telecom.system
36
35
  * Patient.telecom.use
37
36
  * Patient.telecom.value
37
+
38
+ For ONC USCDI requirements, each Patient must support the following additional elements:
39
+
40
+ * Patient.address.period.end or Patient.address.use
41
+ * Patient.name.period.end or Patient.name.use
38
42
  )
39
43
 
40
44
  id :us_core_v311_patient_must_support_test
@@ -42,10 +42,11 @@ module USCoreTestKit
42
42
  The US Core Test Kit tests systems for their conformance to the [US Core
43
43
  Implementation Guide](http://hl7.org/fhir/us/core/STU3.1.1).
44
44
 
45
- Resources are validated with the FHIR Java validator using `tx.fhir.org`
46
- as the terminology server. Users should note that the although the ONC
47
- Certification (g)(10) Standardized API Test Suite includes tests from
48
- this suite, [it uses a different method to perform terminology
45
+ HL7® FHIR® resources are validated with the Java validator using
46
+ `tx.fhir.org` as the terminology server. Users should note that the
47
+ although the ONC Certification (g)(10) Standardized API Test Suite
48
+ includes tests from this suite, [it uses a different method to perform
49
+ terminology
49
50
  validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
50
51
  As a result, resource validation results may not be consistent between
51
52
  the US Core Test Suite and the ONC Certification (g)(10) Standardized
@@ -61,6 +62,8 @@ module USCoreTestKit
61
62
  /Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
62
63
  ].freeze
63
64
 
65
+ VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
66
+
64
67
  def self.metadata
65
68
  @metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
66
69
  Generator::GroupMetadata.new(raw_metadata)
@@ -69,8 +72,11 @@ module USCoreTestKit
69
72
 
70
73
  validator do
71
74
  url ENV.fetch('V311_VALIDATOR_URL', 'http://validator_service:4567')
75
+ message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
76
+
72
77
  exclude_message do |message|
73
- VALIDATION_MESSAGE_FILTERS.any? { |filter| filter.match? message.message }
78
+
79
+ message_filters.any? { |filter| filter.match? message.message }
74
80
  end
75
81
 
76
82
  perform_additional_validation do |resource, profile_url|
@@ -102,7 +102,8 @@
102
102
  :full_paths:
103
103
  - DocumentReference.category
104
104
  :comparators: {}
105
- :values: []
105
+ :values:
106
+ - clinical-note
106
107
  :type: CodeableConcept
107
108
  :contains_multiple: true
108
109
  :multiple_or: MAY
@@ -1388,7 +1388,8 @@
1388
1388
  :full_paths:
1389
1389
  - DocumentReference.category
1390
1390
  :comparators: {}
1391
- :values: []
1391
+ :values:
1392
+ - clinical-note
1392
1393
  :type: CodeableConcept
1393
1394
  :contains_multiple: true
1394
1395
  :multiple_or: MAY
@@ -6543,17 +6544,23 @@
6543
6544
  - :path: address.city
6544
6545
  - :path: address.state
6545
6546
  - :path: address.postalCode
6546
- - :path: address.period
6547
6547
  - :path: communication.language
6548
6548
  :uscdi_only: true
6549
6549
  - :path: name.suffix
6550
6550
  :uscdi_only: true
6551
- - :path: name.period.end
6552
- :uscdi_only: true
6553
6551
  - :path: telecom
6554
6552
  :uscdi_only: true
6555
6553
  - :path: communication
6556
6554
  :uscdi_only: true
6555
+ :choices:
6556
+ - :paths:
6557
+ - address.period.end
6558
+ - address.use
6559
+ :uscdi_only: true
6560
+ - :paths:
6561
+ - name.period.end
6562
+ - name.use
6563
+ :uscdi_only: true
6557
6564
  :mandatory_elements:
6558
6565
  - Patient.identifier
6559
6566
  - Patient.identifier.system
@@ -176,17 +176,23 @@
176
176
  - :path: address.city
177
177
  - :path: address.state
178
178
  - :path: address.postalCode
179
- - :path: address.period
180
179
  - :path: communication.language
181
180
  :uscdi_only: true
182
181
  - :path: name.suffix
183
182
  :uscdi_only: true
184
- - :path: name.period.end
185
- :uscdi_only: true
186
183
  - :path: telecom
187
184
  :uscdi_only: true
188
185
  - :path: communication
189
186
  :uscdi_only: true
187
+ :choices:
188
+ - :paths:
189
+ - address.period.end
190
+ - address.use
191
+ :uscdi_only: true
192
+ - :paths:
193
+ - name.period.end
194
+ - name.use
195
+ :uscdi_only: true
190
196
  :mandatory_elements:
191
197
  - Patient.identifier
192
198
  - Patient.identifier.system
@@ -15,7 +15,6 @@ module USCoreTestKit
15
15
  * Patient.address
16
16
  * Patient.address.city
17
17
  * Patient.address.line
18
- * Patient.address.period
19
18
  * Patient.address.postalCode
20
19
  * Patient.address.state
21
20
  * Patient.birthDate
@@ -29,12 +28,13 @@ module USCoreTestKit
29
28
 
30
29
  For ONC USCDI requirements, each Patient must support the following additional elements:
31
30
 
31
+ * Patient.address.period.end or Patient.address.use
32
32
  * Patient.communication
33
33
  * Patient.communication.language
34
34
  * Patient.extension:birthsex
35
35
  * Patient.extension:ethnicity
36
36
  * Patient.extension:race
37
- * Patient.name.period.end
37
+ * Patient.name.period.end or Patient.name.use
38
38
  * Patient.name.suffix
39
39
  * Patient.telecom
40
40
  * Patient.telecom.system
@@ -44,10 +44,11 @@ module USCoreTestKit
44
44
  The US Core Test Kit tests systems for their conformance to the [US Core
45
45
  Implementation Guide](http://hl7.org/fhir/us/core/STU4).
46
46
 
47
- Resources are validated with the FHIR Java validator using `tx.fhir.org`
48
- as the terminology server. Users should note that the although the ONC
49
- Certification (g)(10) Standardized API Test Suite includes tests from
50
- this suite, [it uses a different method to perform terminology
47
+ HL7® FHIR® resources are validated with the Java validator using
48
+ `tx.fhir.org` as the terminology server. Users should note that the
49
+ although the ONC Certification (g)(10) Standardized API Test Suite
50
+ includes tests from this suite, [it uses a different method to perform
51
+ terminology
51
52
  validation](https://github.com/onc-healthit/onc-certification-g10-test-kit/wiki/FAQ#q-why-do-some-resources-fail-in-us-core-test-kit-with-terminology-validation-errors).
52
53
  As a result, resource validation results may not be consistent between
53
54
  the US Core Test Suite and the ONC Certification (g)(10) Standardized
@@ -63,6 +64,8 @@ module USCoreTestKit
63
64
  /Provenance.agent\[\d*\]: Rule provenance-1/ #Invalid invariant in US Core v5.0.1
64
65
  ].freeze
65
66
 
67
+ VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
68
+
66
69
  def self.metadata
67
70
  @metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do |raw_metadata|
68
71
  Generator::GroupMetadata.new(raw_metadata)
@@ -71,8 +74,11 @@ module USCoreTestKit
71
74
 
72
75
  validator do
73
76
  url ENV.fetch('V400_VALIDATOR_URL', 'http://validator_service:4567')
77
+ message_filters = VALIDATION_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
78
+
74
79
  exclude_message do |message|
75
- VALIDATION_MESSAGE_FILTERS.any? { |filter| filter.match? message.message }
80
+
81
+ message_filters.any? { |filter| filter.match? message.message }
76
82
  end
77
83
 
78
84
  perform_additional_validation do |resource, profile_url|
@@ -120,9 +120,9 @@
120
120
  :multiple_or: MAY
121
121
  :asserted-date:
122
122
  :paths:
123
- - extension
123
+ - extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
124
124
  :full_paths:
125
- - Condition.extension
125
+ - Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
126
126
  :comparators:
127
127
  :eq: MAY
128
128
  :ne: MAY
@@ -134,8 +134,8 @@
134
134
  :eb: MAY
135
135
  :ap: MAY
136
136
  :values: []
137
- :type: Extension
138
- :contains_multiple: true
137
+ :type: dateTime
138
+ :contains_multiple: false
139
139
  :multiple_or: MAY
140
140
  :code:
141
141
  :paths:
@@ -121,9 +121,9 @@
121
121
  :multiple_or: MAY
122
122
  :asserted-date:
123
123
  :paths:
124
- - extension
124
+ - extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
125
125
  :full_paths:
126
- - Condition.extension
126
+ - Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
127
127
  :comparators:
128
128
  :eq: MAY
129
129
  :ne: MAY
@@ -135,8 +135,8 @@
135
135
  :eb: MAY
136
136
  :ap: MAY
137
137
  :values: []
138
- :type: Extension
139
- :contains_multiple: true
138
+ :type: dateTime
139
+ :contains_multiple: false
140
140
  :multiple_or: MAY
141
141
  :code:
142
142
  :paths:
@@ -102,7 +102,8 @@
102
102
  :full_paths:
103
103
  - DocumentReference.category
104
104
  :comparators: {}
105
- :values: []
105
+ :values:
106
+ - clinical-note
106
107
  :type: CodeableConcept
107
108
  :contains_multiple: true
108
109
  :multiple_or: MAY
@@ -669,9 +669,9 @@
669
669
  :multiple_or: MAY
670
670
  :asserted-date:
671
671
  :paths:
672
- - extension
672
+ - extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
673
673
  :full_paths:
674
- - Condition.extension
674
+ - Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
675
675
  :comparators:
676
676
  :eq: MAY
677
677
  :ne: MAY
@@ -683,8 +683,8 @@
683
683
  :eb: MAY
684
684
  :ap: MAY
685
685
  :values: []
686
- :type: Extension
687
- :contains_multiple: true
686
+ :type: dateTime
687
+ :contains_multiple: false
688
688
  :multiple_or: MAY
689
689
  :code:
690
690
  :paths:
@@ -976,9 +976,9 @@
976
976
  :multiple_or: MAY
977
977
  :asserted-date:
978
978
  :paths:
979
- - extension
979
+ - extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
980
980
  :full_paths:
981
- - Condition.extension
981
+ - Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate').valueDateTime
982
982
  :comparators:
983
983
  :eq: MAY
984
984
  :ne: MAY
@@ -990,8 +990,8 @@
990
990
  :eb: MAY
991
991
  :ap: MAY
992
992
  :values: []
993
- :type: Extension
994
- :contains_multiple: true
993
+ :type: dateTime
994
+ :contains_multiple: false
995
995
  :multiple_or: MAY
996
996
  :code:
997
997
  :paths:
@@ -1871,7 +1871,8 @@
1871
1871
  :full_paths:
1872
1872
  - DocumentReference.category
1873
1873
  :comparators: {}
1874
- :values: []
1874
+ :values:
1875
+ - clinical-note
1875
1876
  :type: CodeableConcept
1876
1877
  :contains_multiple: true
1877
1878
  :multiple_or: MAY
@@ -8780,13 +8781,10 @@
8780
8781
  - :path: address.city
8781
8782
  - :path: address.state
8782
8783
  - :path: address.postalCode
8783
- - :path: address.period
8784
8784
  - :path: communication.language
8785
8785
  :uscdi_only: true
8786
8786
  - :path: name.suffix
8787
8787
  :uscdi_only: true
8788
- - :path: name.period.end
8789
- :uscdi_only: true
8790
8788
  - :path: telecom
8791
8789
  :uscdi_only: true
8792
8790
  - :path: communication
@@ -8797,6 +8795,15 @@
8797
8795
  - :path: name.use
8798
8796
  :fixed_value: old
8799
8797
  :uscdi_only: true
8798
+ :choices:
8799
+ - :paths:
8800
+ - address.period.end
8801
+ - address.use
8802
+ :uscdi_only: true
8803
+ - :paths:
8804
+ - name.period.end
8805
+ - name.use
8806
+ :uscdi_only: true
8800
8807
  :mandatory_elements:
8801
8808
  - Patient.identifier
8802
8809
  - Patient.identifier.system
@@ -9662,7 +9669,8 @@
9662
9669
  :full_paths:
9663
9670
  - QuestionnaireResponse.meta.tag
9664
9671
  :comparators: {}
9665
- :values: []
9672
+ :values:
9673
+ - sdoh
9666
9674
  :type: Coding
9667
9675
  :contains_multiple: true
9668
9676
  :multiple_or: MAY
@@ -9981,6 +9989,11 @@
9981
9989
  - sdoh
9982
9990
  - '386053000'
9983
9991
  - '410606002'
9992
+ - '108252007'
9993
+ - '363679005'
9994
+ - '409063005'
9995
+ - '409073007'
9996
+ - '387713003'
9984
9997
  :type: CodeableConcept
9985
9998
  :contains_multiple: true
9986
9999
  :multiple_or: MAY
@@ -179,13 +179,10 @@
179
179
  - :path: address.city
180
180
  - :path: address.state
181
181
  - :path: address.postalCode
182
- - :path: address.period
183
182
  - :path: communication.language
184
183
  :uscdi_only: true
185
184
  - :path: name.suffix
186
185
  :uscdi_only: true
187
- - :path: name.period.end
188
- :uscdi_only: true
189
186
  - :path: telecom
190
187
  :uscdi_only: true
191
188
  - :path: communication
@@ -196,6 +193,15 @@
196
193
  - :path: name.use
197
194
  :fixed_value: old
198
195
  :uscdi_only: true
196
+ :choices:
197
+ - :paths:
198
+ - address.period.end
199
+ - address.use
200
+ :uscdi_only: true
201
+ - :paths:
202
+ - name.period.end
203
+ - name.use
204
+ :uscdi_only: true
199
205
  :mandatory_elements:
200
206
  - Patient.identifier
201
207
  - Patient.identifier.system
@@ -15,7 +15,6 @@ module USCoreTestKit
15
15
  * Patient.address
16
16
  * Patient.address.city
17
17
  * Patient.address.line
18
- * Patient.address.period
19
18
  * Patient.address.postalCode
20
19
  * Patient.address.state
21
20
  * Patient.birthDate
@@ -29,16 +28,15 @@ module USCoreTestKit
29
28
 
30
29
  For ONC USCDI requirements, each Patient must support the following additional elements:
31
30
 
32
- * Patient.address.use
31
+ * Patient.address.period.end or Patient.address.use
33
32
  * Patient.communication
34
33
  * Patient.communication.language
35
34
  * Patient.extension:birthsex
36
35
  * Patient.extension:ethnicity
37
36
  * Patient.extension:genderIdentity
38
37
  * Patient.extension:race
39
- * Patient.name.period.end
38
+ * Patient.name.period.end or Patient.name.use
40
39
  * Patient.name.suffix
41
- * Patient.name.use
42
40
  * Patient.telecom
43
41
  * Patient.telecom.system
44
42
  * Patient.telecom.use