us_core_test_kit 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,146 @@
1
+ ---
2
+ :name: us_core_organization
3
+ :class_name: USCorev311OrganizationSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Organization
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
8
+ :profile_name: US Core Organization Profile
9
+ :title: Organization
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Organization 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
+ - name
35
+ :expectation: SHALL
36
+ :names_not_must_support_or_mandatory: []
37
+ :must_support_or_mandatory: true
38
+ - :names:
39
+ - address
40
+ :expectation: SHALL
41
+ :names_not_must_support_or_mandatory: []
42
+ :must_support_or_mandatory: true
43
+ :search_definitions:
44
+ :name:
45
+ :path: name
46
+ :full_path: Organization.name
47
+ :comparators: {}
48
+ :values: []
49
+ :type: string
50
+ :contains_multiple: false
51
+ :multiple_or: MAY
52
+ :address:
53
+ :path: address
54
+ :full_path: Organization.address
55
+ :comparators: {}
56
+ :values: []
57
+ :type: Address
58
+ :contains_multiple: true
59
+ :multiple_or: MAY
60
+ :include_params: []
61
+ :revincludes: []
62
+ :required_concepts: []
63
+ :must_supports:
64
+ :extensions: []
65
+ :slices:
66
+ - :name: Organization.identifier:NPI
67
+ :path: identifier
68
+ :discriminator:
69
+ :type: patternIdentifier
70
+ :path: ''
71
+ :system: http://hl7.org/fhir/sid/us-npi
72
+ :elements:
73
+ - :path: identifier
74
+ - :path: identifier.system
75
+ - :path: identifier.value
76
+ - :path: active
77
+ - :path: name
78
+ - :path: telecom
79
+ - :path: address
80
+ - :path: address.line
81
+ - :path: address.city
82
+ - :path: address.state
83
+ - :path: address.postalCode
84
+ - :path: address.country
85
+ :mandatory_elements:
86
+ - Organization.active
87
+ - Organization.name
88
+ :bindings:
89
+ - :type: code
90
+ :strength: preferred
91
+ :system: http://hl7.org/fhir/ValueSet/languages
92
+ :path: language
93
+ - :type: code
94
+ :strength: required
95
+ :system: http://hl7.org/fhir/ValueSet/identifier-use
96
+ :path: identifier.use
97
+ - :type: CodeableConcept
98
+ :strength: extensible
99
+ :system: http://hl7.org/fhir/ValueSet/identifier-type
100
+ :path: identifier.type
101
+ - :type: CodeableConcept
102
+ :strength: example
103
+ :system: http://hl7.org/fhir/ValueSet/organization-type
104
+ :path: type
105
+ - :type: code
106
+ :strength: required
107
+ :system: http://hl7.org/fhir/ValueSet/address-use
108
+ :path: address.use
109
+ - :type: code
110
+ :strength: required
111
+ :system: http://hl7.org/fhir/ValueSet/address-type
112
+ :path: address.type
113
+ - :type: string
114
+ :strength: extensible
115
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
116
+ :path: address.state
117
+ - :type: CodeableConcept
118
+ :strength: extensible
119
+ :system: http://hl7.org/fhir/ValueSet/contactentity-type
120
+ :path: contact.purpose
121
+ :references:
122
+ - :path: Organization.identifier.assigner
123
+ :profiles:
124
+ - http://hl7.org/fhir/StructureDefinition/Organization
125
+ - :path: Organization.partOf
126
+ :profiles:
127
+ - http://hl7.org/fhir/StructureDefinition/Organization
128
+ - :path: Organization.endpoint
129
+ :profiles:
130
+ - http://hl7.org/fhir/StructureDefinition/Endpoint
131
+ :tests:
132
+ - :id: us_core_311_organization_read_test
133
+ :file_name: organization_read_test.rb
134
+ - :id: us_core_311_organization_name_search_test
135
+ :file_name: organization_name_search_test.rb
136
+ - :id: us_core_311_organization_address_search_test
137
+ :file_name: organization_address_search_test.rb
138
+ - :id: us_core_311_organization_validation_test
139
+ :file_name: organization_validation_test.rb
140
+ - :id: us_core_311_organization_must_support_test
141
+ :file_name: organization_must_support_test.rb
142
+ - :id: us_core_311_organization_reference_resolution_test
143
+ :file_name: organization_reference_resolution_test.rb
144
+ :id: us_core_311_organization
145
+ :file_name: organization_group.rb
146
+ :delayed_references: []
@@ -0,0 +1,320 @@
1
+ ---
2
+ :name: us_core_patient
3
+ :class_name: USCorev311PatientSequence
4
+ :version: v3.1.1
5
+ :reformatted_version: v311
6
+ :resource: Patient
7
+ :profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
8
+ :profile_name: US Core Patient Profile
9
+ :title: Patient
10
+ :short_description: Verify support for the server capabilities required by the US
11
+ Core Patient 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
+ - _id
35
+ :expectation: SHALL
36
+ :names_not_must_support_or_mandatory: []
37
+ :must_support_or_mandatory: true
38
+ - :names:
39
+ - identifier
40
+ :expectation: SHALL
41
+ :names_not_must_support_or_mandatory: []
42
+ :must_support_or_mandatory: true
43
+ - :names:
44
+ - name
45
+ :expectation: SHALL
46
+ :names_not_must_support_or_mandatory: []
47
+ :must_support_or_mandatory: true
48
+ - :expectation: SHOULD
49
+ :names:
50
+ - birthdate
51
+ - family
52
+ :names_not_must_support_or_mandatory: []
53
+ :must_support_or_mandatory: true
54
+ - :expectation: SHOULD
55
+ :names:
56
+ - family
57
+ - gender
58
+ :names_not_must_support_or_mandatory: []
59
+ :must_support_or_mandatory: true
60
+ - :expectation: SHALL
61
+ :names:
62
+ - birthdate
63
+ - name
64
+ :names_not_must_support_or_mandatory: []
65
+ :must_support_or_mandatory: true
66
+ - :expectation: SHALL
67
+ :names:
68
+ - gender
69
+ - name
70
+ :names_not_must_support_or_mandatory: []
71
+ :must_support_or_mandatory: true
72
+ :search_definitions:
73
+ :_id:
74
+ :path: id
75
+ :full_path: Patient.id
76
+ :comparators: {}
77
+ :values: []
78
+ :type: http://hl7.org/fhirpath/System.String
79
+ :contains_multiple: false
80
+ :multiple_or: MAY
81
+ :identifier:
82
+ :path: identifier
83
+ :full_path: Patient.identifier
84
+ :comparators: {}
85
+ :values: []
86
+ :type: Identifier
87
+ :contains_multiple: true
88
+ :multiple_or: MAY
89
+ :name:
90
+ :path: name
91
+ :full_path: Patient.name
92
+ :comparators: {}
93
+ :values: []
94
+ :type: HumanName
95
+ :contains_multiple: true
96
+ :multiple_or: MAY
97
+ :birthdate:
98
+ :path: birthDate
99
+ :full_path: Patient.birthDate
100
+ :comparators:
101
+ :eq: MAY
102
+ :ne: MAY
103
+ :gt: MAY
104
+ :ge: MAY
105
+ :lt: MAY
106
+ :le: MAY
107
+ :sa: MAY
108
+ :eb: MAY
109
+ :ap: MAY
110
+ :values: []
111
+ :type: date
112
+ :contains_multiple: false
113
+ :multiple_or: MAY
114
+ :family:
115
+ :path: name.family
116
+ :full_path: Patient.name.family
117
+ :comparators: {}
118
+ :values: []
119
+ :type: string
120
+ :contains_multiple: false
121
+ :multiple_or: MAY
122
+ :gender:
123
+ :path: gender
124
+ :full_path: Patient.gender
125
+ :comparators: {}
126
+ :values:
127
+ - male
128
+ - female
129
+ - other
130
+ - unknown
131
+ :type: code
132
+ :contains_multiple: false
133
+ :multiple_or: MAY
134
+ :include_params: []
135
+ :revincludes:
136
+ - Provenance:target
137
+ :required_concepts: []
138
+ :must_supports:
139
+ :extensions:
140
+ - :id: Patient.extension:race
141
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
142
+ - :id: Patient.extension:ethnicity
143
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
144
+ - :id: Patient.extension:birthsex
145
+ :url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
146
+ :slices: []
147
+ :elements:
148
+ - :path: identifier
149
+ - :path: identifier.system
150
+ - :path: identifier.value
151
+ - :path: name
152
+ - :path: name.family
153
+ - :path: name.given
154
+ - :path: telecom
155
+ - :path: telecom.system
156
+ - :path: telecom.value
157
+ - :path: telecom.use
158
+ - :path: gender
159
+ - :path: birthDate
160
+ - :path: address
161
+ - :path: address.line
162
+ - :path: address.city
163
+ - :path: address.state
164
+ - :path: address.postalCode
165
+ - :path: address.period
166
+ - :path: communication
167
+ - :path: communication.language
168
+ :mandatory_elements:
169
+ - Patient.identifier
170
+ - Patient.identifier.system
171
+ - Patient.identifier.value
172
+ - Patient.name
173
+ - Patient.telecom.system
174
+ - Patient.telecom.value
175
+ - Patient.gender
176
+ - Patient.communication.language
177
+ - Patient.link.other
178
+ - Patient.link.type
179
+ :bindings:
180
+ - :type: code
181
+ :strength: preferred
182
+ :system: http://hl7.org/fhir/ValueSet/languages
183
+ :path: language
184
+ - :type: code
185
+ :strength: required
186
+ :system: http://hl7.org/fhir/ValueSet/identifier-use
187
+ :path: identifier.use
188
+ - :type: CodeableConcept
189
+ :strength: extensible
190
+ :system: http://hl7.org/fhir/ValueSet/identifier-type
191
+ :path: identifier.type
192
+ - :type: code
193
+ :strength: required
194
+ :system: http://hl7.org/fhir/ValueSet/name-use
195
+ :path: name.use
196
+ - :type: code
197
+ :strength: required
198
+ :system: http://hl7.org/fhir/ValueSet/contact-point-system
199
+ :path: telecom.system
200
+ - :type: code
201
+ :strength: required
202
+ :system: http://hl7.org/fhir/ValueSet/contact-point-use
203
+ :path: telecom.use
204
+ - :type: code
205
+ :strength: required
206
+ :system: http://hl7.org/fhir/ValueSet/administrative-gender
207
+ :path: gender
208
+ - :type: code
209
+ :strength: required
210
+ :system: http://hl7.org/fhir/ValueSet/address-use
211
+ :path: address.use
212
+ - :type: code
213
+ :strength: required
214
+ :system: http://hl7.org/fhir/ValueSet/address-type
215
+ :path: address.type
216
+ - :type: string
217
+ :strength: extensible
218
+ :system: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state
219
+ :path: address.state
220
+ - :type: CodeableConcept
221
+ :strength: extensible
222
+ :system: http://hl7.org/fhir/ValueSet/marital-status
223
+ :path: maritalStatus
224
+ - :type: CodeableConcept
225
+ :strength: extensible
226
+ :system: http://hl7.org/fhir/ValueSet/patient-contactrelationship
227
+ :path: contact.relationship
228
+ - :type: code
229
+ :strength: required
230
+ :system: http://hl7.org/fhir/ValueSet/administrative-gender
231
+ :path: contact.gender
232
+ - :type: CodeableConcept
233
+ :strength: extensible
234
+ :system: http://hl7.org/fhir/us/core/ValueSet/simple-language
235
+ :path: communication.language
236
+ - :type: code
237
+ :strength: required
238
+ :system: http://hl7.org/fhir/ValueSet/link-type
239
+ :path: link.type
240
+ - :type: Coding
241
+ :strength: required
242
+ :system: http://hl7.org/fhir/us/core/ValueSet/omb-race-category
243
+ :path: value
244
+ :extensions:
245
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
246
+ - ombCategory
247
+ - :type: Coding
248
+ :strength: required
249
+ :system: http://hl7.org/fhir/us/core/ValueSet/detailed-race
250
+ :path: value
251
+ :extensions:
252
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
253
+ - detailed
254
+ - :type: Coding
255
+ :strength: required
256
+ :system: http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category
257
+ :path: value
258
+ :extensions:
259
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
260
+ - ombCategory
261
+ - :type: Coding
262
+ :strength: required
263
+ :system: http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity
264
+ :path: value
265
+ :extensions:
266
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
267
+ - detailed
268
+ - :type: code
269
+ :strength: required
270
+ :system: http://hl7.org/fhir/us/core/ValueSet/birthsex
271
+ :path: value
272
+ :extensions:
273
+ - http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
274
+ :references:
275
+ - :path: Patient.identifier.assigner
276
+ :profiles:
277
+ - http://hl7.org/fhir/StructureDefinition/Organization
278
+ - :path: Patient.contact.organization
279
+ :profiles:
280
+ - http://hl7.org/fhir/StructureDefinition/Organization
281
+ - :path: Patient.generalPractitioner
282
+ :profiles:
283
+ - http://hl7.org/fhir/StructureDefinition/Organization
284
+ - http://hl7.org/fhir/StructureDefinition/Practitioner
285
+ - http://hl7.org/fhir/StructureDefinition/PractitionerRole
286
+ - :path: Patient.managingOrganization
287
+ :profiles:
288
+ - http://hl7.org/fhir/StructureDefinition/Organization
289
+ - :path: Patient.link.other
290
+ :profiles:
291
+ - http://hl7.org/fhir/StructureDefinition/Patient
292
+ - http://hl7.org/fhir/StructureDefinition/RelatedPerson
293
+ :tests:
294
+ - :id: us_core_311_patient__id_search_test
295
+ :file_name: patient_id_search_test.rb
296
+ - :id: us_core_311_patient_identifier_search_test
297
+ :file_name: patient_identifier_search_test.rb
298
+ - :id: us_core_311_patient_name_search_test
299
+ :file_name: patient_name_search_test.rb
300
+ - :id: us_core_311_patient_birthdate_family_search_test
301
+ :file_name: patient_birthdate_family_search_test.rb
302
+ - :id: us_core_311_patient_family_gender_search_test
303
+ :file_name: patient_family_gender_search_test.rb
304
+ - :id: us_core_311_patient_birthdate_name_search_test
305
+ :file_name: patient_birthdate_name_search_test.rb
306
+ - :id: us_core_311_patient_gender_name_search_test
307
+ :file_name: patient_gender_name_search_test.rb
308
+ - :id: us_core_311_patient_read_test
309
+ :file_name: patient_read_test.rb
310
+ - :id: us_core_311_patient_provenance_revinclude_search_test
311
+ :file_name: patient_provenance_revinclude_search_test.rb
312
+ - :id: us_core_311_patient_validation_test
313
+ :file_name: patient_validation_test.rb
314
+ - :id: us_core_311_patient_must_support_test
315
+ :file_name: patient_must_support_test.rb
316
+ - :id: us_core_311_patient_reference_resolution_test
317
+ :file_name: patient_reference_resolution_test.rb
318
+ :id: us_core_311_patient
319
+ :file_name: patient_group.rb
320
+ :delayed_references: []