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
@@ -95,22 +95,10 @@
95
95
  - Organization.active
96
96
  - Organization.name
97
97
  :bindings:
98
- - :type: code
99
- :strength: preferred
100
- :system: http://hl7.org/fhir/ValueSet/languages
101
- :path: language
102
98
  - :type: code
103
99
  :strength: required
104
100
  :system: http://hl7.org/fhir/ValueSet/identifier-use
105
101
  :path: identifier.use
106
- - :type: CodeableConcept
107
- :strength: extensible
108
- :system: http://hl7.org/fhir/ValueSet/identifier-type
109
- :path: identifier.type
110
- - :type: CodeableConcept
111
- :strength: example
112
- :system: http://hl7.org/fhir/ValueSet/organization-type
113
- :path: type
114
102
  - :type: code
115
103
  :strength: required
116
104
  :system: http://hl7.org/fhir/ValueSet/contact-point-system
@@ -127,14 +115,6 @@
127
115
  :strength: required
128
116
  :system: http://hl7.org/fhir/ValueSet/address-type
129
117
  :path: address.type
130
- - :type: string
131
- :strength: extensible
132
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
133
- :path: address.state
134
- - :type: CodeableConcept
135
- :strength: extensible
136
- :system: http://hl7.org/fhir/ValueSet/contactentity-type
137
- :path: contact.purpose
138
118
  :references:
139
119
  - :path: Organization.identifier.assigner
140
120
  :profiles:
@@ -136,11 +136,7 @@
136
136
  :full_paths:
137
137
  - Patient.gender
138
138
  :comparators: {}
139
- :values:
140
- - male
141
- - female
142
- - other
143
- - unknown
139
+ :values: []
144
140
  :type: code
145
141
  :contains_multiple: false
146
142
  :multiple_or: MAY
@@ -212,18 +208,10 @@
212
208
  - Patient.link.other
213
209
  - Patient.link.type
214
210
  :bindings:
215
- - :type: code
216
- :strength: preferred
217
- :system: http://hl7.org/fhir/ValueSet/languages
218
- :path: language
219
211
  - :type: code
220
212
  :strength: required
221
213
  :system: http://hl7.org/fhir/ValueSet/identifier-use
222
214
  :path: identifier.use
223
- - :type: CodeableConcept
224
- :strength: extensible
225
- :system: http://hl7.org/fhir/ValueSet/identifier-type
226
- :path: identifier.type
227
215
  - :type: code
228
216
  :strength: required
229
217
  :system: http://hl7.org/fhir/ValueSet/name-use
@@ -248,26 +236,10 @@
248
236
  :strength: required
249
237
  :system: http://hl7.org/fhir/ValueSet/address-type
250
238
  :path: address.type
251
- - :type: string
252
- :strength: extensible
253
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
254
- :path: address.state
255
- - :type: CodeableConcept
256
- :strength: extensible
257
- :system: http://hl7.org/fhir/ValueSet/marital-status
258
- :path: maritalStatus
259
- - :type: CodeableConcept
260
- :strength: extensible
261
- :system: http://hl7.org/fhir/ValueSet/patient-contactrelationship
262
- :path: contact.relationship
263
239
  - :type: code
264
240
  :strength: required
265
241
  :system: http://hl7.org/fhir/ValueSet/administrative-gender
266
242
  :path: contact.gender
267
- - :type: CodeableConcept
268
- :strength: extensible
269
- :system: http://hl7.org/fhir/us/core/ValueSet/simple-language
270
- :path: communication.language
271
243
  - :type: code
272
244
  :strength: required
273
245
  :system: http://hl7.org/fhir/ValueSet/link-type
@@ -192,70 +192,14 @@
192
192
  - Observation.value[x].code
193
193
  - Observation.component.code
194
194
  :bindings:
195
- - :type: code
196
- :strength: preferred
197
- :system: http://hl7.org/fhir/ValueSet/languages
198
- :path: language
199
195
  - :type: code
200
196
  :strength: required
201
197
  :system: http://hl7.org/fhir/ValueSet/observation-status
202
198
  :path: status
203
- - :type: CodeableConcept
204
- :strength: preferred
205
- :system: http://hl7.org/fhir/ValueSet/observation-category
206
- :path: category
207
- - :type: CodeableConcept
208
- :strength: preferred
209
- :system: http://hl7.org/fhir/ValueSet/observation-category
210
- :path: category
211
- - :type: CodeableConcept
212
- :strength: extensible
213
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
214
- :path: code
215
199
  - :type: code
216
200
  :strength: required
217
201
  :system: http://hl7.org/fhir/ValueSet/quantity-comparator
218
202
  :path: value.comparator
219
- - :type: CodeableConcept
220
- :strength: extensible
221
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
222
- :path: dataAbsentReason
223
- - :type: CodeableConcept
224
- :strength: extensible
225
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
226
- :path: interpretation
227
- - :type: CodeableConcept
228
- :strength: example
229
- :system: http://hl7.org/fhir/ValueSet/body-site
230
- :path: bodySite
231
- - :type: CodeableConcept
232
- :strength: example
233
- :system: http://hl7.org/fhir/ValueSet/observation-methods
234
- :path: method
235
- - :type: CodeableConcept
236
- :strength: preferred
237
- :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
238
- :path: referenceRange.type
239
- - :type: CodeableConcept
240
- :strength: example
241
- :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
242
- :path: referenceRange.appliesTo
243
- - :type: CodeableConcept
244
- :strength: extensible
245
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
246
- :path: component.code
247
- - :type: Quantity
248
- :strength: extensible
249
- :system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
250
- :path: component.value
251
- - :type: CodeableConcept
252
- :strength: extensible
253
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
254
- :path: component.dataAbsentReason
255
- - :type: CodeableConcept
256
- :strength: extensible
257
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
258
- :path: component.interpretation
259
203
  :references:
260
204
  - :path: Observation.basedOn
261
205
  :profiles:
@@ -192,70 +192,14 @@
192
192
  - Observation.value[x].code
193
193
  - Observation.component.code
194
194
  :bindings:
195
- - :type: code
196
- :strength: preferred
197
- :system: http://hl7.org/fhir/ValueSet/languages
198
- :path: language
199
195
  - :type: code
200
196
  :strength: required
201
197
  :system: http://hl7.org/fhir/ValueSet/observation-status
202
198
  :path: status
203
- - :type: CodeableConcept
204
- :strength: preferred
205
- :system: http://hl7.org/fhir/ValueSet/observation-category
206
- :path: category
207
- - :type: CodeableConcept
208
- :strength: preferred
209
- :system: http://hl7.org/fhir/ValueSet/observation-category
210
- :path: category
211
- - :type: CodeableConcept
212
- :strength: extensible
213
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
214
- :path: code
215
199
  - :type: code
216
200
  :strength: required
217
201
  :system: http://hl7.org/fhir/ValueSet/quantity-comparator
218
202
  :path: value.comparator
219
- - :type: CodeableConcept
220
- :strength: extensible
221
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
222
- :path: dataAbsentReason
223
- - :type: CodeableConcept
224
- :strength: extensible
225
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
226
- :path: interpretation
227
- - :type: CodeableConcept
228
- :strength: example
229
- :system: http://hl7.org/fhir/ValueSet/body-site
230
- :path: bodySite
231
- - :type: CodeableConcept
232
- :strength: example
233
- :system: http://hl7.org/fhir/ValueSet/observation-methods
234
- :path: method
235
- - :type: CodeableConcept
236
- :strength: preferred
237
- :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
238
- :path: referenceRange.type
239
- - :type: CodeableConcept
240
- :strength: example
241
- :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
242
- :path: referenceRange.appliesTo
243
- - :type: CodeableConcept
244
- :strength: extensible
245
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs
246
- :path: component.code
247
- - :type: Quantity
248
- :strength: extensible
249
- :system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
250
- :path: component.value
251
- - :type: CodeableConcept
252
- :strength: extensible
253
- :system: http://hl7.org/fhir/ValueSet/data-absent-reason
254
- :path: component.dataAbsentReason
255
- - :type: CodeableConcept
256
- :strength: extensible
257
- :system: http://hl7.org/fhir/ValueSet/observation-interpretation
258
- :path: component.interpretation
259
203
  :references:
260
204
  - :path: Observation.basedOn
261
205
  :profiles:
@@ -112,18 +112,10 @@
112
112
  - Practitioner.name.family
113
113
  - Practitioner.qualification.code
114
114
  :bindings:
115
- - :type: code
116
- :strength: preferred
117
- :system: http://hl7.org/fhir/ValueSet/languages
118
- :path: language
119
115
  - :type: code
120
116
  :strength: required
121
117
  :system: http://hl7.org/fhir/ValueSet/identifier-use
122
118
  :path: identifier.use
123
- - :type: CodeableConcept
124
- :strength: extensible
125
- :system: http://hl7.org/fhir/ValueSet/identifier-type
126
- :path: identifier.type
127
119
  - :type: code
128
120
  :strength: required
129
121
  :system: http://hl7.org/fhir/ValueSet/name-use
@@ -144,22 +136,10 @@
144
136
  :strength: required
145
137
  :system: http://hl7.org/fhir/ValueSet/address-type
146
138
  :path: address.type
147
- - :type: string
148
- :strength: extensible
149
- :system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
150
- :path: address.state
151
139
  - :type: code
152
140
  :strength: required
153
141
  :system: http://hl7.org/fhir/ValueSet/administrative-gender
154
142
  :path: gender
155
- - :type: CodeableConcept
156
- :strength: example
157
- :system: http://terminology.hl7.org/ValueSet/v2-2.7-0360
158
- :path: qualification.code
159
- - :type: CodeableConcept
160
- :strength: preferred
161
- :system: http://hl7.org/fhir/ValueSet/languages
162
- :path: communication
163
143
  :references:
164
144
  - :path: Practitioner.identifier.assigner
165
145
  :profiles: