us_core_test_kit 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/fhir_resource_navigation.rb +76 -8
  3. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/bodyheight_must_support_test.rb +7 -7
  4. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +11 -9
  5. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/bodytemp_must_support_test.rb +7 -7
  6. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +11 -9
  7. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/bodyweight_must_support_test.rb +7 -7
  8. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +11 -9
  9. data/lib/us_core_test_kit/generated/v3.1.1/bp/bp_must_support_test.rb +15 -7
  10. data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +25 -12
  11. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +2 -1
  12. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +2 -1
  13. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +2 -1
  14. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/head_circumference_must_support_test.rb +7 -7
  15. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +11 -9
  16. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/heartrate_must_support_test.rb +7 -7
  17. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +11 -9
  18. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +166 -121
  19. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +2 -1
  20. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +2 -1
  21. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +11 -9
  22. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
  23. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +11 -9
  24. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
  25. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +2 -1
  26. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +6 -6
  27. data/lib/us_core_test_kit/generated/v3.1.1/provenance/provenance_must_support_test.rb +2 -1
  28. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +33 -24
  29. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +21 -14
  30. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +11 -9
  31. data/lib/us_core_test_kit/generated/v3.1.1/resprate/resprate_must_support_test.rb +7 -7
  32. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +2 -1
  33. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +2 -0
  34. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/blood_pressure_must_support_test.rb +15 -8
  35. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +37 -20
  36. data/lib/us_core_test_kit/generated/v4.0.0/bmi/bmi_must_support_test.rb +7 -7
  37. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +13 -9
  38. data/lib/us_core_test_kit/generated/v4.0.0/body_height/body_height_must_support_test.rb +7 -7
  39. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +13 -9
  40. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/body_temperature_must_support_test.rb +7 -7
  41. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +13 -9
  42. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/body_weight_must_support_test.rb +7 -7
  43. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +13 -9
  44. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +4 -1
  45. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +2 -0
  46. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +2 -0
  47. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +2 -0
  48. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +6 -1
  49. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +4 -0
  50. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +4 -0
  51. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +4 -0
  52. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +2 -0
  53. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/head_circumference_must_support_test.rb +7 -7
  54. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +13 -9
  55. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
  56. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +13 -9
  57. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/heart_rate_must_support_test.rb +7 -7
  58. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +13 -9
  59. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +2 -0
  60. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +4 -0
  61. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +275 -146
  62. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +4 -1
  63. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +2 -1
  64. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +13 -9
  65. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
  66. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +13 -9
  67. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
  68. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +2 -1
  69. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +2 -0
  70. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +8 -6
  71. data/lib/us_core_test_kit/generated/v4.0.0/provenance/provenance_must_support_test.rb +2 -1
  72. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +38 -22
  73. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +15 -8
  74. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +13 -9
  75. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
  76. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +8 -3
  77. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +2 -0
  78. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/blood_pressure_must_support_test.rb +18 -8
  79. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +40 -20
  80. data/lib/us_core_test_kit/generated/v5.0.1/bmi/bmi_must_support_test.rb +7 -7
  81. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +13 -9
  82. data/lib/us_core_test_kit/generated/v5.0.1/body_height/body_height_must_support_test.rb +7 -7
  83. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +13 -9
  84. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/body_temperature_must_support_test.rb +7 -7
  85. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +13 -9
  86. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/body_weight_must_support_test.rb +7 -7
  87. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +13 -9
  88. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +4 -1
  89. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +2 -0
  90. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +6 -1
  91. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +6 -2
  92. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +2 -0
  93. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +6 -1
  94. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +6 -1
  95. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +6 -1
  96. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +4 -0
  97. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +2 -0
  98. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/head_circumference_must_support_test.rb +7 -7
  99. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +13 -9
  100. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
  101. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +13 -9
  102. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/heart_rate_must_support_test.rb +7 -7
  103. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +13 -9
  104. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +2 -0
  105. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +6 -1
  106. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +328 -161
  107. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +4 -1
  108. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +4 -1
  109. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +4 -1
  110. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +6 -2
  111. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +4 -1
  112. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +6 -2
  113. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +2 -1
  114. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +13 -9
  115. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
  116. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +13 -9
  117. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
  118. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +2 -1
  119. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +2 -0
  120. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +8 -6
  121. data/lib/us_core_test_kit/generated/v5.0.1/provenance/provenance_must_support_test.rb +2 -1
  122. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +38 -22
  123. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/pulse_oximetry_must_support_test.rb +15 -8
  124. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +4 -1
  125. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +2 -0
  126. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +13 -9
  127. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
  128. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +4 -1
  129. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +8 -3
  130. data/lib/us_core_test_kit/generated/v6.1.0/allergy_intolerance/metadata.yml +2 -0
  131. data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/blood_pressure_must_support_test.rb +18 -8
  132. data/lib/us_core_test_kit/generated/v6.1.0/blood_pressure/metadata.yml +40 -20
  133. data/lib/us_core_test_kit/generated/v6.1.0/bmi/bmi_must_support_test.rb +7 -7
  134. data/lib/us_core_test_kit/generated/v6.1.0/bmi/metadata.yml +17 -13
  135. data/lib/us_core_test_kit/generated/v6.1.0/body_height/body_height_must_support_test.rb +7 -7
  136. data/lib/us_core_test_kit/generated/v6.1.0/body_height/metadata.yml +17 -13
  137. data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/body_temperature_must_support_test.rb +7 -7
  138. data/lib/us_core_test_kit/generated/v6.1.0/body_temperature/metadata.yml +17 -13
  139. data/lib/us_core_test_kit/generated/v6.1.0/body_weight/body_weight_must_support_test.rb +7 -7
  140. data/lib/us_core_test_kit/generated/v6.1.0/body_weight/metadata.yml +17 -13
  141. data/lib/us_core_test_kit/generated/v6.1.0/care_plan/metadata.yml +4 -1
  142. data/lib/us_core_test_kit/generated/v6.1.0/care_team/metadata.yml +2 -0
  143. data/lib/us_core_test_kit/generated/v6.1.0/condition_encounter_diagnosis/metadata.yml +6 -1
  144. data/lib/us_core_test_kit/generated/v6.1.0/condition_problems_health_concerns/metadata.yml +6 -2
  145. data/lib/us_core_test_kit/generated/v6.1.0/coverage/coverage_must_support_test.rb +5 -3
  146. data/lib/us_core_test_kit/generated/v6.1.0/coverage/metadata.yml +13 -7
  147. data/lib/us_core_test_kit/generated/v6.1.0/device/metadata.yml +2 -0
  148. data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_lab/metadata.yml +6 -1
  149. data/lib/us_core_test_kit/generated/v6.1.0/diagnostic_report_note/metadata.yml +6 -1
  150. data/lib/us_core_test_kit/generated/v6.1.0/document_reference/metadata.yml +6 -1
  151. data/lib/us_core_test_kit/generated/v6.1.0/encounter/metadata.yml +4 -0
  152. data/lib/us_core_test_kit/generated/v6.1.0/goal/metadata.yml +2 -0
  153. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/head_circumference_must_support_test.rb +7 -7
  154. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference/metadata.yml +17 -13
  155. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/head_circumference_percentile_must_support_test.rb +7 -7
  156. data/lib/us_core_test_kit/generated/v6.1.0/head_circumference_percentile/metadata.yml +17 -13
  157. data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/heart_rate_must_support_test.rb +7 -7
  158. data/lib/us_core_test_kit/generated/v6.1.0/heart_rate/metadata.yml +17 -13
  159. data/lib/us_core_test_kit/generated/v6.1.0/immunization/metadata.yml +2 -0
  160. data/lib/us_core_test_kit/generated/v6.1.0/medication_dispense/metadata.yml +4 -0
  161. data/lib/us_core_test_kit/generated/v6.1.0/medication_request/metadata.yml +6 -1
  162. data/lib/us_core_test_kit/generated/v6.1.0/metadata.yml +417 -226
  163. data/lib/us_core_test_kit/generated/v6.1.0/observation_clinical_result/metadata.yml +4 -1
  164. data/lib/us_core_test_kit/generated/v6.1.0/observation_lab/metadata.yml +6 -1
  165. data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/metadata.yml +12 -7
  166. data/lib/us_core_test_kit/generated/v6.1.0/observation_occupation/observation_occupation_must_support_test.rb +2 -2
  167. data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancyintent/metadata.yml +8 -3
  168. data/lib/us_core_test_kit/generated/v6.1.0/observation_pregnancystatus/metadata.yml +8 -3
  169. data/lib/us_core_test_kit/generated/v6.1.0/observation_screening_assessment/metadata.yml +6 -2
  170. data/lib/us_core_test_kit/generated/v6.1.0/observation_sexual_orientation/metadata.yml +4 -1
  171. data/lib/us_core_test_kit/generated/v6.1.0/organization/metadata.yml +2 -1
  172. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/metadata.yml +17 -13
  173. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_bmi_for_age/pediatric_bmi_for_age_must_support_test.rb +7 -7
  174. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/metadata.yml +17 -13
  175. data/lib/us_core_test_kit/generated/v6.1.0/pediatric_weight_for_height/pediatric_weight_for_height_must_support_test.rb +7 -7
  176. data/lib/us_core_test_kit/generated/v6.1.0/practitioner/metadata.yml +2 -1
  177. data/lib/us_core_test_kit/generated/v6.1.0/procedure/metadata.yml +2 -0
  178. data/lib/us_core_test_kit/generated/v6.1.0/provenance/metadata.yml +8 -6
  179. data/lib/us_core_test_kit/generated/v6.1.0/provenance/provenance_must_support_test.rb +2 -1
  180. data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/metadata.yml +48 -31
  181. data/lib/us_core_test_kit/generated/v6.1.0/pulse_oximetry/pulse_oximetry_must_support_test.rb +19 -12
  182. data/lib/us_core_test_kit/generated/v6.1.0/questionnaire_response/metadata.yml +2 -0
  183. data/lib/us_core_test_kit/generated/v6.1.0/related_person/metadata.yml +2 -0
  184. data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/metadata.yml +17 -13
  185. data/lib/us_core_test_kit/generated/v6.1.0/respiratory_rate/respiratory_rate_must_support_test.rb +7 -7
  186. data/lib/us_core_test_kit/generated/v6.1.0/service_request/metadata.yml +4 -1
  187. data/lib/us_core_test_kit/generated/v6.1.0/simple_observation/metadata.yml +4 -1
  188. data/lib/us_core_test_kit/generated/v6.1.0/smokingstatus/metadata.yml +6 -2
  189. data/lib/us_core_test_kit/generated/v6.1.0/specimen/metadata.yml +2 -0
  190. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +56 -26
  191. data/lib/us_core_test_kit/generator/must_support_test_generator.rb +1 -1
  192. data/lib/us_core_test_kit/must_support_test.rb +2 -5
  193. data/lib/us_core_test_kit/reference_resolution_test.rb +2 -2
  194. data/lib/us_core_test_kit/version.rb +1 -1
  195. metadata +2 -2
@@ -54,21 +54,24 @@
54
54
  :must_supports:
55
55
  :extensions: []
56
56
  :slices:
57
- - :name: Coverage.identifier:memberid
57
+ - :slice_id: Coverage.identifier:memberid
58
+ :slice_name: memberid
58
59
  :path: identifier
59
60
  :discriminator:
60
61
  :type: patternCodeableConcept
61
62
  :path: type
62
63
  :code: MB
63
64
  :system: http://terminology.hl7.org/CodeSystem/v2-0203
64
- - :name: Coverage.class:group
65
+ - :slice_id: Coverage.class:group
66
+ :slice_name: group
65
67
  :path: class
66
68
  :discriminator:
67
69
  :type: patternCodeableConcept
68
70
  :path: type
69
71
  :code: group
70
72
  :system: http://terminology.hl7.org/CodeSystem/coverage-class
71
- - :name: Coverage.class:plan
73
+ - :slice_id: Coverage.class:plan
74
+ :slice_name: plan
72
75
  :path: class
73
76
  :discriminator:
74
77
  :type: patternCodeableConcept
@@ -77,14 +80,15 @@
77
80
  :system: http://terminology.hl7.org/CodeSystem/coverage-class
78
81
  :elements:
79
82
  - :path: identifier
80
- - :path: identifier.type.coding.code
81
- :fixed_value: MB
83
+ - :path: identifier:memberid.type
82
84
  - :path: status
