us_core_test_kit 0.4.1 → 0.4.2

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 +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/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 +1 -46
  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 +14 -6468
  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 +1 -24
  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 +1 -39
  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 +1 -46
  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 +13 -6618
  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 +1 -24
  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 +1 -43
  75. data/lib/us_core_test_kit/generated/v5.0.1/condition_problems_health_concerns/metadata.yml +2 -44
  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 +2 -1047
  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 +22 -11040
  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-bodytemp
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:
@@ -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/ValueSet/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:
@@ -88,26 +88,10 @@
88
88
  - CareTeam.participant.role
89
89
  - CareTeam.participant.member
90
90
  :bindings:
91
- - :type: code
92
- :strength: preferred
93
- :system: http://hl7.org/fhir/ValueSet/languages
94
- :path: language
95
91
  - :type: code
96
92
  :strength: required
97
93
  :system: http://hl7.org/fhir/ValueSet/care-team-status
98
94
  :path: status
99
- - :type: CodeableConcept
100
- :strength: example
101
- :system: http://hl7.org/fhir/ValueSet/care-team-category
102
- :path: category
103
- - :type: CodeableConcept
104
- :strength: extensible
105
- :system: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30
106
- :path: participant.role
107
- - :type: CodeableConcept
108
- :strength: example
109
- :system: http://hl7.org/fhir/ValueSet/clinical-findings
110
- :path: reasonCode
111
95
  :references:
112
96
  - :path: CareTeam.subject
113
97
  :profiles:
@@ -110,13 +110,7 @@
110
110
  :full_paths:
111
111
  - Condition.clinicalStatus
112
112
  :comparators: {}
113
- :values:
114
- - active
115
- - recurrence
116
- - relapse
117
- - inactive
118
- - remission
119
- - resolved
113
+ :values: []
120
114
  :type: CodeableConcept
121
115
  :contains_multiple: false
122
116
  :multiple_or: MAY
@@ -154,10 +148,6 @@
154
148
  - Condition.code
155
149
  - Condition.subject
156
150
  :bindings:
157
- - :type: code
158
- :strength: preferred
159
- :system: http://hl7.org/fhir/ValueSet/languages
160
- :path: language
161
151
  - :type: CodeableConcept
162
152
  :strength: required
163
153
  :system: http://hl7.org/fhir/ValueSet/condition-clinical
@@ -166,34 +156,6 @@
166
156
  :strength: required
167
157
  :system: http://hl7.org/fhir/ValueSet/condition-ver-status
168
158
  :path: verificationStatus
169
- - :type: CodeableConcept
170
- :strength: extensible
171
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category
172
- :path: category
173
- - :type: CodeableConcept
174
- :strength: preferred
175
- :system: http://hl7.org/fhir/ValueSet/condition-severity
176
- :path: severity
177
- - :type: CodeableConcept
178
- :strength: extensible
179
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code
180
- :path: code
181
- - :type: CodeableConcept
182
- :strength: example
183
- :system: http://hl7.org/fhir/ValueSet/body-site
184
- :path: bodySite
185
- - :type: CodeableConcept
186
- :strength: example
187
- :system: http://hl7.org/fhir/ValueSet/condition-stage
188
- :path: stage.summary
189
- - :type: CodeableConcept
190
- :strength: example
191
- :system: http://hl7.org/fhir/ValueSet/condition-stage-type
192
- :path: stage.type
193
- - :type: CodeableConcept
194
- :strength: example
195
- :system: http://hl7.org/fhir/ValueSet/manifestation-or-symptom
196
- :path: evidence.code
197
159
  :references:
198
160
  - :path: Condition.subject
199
161
  :profiles: