Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-SupplyRequest | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R2_SupplyRequest_R4 | ||
This cross-version profile allows DSTU2 SupplyRequest content to be represented via FHIR R4 SupplyRequest resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | SupplyRequest(4.0.1) | Request for a medication, substance or device | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Patient for use in FHIR R4(0.1.0) | Patient) | DSTU2: Patient for whom the item is supplied (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.patient Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Why the supply item was requested additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: Fulfilment code (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.code Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Timing | DSTU2: Formal fulfillment schedule additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.schedule Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..1 | code | draft | active | suspended + Binding: SupplyRequestStatus (required): Status of the supply request. |
![]() ![]() |
Σ | 1..1 | Medication, Substance, or Device requested to be supplied Binding: SNOMEDCTSupplyItem (example): The item that was requested. | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication | Substance | Device) | |||
![]() ![]() |
Σ | 1..1 | Quantity | The requested amount of the item indicated |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| SupplyRequest.status | Base | required | SupplyRequestStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.item[x] | Base | example | SNOMED CT Supply Item | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | SupplyRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SupplyRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | SupplyRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | SupplyRequest.implicitRules, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.status, SupplyRequest.item[x], SupplyRequest.quantity | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from SupplyRequest
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | SupplyRequest(4.0.1) | Request for a medication, substance or device | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Patient for use in FHIR R4(0.1.0) | Patient) | DSTU2: Patient for whom the item is supplied (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.patient Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Why the supply item was requested additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: Fulfilment code (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.code Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Timing | DSTU2: Formal fulfillment schedule additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.schedule Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for SupplyRequest | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | DSTU2: Unique identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 0..1 | code | draft | active | suspended + Binding: SupplyRequestStatus (required): Status of the supply request. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of supply (central, non-stock, etc.) Binding: SupplyType (example): Category of supply request. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: kind URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.kind Binding: SupplyType (required): Category of supply request Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() |
Σ | 1..1 | Medication, Substance, or Device requested to be supplied Binding: SNOMEDCTSupplyItem (example): The item that was requested. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication | Substance | Device) | |||||||
![]() ![]() |
Σ | 1..1 | Quantity | The requested amount of the item indicated | ||||
![]() ![]() |
0..* | BackboneElement | Ordered item details | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Item detail Binding Description: (example): A code that identifies the device detail. | |||||
![]() ![]() ![]() |
0..1 | Value of detail | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() |
Σ | 0..1 | When the request should be fulfilled | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Timing | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the request was made | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Individual making the request | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Who initiated this order URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization | HealthcareService) | Who is intended to fulfill the request | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: supplier additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableConcept | The reason why the supply item was requested Binding: SupplyRequestReason (example): The reason why the supply item was requested. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | The reason why the supply item was requested | |||||
![]() ![]() |
0..1 | Reference(Organization | Location) | The origin of the supply | |||||
![]() ![]() |
0..1 | Reference(Organization | Location | Patient) | The destination of the supply | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| SupplyRequest.meta.security | Base | extensible |
SecurityLabels
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| SupplyRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| SupplyRequest.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| SupplyRequest.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| SupplyRequest.status | Base | required | SupplyRequestStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.category | Base | example | Supply Type | 📍4.0.1 | FHIR Std. |
| SupplyRequest.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| SupplyRequest.item[x] | Base | example | SNOMED CT Supply Item | 📍4.0.1 | FHIR Std. |
| SupplyRequest.parameter.code | Base | example | Not State | Unknown | |
| SupplyRequest.requester.type | Base | extensible |
ResourceType
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.supplier.type | Base | extensible |
ResourceType
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.reasonCode | Base | example | SupplyRequestReason | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | SupplyRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SupplyRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | SupplyRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | SupplyRequest.meta, SupplyRequest.meta.extension, SupplyRequest.meta.extension:meta, SupplyRequest.meta.versionId, SupplyRequest.meta.lastUpdated, SupplyRequest.meta.source, SupplyRequest.meta.profile, SupplyRequest.meta.security, SupplyRequest.meta.tag, SupplyRequest.implicitRules, SupplyRequest.language, SupplyRequest.text, SupplyRequest.text.extension, SupplyRequest.text.extension:text, SupplyRequest.text.status, SupplyRequest.text.div, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.identifier, SupplyRequest.identifier.extension, SupplyRequest.identifier.extension:identifier, SupplyRequest.identifier.use, SupplyRequest.identifier.type, SupplyRequest.identifier.system, SupplyRequest.identifier.value, SupplyRequest.identifier.period, SupplyRequest.identifier.assigner, SupplyRequest.status, SupplyRequest.category, SupplyRequest.category.extension, SupplyRequest.category.extension:kind, SupplyRequest.category.coding, SupplyRequest.category.text, SupplyRequest.priority, SupplyRequest.item[x], SupplyRequest.quantity, SupplyRequest.parameter, SupplyRequest.parameter.extension, SupplyRequest.parameter.modifierExtension, SupplyRequest.parameter.code, SupplyRequest.parameter.value[x], SupplyRequest.occurrence[x], SupplyRequest.authoredOn, SupplyRequest.requester, SupplyRequest.requester.extension, SupplyRequest.requester.extension:source, SupplyRequest.requester.reference, SupplyRequest.requester.type, SupplyRequest.requester.identifier, SupplyRequest.requester.display, SupplyRequest.supplier, SupplyRequest.supplier.extension, SupplyRequest.supplier.extension:supplier, SupplyRequest.supplier.reference, SupplyRequest.supplier.type, SupplyRequest.supplier.identifier, SupplyRequest.supplier.display, SupplyRequest.reasonCode, SupplyRequest.reasonReference, SupplyRequest.deliverFrom, SupplyRequest.deliverTo | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | SupplyRequest.meta.extension, SupplyRequest.meta.extension:meta, SupplyRequest.text.extension, SupplyRequest.text.extension:text, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.identifier.extension, SupplyRequest.identifier.extension:identifier, SupplyRequest.category.extension, SupplyRequest.category.extension:kind, SupplyRequest.parameter.extension, SupplyRequest.parameter.modifierExtension, SupplyRequest.requester.extension, SupplyRequest.requester.extension:source, SupplyRequest.supplier.extension, SupplyRequest.supplier.extension:supplier | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | SupplyRequest.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | SupplyRequest.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from SupplyRequest
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | SupplyRequest(4.0.1) | Request for a medication, substance or device | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Patient for use in FHIR R4(0.1.0) | Patient) | DSTU2: Patient for whom the item is supplied (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.patient Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Why the supply item was requested additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: Fulfilment code (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.code Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | Timing | DSTU2: Formal fulfillment schedule additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.schedule Constraints: ext-1 | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..1 | code | draft | active | suspended + Binding: SupplyRequestStatus (required): Status of the supply request. |
![]() ![]() |
Σ | 1..1 | Medication, Substance, or Device requested to be supplied Binding: SNOMEDCTSupplyItem (example): The item that was requested. | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication | Substance | Device) | |||
![]() ![]() |
Σ | 1..1 | Quantity | The requested amount of the item indicated |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| SupplyRequest.status | Base | required | SupplyRequestStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.item[x] | Base | example | SNOMED CT Supply Item | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | SupplyRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SupplyRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | SupplyRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | SupplyRequest.implicitRules, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.status, SupplyRequest.item[x], SupplyRequest.quantity | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from SupplyRequest
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | SupplyRequest(4.0.1) | Request for a medication, substance or device | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for DSTU2.Patient for use in FHIR R4(0.1.0) | Patient) | DSTU2: Patient for whom the item is supplied (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.patient Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Why the supply item was requested additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: Fulfilment code (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.code Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | Timing | DSTU2: Formal fulfillment schedule additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.when.schedule Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business Identifier for SupplyRequest | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Identifier | DSTU2: Unique identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
?!Σ | 0..1 | code | draft | active | suspended + Binding: SupplyRequestStatus (required): Status of the supply request. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of supply (central, non-stock, etc.) Binding: SupplyType (example): Category of supply request. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | DSTU2: kind URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-SupplyRequest.kind Binding: SupplyType (required): Category of supply request Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
![]() ![]() |
Σ | 1..1 | Medication, Substance, or Device requested to be supplied Binding: SNOMEDCTSupplyItem (example): The item that was requested. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication | Substance | Device) | |||||||
![]() ![]() |
Σ | 1..1 | Quantity | The requested amount of the item indicated | ||||
![]() ![]() |
0..* | BackboneElement | Ordered item details | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Item detail Binding Description: (example): A code that identifies the device detail. | |||||
![]() ![]() ![]() |
0..1 | Value of detail | ||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() |
Σ | 0..1 | When the request should be fulfilled | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
Timing | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the request was made | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Individual making the request | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Who initiated this order URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization | HealthcareService) | Who is intended to fulfill the request | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: supplier additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | CodeableConcept | The reason why the supply item was requested Binding: SupplyRequestReason (example): The reason why the supply item was requested. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport | DocumentReference) | The reason why the supply item was requested | |||||
![]() ![]() |
0..1 | Reference(Organization | Location) | The origin of the supply | |||||
![]() ![]() |
0..1 | Reference(Organization | Location | Patient) | The destination of the supply | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| SupplyRequest.meta.security | Base | extensible |
SecurityLabels
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| SupplyRequest.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| SupplyRequest.text.status | Base | required | NarrativeStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| SupplyRequest.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| SupplyRequest.status | Base | required | SupplyRequestStatus | 📍4.0.1 | FHIR Std. |
| SupplyRequest.category | Base | example | Supply Type | 📍4.0.1 | FHIR Std. |
| SupplyRequest.priority | Base | required | Request priority | 📍4.0.1 | FHIR Std. |
| SupplyRequest.item[x] | Base | example | SNOMED CT Supply Item | 📍4.0.1 | FHIR Std. |
| SupplyRequest.parameter.code | Base | example | Not State | Unknown | |
| SupplyRequest.requester.type | Base | extensible |
ResourceType
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.supplier.type | Base | extensible |
ResourceType
|
📍4.0.1 | tx.fhir.org |
| SupplyRequest.reasonCode | Base | example | SupplyRequestReason | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | SupplyRequest | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | SupplyRequest | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | SupplyRequest | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | SupplyRequest | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | SupplyRequest.meta, SupplyRequest.meta.extension, SupplyRequest.meta.extension:meta, SupplyRequest.meta.versionId, SupplyRequest.meta.lastUpdated, SupplyRequest.meta.source, SupplyRequest.meta.profile, SupplyRequest.meta.security, SupplyRequest.meta.tag, SupplyRequest.implicitRules, SupplyRequest.language, SupplyRequest.text, SupplyRequest.text.extension, SupplyRequest.text.extension:text, SupplyRequest.text.status, SupplyRequest.text.div, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.identifier, SupplyRequest.identifier.extension, SupplyRequest.identifier.extension:identifier, SupplyRequest.identifier.use, SupplyRequest.identifier.type, SupplyRequest.identifier.system, SupplyRequest.identifier.value, SupplyRequest.identifier.period, SupplyRequest.identifier.assigner, SupplyRequest.status, SupplyRequest.category, SupplyRequest.category.extension, SupplyRequest.category.extension:kind, SupplyRequest.category.coding, SupplyRequest.category.text, SupplyRequest.priority, SupplyRequest.item[x], SupplyRequest.quantity, SupplyRequest.parameter, SupplyRequest.parameter.extension, SupplyRequest.parameter.modifierExtension, SupplyRequest.parameter.code, SupplyRequest.parameter.value[x], SupplyRequest.occurrence[x], SupplyRequest.authoredOn, SupplyRequest.requester, SupplyRequest.requester.extension, SupplyRequest.requester.extension:source, SupplyRequest.requester.reference, SupplyRequest.requester.type, SupplyRequest.requester.identifier, SupplyRequest.requester.display, SupplyRequest.supplier, SupplyRequest.supplier.extension, SupplyRequest.supplier.extension:supplier, SupplyRequest.supplier.reference, SupplyRequest.supplier.type, SupplyRequest.supplier.identifier, SupplyRequest.supplier.display, SupplyRequest.reasonCode, SupplyRequest.reasonReference, SupplyRequest.deliverFrom, SupplyRequest.deliverTo | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | SupplyRequest.meta.extension, SupplyRequest.meta.extension:meta, SupplyRequest.text.extension, SupplyRequest.text.extension:text, SupplyRequest.extension, SupplyRequest.extension:patient, SupplyRequest.extension:reason, SupplyRequest.extension:code, SupplyRequest.extension:schedule, SupplyRequest.modifierExtension, SupplyRequest.identifier.extension, SupplyRequest.identifier.extension:identifier, SupplyRequest.category.extension, SupplyRequest.category.extension:kind, SupplyRequest.parameter.extension, SupplyRequest.parameter.modifierExtension, SupplyRequest.requester.extension, SupplyRequest.requester.extension:source, SupplyRequest.supplier.extension, SupplyRequest.supplier.extension:supplier | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| txt-1 | error | SupplyRequest.text.div | The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes |
htmlChecks()
|
| txt-2 | error | SupplyRequest.text.div | The narrative SHALL have some non-whitespace content |
htmlChecks()
|
This structure is derived from SupplyRequest
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron