us_core_test_kit 0.4.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/generated/v3.1.1/allergy_intolerance/metadata.yml +1 -24
  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 +1 -39
  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/document_reference_must_support_test.rb +0 -1
  14. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/document_reference_reference_resolution_test.rb +0 -1
  15. data/lib/us_core_test_kit/generated/v3.1.1/document_reference/metadata.yml +1 -81
  16. data/lib/us_core_test_kit/generated/v3.1.1/encounter/metadata.yml +2 -85
  17. data/lib/us_core_test_kit/generated/v3.1.1/goal/metadata.yml +1 -46
  18. data/lib/us_core_test_kit/generated/v3.1.1/head_circumference/metadata.yml +0 -52
  19. data/lib/us_core_test_kit/generated/v3.1.1/heartrate/metadata.yml +0 -52
  20. data/lib/us_core_test_kit/generated/v3.1.1/immunization/metadata.yml +0 -48
  21. data/lib/us_core_test_kit/generated/v3.1.1/medication_request/metadata.yml +0 -60
  22. data/lib/us_core_test_kit/generated/v3.1.1/metadata.yml +14 -6471
  23. data/lib/us_core_test_kit/generated/v3.1.1/observation_lab/metadata.yml +1 -1053
  24. data/lib/us_core_test_kit/generated/v3.1.1/organization/metadata.yml +0 -20
  25. data/lib/us_core_test_kit/generated/v3.1.1/patient/metadata.yml +1 -29
  26. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_bmi_for_age/metadata.yml +0 -52
  27. data/lib/us_core_test_kit/generated/v3.1.1/pediatric_weight_for_height/metadata.yml +0 -52
  28. data/lib/us_core_test_kit/generated/v3.1.1/practitioner/metadata.yml +0 -16
  29. data/lib/us_core_test_kit/generated/v3.1.1/procedure/metadata.yml +1 -1049
  30. data/lib/us_core_test_kit/generated/v3.1.1/provenance/metadata.yml +0 -36
  31. data/lib/us_core_test_kit/generated/v3.1.1/pulse_oximetry/metadata.yml +0 -76
  32. data/lib/us_core_test_kit/generated/v3.1.1/resprate/metadata.yml +0 -52
  33. data/lib/us_core_test_kit/generated/v3.1.1/smokingstatus/metadata.yml +1 -62
  34. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +20 -1
  35. data/lib/us_core_test_kit/generated/v4.0.0/allergy_intolerance/metadata.yml +1 -24
  36. data/lib/us_core_test_kit/generated/v4.0.0/blood_pressure/metadata.yml +0 -80
  37. data/lib/us_core_test_kit/generated/v4.0.0/bmi/metadata.yml +0 -56
  38. data/lib/us_core_test_kit/generated/v4.0.0/body_height/metadata.yml +0 -56
  39. data/lib/us_core_test_kit/generated/v4.0.0/body_temperature/metadata.yml +0 -56
  40. data/lib/us_core_test_kit/generated/v4.0.0/body_weight/metadata.yml +0 -56
  41. data/lib/us_core_test_kit/generated/v4.0.0/care_plan/metadata.yml +0 -28
  42. data/lib/us_core_test_kit/generated/v4.0.0/care_team/metadata.yml +0 -16
  43. data/lib/us_core_test_kit/generated/v4.0.0/condition/metadata.yml +1 -39
  44. data/lib/us_core_test_kit/generated/v4.0.0/device/metadata.yml +1 -1013
  45. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_lab/metadata.yml +1 -1021
  46. data/lib/us_core_test_kit/generated/v4.0.0/diagnostic_report_note/metadata.yml +1 -1017
  47. data/lib/us_core_test_kit/generated/v4.0.0/document_reference/metadata.yml +1 -78
  48. data/lib/us_core_test_kit/generated/v4.0.0/encounter/metadata.yml +2 -85
  49. data/lib/us_core_test_kit/generated/v4.0.0/goal/metadata.yml +1 -46
  50. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference/metadata.yml +0 -56
  51. data/lib/us_core_test_kit/generated/v4.0.0/head_circumference_percentile/metadata.yml +0 -56
  52. data/lib/us_core_test_kit/generated/v4.0.0/heart_rate/metadata.yml +0 -56
  53. data/lib/us_core_test_kit/generated/v4.0.0/immunization/metadata.yml +0 -48
  54. data/lib/us_core_test_kit/generated/v4.0.0/medication_request/metadata.yml +0 -60
  55. data/lib/us_core_test_kit/generated/v4.0.0/metadata.yml +13 -6618
  56. data/lib/us_core_test_kit/generated/v4.0.0/observation_lab/metadata.yml +1 -1053
  57. data/lib/us_core_test_kit/generated/v4.0.0/organization/metadata.yml +0 -20
  58. data/lib/us_core_test_kit/generated/v4.0.0/patient/metadata.yml +1 -29
  59. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_bmi_for_age/metadata.yml +0 -56
  60. data/lib/us_core_test_kit/generated/v4.0.0/pediatric_weight_for_height/metadata.yml +0 -56
  61. data/lib/us_core_test_kit/generated/v4.0.0/practitioner/metadata.yml +0 -16
  62. data/lib/us_core_test_kit/generated/v4.0.0/procedure/metadata.yml +1 -1049
  63. data/lib/us_core_test_kit/generated/v4.0.0/provenance/metadata.yml +0 -40
  64. data/lib/us_core_test_kit/generated/v4.0.0/pulse_oximetry/metadata.yml +0 -80
  65. data/lib/us_core_test_kit/generated/v4.0.0/respiratory_rate/metadata.yml +0 -56
  66. data/lib/us_core_test_kit/generated/v4.0.0/smokingstatus/metadata.yml +0 -56
  67. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +20 -1
  68. data/lib/us_core_test_kit/generated/v5.0.1/allergy_intolerance/metadata.yml +1 -24
  69. data/lib/us_core_test_kit/generated/v5.0.1/blood_pressure/metadata.yml +0 -80
  70. data/lib/us_core_test_kit/generated/v5.0.1/bmi/metadata.yml +0 -56
  71. data/lib/us_core_test_kit/generated/v5.0.1/body_height/metadata.yml +0 -56
  72. data/lib/us_core_test_kit/generated/v5.0.1/body_temperature/metadata.yml +0 -56
  73. data/lib/us_core_test_kit/generated/v5.0.1/body_weight/metadata.yml +0 -56
  74. data/lib/us_core_test_kit/generated/v5.0.1/care_plan/metadata.yml +0 -28
  75. data/lib/us_core_test_kit/generated/v5.0.1/care_team/metadata.yml +0 -16
  76. data/lib/us_core_test_kit/generated/v5.0.1/condition_encounter_diagnosis/metadata.yml +1 -43
  77. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +2 -44
  78. data/lib/us_core_test_kit/generated/v5.0.1/device/metadata.yml +1 -1013
  79. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_lab/metadata.yml +1 -1021
  80. data/lib/us_core_test_kit/generated/v5.0.1/diagnostic_report_note/metadata.yml +1 -1021
  81. data/lib/us_core_test_kit/generated/v5.0.1/document_reference/metadata.yml +1 -82
  82. data/lib/us_core_test_kit/generated/v5.0.1/encounter/metadata.yml +2 -85
  83. data/lib/us_core_test_kit/generated/v5.0.1/goal/metadata.yml +2 -1047
  84. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference/metadata.yml +0 -56
  85. data/lib/us_core_test_kit/generated/v5.0.1/head_circumference_percentile/metadata.yml +0 -56
  86. data/lib/us_core_test_kit/generated/v5.0.1/heart_rate/metadata.yml +0 -56
  87. data/lib/us_core_test_kit/generated/v5.0.1/immunization/metadata.yml +0 -48
  88. data/lib/us_core_test_kit/generated/v5.0.1/medication_request/metadata.yml +5 -65
  89. data/lib/us_core_test_kit/generated/v5.0.1/metadata.yml +27 -11041
  90. data/lib/us_core_test_kit/generated/v5.0.1/observation_clinical_test/metadata.yml +0 -52
  91. data/lib/us_core_test_kit/generated/v5.0.1/observation_imaging/metadata.yml +1 -1053
  92. data/lib/us_core_test_kit/generated/v5.0.1/observation_lab/metadata.yml +1 -1053
  93. data/lib/us_core_test_kit/generated/v5.0.1/observation_sdoh_assessment/metadata.yml +0 -57
  94. data/lib/us_core_test_kit/generated/v5.0.1/observation_sexual_orientation/metadata.yml +1 -62
  95. data/lib/us_core_test_kit/generated/v5.0.1/observation_social_history/metadata.yml +1 -1058
  96. data/lib/us_core_test_kit/generated/v5.0.1/organization/metadata.yml +0 -20
  97. data/lib/us_core_test_kit/generated/v5.0.1/patient/metadata.yml +1 -29
  98. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_bmi_for_age/metadata.yml +0 -56
  99. data/lib/us_core_test_kit/generated/v5.0.1/pediatric_weight_for_height/metadata.yml +0 -56
  100. data/lib/us_core_test_kit/generated/v5.0.1/practitioner/metadata.yml +0 -20
  101. data/lib/us_core_test_kit/generated/v5.0.1/procedure/metadata.yml +1 -1049
  102. data/lib/us_core_test_kit/generated/v5.0.1/provenance/metadata.yml +0 -40
  103. data/lib/us_core_test_kit/generated/v5.0.1/pulse_oximetry/metadata.yml +0 -80
  104. data/lib/us_core_test_kit/generated/v5.0.1/questionnaire_response/metadata.yml +0 -20
  105. data/lib/us_core_test_kit/generated/v5.0.1/related_person/metadata.yml +0 -12
  106. data/lib/us_core_test_kit/generated/v5.0.1/respiratory_rate/metadata.yml +0 -56
  107. data/lib/us_core_test_kit/generated/v5.0.1/service_request/metadata.yml +1 -1041
  108. data/lib/us_core_test_kit/generated/v5.0.1/smokingstatus/metadata.yml +0 -56
  109. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +20 -1
  110. data/lib/us_core_test_kit/generator/must_support_metadata_extractor.rb +17 -7
  111. data/lib/us_core_test_kit/generator/search_definition_metadata_extractor.rb +13 -93
  112. data/lib/us_core_test_kit/generator/suite_generator.rb +11 -0
  113. data/lib/us_core_test_kit/generator/terminology_binding_metadata_extractor.rb +15 -3
  114. data/lib/us_core_test_kit/generator/value_extractor.rb +101 -0
  115. data/lib/us_core_test_kit/provenance_validator.rb +37 -0
  116. data/lib/us_core_test_kit/version.rb +1 -1
  117. metadata +4 -2
@@ -83,7 +83,6 @@
83
83
  :comparators: {}
84
84
  :values:
85
85
  - survey
86
- - sdoh
87
86
  :type: CodeableConcept
88
87
  :contains_multiple: true
89
88
  :multiple_or: MAY
@@ -239,66 +238,10 @@
239
238
  - Observation.subject
240
239
  - Observation.component.code
241
240
  :bindings:
242
- - :type: code
243
- :strength: preferred
244
- :system: http://hl7.org/fhir/ValueSet/languages
245
- :path: language
246
241
  - :type: code
247
242
  :strength: required
248
243
  :system: http://hl7.org/fhir/ValueSet/observation-status
249
244
  :path: status
250
- - :type: CodeableConcept
251
- :strength: preferred
252
- :system: http://hl7.org/fhir/ValueSet/observation-category
253
- :path: category
254
- - :type: CodeableConcept
255
- :strength: preferred
256
- :system: http://hl7.org/fhir/ValueSet/observation-category
257
- :path: category
258
- - :type: CodeableConcept
259
- :strength: preferred
260
- :system: http://hl7.org/fhir/ValueSet/observation-category
261
- :path: category
262
- - :type: CodeableConcept
263
- :strength: preferred
264
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-common-sdoh-assessments
265
- :path: code
266
- - :type: CodeableConcept
267
- :strength: extensible
268
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
269
- :path: dataAbsentReason
270
- - :type: CodeableConcept
271
- :strength: extensible
272
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
273
- :path: interpretation
274
- - :type: CodeableConcept
275
- :strength: example
276
- :system: http://hl7.org/fhir/ValueSet/body-site
277
- :path: bodySite
278
- - :type: CodeableConcept
279
- :strength: example
280
- :system: http://hl7.org/fhir/ValueSet/observation-methods
281
- :path: method
282
- - :type: CodeableConcept
283
- :strength: preferred
284
- :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
285
- :path: referenceRange.type
286
- - :type: CodeableConcept
287
- :strength: example
288
- :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
289
- :path: referenceRange.appliesTo
290
- - :type: CodeableConcept
291
- :strength: example
292
- :system: http://hl7.org/fhir/ValueSet/observation-codes
293
- :path: component.code
294
- - :type: CodeableConcept
295
- :strength: extensible
296
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
297
- :path: component.dataAbsentReason
298
- - :type: CodeableConcept
299
- :strength: extensible
300
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
301
- :path: component.interpretation
302
245
  :references:
303
246
  - :path: Observation.basedOn
304
247
  :profiles:
@@ -84,16 +84,7 @@
84
84
  :full_paths:
85
85
  - Observation.category
86
86
  :comparators: {}
87
- :values:
88
- - social-history
89
- - vital-signs
90
- - imaging
91
- - laboratory
92
- - procedure
93
- - survey
94
- - exam
95
- - therapy
96
- - activity
87
+ :values: []
97
88
  :type: CodeableConcept
98
89
  :contains_multiple: true
99
90
  :multiple_or: MAY
@@ -172,62 +163,10 @@
172
163
  - Observation.subject
173
164
  - Observation.component.code
174
165
  :bindings:
175
- - :type: code
176
- :strength: preferred
177
- :system: http://hl7.org/fhir/ValueSet/languages
178
- :path: language
179
166
  - :type: code
180
167
  :strength: required
181
168
  :system: http://hl7.org/fhir/ValueSet/observation-status
182
169
  :path: status
183
- - :type: CodeableConcept
184
- :strength: preferred
185
- :system: http://hl7.org/fhir/ValueSet/observation-category
186
- :path: category
187
- - :type: CodeableConcept
188
- :strength: example
189
- :system: http://hl7.org/fhir/ValueSet/observation-codes
190
- :path: code
191
- - :type: CodeableConcept
192
- :strength: extensible
193
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation
194
- :path: value
195
- - :type: CodeableConcept
196
- :strength: extensible
197
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
198
- :path: dataAbsentReason
199
- - :type: CodeableConcept
200
- :strength: extensible
201
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
202
- :path: interpretation
203
- - :type: CodeableConcept
204
- :strength: example
205
- :system: http://hl7.org/fhir/ValueSet/body-site
206
- :path: bodySite
207
- - :type: CodeableConcept
208
- :strength: example
209
- :system: http://hl7.org/fhir/ValueSet/observation-methods
210
- :path: method
211
- - :type: CodeableConcept
212
- :strength: preferred
213
- :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
214
- :path: referenceRange.type
215
- - :type: CodeableConcept
216
- :strength: example
217
- :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
218
- :path: referenceRange.appliesTo
219
- - :type: CodeableConcept
220
- :strength: example
221
- :system: http://hl7.org/fhir/ValueSet/observation-codes
222
- :path: component.code
223
- - :type: CodeableConcept
224
- :strength: extensible
225
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
226
- :path: component.dataAbsentReason
227
- - :type: CodeableConcept
228
- :strength: extensible
229
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
230
- :path: component.interpretation
231
170
  :references:
232
171
  - :path: Observation.basedOn
233
172
  :profiles: