SupplyRequest
type: StructureDefinition
node role: treeRoot
id:
  v: SupplyRequest
meta:
  last updated:
    v: 2021-01-02T08:58:31.578+11:00
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition SupplyRequest Last updated: 2021-01-02 08:58:31+1100 Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> SupplyRequest 0..* DomainResource Request for a medication, substance or device Elements defined in Ancestors:id, meta, implicitRules, language, <a href="http://hl7.org/fhir/R5/domainresource.html" title="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.">text, contained, <a href="http://hl7.org/fhir/R5/domainresource.html" title="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.">extension, <a href="http://hl7.org/fhir/R5/domainresource.html" title="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to ch…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-category
    l: structuredefinition-category
  value: String
    v: Clinical.Request & Response
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category
    l: structuredefinition-security-category
  value: Code
    v: patient
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: oo
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/entered-in-error-status
    l: entered-in-error-status
  value: Code
    v: .status = entered-in-error
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/additional-resource
    l: additional-resource
  value: Boolean
    v: true
url:
  v: http://hl7.org/fhir/StructureDefinition/SupplyRequest
  l: SupplyRequest
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.5.1379
version:
  v: 0.1.0
name:
  v: SupplyRequest
status:
  v: draft
date:
  v: 2021-01-02T08:58:31+11:00
publisher:
  v: HL7 International / Orders and Observations
contact:
  name:
    v: HL7 Orders and Observations Workgroup
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/orders
  telecom:
    system:
      v: email
description:
  v: A record of a non-patient specific request for a medication, substance, device, certain types of biologically derived product, and nutrition product used in the healthcare setting.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
fhir version:
  v: 6.0.0-ballot3
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 V2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: SupplyRequest
  l: SupplyRequest
base definition:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 6.0.0-ballot3
  element:
    id:
      v: SupplyRequest
    extension:
      url:
        v: http://hl7.org/fhir/build/StructureDefinition/svg
        l: http://hl7.org/fhir/build/StructureDefinition/svg
      value: Code
        v: 0,0
    path:
      v: SupplyRequest
    short:
      v: Request for a medication, substance or device
    definition:
      v: A record of a request to deliver a medication, substance or device used in the healthcare setting to a particular destination for a particular person or organization.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: DomainResource
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error

v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated

v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()

key:
  v: dom-5
severity:
  v: error
human:
  v: If a resource is contained in another resource, it SHALL NOT have a security label
expression:
  v: contained.meta.security.empty()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
    l: elementdefinition-bestpractice
  value: Boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
    l: elementdefinition-bestpractice-explanation
  value: Markdown
    v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.
key:
  v: dom-6
severity:
  v: warning
human:
  v: A resource should have narrative for robust management
expression:
  v: text.`div`.exists()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

v: false

v: false

v: false

identity:
  v: workflow
map:
  v: Request

identity:
  v: v2
map:
  v: ORC

identity:
  v: rim
map:
  v: Act[moodCode<=INT],Entity. Role,or Act,Entity,Role,or Act

identity:
  v: w5
map:
  v: workflow.order

id:
  v: SupplyRequest.id
path:
  v: SupplyRequest.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: SupplyRequest.meta
path:
  v: SupplyRequest.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: SupplyRequest.implicitRules
path:
  v: SupplyRequest.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
is summary:
  v: true

id:
  v: SupplyRequest.language
path:
  v: SupplyRequest.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot3
    l: http://hl7.org/fhir/ValueSet/all-languages
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot3
      l: http://hl7.org/fhir/ValueSet/languages

id:
  v: SupplyRequest.text
path:
  v: SupplyRequest.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: SupplyRequest.contained
path:
  v: SupplyRequest.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](http://build.fhir.org/resource.html#additional).
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
condition:
  v: dom-2
condition:
  v: dom-4
condition:
  v: dom-3
condition:
  v: dom-5
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: SupplyRequest.extension
path:
  v: SupplyRequest.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: SupplyRequest.modifierExtension
path:
  v: SupplyRequest.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: SupplyRequest.identifier
path:
  v: SupplyRequest.identifier
short:
  v: Business Identifier for SupplyRequest
definition:
  v: Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.
comment:
  v: The identifier.type element is used to distinguish between the identifiers assigned by the requester/placer and the performer/filler.
requirements:
  v: Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers.
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: v2
  map:
    v: ORC.2, ORC.3
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: SupplyRequest.status
path:
  v: SupplyRequest.status
short:
  v: draft | active | suspended +
definition:
  v: Status of the supply request.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestStatus
  strength:
    v: required
  description:
    v: Status of the supply request.
  value set:
    v: http://hl7.org/fhir/ValueSet/supplyrequest-status
    l: supplyrequest-status
mapping:
  identity:
    v: workflow
  map:
    v: Request.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: ORC.5
mapping:
  identity:
    v: rim
  map:
    v: .status

id:
  v: SupplyRequest.intent
path:
  v: SupplyRequest.intent
short:
  v: proposal | solicit-offer | offer-response | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
definition:
  v: Whether the request is a proposal, plan, or an original order.
comment:
  v: This element is immutable. It cannot be changed for the same resource instance. It is expected that the type of requester will be restricted for different stages of a SupplyRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only. An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record. This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: SupplyRequest.intent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is modifier reason:
  v: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestIntent
  strength:
    v: required
  description:
    v: The intent of the order existing.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-intent
    l: request-intent
mapping:
  identity:
    v: workflow
  map:
    v: Request.intent
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: rim
  map:
    v: .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)

id:
  v: SupplyRequest.basedOn
path:
  v: SupplyRequest.basedOn
short:
  v: What other request is fulfilled by this supply request
definition:
  v: Plan/proposal/order fulfilled by this request.
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.basedOn

id:
  v: SupplyRequest.replaces
path:
  v: SupplyRequest.replaces
short:
  v: What request replaces
definition:
  v: The request takes the place of the referenced completed or terminated request(s).
alias:
  v: supersedes
alias:
  v: prior
alias:
  v: renewed order
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.replaces
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    l: ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    l: MedicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RequestOrchestration
    l: RequestOrchestration
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    l: CarePlan
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    l: DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
    l: CommunicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    l: NutritionOrder
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    l: VisionPrescription
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/SupplyRequest
    l: SupplyRequest
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.replaces
mapping:
  identity:
    v: v2
  map:
    v: Handled by message location of ORC (ORC-1=RO or RU)
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RPLC].target

id:
  v: SupplyRequest.groupIdentifier
path:
  v: SupplyRequest.groupIdentifier
short:
  v: Composite request this is part of
definition:
  v: A shared identifier common to multiple independent Request instances that were activated/authorized more or less simultaneously by a single author. The presence of the same identifier on each request ties those requests together and may have business ramifications in terms of reporting of results, billing, etc. E.g. a requisition number shared by a set of lab tests ordered together, or a prescription number shared by all meds ordered at one time.
comment:
  v: Requests are linked either by a "basedOn" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.
alias:
  v: grouperId
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.groupIdentifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.groupIdentifier
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier

id:
  v: SupplyRequest.category
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [3417].
path:
  v: SupplyRequest.category
short:
  v: The kind of supply (central, non-stock, etc.)
definition:
  v: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.
alias:
  v: kind
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.category
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestKind
  strength:
    v: example
  description:
    v: Category of supply request.
  value set:
    v: http://hl7.org/fhir/ValueSet/supplyrequest-kind
    l: supplyrequest-kind
mapping:
  identity:
    v: workflow
  map:
    v: Request.category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.priority
path:
  v: SupplyRequest.priority
short:
  v: routine | urgent | asap | stat
definition:
  v: Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
meaning when missing:
  v: If missing, this task should be performed with normal priority
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RequestPriority
  strength:
    v: required
  description:
    v: Identifies the level of importance to be assigned to actioning the request.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-priority
    l: request-priority
mapping:
  identity:
    v: workflow
  map:
    v: Request.priority
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.grade
mapping:
  identity:
    v: v2
  map:
    v: TQ1.9
mapping:
  identity:
    v: rim
  map:
    v: .priorityCode

id:
  v: SupplyRequest.deliverFor
path:
  v: SupplyRequest.deliverFor
short:
  v: The patient for who the supply request is for
definition:
  v: The patient to whom the supply will be given or for whom they will be used.
alias:
  v: subject
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.deliverFor
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
mapping:
  identity:
    v: workflow
  map:
    v: Request.subject

id:
  v: SupplyRequest.item
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.item
short:
  v: Medication, Substance, or Device requested to be supplied
definition:
  v: The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.
comment:
  v: Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: SupplyRequest.item
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    l: Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    l: Substance
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition
    l: SubstanceDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceDefinition
    l: DeviceDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct
    l: BiologicallyDerivedProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionProduct
    l: NutritionProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/InventoryItem
    l: InventoryItem
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestItem
  strength:
    v: example
  description:
    v: The item that was requested.
  value set:
    v: http://hl7.org/fhir/ValueSet/supply-item
    l: supply-item
mapping:
  identity:
    v: workflow
  map:
    v: Request.product
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.quantity
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.quantity
short:
  v: The requested amount of the item indicated
definition:
  v: The amount that is being ordered of the indicated item.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: SupplyRequest.quantity
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .quantity

id:
  v: SupplyRequest.parameter
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter
short:
  v: Ordered item details
definition:
  v: Specific parameters for the ordered item. For example, the size of the indicated item.
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.parameter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain

id:
  v: SupplyRequest.parameter.id
path:
  v: SupplyRequest.parameter.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: SupplyRequest.parameter.extension
path:
  v: SupplyRequest.parameter.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: SupplyRequest.parameter.modifierExtension
path:
  v: SupplyRequest.parameter.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: SupplyRequest.parameter.code
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter.code
short:
  v: Item detail
definition:
  v: A code or string that identifies the device detail being asserted.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.parameter.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RequestOrderDetailParameterCode
  strength:
    v: example
  description:
    v: Codes for order detail parameters.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-orderdetail-parameter-code
    l: request-orderdetail-parameter-code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.parameter.value[x]
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter.value[x]
short:
  v: Value of detail
definition:
  v: The value of the device detail.
comment:
  v: Range means device should have a value that falls somewhere within the specified range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: boolean
    l: boolean
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.occurrence[x]
path:
  v: SupplyRequest.occurrence[x]
short:
  v: When the request should be fulfilled
definition:
  v: When the request should be fulfilled.
alias:
  v: when
alias:
  v: timing
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Timing
    l: Timing
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.planned
mapping:
  identity:
    v: v2
  map:
    v: Accompanying TQ1/TQ2 segments
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: SupplyRequest.authoredOn
path:
  v: SupplyRequest.authoredOn
short:
  v: When the request was made
definition:
  v: When the request was made.
alias:
  v: date
alias:
  v: createdOn
alias:
  v: signedOn
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.authoredOn
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.authoredOn
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: v2
  map:
    v: ORC.9
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: SupplyRequest.requester
path:
  v: SupplyRequest.requester
short:
  v: Individual making the request
definition:
  v: The device, practitioner, etc. who initiated the request.
alias:
  v: author
alias:
  v: source
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.requester
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    l: PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.requester
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author
mapping:
  identity:
    v: v2
  map:
    v: ORC.12
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].role

id:
  v: SupplyRequest.supplier
path:
  v: SupplyRequest.supplier
short:
  v: Who is intended to fulfill the request
definition:
  v: Who is intended to fulfill the request.
alias:
  v: performer
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.supplier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    l: HealthcareService
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]

id:
  v: SupplyRequest.reason
path:
  v: SupplyRequest.reason
short:
  v: The reason why the supply item was requested
definition:
  v: The reason why the supply item was requested.
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.reason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    l: Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    l: Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    l: DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    l: DocumentReference
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestReason
  strength:
    v: example
  description:
    v: The reason why the supply item was requested.
  value set:
    v: http://hl7.org/fhir/ValueSet/supplyrequest-reason
    l: supplyrequest-reason
mapping:
  identity:
    v: workflow
  map:
    v: Request.reason
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: v2
  map:
    v: ORC.16
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: SupplyRequest.deliverFrom
path:
  v: SupplyRequest.deliverFrom
short:
  v: The origin of the supply
definition:
  v: Where the supply is expected to come from.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.deliverFrom
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation

id:
  v: SupplyRequest.deliverTo
path:
  v: SupplyRequest.deliverTo
short:
  v: The destination of the supply
definition:
  v: Where the supply is destined to go.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: SupplyRequest.deliverTo
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: workflow
  map:
    v: Request.deliverTo
  comment:
    v: This is about who should receive a result, not who should get the supply
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation

id:
  v: SupplyRequest.requestedPerformer
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/request-performerOrder
    l: request-performerOrder
  value: String
    v: SupplyRequestPerformerOrder
path:
  v: SupplyRequest.requestedPerformer
short:
  v: Who should perform the SupplyRequest
definition:
  v: The kind of participant or specific participant that should perform the supply request.
comment:
  v: Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.
requirements:
  v: Use to distinguish supply requests on different activity queues.
min:
  v: 0
max:
  v: *
base:
  path:
    v: SupplyRequest.requestedPerformer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    l: PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    l: HealthcareService
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    l: Group

element:
  id:
    v: SupplyRequest
  extension:
    url:
      v: http://hl7.org/fhir/build/StructureDefinition/svg
      l: http://hl7.org/fhir/build/StructureDefinition/svg
    value: Code
      v: 0,0
  path:
    v: SupplyRequest
  short:
    v: Request for a medication, substance or device
  definition:
    v: A record of a request to deliver a medication, substance or device used in the healthcare setting to a particular destination for a particular person or organization.
  min:
    v: 0
  max:
    v: *
  mapping:
    identity:
      v: workflow
    map:
      v: Request
  mapping:
    identity:
      v: v2
    map:
      v: ORC
  mapping:
    identity:
      v: rim
    map:
      v: Act[moodCode<=INT]
  mapping:
    identity:
      v: w5
    map:
      v: workflow.order
element:
  id:
    v: SupplyRequest.identifier
  path:
    v: SupplyRequest.identifier
  short:
    v: Business Identifier for SupplyRequest
  definition:
    v: Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.
  comment:
    v: The identifier.type element is used to distinguish between the identifiers assigned by the requester/placer and the performer/filler.
  requirements:
    v: Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
      l: Identifier
  is summary:
    v: true
  mapping:
    identity:
      v: workflow
    map:
      v: Request.identifier
  mapping:
    identity:
      v: w5
    map:
      v: FiveWs.identifier
  mapping:
    identity:
      v: v2
    map:
      v: ORC.2, ORC.3
  mapping:
    identity:
      v: rim
    map:
      v: .identifier
element:
  id:
    v: SupplyRequest.status
  path:
    v: SupplyRequest.status
  short:
    v: draft | active | suspended +
  definition:
    v: Status of the supply request.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  is modifier:
    v: true
  is modifier reason:
    v: This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
  is summary:
    v: true
  binding:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
        l: elementdefinition-bindingName
      value: String
        v: SupplyRequestStatus
    strength:
      v: required
    description:
      v: Status of the supply request.
    value set:
      v: http://hl7.org/fhir/ValueSet/supplyrequest-status
      l: supplyrequest-status
  mapping:
    identity:
      v: workflow
    map:
      v: Request.status
  mapping:
    identity:
      v: w5
    map:
      v: FiveWs.status
  mapping:
    identity:
      v: v2
    map:
      v: ORC.5
  mapping:
    identity:
      v: rim
    map:
      v: .status
element:
  id:
    v: SupplyRequest.intent
  path:
    v: SupplyRequest.intent
  short:
    v: proposal | solicit-offer | offer-response | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
  definition:
    v: Whether the request is a proposal, plan, or an original order.
  comment:
    v: This element is immutable. It cannot be changed for the same resource instance. It is expected that the type of requester will be restricted for different stages of a SupplyRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only. An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record. This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  is modifier:
    v: true
  is modifier reason:
    v: This element changes the interpretation of all descriptive attributes. For example "the time the request is recommended to occur" vs. "the time the request is authorized to occur" or "who is recommended to perform the request" vs. "who is authorized to perform the request
  is summary:
    v: true
  binding:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
        l: elementdefinition-bindingName
      value: String
        v: SupplyRequestIntent
    strength:
      v: required
    description:
      v: The intent of the order existing.
    value set:
      v: http://hl7.org/fhir/ValueSet/request-intent
      l: request-intent
  mapping:
    identity:
      v: workflow
    map:
      v: Request.intent
  mapping:
    identity:
      v: w5
    map:
      v: FiveWs.class
  mapping:
    identity:
      v: rim
    map:
      v: .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
element:
  id:
    v: SupplyRequest.basedOn
  path:
    v: SupplyRequest.basedOn
  short:
    v: What other request is fulfilled by this supply request
  definition:
    v: Plan/proposal/order fulfilled by this request.

v: 0

v: *

code:
  v: Reference
  l: Reference
target profile:
  v: http://hl7.org/fhir/StructureDefinition/Resource
  l: Resource

v: true

identity:
  v: workflow
map:
  v: Request.basedOn

id:
  v: SupplyRequest.replaces
path:
  v: SupplyRequest.replaces
short:
  v: What request replaces
definition:
  v: The request takes the place of the referenced completed or terminated request(s).
alias:
  v: supersedes
alias:
  v: prior
alias:
  v: renewed order
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    l: ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    l: MedicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RequestOrchestration
    l: RequestOrchestration
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    l: CarePlan
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    l: DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CommunicationRequest
    l: CommunicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionOrder
    l: NutritionOrder
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    l: VisionPrescription
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/SupplyRequest
    l: SupplyRequest
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.replaces
mapping:
  identity:
    v: v2
  map:
    v: Handled by message location of ORC (ORC-1=RO or RU)
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RPLC].target

id:
  v: SupplyRequest.groupIdentifier
path:
  v: SupplyRequest.groupIdentifier
short:
  v: Composite request this is part of
definition:
  v: A shared identifier common to multiple independent Request instances that were activated/authorized more or less simultaneously by a single author. The presence of the same identifier on each request ties those requests together and may have business ramifications in terms of reporting of results, billing, etc. E.g. a requisition number shared by a set of lab tests ordered together, or a prescription number shared by all meds ordered at one time.
comment:
  v: Requests are linked either by a "basedOn" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.
alias:
  v: grouperId
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.groupIdentifier
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier

id:
  v: SupplyRequest.category
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [3417].
path:
  v: SupplyRequest.category
short:
  v: The kind of supply (central, non-stock, etc.)
definition:
  v: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.
alias:
  v: kind
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestKind
  strength:
    v: example
  description:
    v: Category of supply request.
  value set:
    v: http://hl7.org/fhir/ValueSet/supplyrequest-kind
    l: supplyrequest-kind
mapping:
  identity:
    v: workflow
  map:
    v: Request.category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.priority
path:
  v: SupplyRequest.priority
short:
  v: routine | urgent | asap | stat
definition:
  v: Indicates how quickly this SupplyRequest should be addressed with respect to other requests.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
meaning when missing:
  v: If missing, this task should be performed with normal priority
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RequestPriority
  strength:
    v: required
  description:
    v: Identifies the level of importance to be assigned to actioning the request.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-priority
    l: request-priority
mapping:
  identity:
    v: workflow
  map:
    v: Request.priority
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.grade
mapping:
  identity:
    v: v2
  map:
    v: TQ1.9
mapping:
  identity:
    v: rim
  map:
    v: .priorityCode

id:
  v: SupplyRequest.deliverFor
path:
  v: SupplyRequest.deliverFor
short:
  v: The patient for who the supply request is for
definition:
  v: The patient to whom the supply will be given or for whom they will be used.
alias:
  v: subject
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
mapping:
  identity:
    v: workflow
  map:
    v: Request.subject

id:
  v: SupplyRequest.item
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.item
short:
  v: Medication, Substance, or Device requested to be supplied
definition:
  v: The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.
comment:
  v: Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    l: Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    l: Substance
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/SubstanceDefinition
    l: SubstanceDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceDefinition
    l: DeviceDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct
    l: BiologicallyDerivedProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionProduct
    l: NutritionProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/InventoryItem
    l: InventoryItem
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestItem
  strength:
    v: example
  description:
    v: The item that was requested.
  value set:
    v: http://hl7.org/fhir/ValueSet/supply-item
    l: supply-item
mapping:
  identity:
    v: workflow
  map:
    v: Request.product
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.quantity
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.quantity
short:
  v: The requested amount of the item indicated
definition:
  v: The amount that is being ordered of the indicated item.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .quantity

id:
  v: SupplyRequest.parameter
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter
short:
  v: Ordered item details
definition:
  v: Specific parameters for the ordered item. For example, the size of the indicated item.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain

id:
  v: SupplyRequest.parameter.code
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter.code
short:
  v: Item detail
definition:
  v: A code or string that identifies the device detail being asserted.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: RequestOrderDetailParameterCode
  strength:
    v: example
  description:
    v: Codes for order detail parameters.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-orderdetail-parameter-code
    l: request-orderdetail-parameter-code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.parameter.value[x]
extension:
  url:
    v: http://hl7.org/fhir/build/StructureDefinition/committee-notes
    l: committee-notes
  value: String
    v: [#14271].
path:
  v: SupplyRequest.parameter.value[x]
short:
  v: Value of detail
definition:
  v: The value of the device detail.
comment:
  v: Range means device should have a value that falls somewhere within the specified range.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: boolean
    l: boolean
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: SupplyRequest.occurrence[x]
path:
  v: SupplyRequest.occurrence[x]
short:
  v: When the request should be fulfilled
definition:
  v: When the request should be fulfilled.
alias:
  v: when
alias:
  v: timing
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Timing
    l: Timing
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.planned
mapping:
  identity:
    v: v2
  map:
    v: Accompanying TQ1/TQ2 segments
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: SupplyRequest.authoredOn
path:
  v: SupplyRequest.authoredOn
short:
  v: When the request was made
definition:
  v: When the request was made.
alias:
  v: date
alias:
  v: createdOn
alias:
  v: signedOn
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.authoredOn
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: v2
  map:
    v: ORC.9
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: SupplyRequest.requester
path:
  v: SupplyRequest.requester
short:
  v: Individual making the request
definition:
  v: The device, practitioner, etc. who initiated the request.
alias:
  v: author
alias:
  v: source
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    l: PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.requester
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author
mapping:
  identity:
    v: v2
  map:
    v: ORC.12
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].role

id:
  v: SupplyRequest.supplier
path:
  v: SupplyRequest.supplier
short:
  v: Who is intended to fulfill the request
definition:
  v: Who is intended to fulfill the request.
alias:
  v: performer
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    l: HealthcareService
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.performer
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]

id:
  v: SupplyRequest.reason
path:
  v: SupplyRequest.reason
short:
  v: The reason why the supply item was requested
definition:
  v: The reason why the supply item was requested.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    l: Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    l: Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    l: DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    l: DocumentReference
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: SupplyRequestReason
  strength:
    v: example
  description:
    v: The reason why the supply item was requested.
  value set:
    v: http://hl7.org/fhir/ValueSet/supplyrequest-reason
    l: supplyrequest-reason
mapping:
  identity:
    v: workflow
  map:
    v: Request.reason
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: v2
  map:
    v: ORC.16
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: SupplyRequest.deliverFrom
path:
  v: SupplyRequest.deliverFrom
short:
  v: The origin of the supply
definition:
  v: Where the supply is expected to come from.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation

id:
  v: SupplyRequest.deliverTo
path:
  v: SupplyRequest.deliverTo
short:
  v: The destination of the supply
definition:
  v: Where the supply is destined to go.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
mapping:
  identity:
    v: workflow
  map:
    v: Request.deliverTo
  comment:
    v: This is about who should receive a result, not who should get the supply
mapping:
  identity:
    v: v2
  map:
    v: PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation

id:
  v: SupplyRequest.requestedPerformer
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/request-performerOrder
    l: request-performerOrder
  value: String
    v: SupplyRequestPerformerOrder
path:
  v: SupplyRequest.requestedPerformer
short:
  v: Who should perform the SupplyRequest
definition:
  v: The kind of participant or specific participant that should perform the supply request.
comment:
  v: Group is only allowed in the circumstance where the group represents a family or a household, and should not represent groups of Practitioners where other more specific resources can be used instead.
requirements:
  v: Use to distinguish supply requests on different activity queues.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    l: PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    l: CareTeam
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    l: HealthcareService
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    l: Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    l: Group