us_core_test_kit 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +0 -20
  3. data/lib/us_core_test_kit/generated/v3.1.1/bodyheight/metadata.yml +0 -52
  4. data/lib/us_core_test_kit/generated/v3.1.1/bodytemp/metadata.yml +0 -52
  5. data/lib/us_core_test_kit/generated/v3.1.1/bodyweight/metadata.yml +0 -52
  6. data/lib/us_core_test_kit/generated/v3.1.1/bp/metadata.yml +0 -76
  7. data/lib/us_core_test_kit/generated/v3.1.1/care_plan/metadata.yml +0 -28
  8. data/lib/us_core_test_kit/generated/v3.1.1/care_team/metadata.yml +0 -16
  9. data/lib/us_core_test_kit/generated/v3.1.1/condition/metadata.yml +0 -32
  10. data/lib/us_core_test_kit/generated/v3.1.1/device/metadata.yml +1 -1013
  11. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_lab/metadata.yml +1 -1021
  12. data/lib/us_core_test_kit/generated/v3.1.1/diagnostic_report_note/metadata.yml +1 -1017
  13. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -78
  14. data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +2 -85
  15. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +0 -36
  16. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +0 -52
  17. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +0 -52
  18. data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +0 -48
  19. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +0 -60
  20. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +11 -6447
  21. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -1053
  22. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +0 -20
  23. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +1 -29
  24. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +0 -52
  25. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +0 -52
  26. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +0 -16
  27. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -1049
  28. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +0 -36
  29. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +0 -76
  30. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +0 -52
  31. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -62
  32. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +20 -1
  33. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +0 -20
  34. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +0 -80
  35. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +0 -56
  36. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +0 -56
  37. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +0 -56
  38. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +0 -56
  39. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +0 -28
  40. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +0 -16
  41. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +0 -32
  42. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -1013
  43. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -1021
  44. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -1017
  45. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -78
  46. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +2 -85
  47. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +0 -36
  48. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +0 -56
  49. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +0 -56
  50. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +0 -56
  51. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +0 -48
  52. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +0 -60
  53. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +10 -6597
  54. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -1053
  55. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +0 -20
  56. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +1 -29
  57. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +0 -56
  58. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +0 -56
  59. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +0 -16
  60. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -1049
  61. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +0 -40
  62. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +0 -80
  63. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +0 -56
  64. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +0 -56
  65. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +20 -1
  66. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +0 -20
  67. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +0 -80
  68. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +0 -56
  69. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +0 -56
  70. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +0 -56
  71. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +0 -56
  72. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +0 -28
  73. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +0 -16
  74. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +0 -36
  75. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +1 -37
  76. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1 -1013
  77. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1 -1021
  78. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1 -1021
  79. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +1 -82
  80. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +2 -85
  81. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +1 -1037
  82. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +0 -56
  83. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +0 -56
  84. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +0 -56
  85. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +0 -48
  86. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +0 -64
  87. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +16 -11010
  88. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +0 -52
  89. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1 -1053
  90. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1 -1053
  91. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +0 -57
  92. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +1 -62
  93. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1 -1058
  94. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +0 -20
  95. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +1 -29
  96. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +0 -56
  97. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +0 -56
  98. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +0 -20
  99. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1 -1049
  100. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +0 -40
  101. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +0 -80
  102. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +0 -20
  103. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +0 -12
  104. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +0 -56
  105. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1 -1041
  106. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +0 -56
  107. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +20 -1
  108. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +1 -1
  109. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +8 -57
  110. data/lib/us_core_test_kit/generator/suite_generator.rb +11 -0
  111. data/lib/us_core_test_kit/generator/terminology_binding_metadata_extractor.rb +15 -3
  112. data/lib/us_core_test_kit/generator/value_extractor.rb +53 -2
  113. data/lib/us_core_test_kit/provenance_validator.rb +37 -0
  114. data/lib/us_core_test_kit/version.rb +1 -1
  115. metadata +3 -2
@@ -191,26 +191,10 @@
191
191
  - Observation.value[x].code
192
192
  - Observation.component.code
193
193
  :bindings:
194
- - :type: code
195
- :strength: preferred
196
- :system: http://hl7.org/fhir/ValueSet/languages
197
- :path: language
198
194
  - :type: code
199
195
  :strength: required
200
196
  :system: http://hl7.org/fhir/ValueSet/observation-status
201
197
  :path: status
202
- - :type: CodeableConcept
203
- :strength: preferred
204
- :system: http://hl7.org/fhir/ValueSet/observation-category
205
- :path: category
206
- - :type: CodeableConcept
207
- :strength: preferred
208
- :system: http://hl7.org/fhir/ValueSet/observation-category
209
- :path: category
210
- - :type: CodeableConcept
211
- :strength: extensible
212
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
213
- :path: code
214
198
  - :type: code
215
199
  :strength: required
216
200
  :system: http://hl7.org/fhir/ValueSet/quantity-comparator
@@ -219,46 +203,6 @@
219
203
  :strength: required
220
204
  :system: http://hl7.org/fhir/ValueSet/ucum-bodyweight
221
205
  :path: value.code
222
- - :type: CodeableConcept
223
- :strength: extensible
224
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
225
- :path: dataAbsentReason
226
- - :type: CodeableConcept
227
- :strength: extensible
228
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
229
- :path: interpretation
230
- - :type: CodeableConcept
231
- :strength: example
232
- :system: http://hl7.org/fhir/ValueSet/body-site
233
- :path: bodySite
234
- - :type: CodeableConcept
235
- :strength: example
236
- :system: http://hl7.org/fhir/ValueSet/observation-methods
237
- :path: method
238
- - :type: CodeableConcept
239
- :strength: preferred
240
- :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
241
- :path: referenceRange.type
242
- - :type: CodeableConcept
243
- :strength: example
244
- :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
245
- :path: referenceRange.appliesTo
246
- - :type: CodeableConcept
247
- :strength: extensible
248
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
249
- :path: component.code
250
- - :type: Quantity
251
- :strength: extensible
252
- :system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
253
- :path: component.value
254
- - :type: CodeableConcept
255
- :strength: extensible
256
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
257
- :path: component.dataAbsentReason
258
- - :type: CodeableConcept
259
- :strength: extensible
260
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
261
- :path: component.interpretation
262
206
  :references:
263
207
  - :path: Observation.basedOn
264
208
  :profiles:
@@ -153,10 +153,6 @@
153
153
  - CarePlan.subject
154
154
  - CarePlan.activity.detail.status
155
155
  :bindings:
156
- - :type: code
157
- :strength: preferred
158
- :system: http://hl7.org/fhir/ValueSet/languages
159
- :path: language
160
156
  - :type: code
161
157
  :strength: required
162
158
  :system: http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status
@@ -169,38 +165,14 @@
169
165
  :strength: required
170
166
  :system: http://hl7.org/fhir/ValueSet/care-plan-intent
171
167
  :path: intent
172
- - :type: CodeableConcept
173
- :strength: example
174
- :system: http://hl7.org/fhir/ValueSet/care-plan-category
175
- :path: category
176
- - :type: CodeableConcept
177
- :strength: example
178
- :system: http://hl7.org/fhir/ValueSet/care-plan-category
179
- :path: category
180
- - :type: CodeableConcept
181
- :strength: example
182
- :system: http://hl7.org/fhir/ValueSet/care-plan-activity-outcome
183
- :path: activity.outcomeCodeableConcept
184
168
  - :type: code
185
169
  :strength: required
186
170
  :system: http://hl7.org/fhir/ValueSet/care-plan-activity-kind
187
171
  :path: activity.detail.kind
188
- - :type: CodeableConcept
189
- :strength: example
190
- :system: http://hl7.org/fhir/ValueSet/procedure-code
191
- :path: activity.detail.code
192
- - :type: CodeableConcept
193
- :strength: example
194
- :system: http://hl7.org/fhir/ValueSet/clinical-findings
195
- :path: activity.detail.reasonCode
196
172
  - :type: code
197
173
  :strength: required
198
174
  :system: http://hl7.org/fhir/ValueSet/care-plan-activity-status
199
175
  :path: activity.detail.status
200
- - :type: CodeableConcept
201
- :strength: example
202
- :system: http://hl7.org/fhir/ValueSet/medication-codes
203
- :path: activity.detail.product
204
176
  :references:
205
177
  - :path: CarePlan.basedOn
206
178
  :profiles:
@@ -120,26 +120,10 @@
120
120
  - CareTeam.participant.role
121
121
  - CareTeam.participant.member
122
122
  :bindings:
123
- - :type: code
124
- :strength: preferred
125
- :system: http://hl7.org/fhir/ValueSet/languages
126
- :path: language
127
123
  - :type: code
128
124
  :strength: required
129
125
  :system: http://hl7.org/fhir/ValueSet/care-team-status
130
126
  :path: status
131
- - :type: CodeableConcept
132
- :strength: example
133
- :system: http://hl7.org/fhir/ValueSet/care-team-category
134
- :path: category
135
- - :type: CodeableConcept
136
- :strength: extensible
137
- :system: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30
138
- :path: participant.role
139
- - :type: CodeableConcept
140
- :strength: example
141
- :system: http://hl7.org/fhir/ValueSet/clinical-findings
142
- :path: reasonCode
143
127
  :references:
144
128
  - :path: CareTeam.subject
145
129
  :profiles:
@@ -269,10 +269,6 @@
269
269
  - Condition.code
270
270
  - Condition.subject
271
271
  :bindings:
272
- - :type: code
273
- :strength: preferred
274
- :system: http://hl7.org/fhir/ValueSet/languages
275
- :path: language
276
272
  - :type: CodeableConcept
277
273
  :strength: required
278
274
  :system: http://hl7.org/fhir/ValueSet/condition-clinical
@@ -281,38 +277,6 @@
281
277
  :strength: required
282
278
  :system: http://hl7.org/fhir/ValueSet/condition-ver-status
283
279
  :path: verificationStatus
284
- - :type: CodeableConcept
285
- :strength: extensible
286
- :system: http://hl7.org/fhir/ValueSet/condition-category
287
- :path: category
288
- - :type: CodeableConcept
289
- :strength: extensible
290
- :system: http://hl7.org/fhir/ValueSet/condition-category
291
- :path: category
292
- - :type: CodeableConcept
293
- :strength: preferred
294
- :system: http://hl7.org/fhir/ValueSet/condition-severity
295
- :path: severity
296
- - :type: CodeableConcept
297
- :strength: extensible
298
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
299
- :path: code
300
- - :type: CodeableConcept
301
- :strength: example
302
- :system: http://hl7.org/fhir/ValueSet/body-site
303
- :path: bodySite
304
- - :type: CodeableConcept
305
- :strength: example
306
- :system: http://hl7.org/fhir/ValueSet/condition-stage
307
- :path: stage.summary
308
- - :type: CodeableConcept
309
- :strength: example
310
- :system: http://hl7.org/fhir/ValueSet/condition-stage-type
311
- :path: stage.type
312
- - :type: CodeableConcept
313
- :strength: example
314
- :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom
315
- :path: evidence.code
316
280
  :references:
317
281
  - :path: Condition.subject
318
282
  :profiles:
@@ -156,7 +156,6 @@
156
156
  - Condition.category
157
157
  :comparators: {}
158
158
  :values:
159
- - sdoh
160
159
  - problem-list-item
161
160
  - health-concern
162
161
  :type: CodeableConcept
@@ -278,10 +277,6 @@
278
277
  - Condition.code
279
278
  - Condition.subject
280
279
  :bindings:
281
- - :type: code
282
- :strength: preferred
283
- :system: http://hl7.org/fhir/ValueSet/languages
284
- :path: language
285
280
  - :type: CodeableConcept
286
281
  :strength: required
287
282
  :system: http://hl7.org/fhir/ValueSet/condition-clinical
@@ -290,42 +285,11 @@
290
285
  :strength: required
291
286
  :system: http://hl7.org/fhir/ValueSet/condition-ver-status
292
287
  :path: verificationStatus
293
- - :type: CodeableConcept
294
- :strength: extensible
295
- :system: http://hl7.org/fhir/ValueSet/condition-category
296
- :path: category
297
288
  - :type: CodeableConcept
298
289
  :strength: required
299
290
  :system: http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern
300
291
  :path: category
301
- - :type: CodeableConcept
302
- :strength: extensible
303
- :system: http://hl7.org/fhir/ValueSet/condition-category
304
- :path: category
305
- - :type: CodeableConcept
306
- :strength: preferred
307
- :system: http://hl7.org/fhir/ValueSet/condition-severity
308
- :path: severity
309
- - :type: CodeableConcept
310
- :strength: extensible
311
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
312
- :path: code
313
- - :type: CodeableConcept
314
- :strength: example
315
- :system: http://hl7.org/fhir/ValueSet/body-site
316
- :path: bodySite
317
- - :type: CodeableConcept
318
- :strength: example
319
- :system: http://hl7.org/fhir/ValueSet/condition-stage
320
- :path: stage.summary
321
- - :type: CodeableConcept
322
- :strength: example
323
- :system: http://hl7.org/fhir/ValueSet/condition-stage-type
324
- :path: stage.type
325
- - :type: CodeableConcept
326
- :strength: example
327
- :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom
328
- :path: evidence.code
292
+ :required_binding_slice: true
329
293
  :references:
330
294
  - :path: Condition.subject
331
295
  :profiles: