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,325 @@
1
+ ---
2
+ :name: heartrate
3
+ :class_name: HeartrateSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Observation
7
+ :profile_url: http://hl7.org/fhir/StructureDefinition/heartrate
8
+ :profile_name: Observation Heart Rate Profile
9
+ :title: Observation Heart Rate
10
+ :short_description: Verify support for the server capabilities required by the Observation
11
+ Heart Rate 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
+ - 8867-4
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
156
+ - :path: subject
157
+ - :path: effective[x]
158
+ - :path: value[x]
159
+ - :path: value[x].value
160
+ - :path: value[x].unit
161
+ - :path: value[x].system
162
+ :fixed_value: http://unitsofmeasure.org
163
+ - :path: value[x].code
164
+ :fixed_value: "/min"
165
+ :mandatory_elements:
166
+ - Observation.status
167
+ - Observation.category
168
+ - Observation.category
169
+ - Observation.category.coding
170
+ - Observation.category.coding.system
171
+ - Observation.category.coding.code
172
+ - Observation.code
173
+ - Observation.code.coding
174
+ - Observation.code.coding.system
175
+ - Observation.code.coding.code
176
+ - Observation.subject
177
+ - Observation.effective[x]
178
+ - Observation.value[x].value
179
+ - Observation.value[x].unit
180
+ - Observation.value[x].system
181
+ - Observation.value[x].code
182
+ - Observation.component.code
183
+ :bindings:
184
+ - :type: code
185
+ :strength: preferred
186
+ :system: http://hl7.org/fhir/ValueSet/languages
187
+ :path: language
188
+ - :type: code
189
+ :strength: required
190
+ :system: http://hl7.org/fhir/ValueSet/observation-status
191
+ :path: status
192
+ - :type: CodeableConcept
193
+ :strength: preferred
194
+ :system: http://hl7.org/fhir/ValueSet/observation-category
195
+ :path: category
196
+ - :type: CodeableConcept
197
+ :strength: preferred
198
+ :system: http://hl7.org/fhir/ValueSet/observation-category
199
+ :path: category
200
+ - :type: CodeableConcept
201
+ :strength: extensible
202
+ :system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
203
+ :path: code
204
+ - :type: code
205
+ :strength: required
206
+ :system: http://hl7.org/fhir/ValueSet/quantity-comparator
207
+ :path: value.comparator
208
+ - :type: CodeableConcept
209
+ :strength: extensible
210
+ :system: http://hl7.org/fhir/ValueSet/data-absent-reason
211
+ :path: dataAbsentReason
212
+ - :type: CodeableConcept
213
+ :strength: extensible
214
+ :system: http://hl7.org/fhir/ValueSet/observation-interpretation
215
+ :path: interpretation
216
+ - :type: CodeableConcept
217
+ :strength: example
218
+ :system: http://hl7.org/fhir/ValueSet/body-site
219
+ :path: bodySite
220
+ - :type: CodeableConcept
221
+ :strength: example
222
+ :system: http://hl7.org/fhir/ValueSet/observation-methods
223
+ :path: method
224
+ - :type: CodeableConcept
225
+ :strength: preferred
226
+ :system: http://hl7.org/fhir/ValueSet/referencerange-meaning
227
+ :path: referenceRange.type
228
+ - :type: CodeableConcept
229
+ :strength: example
230
+ :system: http://hl7.org/fhir/ValueSet/referencerange-appliesto
231
+ :path: referenceRange.appliesTo
232
+ - :type: CodeableConcept
233
+ :strength: extensible
234
+ :system: http://hl7.org/fhir/ValueSet/observation-vitalsignresult
235
+ :path: component.code
236
+ - :type: Quantity
237
+ :strength: required
238
+ :system: http://hl7.org/fhir/ValueSet/ucum-vitals-common
239
+ :path: component.value
240
+ - :type: CodeableConcept
241
+ :strength: extensible
242
+ :system: http://hl7.org/fhir/ValueSet/data-absent-reason
243
+ :path: component.dataAbsentReason
244
+ - :type: CodeableConcept
245
+ :strength: extensible
246
+ :system: http://hl7.org/fhir/ValueSet/observation-interpretation
247
+ :path: component.interpretation
248
+ :references:
249
+ - :path: Observation.basedOn
250
+ :profiles:
251
+ - http://hl7.org/fhir/StructureDefinition/CarePlan
252
+ - http://hl7.org/fhir/StructureDefinition/DeviceRequest
253
+ - http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
254
+ - http://hl7.org/fhir/StructureDefinition/MedicationRequest
255
+ - http://hl7.org/fhir/StructureDefinition/NutritionOrder
256
+ - http://hl7.org/fhir/StructureDefinition/ServiceRequest
257
+ - :path: Observation.partOf
258
+ :profiles:
259
+ - http://hl7.org/fhir/StructureDefinition/MedicationAdministration
260
+ - http://hl7.org/fhir/StructureDefinition/MedicationDispense
261
+ - http://hl7.org/fhir/StructureDefinition/MedicationStatement
262
+ - http://hl7.org/fhir/StructureDefinition/Procedure
263
+ - http://hl7.org/fhir/StructureDefinition/Immunization
264
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
265
+ - :path: Observation.subject
266
+ :profiles:
267
+ - http://hl7.org/fhir/StructureDefinition/Patient
268
+ - :path: Observation.focus
269
+ :profiles:
270
+ - http://hl7.org/fhir/StructureDefinition/Resource
271
+ - :path: Observation.encounter
272
+ :profiles:
273
+ - http://hl7.org/fhir/StructureDefinition/Encounter
274
+ - :path: Observation.performer
275
+ :profiles:
276
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
277
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
278
+ - http://hl7.org/fhir/StructureDefinition/Organization
279
+ - http://hl7.org/fhir/StructureDefinition/CareTeam
280
+ - http://hl7.org/fhir/StructureDefinition/Patient
281
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
282
+ - :path: Observation.specimen
283
+ :profiles:
284
+ - http://hl7.org/fhir/StructureDefinition/Specimen
285
+ - :path: Observation.device
286
+ :profiles:
287
+ - http://hl7.org/fhir/StructureDefinition/Device
288
+ - http://hl7.org/fhir/StructureDefinition/DeviceMetric
289
+ - :path: Observation.hasMember
290
+ :profiles:
291
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
292
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
293
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
294
+ - :path: Observation.derivedFrom
295
+ :profiles:
296
+ - http://hl7.org/fhir/StructureDefinition/DocumentReference
297
+ - http://hl7.org/fhir/StructureDefinition/ImagingStudy
298
+ - http://hl7.org/fhir/StructureDefinition/Media
299
+ - http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
300
+ - http://hl7.org/fhir/StructureDefinition/MolecularSequence
301
+ - http://hl7.org/fhir/StructureDefinition/vitalsigns
302
+ :tests:
303
+ - :id: us_core_311_heartrate_patient_code_search_test
304
+ :file_name: heartrate_patient_code_search_test.rb
305
+ - :id: us_core_311_heartrate_patient_category_date_search_test
306
+ :file_name: heartrate_patient_category_date_search_test.rb
307
+ - :id: us_core_311_heartrate_patient_category_status_search_test
308
+ :file_name: heartrate_patient_category_status_search_test.rb
309
+ - :id: us_core_311_heartrate_patient_code_date_search_test
310
+ :file_name: heartrate_patient_code_date_search_test.rb
311
+ - :id: us_core_311_heartrate_patient_category_search_test
312
+ :file_name: heartrate_patient_category_search_test.rb
313
+ - :id: us_core_311_heartrate_read_test
314
+ :file_name: heartrate_read_test.rb
315
+ - :id: us_core_311_heartrate_provenance_revinclude_search_test
316
+ :file_name: heartrate_provenance_revinclude_search_test.rb
317
+ - :id: us_core_311_heartrate_validation_test
318
+ :file_name: heartrate_validation_test.rb
319
+ - :id: us_core_311_heartrate_must_support_test
320
+ :file_name: heartrate_must_support_test.rb
321
+ - :id: us_core_311_heartrate_reference_resolution_test
322
+ :file_name: heartrate_reference_resolution_test.rb
323
+ :id: us_core_311_heartrate
324
+ :file_name: heartrate_group.rb
325
+ :delayed_references: []
@@ -0,0 +1,210 @@
1
+ ---
2
+ :name: us_core_immunization
3
+ :class_name: USCorev311ImmunizationSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Immunization
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization
8
+ :profile_name: US Core Immunization Profile
9
+ :title: Immunization
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Immunization 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
+ - date
42
+ :names_not_must_support_or_mandatory: []
43
+ :must_support_or_mandatory: true
44
+ - :expectation: SHOULD
45
+ :names:
46
+ - patient
47
+ - status
48
+ :names_not_must_support_or_mandatory: []
49
+ :must_support_or_mandatory: true
50
+ :search_definitions:
51
+ :patient:
52
+ :path: patient
53
+ :full_path: Immunization.patient
54
+ :comparators: {}
55
+ :values: []
56
+ :type: Reference
57
+ :contains_multiple: false
58
+ :multiple_or: MAY
59
+ :date:
60
+ :path: occurrence
61
+ :full_path: Immunization.occurrence
62
+ :comparators:
63
+ :eq: MAY
64
+ :ne: MAY
65
+ :gt: SHALL
66
+ :ge: SHALL
67
+ :lt: SHALL
68
+ :le: SHALL
69
+ :sa: MAY
70
+ :eb: MAY
71
+ :ap: MAY
72
+ :values: []
73
+ :type: date
74
+ :contains_multiple: false
75
+ :multiple_or: MAY
76
+ :status:
77
+ :path: status
78
+ :full_path: Immunization.status
79
+ :comparators: {}
80
+ :values:
81
+ - completed
82
+ - entered-in-error
83
+ - not-done
84
+ :type: code
85
+ :contains_multiple: false
86
+ :multiple_or: MAY
87
+ :include_params: []
88
+ :revincludes:
89
+ - Provenance:target
90
+ :required_concepts: []
91
+ :must_supports:
92
+ :extensions: []
93
+ :slices: []
94
+ :elements:
95
+ - :path: status
96
+ - :path: statusReason
97
+ - :path: vaccineCode
98
+ - :path: patient
99
+ - :path: occurrence[x]
100
+ - :path: primarySource
101
+ :mandatory_elements:
102
+ - Immunization.status
103
+ - Immunization.vaccineCode
104
+ - Immunization.patient
105
+ - Immunization.occurrence[x]
106
+ - Immunization.primarySource
107
+ - Immunization.performer.actor
108
+ - Immunization.protocolApplied.doseNumber[x]
109
+ :bindings:
110
+ - :type: code
111
+ :strength: preferred
112
+ :system: http://hl7.org/fhir/ValueSet/languages
113
+ :path: language
114
+ - :type: code
115
+ :strength: required
116
+ :system: http://hl7.org/fhir/ValueSet/immunization-status
117
+ :path: status
118
+ - :type: CodeableConcept
119
+ :strength: example
120
+ :system: http://hl7.org/fhir/ValueSet/immunization-status-reason
121
+ :path: statusReason
122
+ - :type: CodeableConcept
123
+ :strength: extensible
124
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx
125
+ :path: vaccineCode
126
+ - :type: CodeableConcept
127
+ :strength: example
128
+ :system: http://hl7.org/fhir/ValueSet/immunization-origin
129
+ :path: reportOrigin
130
+ - :type: CodeableConcept
131
+ :strength: example
132
+ :system: http://hl7.org/fhir/ValueSet/immunization-site
133
+ :path: site
134
+ - :type: CodeableConcept
135
+ :strength: example
136
+ :system: http://hl7.org/fhir/ValueSet/immunization-route
137
+ :path: route
138
+ - :type: CodeableConcept
139
+ :strength: extensible
140
+ :system: http://hl7.org/fhir/ValueSet/immunization-function
141
+ :path: performer.function
142
+ - :type: CodeableConcept
143
+ :strength: example
144
+ :system: http://hl7.org/fhir/ValueSet/immunization-reason
145
+ :path: reasonCode
146
+ - :type: CodeableConcept
147
+ :strength: example
148
+ :system: http://hl7.org/fhir/ValueSet/immunization-subpotent-reason
149
+ :path: subpotentReason
150
+ - :type: CodeableConcept
151
+ :strength: example
152
+ :system: http://hl7.org/fhir/ValueSet/immunization-program-eligibility
153
+ :path: programEligibility
154
+ - :type: CodeableConcept
155
+ :strength: example
156
+ :system: http://hl7.org/fhir/ValueSet/immunization-funding-source
157
+ :path: fundingSource
158
+ - :type: CodeableConcept
159
+ :strength: example
160
+ :system: http://hl7.org/fhir/ValueSet/immunization-target-disease
161
+ :path: protocolApplied.targetDisease
162
+ :references:
163
+ - :path: Immunization.patient
164
+ :profiles:
165
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
166
+ - :path: Immunization.encounter
167
+ :profiles:
168
+ - http://hl7.org/fhir/StructureDefinition/Encounter
169
+ - :path: Immunization.location
170
+ :profiles:
171
+ - http://hl7.org/fhir/StructureDefinition/Location
172
+ - :path: Immunization.manufacturer
173
+ :profiles:
174
+ - http://hl7.org/fhir/StructureDefinition/Organization
175
+ - :path: Immunization.performer.actor
176
+ :profiles:
177
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
178
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
179
+ - http://hl7.org/fhir/StructureDefinition/Organization
180
+ - :path: Immunization.reasonReference
181
+ :profiles:
182
+ - http://hl7.org/fhir/StructureDefinition/Condition
183
+ - http://hl7.org/fhir/StructureDefinition/Observation
184
+ - http://hl7.org/fhir/StructureDefinition/DiagnosticReport
185
+ - :path: Immunization.reaction.detail
186
+ :profiles:
187
+ - http://hl7.org/fhir/StructureDefinition/Observation
188
+ - :path: Immunization.protocolApplied.authority
189
+ :profiles:
190
+ - http://hl7.org/fhir/StructureDefinition/Organization
191
+ :tests:
192
+ - :id: us_core_311_immunization_patient_search_test
193
+ :file_name: immunization_patient_search_test.rb
194
+ - :id: us_core_311_immunization_patient_date_search_test
195
+ :file_name: immunization_patient_date_search_test.rb
196
+ - :id: us_core_311_immunization_patient_status_search_test
197
+ :file_name: immunization_patient_status_search_test.rb
198
+ - :id: us_core_311_immunization_read_test
199
+ :file_name: immunization_read_test.rb
200
+ - :id: us_core_311_immunization_provenance_revinclude_search_test
201
+ :file_name: immunization_provenance_revinclude_search_test.rb
202
+ - :id: us_core_311_immunization_validation_test
203
+ :file_name: immunization_validation_test.rb
204
+ - :id: us_core_311_immunization_must_support_test
205
+ :file_name: immunization_must_support_test.rb
206
+ - :id: us_core_311_immunization_reference_resolution_test
207
+ :file_name: immunization_reference_resolution_test.rb
208
+ :id: us_core_311_immunization
209
+ :file_name: immunization_group.rb
210
+ :delayed_references: []