83
85
  - :path: type
84
86
  - :path: subscriberId
85
87
  - :path: beneficiary
86
88
  :types:
87
89
  - Reference
90
+ :target_profiles:
91
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
88
92
  - :path: relationship
89
93
  - :path: period
90
94
  - :path: payor
@@ -93,8 +97,10 @@
93
97
  :target_profiles:
94
98
  - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
95
99
  - :path: class
96
- - :path: class.value
97
- - :path: class.name
100
+ - :path: class:group.value
101
+ - :path: class:group.name
102
+ - :path: class:plan.value
103
+ - :path: class:plan.name
98
104
  :mandatory_elements:
99
105
  - Coverage.identifier.type
100
106
  - Coverage.status
@@ -104,6 +104,8 @@
104
104
  - :path: patient
105
105
  :types:
106
106
  - Reference
107
+ :target_profiles:
108
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
107
109
  :mandatory_elements:
108
110
  - Device.udiCarrier.deviceIdentifier
109
111
  - Device.deviceName.name
@@ -146,7 +146,8 @@
146
146
  :must_supports:
147
147
  :extensions: []
148
148
  :slices:
149
- - :name: DiagnosticReport.category:LaboratorySlice
149
+ - :slice_id: DiagnosticReport.category:LaboratorySlice
150
+ :slice_name: LaboratorySlice
150
151
  :path: category
151
152
  :discriminator:
152
153
  :type: patternCodeableConcept
@@ -160,6 +161,8 @@
160
161
  - :path: subject
161
162
  :types:
162
163
  - Reference
164
+ :target_profiles:
165
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
163
166
  - :path: effectiveDateTime
164
167
  :original_path: effective[x]
165
168
  - :path: issued
@@ -171,6 +174,8 @@
171
174
  - :path: result
172
175
  :types:
173
176
  - Reference
177
+ :target_profiles:
178
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
174
179
  :mandatory_elements:
175
180
  - DiagnosticReport.status
176
181
  - DiagnosticReport.category
@@ -149,7 +149,8 @@
149
149
  :must_supports:
150
150
  :extensions: []
151
151
  :slices:
152
- - :name: DiagnosticReport.category:us-core
152
+ - :slice_id: DiagnosticReport.category:us-core
153
+ :slice_name: us-core
153
154
  :path: category
154
155
  :discriminator:
155
156
  :type: requiredBinding
@@ -165,9 +166,13 @@
165
166
  - :path: subject
166
167
  :types:
167
168
  - Reference
169
+ :target_profiles:
170
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
168
171
  - :path: encounter
169
172
  :types:
170
173
  - Reference
174
+ :target_profiles:
175
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
171
176
  - :path: effectiveDateTime
172
177
  :original_path: effective[x]
173
178
  - :path: issued
@@ -178,7 +178,8 @@
178
178
  :must_supports:
179
179
  :extensions: []
180
180
  :slices:
181
- - :name: DocumentReference.category:uscore
181
+ - :slice_id: DocumentReference.category:uscore
182
+ :slice_name: uscore
182
183
  :path: category
183
184
  :discriminator:
184
185
  :type: requiredBinding
@@ -194,6 +195,8 @@
194
195
  - :path: subject
195
196
  :types:
196
197
  - Reference
198
+ :target_profiles:
199
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
197
200
  - :path: date
198
201
  - :path: author
199
202
  :types:
@@ -210,6 +213,8 @@
210
213
  - :path: context.encounter
211
214
  :types:
212
215
  - Reference
216
+ :target_profiles:
217
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
213
218
  - :path: context.period
214
219
  :choices:
215
220
  - :paths:
@@ -208,6 +208,8 @@
208
208
  - :path: subject
209
209
  :types:
210
210
  - Reference
211
+ :target_profiles:
212
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
211
213
  - :path: participant
212
214
  - :path: participant.type
213
215
  - :path: participant.period
@@ -233,6 +235,8 @@
233
235
  - :path: serviceProvider
234
236
  :types:
235
237
  - Reference
238
+ :target_profiles:
239
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
236
240
  :choices:
237
241
  - :paths:
238
242
  - reasonCode
@@ -126,6 +126,8 @@
126
126
  - :path: subject
127
127
  :types:
128
128
  - Reference
129
+ :target_profiles:
130
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
129
131
  - :path: startDate
130
132
  :original_path: start[x]
131
133
  - :path: target
@@ -13,19 +13,19 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Observation.category
16
- * Observation.category.coding
17
- * Observation.category.coding.code
18
- * Observation.category.coding.system
19
16
  * Observation.category:VSCat
17
+ * Observation.category:VSCat.coding
18
+ * Observation.category:VSCat.coding.code
19
+ * Observation.category:VSCat.coding.system
20
20
  * Observation.code.coding.code
21
21
  * Observation.effectiveDateTime
22
22
  * Observation.status
23
23
  * Observation.subject
24
24
  * Observation.valueQuantity
25
- * Observation.valueQuantity.code
26
- * Observation.valueQuantity.system
27
- * Observation.valueQuantity.unit
28
- * Observation.valueQuantity.value
25
+ * Observation.valueQuantity:valueQuantity.code
26
+ * Observation.valueQuantity:valueQuantity.system
27
+ * Observation.valueQuantity:valueQuantity.unit
28
+ * Observation.valueQuantity:valueQuantity.value
29
29
  * Observation.value[x]:valueQuantity
30
30
  )
31
31
 
@@ -141,12 +141,14 @@
141
141
  :must_supports:
142
142
  :extensions: []
143
143
  :slices:
144
- - :name: Observation.value[x]:valueQuantity
144
+ - :slice_id: Observation.value[x]:valueQuantity
145
+ :slice_name: valueQuantity
145
146
  :path: value[x]
146
147
  :discriminator:
147
148
  :type: type
148
149
  :code: Quantity
149
- - :name: Observation.category:VSCat
150
+ - :slice_id: Observation.category:VSCat
151
+ :slice_name: VSCat
150
152
  :path: category
151
153
  :discriminator:
152
154
  :type: value
@@ -158,29 +160,31 @@
158
160
  :elements:
159
161
  - :path: status
160
162
  - :path: category
161
- - :path: category.coding
162
- - :path: category.coding.system
163
+ - :path: category:VSCat.coding
164
+ - :path: category:VSCat.coding.system
163
165
  :fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
164
- - :path: category.coding.code
166
+ - :path: category:VSCat.coding.code
165
167
  :fixed_value: vital-signs
166
168
  - :path: code.coding.code
167
169
  :fixed_value: 9843-4
168
170
  - :path: subject
169
171
  :types:
170
172
  - Reference
173
+ :target_profiles:
174
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
171
175
  - :path: effectiveDateTime
172
176
  :original_path: effective[x]
173
177
  - :path: valueQuantity
174
178
  :original_path: value[x]
175
- - :path: valueQuantity.value
176
- :original_path: value[x].value
177
- - :path: valueQuantity.unit
178
- :original_path: value[x].unit
179
- - :path: valueQuantity.system
180
- :original_path: value[x].system
179
+ - :path: valueQuantity:valueQuantity.value
180
+ :original_path: value[x]:valueQuantity.value
181
+ - :path: valueQuantity:valueQuantity.unit
182
+ :original_path: value[x]:valueQuantity.unit
183
+ - :path: valueQuantity:valueQuantity.system
184
+ :original_path: value[x]:valueQuantity.system
181
185
  :fixed_value: http://unitsofmeasure.org
182
- - :path: valueQuantity.code
183
- :original_path: value[x].code
186
+ - :path: valueQuantity:valueQuantity.code
187
+ :original_path: value[x]:valueQuantity.code
184
188
  :mandatory_elements:
185
189
  - Observation.status
186
190
  - Observation.category
@@ -13,19 +13,19 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Observation.category
16
- * Observation.category.coding
17
- * Observation.category.coding.code
18
- * Observation.category.coding.system
19
16
  * Observation.category:VSCat
17
+ * Observation.category:VSCat.coding
18
+ * Observation.category:VSCat.coding.code
19
+ * Observation.category:VSCat.coding.system
20
20
  * Observation.code.coding.code
21
21
  * Observation.effectiveDateTime
22
22
  * Observation.status
23
23
  * Observation.subject
24
24
  * Observation.valueQuantity
25
- * Observation.valueQuantity.code
26
- * Observation.valueQuantity.system
27
- * Observation.valueQuantity.unit
28
- * Observation.valueQuantity.value
25
+ * Observation.valueQuantity:valueQuantity.code
26
+ * Observation.valueQuantity:valueQuantity.system
27
+ * Observation.valueQuantity:valueQuantity.unit
28
+ * Observation.valueQuantity:valueQuantity.value
29
29
  * Observation.value[x]:valueQuantity
30
30
  )
31
31
 
@@ -141,12 +141,14 @@
141
141
  :must_supports:
142
142
  :extensions: []
143
143
  :slices:
144
- - :name: Observation.value[x]:valueQuantity
144
+ - :slice_id: Observation.value[x]:valueQuantity
145
+ :slice_name: valueQuantity
145
146
  :path: value[x]
146
147
  :discriminator:
147
148
  :type: type
148
149
  :code: Quantity
149
- - :name: Observation.category:VSCat
150
+ - :slice_id: Observation.category:VSCat
151
+ :slice_name: VSCat
150
152
  :path: category
151
153
  :discriminator:
152
154
  :type: value
@@ -158,29 +160,31 @@
158
160
  :elements:
159
161
  - :path: status
160
162
  - :path: category
161
- - :path: category.coding
162
- - :path: category.coding.system
163
+ - :path: category:VSCat.coding
164
+ - :path: category:VSCat.coding.system
163
165
  :fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
164
- - :path: category.coding.code
166
+ - :path: category:VSCat.coding.code
165
167
  :fixed_value: vital-signs
166
168
  - :path: code.coding.code
167
169
  :fixed_value: 8289-1
168
170
  - :path: subject
169
171
  :types:
170
172
  - Reference
173
+ :target_profiles:
174
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
171
175
  - :path: effectiveDateTime
172
176
  :original_path: effective[x]
173
177
  - :path: valueQuantity
174
178
  :original_path: value[x]
175
- - :path: valueQuantity.value
176
- :original_path: value[x].value
177
- - :path: valueQuantity.unit
178
- :original_path: value[x].unit
179
- - :path: valueQuantity.system
180
- :original_path: value[x].system
179
+ - :path: valueQuantity:valueQuantity.value
180
+ :original_path: value[x]:valueQuantity.value
181
+ - :path: valueQuantity:valueQuantity.unit
182
+ :original_path: value[x]:valueQuantity.unit
183
+ - :path: valueQuantity:valueQuantity.system
184
+ :original_path: value[x]:valueQuantity.system
181
185
  :fixed_value: http://unitsofmeasure.org
182
- - :path: valueQuantity.code
183
- :original_path: value[x].code
186
+ - :path: valueQuantity:valueQuantity.code
187
+ :original_path: value[x]:valueQuantity.code
184
188
  :fixed_value: "%"
185
189
  :mandatory_elements:
186
190
  - Observation.status
@@ -13,19 +13,19 @@ module USCoreTestKit
13
13
  found previously for the following must support elements:
14
14
 
15
15
  * Observation.category
16
- * Observation.category.coding
17
- * Observation.category.coding.code
18
- * Observation.category.coding.system
19
16
  * Observation.category:VSCat
17
+ * Observation.category:VSCat.coding
18
+ * Observation.category:VSCat.coding.code
19
+ * Observation.category:VSCat.coding.system
20
20
  * Observation.code.coding.code
21
21
  * Observation.effectiveDateTime
22
22
  * Observation.status
23
23
  * Observation.subject
24
24
  * Observation.valueQuantity
25
- * Observation.valueQuantity.code
26
- * Observation.valueQuantity.system
27
- * Observation.valueQuantity.unit
28
- * Observation.valueQuantity.value
25
+ * Observation.valueQuantity:valueQuantity.code
26
+ * Observation.valueQuantity:valueQuantity.system
27
+ * Observation.valueQuantity:valueQuantity.unit
28
+ * Observation.valueQuantity:valueQuantity.value
29
29
  * Observation.value[x]:valueQuantity
30
30
  )
31
31
 
@@ -141,12 +141,14 @@
141
141
  :must_supports:
142
142
  :extensions: []
143
143
  :slices:
144
- - :name: Observation.value[x]:valueQuantity
144
+ - :slice_id: Observation.value[x]:valueQuantity
145
+ :slice_name: valueQuantity
145
146
  :path: value[x]
146
147
  :discriminator:
147
148
  :type: type
148
149
  :code: Quantity
149
- - :name: Observation.category:VSCat
150
+ - :slice_id: Observation.category:VSCat
151
+ :slice_name: VSCat
150
152
  :path: category
151
153
  :discriminator:
152
154
  :type: value
@@ -158,29 +160,31 @@
158
160
  :elements:
159
161
  - :path: status
160
162
  - :path: category
161
- - :path: category.coding
162
- - :path: category.coding.system
163
+ - :path: category:VSCat.coding
164
+ - :path: category:VSCat.coding.system
163
165
  :fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
164
- - :path: category.coding.code
166
+ - :path: category:VSCat.coding.code
165
167
  :fixed_value: vital-signs
166
168
  - :path: code.coding.code
167
169
  :fixed_value: 8867-4
168
170
  - :path: subject
169
171
  :types:
170
172
  - Reference
173
+ :target_profiles:
174
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
171
175
  - :path: effectiveDateTime
172
176
  :original_path: effective[x]
173
177
  - :path: valueQuantity
174
178
  :original_path: value[x]
175
- - :path: valueQuantity.value
176
- :original_path: value[x].value
177
- - :path: valueQuantity.unit
178
- :original_path: value[x].unit
179
- - :path: valueQuantity.system
180
- :original_path: value[x].system
179
+ - :path: valueQuantity:valueQuantity.value
180
+ :original_path: value[x]:valueQuantity.value
181
+ - :path: valueQuantity:valueQuantity.unit
182
+ :original_path: value[x]:valueQuantity.unit
183
+ - :path: valueQuantity:valueQuantity.system
184
+ :original_path: value[x]:valueQuantity.system
181
185
  :fixed_value: http://unitsofmeasure.org
182
- - :path: valueQuantity.code
183
- :original_path: value[x].code
186
+ - :path: valueQuantity:valueQuantity.code
187
+ :original_path: value[x]:valueQuantity.code
184
188
  :fixed_value: "/min"
185
189
  :mandatory_elements:
186
190
  - Observation.status
@@ -105,6 +105,8 @@
105
105
  - :path: patient
106
106
  :types:
107
107
  - Reference
108
+ :target_profiles:
109
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
108
110
  - :path: occurrenceDateTime
109
111
  :original_path: occurrence[x]
110
112
  - :path: primarySource
@@ -127,6 +127,8 @@
127
127
  - :path: subject
128
128
  :types:
129
129
  - Reference
130
+ :target_profiles:
131
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
130
132
  - :path: performer
131
133
  - :path: performer.actor
132
134
  :types:
@@ -137,6 +139,8 @@
137
139
  - :path: authorizingPrescription
138
140
  :types:
139
141
  - Reference
142
+ :target_profiles:
143
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
140
144
  - :path: type
141
145
  - :path: quantity
142
146
  - :path: whenHandedOver
@@ -143,7 +143,8 @@
143
143
  :must_supports:
144
144
  :extensions: []
145
145
  :slices:
146
- - :name: MedicationRequest.category:us-core
146
+ - :slice_id: MedicationRequest.category:us-core
147
+ :slice_name: us-core
147
148
  :path: category
148
149
  :discriminator:
149
150
  :type: requiredBinding
@@ -171,9 +172,13 @@
171
172
  - :path: subject
172
173
  :types:
173
174
  - Reference
175
+ :target_profiles:
176
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
174
177
  - :path: encounter
175
178
  :types:
176
179
  - Reference
180
+ :target_profiles:
181
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter
177
182
  - :path: authoredOn
178
183
  - :path: requester
179
184
  :types: