Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: SupplyRequest

Official URL: https://ancode.app/fhir/StructureDefinition/SupplyRequest Version: 0.2.0
Draft as of 2022-12-21 Computable Name: SupplyRequest

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from SupplyRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... value[x] 0..1dateValue of extension
... item[x] 1..1Medication, Substance, or Device requested to be supplied
.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Date"
.... value[x] 0..1dateValue of extension
... status ?!Σ0..1codedraft | active | suspended +
Binding: SupplyRequestStatus (required): Status of the supply request.

... item[x] Σ1..1Medication, Substance, or Device requested to be supplied
Binding: SNOMEDCTSupplyItem (example): The item that was requested.

.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)
... quantity Σ1..1QuantityThe requested amount of the item indicated

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
SupplyRequest.statusrequiredSupplyRequestStatus
SupplyRequest.item[x]exampleSNOMEDCTSupplyItem

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSupplyRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSupplyRequestIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorSupplyRequestIf 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-5errorSupplyRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSupplyRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Date"
.... value[x] 0..1dateValue of extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness Identifier for SupplyRequest
... status ?!Σ0..1codedraft | active | suspended +
Binding: SupplyRequestStatus (required): Status of the supply request.

... category Σ0..1CodeableConceptThe kind of supply (central, non-stock, etc.)
Binding: SupplyType (example): Category of supply request.

... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... item[x] Σ1..1Medication, Substance, or Device requested to be supplied
Binding: SNOMEDCTSupplyItem (example): The item that was requested.

.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)
... quantity Σ1..1QuantityThe requested amount of the item indicated
... parameter 0..*BackboneElementOrdered item details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptItem detail
Binding: (unbound) (example): A code that identifies the device detail.

.... value[x] 0..1Value of detail
..... valueCodeableConceptCodeableConcept
..... valueQuantityQuantity
..... valueRangeRange
..... valueBooleanboolean
... occurrence[x] Σ0..1When the request should be fulfilled
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... authoredOn Σ0..1dateTimeWhen the request was made
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Individual making the request
... supplier Σ0..*Reference(Organization | HealthcareService)Who is intended to fulfill the request
... reasonCode 0..*CodeableConceptThe reason why the supply item was requested
Binding: SupplyRequestReason (example): The reason why the supply item was requested.


... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)The reason why the supply item was requested
... deliverFrom 0..1Reference(Organization | Location)The origin of the supply
... deliverTo 0..1Reference(Organization | Location | Patient)The destination of the supply

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
SupplyRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
SupplyRequest.statusrequiredSupplyRequestStatus
SupplyRequest.categoryexampleSupplyType
SupplyRequest.priorityrequiredRequestPriority
SupplyRequest.item[x]exampleSNOMEDCTSupplyItem
SupplyRequest.parameter.codeexample
SupplyRequest.reasonCodeexampleSupplyRequestReason

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningSupplyRequest.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from SupplyRequest

Summary

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from SupplyRequest

NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... value[x] 0..1dateValue of extension
... item[x] 1..1Medication, Substance, or Device requested to be supplied
.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Date"
.... value[x] 0..1dateValue of extension
... status ?!Σ0..1codedraft | active | suspended +
Binding: SupplyRequestStatus (required): Status of the supply request.

... item[x] Σ1..1Medication, Substance, or Device requested to be supplied
Binding: SNOMEDCTSupplyItem (example): The item that was requested.

.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)
... quantity Σ1..1QuantityThe requested amount of the item indicated

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
SupplyRequest.statusrequiredSupplyRequestStatus
SupplyRequest.item[x]exampleSNOMEDCTSupplyItem

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorSupplyRequestIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorSupplyRequestIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorSupplyRequestIf 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-5errorSupplyRequestIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceSupplyRequestA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. SupplyRequest 0..*SupplyRequestRequest for a medication, substance or device
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... deliverWhen 0..1dateExtension
URL: https://ancode.app/fhir/StructureDefinition/Date
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"https://ancode.app/fhir/StructureDefinition/Date"
.... value[x] 0..1dateValue of extension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness Identifier for SupplyRequest
... status ?!Σ0..1codedraft | active | suspended +
Binding: SupplyRequestStatus (required): Status of the supply request.

... category Σ0..1CodeableConceptThe kind of supply (central, non-stock, etc.)
Binding: SupplyType (example): Category of supply request.

... priority Σ0..1coderoutine | urgent | asap | stat
Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request.

... item[x] Σ1..1Medication, Substance, or Device requested to be supplied
Binding: SNOMEDCTSupplyItem (example): The item that was requested.

.... itemCodeableConceptCodeableConcept
.... itemReferenceReference(Medication | Substance | Device | DeviceDefinition)
... quantity Σ1..1QuantityThe requested amount of the item indicated
... parameter 0..*BackboneElementOrdered item details
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 0..1CodeableConceptItem detail
Binding: (unbound) (example): A code that identifies the device detail.

.... value[x] 0..1Value of detail
..... valueCodeableConceptCodeableConcept
..... valueQuantityQuantity
..... valueRangeRange
..... valueBooleanboolean
... occurrence[x] Σ0..1When the request should be fulfilled
.... occurrenceDateTimedateTime
.... occurrencePeriodPeriod
.... occurrenceTimingTiming
... authoredOn Σ0..1dateTimeWhen the request was made
... requester Σ0..1Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device)Individual making the request
... supplier Σ0..*Reference(Organization | HealthcareService)Who is intended to fulfill the request
... reasonCode 0..*CodeableConceptThe reason why the supply item was requested
Binding: SupplyRequestReason (example): The reason why the supply item was requested.


... reasonReference 0..*Reference(Condition | Observation | DiagnosticReport | DocumentReference)The reason why the supply item was requested
... deliverFrom 0..1Reference(Organization | Location)The origin of the supply
... deliverTo 0..1Reference(Organization | Location | Patient)The destination of the supply

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
SupplyRequest.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
SupplyRequest.statusrequiredSupplyRequestStatus
SupplyRequest.categoryexampleSupplyType
SupplyRequest.priorityrequiredRequestPriority
SupplyRequest.item[x]exampleSNOMEDCTSupplyItem
SupplyRequest.parameter.codeexample
SupplyRequest.reasonCodeexampleSupplyRequestReason

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningSupplyRequest.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from SupplyRequest

Summary

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron