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.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/generated/allergy_intolerance/metadata.yml +165 -0
- data/lib/us_core_test_kit/generated/bodyheight/metadata.yml +328 -0
- data/lib/us_core_test_kit/generated/bodytemp/metadata.yml +328 -0
- data/lib/us_core_test_kit/generated/bodyweight/metadata.yml +328 -0
- data/lib/us_core_test_kit/generated/bp/metadata.yml +379 -0
- data/lib/us_core_test_kit/generated/care_plan/metadata.yml +296 -0
- data/lib/us_core_test_kit/generated/care_team/metadata.yml +140 -0
- data/lib/us_core_test_kit/generated/condition/metadata.yml +231 -0
- data/lib/us_core_test_kit/generated/device/metadata.yml +1145 -0
- data/lib/us_core_test_kit/generated/diagnostic_report_lab/metadata.yml +1253 -0
- data/lib/us_core_test_kit/generated/diagnostic_report_note/metadata.yml +1246 -0
- data/lib/us_core_test_kit/generated/document_reference/metadata.yml +354 -0
- data/lib/us_core_test_kit/generated/encounter/metadata.yml +364 -0
- data/lib/us_core_test_kit/generated/goal/metadata.yml +195 -0
- data/lib/us_core_test_kit/generated/head_circumference/metadata.yml +323 -0
- data/lib/us_core_test_kit/generated/heartrate/metadata.yml +325 -0
- data/lib/us_core_test_kit/generated/immunization/metadata.yml +210 -0
- data/lib/us_core_test_kit/generated/medication_request/metadata.yml +307 -0
- data/lib/us_core_test_kit/generated/metadata.yml +12911 -0
- data/lib/us_core_test_kit/generated/observation_lab/metadata.yml +1287 -0
- data/lib/us_core_test_kit/generated/organization/metadata.yml +146 -0
- data/lib/us_core_test_kit/generated/patient/metadata.yml +320 -0
- data/lib/us_core_test_kit/generated/pediatric_bmi_for_age/metadata.yml +323 -0
- data/lib/us_core_test_kit/generated/pediatric_weight_for_height/metadata.yml +323 -0
- data/lib/us_core_test_kit/generated/practitioner/metadata.yml +136 -0
- data/lib/us_core_test_kit/generated/procedure/metadata.yml +1265 -0
- data/lib/us_core_test_kit/generated/provenance/metadata.yml +185 -0
- data/lib/us_core_test_kit/generated/pulse_oximetry/metadata.yml +410 -0
- data/lib/us_core_test_kit/generated/resprate/metadata.yml +325 -0
- data/lib/us_core_test_kit/generated/smokingstatus/metadata.yml +292 -0
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +31 -1
@@ -0,0 +1,307 @@
|
|
1
|
+
---
|
2
|
+
:name: us_core_medicationrequest
|
3
|
+
:class_name: USCorev311MedicationrequestSequence
|
4
|
+
:version: v3.1.1
|
5
|
+
:reformatted_version: v311
|
6
|
+
:resource: MedicationRequest
|
7
|
+
:profile_url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest
|
8
|
+
:profile_name: US Core MedicationRequest Profile
|
9
|
+
:title: MedicationRequest
|
10
|
+
:short_description: Verify support for the server capabilities required by the US
|
11
|
+
Core MedicationRequest 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
|
+
- intent
|
37
|
+
:names_not_must_support_or_mandatory: []
|
38
|
+
:must_support_or_mandatory: true
|
39
|
+
- :expectation: SHOULD
|
40
|
+
:names:
|
41
|
+
- patient
|
42
|
+
- intent
|
43
|
+
- encounter
|
44
|
+
:names_not_must_support_or_mandatory: []
|
45
|
+
:must_support_or_mandatory: true
|
46
|
+
- :expectation: SHOULD
|
47
|
+
:names:
|
48
|
+
- patient
|
49
|
+
- intent
|
50
|
+
- authoredon
|
51
|
+
:names_not_must_support_or_mandatory: []
|
52
|
+
:must_support_or_mandatory: true
|
53
|
+
- :expectation: SHALL
|
54
|
+
:names:
|
55
|
+
- patient
|
56
|
+
- intent
|
57
|
+
- status
|
58
|
+
:names_not_must_support_or_mandatory: []
|
59
|
+
:must_support_or_mandatory: true
|
60
|
+
:search_definitions:
|
61
|
+
:patient:
|
62
|
+
:path: subject
|
63
|
+
:full_path: MedicationRequest.subject
|
64
|
+
:comparators: {}
|
65
|
+
:values: []
|
66
|
+
:type: Reference
|
67
|
+
:contains_multiple: false
|
68
|
+
:multiple_or: MAY
|
69
|
+
:intent:
|
70
|
+
:path: intent
|
71
|
+
:full_path: MedicationRequest.intent
|
72
|
+
:comparators: {}
|
73
|
+
:values:
|
74
|
+
- proposal
|
75
|
+
- plan
|
76
|
+
- order
|
77
|
+
- original-order
|
78
|
+
- reflex-order
|
79
|
+
- filler-order
|
80
|
+
- instance-order
|
81
|
+
- option
|
82
|
+
:type: code
|
83
|
+
:contains_multiple: false
|
84
|
+
:multiple_or: SHALL
|
85
|
+
:encounter:
|
86
|
+
:path: encounter
|
87
|
+
:full_path: MedicationRequest.encounter
|
88
|
+
:comparators: {}
|
89
|
+
:values: []
|
90
|
+
:type: Reference
|
91
|
+
:contains_multiple: false
|
92
|
+
:multiple_or: MAY
|
93
|
+
:authoredon:
|
94
|
+
:path: authoredOn
|
95
|
+
:full_path: MedicationRequest.authoredOn
|
96
|
+
:comparators:
|
97
|
+
:eq: MAY
|
98
|
+
:ne: MAY
|
99
|
+
:gt: SHALL
|
100
|
+
:ge: SHALL
|
101
|
+
:lt: SHALL
|
102
|
+
:le: SHALL
|
103
|
+
:sa: MAY
|
104
|
+
:eb: MAY
|
105
|
+
:ap: MAY
|
106
|
+
:values: []
|
107
|
+
:type: dateTime
|
108
|
+
:contains_multiple: false
|
109
|
+
:multiple_or: MAY
|
110
|
+
:status:
|
111
|
+
:path: status
|
112
|
+
:full_path: MedicationRequest.status
|
113
|
+
:comparators: {}
|
114
|
+
:values:
|
115
|
+
- active
|
116
|
+
- on-hold
|
117
|
+
- cancelled
|
118
|
+
- completed
|
119
|
+
- entered-in-error
|
120
|
+
- stopped
|
121
|
+
- draft
|
122
|
+
- unknown
|
123
|
+
:type: code
|
124
|
+
:contains_multiple: false
|
125
|
+
:multiple_or: SHALL
|
126
|
+
:include_params:
|
127
|
+
- MedicationRequest:medication
|
128
|
+
:revincludes:
|
129
|
+
- Provenance:target
|
130
|
+
:required_concepts: []
|
131
|
+
:must_supports:
|
132
|
+
:extensions: []
|
133
|
+
:slices: []
|
134
|
+
:elements:
|
135
|
+
- :path: status
|
136
|
+
- :path: intent
|
137
|
+
- :path: reported[x]
|
138
|
+
- :path: medication[x]
|
139
|
+
- :path: subject
|
140
|
+
- :path: encounter
|
141
|
+
- :path: authoredOn
|
142
|
+
- :path: requester
|
143
|
+
- :path: dosageInstruction
|
144
|
+
- :path: dosageInstruction.text
|
145
|
+
:mandatory_elements:
|
146
|
+
- MedicationRequest.status
|
147
|
+
- MedicationRequest.intent
|
148
|
+
- MedicationRequest.medication[x]
|
149
|
+
- MedicationRequest.subject
|
150
|
+
- MedicationRequest.authoredOn
|
151
|
+
- MedicationRequest.requester
|
152
|
+
- MedicationRequest.substitution.allowed[x]
|
153
|
+
:bindings:
|
154
|
+
- :type: code
|
155
|
+
:strength: preferred
|
156
|
+
:system: http://hl7.org/fhir/ValueSet/languages
|
157
|
+
:path: language
|
158
|
+
- :type: code
|
159
|
+
:strength: required
|
160
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-status
|
161
|
+
:path: status
|
162
|
+
- :type: CodeableConcept
|
163
|
+
:strength: example
|
164
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-status-reason
|
165
|
+
:path: statusReason
|
166
|
+
- :type: code
|
167
|
+
:strength: required
|
168
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-intent
|
169
|
+
:path: intent
|
170
|
+
- :type: CodeableConcept
|
171
|
+
:strength: example
|
172
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-category
|
173
|
+
:path: category
|
174
|
+
- :type: code
|
175
|
+
:strength: required
|
176
|
+
:system: http://hl7.org/fhir/ValueSet/request-priority
|
177
|
+
:path: priority
|
178
|
+
- :type: CodeableConcept
|
179
|
+
:strength: extensible
|
180
|
+
:system: http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes
|
181
|
+
:path: medication
|
182
|
+
- :type: CodeableConcept
|
183
|
+
:strength: example
|
184
|
+
:system: http://hl7.org/fhir/ValueSet/performer-role
|
185
|
+
:path: performerType
|
186
|
+
- :type: CodeableConcept
|
187
|
+
:strength: example
|
188
|
+
:system: http://hl7.org/fhir/ValueSet/condition-code
|
189
|
+
:path: reasonCode
|
190
|
+
- :type: CodeableConcept
|
191
|
+
:strength: example
|
192
|
+
:system: http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy
|
193
|
+
:path: courseOfTherapyType
|
194
|
+
- :type: CodeableConcept
|
195
|
+
:strength: example
|
196
|
+
:system: http://hl7.org/fhir/ValueSet/additional-instruction-codes
|
197
|
+
:path: dosageInstruction.additionalInstruction
|
198
|
+
- :type: boolean
|
199
|
+
:strength: example
|
200
|
+
:system: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
|
201
|
+
:path: dosageInstruction.asNeeded
|
202
|
+
- :type: CodeableConcept
|
203
|
+
:strength: example
|
204
|
+
:system: http://hl7.org/fhir/ValueSet/approach-site-codes
|
205
|
+
:path: dosageInstruction.site
|
206
|
+
- :type: CodeableConcept
|
207
|
+
:strength: example
|
208
|
+
:system: http://hl7.org/fhir/ValueSet/route-codes
|
209
|
+
:path: dosageInstruction.route
|
210
|
+
- :type: CodeableConcept
|
211
|
+
:strength: example
|
212
|
+
:system: http://hl7.org/fhir/ValueSet/administration-method-codes
|
213
|
+
:path: dosageInstruction.method
|
214
|
+
- :type: CodeableConcept
|
215
|
+
:strength: example
|
216
|
+
:system: http://hl7.org/fhir/ValueSet/dose-rate-type
|
217
|
+
:path: dosageInstruction.doseAndRate.type
|
218
|
+
- :type: boolean
|
219
|
+
:strength: example
|
220
|
+
:system: http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode
|
221
|
+
:path: substitution.allowed
|
222
|
+
- :type: CodeableConcept
|
223
|
+
:strength: example
|
224
|
+
:system: http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason
|
225
|
+
:path: substitution.reason
|
226
|
+
:references:
|
227
|
+
- :path: MedicationRequest.subject
|
228
|
+
:profiles:
|
229
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
230
|
+
- :path: MedicationRequest.encounter
|
231
|
+
:profiles:
|
232
|
+
- http://hl7.org/fhir/StructureDefinition/Encounter
|
233
|
+
- :path: MedicationRequest.supportingInformation
|
234
|
+
:profiles:
|
235
|
+
- http://hl7.org/fhir/StructureDefinition/Resource
|
236
|
+
- :path: MedicationRequest.requester
|
237
|
+
:profiles:
|
238
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner
|
239
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization
|
240
|
+
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
|
241
|
+
- :path: MedicationRequest.performer
|
242
|
+
:profiles:
|
243
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
244
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
245
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
246
|
+
- http://hl7.org/fhir/StructureDefinition/Patient
|
247
|
+
- http://hl7.org/fhir/StructureDefinition/Device
|
248
|
+
- http://hl7.org/fhir/StructureDefinition/RelatedPerson
|
249
|
+
- http://hl7.org/fhir/StructureDefinition/CareTeam
|
250
|
+
- :path: MedicationRequest.recorder
|
251
|
+
:profiles:
|
252
|
+
- http://hl7.org/fhir/StructureDefinition/Practitioner
|
253
|
+
- http://hl7.org/fhir/StructureDefinition/PractitionerRole
|
254
|
+
- :path: MedicationRequest.reasonReference
|
255
|
+
:profiles:
|
256
|
+
- http://hl7.org/fhir/StructureDefinition/Condition
|
257
|
+
- http://hl7.org/fhir/StructureDefinition/Observation
|
258
|
+
- :path: MedicationRequest.basedOn
|
259
|
+
:profiles:
|
260
|
+
- http://hl7.org/fhir/StructureDefinition/CarePlan
|
261
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
262
|
+
- http://hl7.org/fhir/StructureDefinition/ServiceRequest
|
263
|
+
- http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation
|
264
|
+
- :path: MedicationRequest.insurance
|
265
|
+
:profiles:
|
266
|
+
- http://hl7.org/fhir/StructureDefinition/Coverage
|
267
|
+
- http://hl7.org/fhir/StructureDefinition/ClaimResponse
|
268
|
+
- :path: MedicationRequest.dispenseRequest.performer
|
269
|
+
:profiles:
|
270
|
+
- http://hl7.org/fhir/StructureDefinition/Organization
|
271
|
+
- :path: MedicationRequest.priorPrescription
|
272
|
+
:profiles:
|
273
|
+
- http://hl7.org/fhir/StructureDefinition/MedicationRequest
|
274
|
+
- :path: MedicationRequest.detectedIssue
|
275
|
+
:profiles:
|
276
|
+
- http://hl7.org/fhir/StructureDefinition/DetectedIssue
|
277
|
+
- :path: MedicationRequest.eventHistory
|
278
|
+
:profiles:
|
279
|
+
- http://hl7.org/fhir/StructureDefinition/Provenance
|
280
|
+
:tests:
|
281
|
+
- :id: us_core_311_medication_request_patient_intent_search_test
|
282
|
+
:file_name: medication_request_patient_intent_search_test.rb
|
283
|
+
- :id: us_core_311_medication_request_patient_intent_encounter_search_test
|
284
|
+
:file_name: medication_request_patient_intent_encounter_search_test.rb
|
285
|
+
- :id: us_core_311_medication_request_patient_intent_authoredon_search_test
|
286
|
+
:file_name: medication_request_patient_intent_authoredon_search_test.rb
|
287
|
+
- :id: us_core_311_medication_request_patient_intent_status_search_test
|
288
|
+
:file_name: medication_request_patient_intent_status_search_test.rb
|
289
|
+
- :id: us_core_311_medication_request_read_test
|
290
|
+
:file_name: medication_request_read_test.rb
|
291
|
+
- :id: us_core_311_medication_request_provenance_revinclude_search_test
|
292
|
+
:file_name: medication_request_provenance_revinclude_search_test.rb
|
293
|
+
- :id: us_core_311_medication_request_validation_test
|
294
|
+
:file_name: medication_request_validation_test.rb
|
295
|
+
- :id: us_core_311_medication_validation_test
|
296
|
+
:file_name: medication_validation_test.rb
|
297
|
+
- :id: us_core_311_medication_request_must_support_test
|
298
|
+
:file_name: medication_request_must_support_test.rb
|
299
|
+
- :id: us_core_311_medication_request_reference_resolution_test
|
300
|
+
:file_name: medication_request_reference_resolution_test.rb
|
301
|
+
:id: us_core_311_medication_request
|
302
|
+
:file_name: medication_request_group.rb
|
303
|
+
:delayed_references:
|
304
|
+
- :path: requester
|
305
|
+
:resources:
|
306
|
+
- Practitioner
|
307
|
+
- Organization
|