us_core_test_kit 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/lib/us_core_test_kit/generated/allergy_intolerance/metadata.yml +165 -0
  3. data/lib/us_core_test_kit/generated/bodyheight/metadata.yml +328 -0
  4. data/lib/us_core_test_kit/generated/bodytemp/metadata.yml +328 -0
  5. data/lib/us_core_test_kit/generated/bodyweight/metadata.yml +328 -0
  6. data/lib/us_core_test_kit/generated/bp/metadata.yml +379 -0
  7. data/lib/us_core_test_kit/generated/care_plan/metadata.yml +296 -0
  8. data/lib/us_core_test_kit/generated/care_team/metadata.yml +140 -0
  9. data/lib/us_core_test_kit/generated/condition/metadata.yml +231 -0
  10. data/lib/us_core_test_kit/generated/device/metadata.yml +1145 -0
  11. data/lib/us_core_test_kit/generated/diagnostic_report_lab/metadata.yml +1253 -0
  12. data/lib/us_core_test_kit/generated/diagnostic_report_note/metadata.yml +1246 -0
  13. data/lib/us_core_test_kit/generated/document_reference/metadata.yml +354 -0
  14. data/lib/us_core_test_kit/generated/encounter/metadata.yml +364 -0
  15. data/lib/us_core_test_kit/generated/goal/metadata.yml +195 -0
  16. data/lib/us_core_test_kit/generated/head_circumference/metadata.yml +323 -0
  17. data/lib/us_core_test_kit/generated/heartrate/metadata.yml +325 -0
  18. data/lib/us_core_test_kit/generated/immunization/metadata.yml +210 -0
  19. data/lib/us_core_test_kit/generated/medication_request/metadata.yml +307 -0
  20. data/lib/us_core_test_kit/generated/metadata.yml +12911 -0
  21. data/lib/us_core_test_kit/generated/observation_lab/metadata.yml +1287 -0
  22. data/lib/us_core_test_kit/generated/organization/metadata.yml +146 -0
  23. data/lib/us_core_test_kit/generated/patient/metadata.yml +320 -0
  24. data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/metadata.yml +323 -0
  25. data/lib/us_core_test_kit/generated/pediatric_weight_for_height/metadata.yml +323 -0
  26. data/lib/us_core_test_kit/generated/practitioner/metadata.yml +136 -0
  27. data/lib/us_core_test_kit/generated/procedure/metadata.yml +1265 -0
  28. data/lib/us_core_test_kit/generated/provenance/metadata.yml +185 -0
  29. data/lib/us_core_test_kit/generated/pulse_oximetry/metadata.yml +410 -0
  30. data/lib/us_core_test_kit/generated/resprate/metadata.yml +325 -0
  31. data/lib/us_core_test_kit/generated/smokingstatus/metadata.yml +292 -0
  32. data/lib/us_core_test_kit/version.rb +1 -1
  33. metadata +31 -1
@@ -0,0 +1,195 @@
1
+ ---
2
+ :name: us_core_goal
3
+ :class_name: USCorev311GoalSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Goal
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal
8
+ :profile_name: US Core Goal Profile
9
+ :title: Goal
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Goal Profile.
12
+ :interactions:
13
+ - :code: create
14
+ :expectation: MAY
15
+ - :code: search-type
16
+ :expectation: SHALL
17
+ - :code: read
18
+ :expectation: SHALL
19
+ - :code: vread
20
+ :expectation: SHOULD
21
+ - :code: update
22
+ :expectation: MAY
23
+ - :code: patch
24
+ :expectation: MAY
25
+ - :code: delete
26
+ :expectation: MAY
27
+ - :code: history-instance
28
+ :expectation: SHOULD
29
+ - :code: history-type
30
+ :expectation: MAY
31
+ :operations: []
32
+ :searches:
33
+ - :names:
34
+ - patient
35
+ :expectation: SHALL
36
+ :names_not_must_support_or_mandatory: []
37
+ :must_support_or_mandatory: true
38
+ - :expectation: SHOULD
39
+ :names:
40
+ - patient
41
+ - lifecycle-status
42
+ :names_not_must_support_or_mandatory: []
43
+ :must_support_or_mandatory: true
44
+ - :expectation: SHOULD
45
+ :names:
46
+ - patient
47
+ - target-date
48
+ :names_not_must_support_or_mandatory: []
49
+ :must_support_or_mandatory: true
50
+ :search_definitions:
51
+ :patient:
52
+ :path: subject
53
+ :full_path: Goal.subject
54
+ :comparators: {}
55
+ :values: []
56
+ :type: Reference
57
+ :contains_multiple: false
58
+ :multiple_or: MAY
59
+ :lifecycle-status:
60
+ :path: lifecycleStatus
61
+ :full_path: Goal.lifecycleStatus
62
+ :comparators: {}
63
+ :values:
64
+ - proposed
65
+ - planned
66
+ - accepted
67
+ - active
68
+ - on-hold
69
+ - completed
70
+ - cancelled
71
+ - entered-in-error
72
+ - rejected
73
+ :type: code
74
+ :contains_multiple: false
75
+ :multiple_or: MAY
76
+ :target-date:
77
+ :path: target.dueDate
78
+ :full_path: Goal.target.dueDate
79
+ :comparators:
80
+ :eq: MAY
81
+ :ne: MAY
82
+ :gt: SHALL
83
+ :ge: SHALL
84
+ :lt: SHALL
85
+ :le: SHALL
86
+ :sa: MAY
87
+ :eb: MAY
88
+ :ap: MAY
89
+ :values: []
90
+ :type: date
91
+ :contains_multiple: false
92
+ :multiple_or: MAY
93
+ :include_params: []
94
+ :revincludes:
95
+ - Provenance:target
96
+ :required_concepts: []
97
+ :must_supports:
98
+ :extensions: []
99
+ :slices:
100
+ - :name: Goal.target.due[x]:dueDate
101
+ :path: target.due[x]
102
+ :discriminator:
103
+ :type: type
104
+ :code: Date
105
+ :elements:
106
+ - :path: lifecycleStatus
107
+ - :path: description
108
+ - :path: subject
109
+ - :path: target
110
+ :mandatory_elements:
111
+ - Goal.lifecycleStatus
112
+ - Goal.description
113
+ - Goal.subject
114
+ :bindings:
115
+ - :type: code
116
+ :strength: preferred
117
+ :system: http://hl7.org/fhir/ValueSet/languages
118
+ :path: language
119
+ - :type: code
120
+ :strength: required
121
+ :system: http://hl7.org/fhir/ValueSet/goal-status
122
+ :path: lifecycleStatus
123
+ - :type: CodeableConcept
124
+ :strength: preferred
125
+ :system: http://hl7.org/fhir/ValueSet/goal-achievement
126
+ :path: achievementStatus
127
+ - :type: CodeableConcept
128
+ :strength: example
129
+ :system: http://hl7.org/fhir/ValueSet/goal-category
130
+ :path: category
131
+ - :type: CodeableConcept
132
+ :strength: preferred
133
+ :system: http://hl7.org/fhir/ValueSet/goal-priority
134
+ :path: priority
135
+ - :type: CodeableConcept
136
+ :strength: example
137
+ :system: http://hl7.org/fhir/ValueSet/clinical-findings
138
+ :path: description
139
+ - :type: date
140
+ :strength: example
141
+ :system: http://hl7.org/fhir/ValueSet/goal-start-event
142
+ :path: start
143
+ - :type: CodeableConcept
144
+ :strength: example
145
+ :system: http://hl7.org/fhir/ValueSet/observation-codes
146
+ :path: target.measure
147
+ - :type: Quantity
148
+ :strength: example
149
+ :system:
150
+ :path: target.detail
151
+ - :type: CodeableConcept
152
+ :strength: example
153
+ :system: http://hl7.org/fhir/ValueSet/clinical-findings
154
+ :path: outcomeCode
155
+ :references:
156
+ - :path: Goal.subject
157
+ :profiles:
158
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
159
+ - :path: Goal.expressedBy
160
+ :profiles:
161
+ - http://hl7.org/fhir/StructureDefinition/Patient
162
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
163
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
164
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
165
+ - :path: Goal.addresses
166
+ :profiles:
167
+ - http://hl7.org/fhir/StructureDefinition/Condition
168
+ - http://hl7.org/fhir/StructureDefinition/Observation
169
+ - http://hl7.org/fhir/StructureDefinition/MedicationStatement
170
+ - http://hl7.org/fhir/StructureDefinition/NutritionOrder
171
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
172
+ - http://hl7.org/fhir/StructureDefinition/RiskAssessment
173
+ - :path: Goal.outcomeReference
174
+ :profiles:
175
+ - http://hl7.org/fhir/StructureDefinition/Observation
176
+ :tests:
177
+ - :id: us_core_311_goal_patient_search_test
178
+ :file_name: goal_patient_search_test.rb
179
+ - :id: us_core_311_goal_patient_lifecycle_status_search_test
180
+ :file_name: goal_patient_lifecycle_status_search_test.rb
181
+ - :id: us_core_311_goal_patient_target_date_search_test
182
+ :file_name: goal_patient_target_date_search_test.rb
183
+ - :id: us_core_311_goal_read_test
184
+ :file_name: goal_read_test.rb
185
+ - :id: us_core_311_goal_provenance_revinclude_search_test
186
+ :file_name: goal_provenance_revinclude_search_test.rb
187
+ - :id: us_core_311_goal_validation_test
188
+ :file_name: goal_validation_test.rb
189
+ - :id: us_core_311_goal_must_support_test
190
+ :file_name: goal_must_support_test.rb
191
+ - :id: us_core_311_goal_reference_resolution_test
192
+ :file_name: goal_reference_resolution_test.rb
193
+ :id: us_core_311_goal
194
+ :file_name: goal_group.rb
195
+ :delayed_references: []
@@ -0,0 +1,323 @@
1
+ ---
2
+ :name: head_occipital_frontal_circumference_percentile
3
+ :class_name: HeadOccipitalFrontalCircumferencePercentileSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Observation
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile
8
+ :profile_name: US Core Pediatric Head Occipital-frontal Circumference Percentile Profile
9
+ :title: Pediatric Head Occipital-frontal Circumference Percentile
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Pediatric Head Occipital-frontal Circumference Percentile Profile.
12
+ :interactions:
13
+ - :code: create
14
+ :expectation: MAY
15
+ - :code: search-type
16
+ :expectation: SHALL
17
+ - :code: read
18
+ :expectation: SHALL
19
+ - :code: vread
20
+ :expectation: SHOULD
21
+ - :code: update
22
+ :expectation: MAY
23
+ - :code: patch
24
+ :expectation: MAY
25
+ - :code: delete
26
+ :expectation: MAY
27
+ - :code: history-instance
28
+ :expectation: SHOULD
29
+ - :code: history-type
30
+ :expectation: MAY
31
+ :operations: []
32
+ :searches:
33
+ - :expectation: SHALL
34
+ :names:
35
+ - patient
36
+ - code
37
+ :names_not_must_support_or_mandatory: []
38
+ :must_support_or_mandatory: true
39
+ - :expectation: SHALL
40
+ :names:
41
+ - patient
42
+ - category
43
+ - date
44
+ :names_not_must_support_or_mandatory: []
45
+ :must_support_or_mandatory: true
46
+ - :expectation: SHOULD
47
+ :names:
48
+ - patient
49
+ - category
50
+ - status
51
+ :names_not_must_support_or_mandatory: []
52
+ :must_support_or_mandatory: true
53
+ - :expectation: SHOULD
54
+ :names:
55
+ - patient
56
+ - code
57
+ - date
58
+ :names_not_must_support_or_mandatory: []
59
+ :must_support_or_mandatory: true
60
+ - :expectation: SHALL
61
+ :names:
62
+ - patient
63
+ - category
64
+ :names_not_must_support_or_mandatory: []
65
+ :must_support_or_mandatory: true
66
+ :search_definitions:
67
+ :patient:
68
+ :path: subject
69
+ :full_path: Observation.subject
70
+ :comparators: {}
71
+ :values: []
72
+ :type: Reference
73
+ :contains_multiple: false
74
+ :multiple_or: MAY
75
+ :category:
76
+ :path: category
77
+ :full_path: Observation.category
78
+ :comparators: {}
79
+ :values:
80
+ - vital-signs
81
+ :type: CodeableConcept
82
+ :contains_multiple: true
83
+ :multiple_or: MAY
84
+ :date:
85
+ :path: effective
86
+ :full_path: Observation.effective
87
+ :comparators:
88
+ :eq: MAY
89
+ :ne: MAY
90
+ :gt: SHALL
91
+ :ge: SHALL
92
+ :lt: SHALL
93
+ :le: SHALL
94
+ :sa: MAY
95
+ :eb: MAY
96
+ :ap: MAY
97
+ :values: []
98
+ :type: date
99
+ :contains_multiple: false
100
+ :multiple_or: MAY
101
+ :status:
102
+ :path: status
103
+ :full_path: Observation.status
104
+ :comparators: {}
105
+ :values:
106
+ - registered
107
+ - preliminary
108
+ - final
109
+ - amended
110
+ - corrected
111
+ - cancelled
112
+ - entered-in-error
113
+ - unknown
114
+ :type: code
115
+ :contains_multiple: false
116
+ :multiple_or: SHALL
117
+ :code:
118
+ :path: code
119
+ :full_path: Observation.code
120
+ :comparators: {}
121
+ :values:
122
+ - 8289-1
123
+ :type: CodeableConcept
124
+ :contains_multiple: false
125
+ :multiple_or: SHOULD
126
+ :include_params: []
127
+ :revincludes:
128
+ - Provenance:target
129
+ :required_concepts:
130
+ :must_supports:
131
+ :extensions: []
132
+ :slices:
133
+ - :name: Observation.value[x]:valueQuantity
134
+ :path: value[x]
135
+ :discriminator:
136
+ :type: type
137
+ :code: Quantity
138
+ - :name: Observation.category:VSCat
139
+ :path: category
140
+ :discriminator:
141
+ :type: value
142
+ :values:
143
+ - :path: coding.code
144
+ :value: vital-signs
145
+ - :path: coding.system
146
+ :value: http://terminology.hl7.org/CodeSystem/observation-category
147
+ :elements:
148
+ - :path: status
149
+ - :path: category
150
+ - :path: category.coding
151
+ - :path: category.coding.system
152
+ :fixed_value: http://terminology.hl7.org/CodeSystem/observation-category
153
+ - :path: category.coding.code
154
+ :fixed_value: vital-signs
155
+ - :path: code.coding.code
156
+ :fixed_value: 8289-1
157
+ - :path: subject
158
+ - :path: effective[x]
159
+ - :path: value[x]
160
+ - :path: value[x].value
161
+ - :path: value[x].unit
162
+ - :path: value[x].system
163
+ :fixed_value: http://unitsofmeasure.org
164
+ - :path: value[x].code
165
+ :fixed_value: "%"
166
+ :mandatory_elements:
167
+ - Observation.status
168
+ - Observation.category
169
+ - Observation.category
170
+ - Observation.category.coding
171
+ - Observation.category.coding.system
172
+ - Observation.category.coding.code
173
+ - Observation.code
174
+ - Observation.subject
175
+ - Observation.effective[x]
176
+ - Observation.value[x].value
177
+ - Observation.value[x].unit
178
+ - Observation.value[x].system
179
+ - Observation.value[x].code
180
+ - Observation.component.code
181
+ :bindings:
182
+ - :type: code
183
+ :strength: preferred
184
+ :system: http://hl7.org/fhir/ValueSet/languages
185
+ :path: language
186
+ - :type: code
187
+ :strength: required
188
+ :system: http://hl7.org/fhir/ValueSet/observation-status
189
+ :path: status
190
+ - :type: CodeableConcept
191
+ :strength: preferred
192
+ :system: http://hl7.org/fhir/ValueSet/observation-category
193
+ :path: category
194
+ - :type: CodeableConcept
195
+ :strength: preferred
196
+ :system: http://hl7.org/fhir/ValueSet/observation-category
197
+ :path: category
198
+ - :type: CodeableConcept
199
+ :strength: extensible
200
+ :system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
201
+ :path: code
202
+ - :type: code
203
+ :strength: required
204
+ :system: http://hl7.org/fhir/ValueSet/quantity-comparator
205
+ :path: value.comparator
206
+ - :type: CodeableConcept
207
+ :strength: extensible
208
+ :system: http://hl7.org/fhir/ValueSet/data-absent-reason
209
+ :path: dataAbsentReason
210
+ - :type: CodeableConcept
211
+ :strength: extensible
212
+ :system: http://hl7.org/fhir/ValueSet/observation-interpretation
213
+ :path: interpretation
214
+ - :type: CodeableConcept
215
+ :strength: example
216
+ :system: http://hl7.org/fhir/ValueSet/body-site
217
+ :path: bodySite
218
+ - :type: CodeableConcept
219
+ :strength: example
220
+ :system: http://hl7.org/fhir/ValueSet/observation-methods
221
+ :path: method
222
+ - :type: CodeableConcept
223
+ :strength: preferred
224
+ :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
225
+ :path: referenceRange.type
226
+ - :type: CodeableConcept
227
+ :strength: example
228
+ :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
229
+ :path: referenceRange.appliesTo
230
+ - :type: CodeableConcept
231
+ :strength: extensible
232
+ :system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
233
+ :path: component.code
234
+ - :type: Quantity
235
+ :strength: required
236
+ :system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
237
+ :path: component.value
238
+ - :type: CodeableConcept
239
+ :strength: extensible
240
+ :system: http://hl7.org/fhir/ValueSet/data-absent-reason
241
+ :path: component.dataAbsentReason
242
+ - :type: CodeableConcept
243
+ :strength: extensible
244
+ :system: http://hl7.org/fhir/ValueSet/observation-interpretation
245
+ :path: component.interpretation
246
+ :references:
247
+ - :path: Observation.basedOn
248
+ :profiles:
249
+ - http://hl7.org/fhir/StructureDefinition/CarePlan
250
+ - http://hl7.org/fhir/StructureDefinition/DeviceRequest
251
+ - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
252
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
253
+ - http://hl7.org/fhir/StructureDefinition/NutritionOrder
254
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
255
+ - :path: Observation.partOf
256
+ :profiles:
257
+ - http://hl7.org/fhir/StructureDefinition/MedicationAdministration
258
+ - http://hl7.org/fhir/StructureDefinition/MedicationDispense
259
+ - http://hl7.org/fhir/StructureDefinition/MedicationStatement
260
+ - http://hl7.org/fhir/StructureDefinition/Procedure
261
+ - http://hl7.org/fhir/StructureDefinition/Immunization
262
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
263
+ - :path: Observation.subject
264
+ :profiles:
265
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
266
+ - :path: Observation.focus
267
+ :profiles:
268
+ - http://hl7.org/fhir/StructureDefinition/Resource
269
+ - :path: Observation.encounter
270
+ :profiles:
271
+ - http://hl7.org/fhir/StructureDefinition/Encounter
272
+ - :path: Observation.performer
273
+ :profiles:
274
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
275
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
276
+ - http://hl7.org/fhir/StructureDefinition/Organization
277
+ - http://hl7.org/fhir/StructureDefinition/CareTeam
278
+ - http://hl7.org/fhir/StructureDefinition/Patient
279
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
280
+ - :path: Observation.specimen
281
+ :profiles:
282
+ - http://hl7.org/fhir/StructureDefinition/Specimen
283
+ - :path: Observation.device
284
+ :profiles:
285
+ - http://hl7.org/fhir/StructureDefinition/Device
286
+ - http://hl7.org/fhir/StructureDefinition/DeviceMetric
287
+ - :path: Observation.hasMember
288
+ :profiles:
289
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
290
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
291
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
292
+ - :path: Observation.derivedFrom
293
+ :profiles:
294
+ - http://hl7.org/fhir/StructureDefinition/DocumentReference
295
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
296
+ - http://hl7.org/fhir/StructureDefinition/Media
297
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
298
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
299
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
300
+ :tests:
301
+ - :id: us_core_311_head_circumference_patient_code_search_test
302
+ :file_name: head_circumference_patient_code_search_test.rb
303
+ - :id: us_core_311_head_circumference_patient_category_date_search_test
304
+ :file_name: head_circumference_patient_category_date_search_test.rb
305
+ - :id: us_core_311_head_circumference_patient_category_status_search_test
306
+ :file_name: head_circumference_patient_category_status_search_test.rb
307
+ - :id: us_core_311_head_circumference_patient_code_date_search_test
308
+ :file_name: head_circumference_patient_code_date_search_test.rb
309
+ - :id: us_core_311_head_circumference_patient_category_search_test
310
+ :file_name: head_circumference_patient_category_search_test.rb
311
+ - :id: us_core_311_head_circumference_read_test
312
+ :file_name: head_circumference_read_test.rb
313
+ - :id: us_core_311_head_circumference_provenance_revinclude_search_test
314
+ :file_name: head_circumference_provenance_revinclude_search_test.rb
315
+ - :id: us_core_311_head_circumference_validation_test
316
+ :file_name: head_circumference_validation_test.rb
317
+ - :id: us_core_311_head_circumference_must_support_test
318
+ :file_name: head_circumference_must_support_test.rb
319
+ - :id: us_core_311_head_circumference_reference_resolution_test
320
+ :file_name: head_circumference_reference_resolution_test.rb
321
+ :id: us_core_311_head_circumference
322
+ :file_name: head_circumference_group.rb
323
+ :delayed_references: []