Transport
type: StructureDefinition
node role: treeRoot
id:
  v: Transport
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition Transport Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Transport 0..* DomainResource Delivery of item Elements defined in Ancestors:id, meta, <a href="http://hl7.org/fhir/6.0.0-ballot5/resource.html" title="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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.">implicitRules, language, <a href="http://hl7.org/fhir/6.0.0-ballot5/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/6.0.0-ballot5/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/6.0.0-ballot5/domainresource.html" title="May be used to represent additional information that is not part of the basic definition of the resource and th…
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/Transport
  l: Transport
version:
  v: 0.1.0
name:
  v: Transport
status:
  v: active
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: Record of transport.
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-ballot5
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
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
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 V2 Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: Transport
  l: Transport
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-ballot5
  element:
    id:
      v: Transport
    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: Transport
    short:
      v: Delivery of item
    definition:
      v: The Transport resource represents the movement or transportation of individuals and items (such materials and equipment) within a healthcare setting. It encompasses both planned and completed transport events.
    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
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-5

v: error

v: If a resource is contained in another resource, it SHALL NOT have a security label

v: contained.meta.security.empty()

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: Event

identity:
  v: rim
map:
  v: Supply[moodCode=RQO],Entity. Role,or Act,Entity,Role,or Act

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

id:
  v: Transport.id
path:
  v: Transport.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 resource 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: Transport.meta
path:
  v: Transport.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: Transport.implicitRules
path:
  v: Transport.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. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.
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: Transport.language
path:
  v: Transport.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-ballot5
    l: http://hl7.org/fhir/ValueSet/all-languages
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot5
      l: http://hl7.org/fhir/ValueSet/languages

id:
  v: Transport.text
path:
  v: Transport.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: Transport.contained
path:
  v: Transport.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: Transport.extension
path:
  v: Transport.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: Transport.modifierExtension
path:
  v: Transport.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: Transport.identifier
path:
  v: Transport.identifier
short:
  v: External identifier
definition:
  v: Identifier for the transport event that is used to identify it across multiple disparate systems.
comment:
  v: This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: rim
  map:
    v: .id

id:
  v: Transport.instantiates
path:
  v: Transport.instantiates
short:
  v: Formal definition of transport
definition:
  v: The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.
requirements:
  v: Enables a formal definition of how the transport is to be performed, enabling automation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.instantiates
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: canonical
    l: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    l: ActivityDefinition
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: Transport.basedOn
path:
  v: Transport.basedOn
short:
  v: Request fulfilled by this transport
definition:
  v: BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a "request" resource such as a ServiceRequest or Transport, which is distinct from the "request" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Task
    l: Task
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    l: ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    l: DeviceRequest
  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/SupplyRequest|0.1.0
    l: http://hl7.org/fhir/StructureDefinition/SupplyRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
    l: VisionPrescription
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.basedOn
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[moodCode=INT]

id:
  v: Transport.partOf
path:
  v: Transport.partOf
short:
  v: Part of referenced event
definition:
  v: A larger event of which this particular event is a component or step.
comment:
  v: Not to be used to link an event to an Encounter - use Event.context for that. [The allowed reference resources may be adjusted as appropriate for the event resource].
requirements:
  v: E.g. Drug administration as part of a procedure, procedure as part of observation, etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.partOf
  min:
    v: 0
  max:
    v: *
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
      l: structuredefinition-hierarchy
    value: Boolean
      v: true
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Transport|0.1.0
    l: http://hl7.org/fhir/StructureDefinition/Transport
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.partOf
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[moodCode=EVN]

id:
  v: Transport.status
path:
  v: Transport.status
short:
  v: preparation | in-progress | not-done | suspended | stopped | on-hold | completed | entered-in-error | unknown
definition:
  v: A code specifying the state of the transport event.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.status
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is modifier reason:
  v: This element is labelled 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: TransportStatus
  strength:
    v: required
  description:
    v: Status of the transport.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-status
    l: transport-status
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: rim
  map:
    v: .statusCode, also existence of fulfillment events

id:
  v: Transport.statusReason
path:
  v: Transport.statusReason
short:
  v: Reason for current status
definition:
  v: An explanation as to why this transport is held, failed, was refused, etc.
comment:
  v: This applies to the current status. Look at the history of the transport to see reasons for past statuses.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.statusReason
  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: TransportStatusReason
  strength:
    v: example
  description:
    v: Codes to identify the reason for current status. These will typically be specific to a particular workflow.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-status-reason
    l: transport-status-reason
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode

id:
  v: Transport.code
path:
  v: Transport.code
short:
  v: Transport Type
definition:
  v: A name or code (or both) briefly describing what the transport involves.
comment:
  v: The title (eg "My Transports", "Outstanding Transports for Patient X") should go into the code.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.code
  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: Transport
  strength:
    v: example
  description:
    v: Codes to identify what the transport involves. These will typically be specific to a particular workflow.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport
    l: transport
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Transport.description
path:
  v: Transport.description
short:
  v: Human-readable explanation of transport
definition:
  v: A free-text description of what is to be performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: Transport.focus
path:
  v: Transport.focus
short:
  v: What transport is acting on, when it is not the subject of record
definition:
  v: The resource representing the physical entity being transported.
comment:
  v: If multiple resources need to be manipulated, use sub-transports. (This ensures that status can be tracked independently for each referenced resource.). When the transport is a device for a patient this would be the device.
requirements:
  v: Used to identify the thing to be done.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.focus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=SUBJ].target

id:
  v: Transport.subject
path:
  v: Transport.subject
short:
  v: Beneficiary of the Transport (such as patient or subject)
definition:
  v: The entity who benefits from the performance of the service specified in the transport (such as patient or subject).
comment:
  v: When the transport is a device for a patient this would be the Patient.
requirements:
  v: Used to track transports outstanding for a beneficiary. Do not use to track the transport owner or creator (see owner and creator respectively). This can also affect access control.
alias:
  v: Patient
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.subject
  min:
    v: 0
  max:
    v: 1
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: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=RCT].role

id:
  v: Transport.encounter
path:
  v: Transport.encounter
short:
  v: Healthcare event during which this transport originated
definition:
  v: The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.
requirements:
  v: For some transports it may be important to know the link between the encounter the transport originated within.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    l: Encounter
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.encounter
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]

id:
  v: Transport.period
path:
  v: Transport.period
short:
  v: When transport is occurring/occurred
definition:
  v: The period when the transport event is occurring or did occur.
comment:
  v: The status code allows differentiation of whether the timing reflects an ongoing event or historic one. Ongoing transports should not include an end in the Period.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: Transport.authoredOn
path:
  v: Transport.authoredOn
short:
  v: Transport Creation Date
definition:
  v: The date and time this transport was created.
requirements:
  v: Most often used along with lastUpdated to track duration of the transport to supporting monitoring and management.
alias:
  v: Created Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.authoredOn
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: Transport.lastModified
path:
  v: Transport.lastModified
short:
  v: Transport Last Modified Date
definition:
  v: The date and time of last modification to this transport.
requirements:
  v: Used along with history to track transport activity and time in a particular transport state. This enables monitoring and management.
alias:
  v: Update Date
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.lastModified
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime

id:
  v: Transport.performer
path:
  v: Transport.performer
short:
  v: Who or what performs the transport
definition:
  v: Identifies the entity expected to perform the transport.
comment:
  v: Transports may be created with an owner not yet identified.
requirements:
  v: Identifies who is expected to perform this transport.
alias:
  v: Performer
alias:
  v: Executer
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.performer
  min:
    v: 0
  max:
    v: *
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/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
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role

id:
  v: Transport.location
path:
  v: Transport.location
short:
  v: Where transport occurs
definition:
  v: Principal physical location where this transport is performed.
requirements:
  v: Ties the event to where the records are likely kept and provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.insurance
path:
  v: Transport.insurance
short:
  v: Associated insurance coverage
definition:
  v: Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.insurance
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Coverage
    l: Coverage
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ClaimResponse
    l: ClaimResponse
mapping:
  identity:
    v: v2
  map:
    v: IN1/IN2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COVBY].target

id:
  v: Transport.note
path:
  v: Transport.note
short:
  v: Comments made about the transport
definition:
  v: Free-text information captured about the transport as it progresses.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: workflow
  map:
    v: Event.note
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)

id:
  v: Transport.relevantHistory
path:
  v: Transport.relevantHistory
short:
  v: Key events in history of the Transport
definition:
  v: Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport.
comment:
  v: This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a _revinclude.
alias:
  v: Status History
min:
  v: 0
max:
  v: *
base:
  path:
    v: Transport.relevantHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Provenance
    l: Provenance
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

id:
  v: Transport.to
path:
  v: Transport.to
short:
  v: Destination location
definition:
  v: The target location for the transport event.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Transport.to
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.from
path:
  v: Transport.from
short:
  v: Originating location
definition:
  v: The starting location for the transport event.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Transport.from
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.reason
path:
  v: Transport.reason
short:
  v: Why transport is needed
definition:
  v: A resource reference indicating why this transport needs to be performed.
comment:
  v: Transports might be justified based on an Observation, a Condition, a past or planned procedure, etc. This should only be included if there is no focus or if it differs from the reason indicated on the focus. Use the CodeableConcept text element in `Transport.reasonCode` if the data is free (uncoded) text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.reason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TransportReason
  strength:
    v: example
  description:
    v: Indicates why the transport is needed. E.g. Suspended because patient admitted to hospital.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-reason
    l: transport-reason
mapping:
  identity:
    v: workflow
  map:
    v: Event.reason
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target

id:
  v: Transport.priorTransport
path:
  v: Transport.priorTransport
short:
  v: The most recent transport
definition:
  v: The immediately preceding Transport event.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Transport.priorTransport
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Transport|0.1.0
    l: http://hl7.org/fhir/StructureDefinition/Transport
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target

element:
  id:
    v: Transport
  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: Transport
  short:
    v: Delivery of item
  definition:
    v: The Transport resource represents the movement or transportation of individuals and items (such materials and equipment) within a healthcare setting. It encompasses both planned and completed transport events.
  min:
    v: 0
  max:
    v: *
  mapping:
    identity:
      v: workflow
    map:
      v: Event
  mapping:
    identity:
      v: rim
    map:
      v: Supply[moodCode=RQO]
  mapping:
    identity:
      v: w5
    map:
      v: workflow.order
element:
  id:
    v: Transport.identifier
  path:
    v: Transport.identifier
  short:
    v: External identifier
  definition:
    v: Identifier for the transport event that is used to identify it across multiple disparate systems.
  comment:
    v: This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
      l: Identifier
  mapping:
    identity:
      v: workflow
    map:
      v: Event.identifier
  mapping:
    identity:
      v: rim
    map:
      v: .id
element:
  id:
    v: Transport.instantiates
  path:
    v: Transport.instantiates
  short:
    v: Formal definition of transport
  definition:
    v: The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Transport.
  requirements:
    v: Enables a formal definition of how the transport is to be performed, enabling automation.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: canonical
      l: canonical
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
      l: ActivityDefinition
  is summary:
    v: true
  mapping:
    identity:
      v: workflow
    map:
      v: Event.instantiatesCanonical
  mapping:
    identity:
      v: rim
    map:
      v: .outboundRelationship[typeCode=DEFN].target
element:
  id:
    v: Transport.basedOn
  path:
    v: Transport.basedOn
  short:
    v: Request fulfilled by this transport
  definition:
    v: BasedOn refers to a higher-level authorization that triggered the creation of the transport. It references a "request" resource such as a ServiceRequest or Transport, which is distinct from the "request" resource the Transport is seeking to fulfill. This latter resource is referenced by FocusOn. For example, based on a ServiceRequest (= BasedOn), a transport is created to fulfill a procedureRequest ( = FocusOn ) to transport a specimen to the lab.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Task
      l: Task
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
      l: ServiceRequest
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
      l: DeviceRequest
    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/SupplyRequest|0.1.0
      l: http://hl7.org/fhir/StructureDefinition/SupplyRequest
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/VisionPrescription
      l: VisionPrescription
  is summary:
    v: true
  mapping:
    identity:
      v: workflow
    map:
      v: Event.basedOn
  mapping:
    identity:
      v: rim
    map:
      v: .outboundRelationship[typeCode=FLFS].target[moodCode=INT]
element:
  id:
    v: Transport.partOf
  path:
    v: Transport.partOf
  short:
    v: Part of referenced event
  definition:
    v: A larger event of which this particular event is a component or step.
  comment:
    v: Not to be used to link an event to an Encounter - use Event.context for that. [The allowed reference resources may be adjusted as appropriate for the event resource].
  requirements:
    v: E.g. Drug administration as part of a procedure, procedure as part of observation, etc.
  min:
    v: 0
  max:
    v: *
  type:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy
        l: structuredefinition-hierarchy
      value: Boolean
        v: true
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Transport|0.1.0
      l: http://hl7.org/fhir/StructureDefinition/Transport
  is summary:
    v: true
  mapping:
    identity:
      v: workflow
    map:
      v: Event.partOf
  mapping:
    identity:
      v: v2
    map:
      v: Varies by domain
  mapping:
    identity:
      v: rim
    map:
      v: .inboundRelationship[typeCode=COMP].source[moodCode=EVN]
element:
  id:
    v: Transport.status
  path:
    v: Transport.status
  short:
    v: preparation | in-progress | not-done | suspended | stopped | on-hold | completed | entered-in-error | unknown

v: A code specifying the state of the transport event.

v: 0

v: 1

code:
  v: code
  l: code

v: true

v: This element is labelled 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

v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    l: elementdefinition-bindingName
  value: String
    v: TransportStatus
strength:
  v: required
description:
  v: Status of the transport.
value set:
  v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-status
  l: transport-status

identity:
  v: workflow
map:
  v: Event.status

identity:
  v: rim
map:
  v: .statusCode, also existence of fulfillment events

id:
  v: Transport.statusReason
path:
  v: Transport.statusReason
short:
  v: Reason for current status
definition:
  v: An explanation as to why this transport is held, failed, was refused, etc.
comment:
  v: This applies to the current status. Look at the history of the transport to see reasons for past statuses.
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: TransportStatusReason
  strength:
    v: example
  description:
    v: Codes to identify the reason for current status. These will typically be specific to a particular workflow.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-status-reason
    l: transport-status-reason
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode

id:
  v: Transport.code
path:
  v: Transport.code
short:
  v: Transport Type
definition:
  v: A name or code (or both) briefly describing what the transport involves.
comment:
  v: The title (eg "My Transports", "Outstanding Transports for Patient X") should go into the code.
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: Transport
  strength:
    v: example
  description:
    v: Codes to identify what the transport involves. These will typically be specific to a particular workflow.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport
    l: transport
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: .code

id:
  v: Transport.description
path:
  v: Transport.description
short:
  v: Human-readable explanation of transport
definition:
  v: A free-text description of what is to be performed.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown
    l: markdown
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: Transport.focus
path:
  v: Transport.focus
short:
  v: What transport is acting on, when it is not the subject of record
definition:
  v: The resource representing the physical entity being transported.
comment:
  v: If multiple resources need to be manipulated, use sub-transports. (This ensures that status can be tracked independently for each referenced resource.). When the transport is a device for a patient this would be the device.
requirements:
  v: Used to identify the thing to be done.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=SUBJ].target

id:
  v: Transport.subject
path:
  v: Transport.subject
short:
  v: Beneficiary of the Transport (such as patient or subject)
definition:
  v: The entity who benefits from the performance of the service specified in the transport (such as patient or subject).
comment:
  v: When the transport is a device for a patient this would be the Patient.
requirements:
  v: Used to track transports outstanding for a beneficiary. Do not use to track the transport owner or creator (see owner and creator respectively). This can also affect access control.
alias:
  v: Patient
min:
  v: 0
max:
  v: 1
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: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=RCT].role

id:
  v: Transport.encounter
path:
  v: Transport.encounter
short:
  v: Healthcare event during which this transport originated
definition:
  v: The healthcare event (e.g. a patient and healthcare provider interaction) during which this transport was created.
requirements:
  v: For some transports it may be important to know the link between the encounter the transport originated within.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    l: Encounter
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.encounter
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]

id:
  v: Transport.period
path:
  v: Transport.period
short:
  v: When transport is occurring/occurred
definition:
  v: The period when the transport event is occurring or did occur.
comment:
  v: The status code allows differentiation of whether the timing reflects an ongoing event or historic one. Ongoing transports should not include an end in the Period.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime

id:
  v: Transport.authoredOn
path:
  v: Transport.authoredOn
short:
  v: Transport Creation Date
definition:
  v: The date and time this transport was created.
requirements:
  v: Most often used along with lastUpdated to track duration of the transport to supporting monitoring and management.
alias:
  v: Created Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time

id:
  v: Transport.lastModified
path:
  v: Transport.lastModified
short:
  v: Transport Last Modified Date
definition:
  v: The date and time of last modification to this transport.
requirements:
  v: Used along with history to track transport activity and time in a particular transport state. This enables monitoring and management.
alias:
  v: Update Date
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime

id:
  v: Transport.performer
path:
  v: Transport.performer
short:
  v: Who or what performs the transport
definition:
  v: Identifies the entity expected to perform the transport.
comment:
  v: Transports may be created with an owner not yet identified.
requirements:
  v: Identifies who is expected to perform this transport.
alias:
  v: Performer
alias:
  v: Executer
min:
  v: 0
max:
  v: *
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/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
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.performer.actor
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role

id:
  v: Transport.location
path:
  v: Transport.location
short:
  v: Where transport occurs
definition:
  v: Principal physical location where this transport is performed.
requirements:
  v: Ties the event to where the records are likely kept and provides context around the event occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.insurance
path:
  v: Transport.insurance
short:
  v: Associated insurance coverage
definition:
  v: Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Transport.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Coverage
    l: Coverage
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ClaimResponse
    l: ClaimResponse
mapping:
  identity:
    v: v2
  map:
    v: IN1/IN2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COVBY].target

id:
  v: Transport.note
path:
  v: Transport.note
short:
  v: Comments made about the transport
definition:
  v: Free-text information captured about the transport as it progresses.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Annotation
    l: Annotation
mapping:
  identity:
    v: workflow
  map:
    v: Event.note
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)

id:
  v: Transport.relevantHistory
path:
  v: Transport.relevantHistory
short:
  v: Key events in history of the Transport
definition:
  v: Links to Provenance records for past versions of this Transport that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the transport.
comment:
  v: This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed. The Provenance for the current version can be retrieved with a _revinclude.
alias:
  v: Status History
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Provenance
    l: Provenance
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

id:
  v: Transport.to
path:
  v: Transport.to
short:
  v: Destination location
definition:
  v: The target location for the transport event.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.from
path:
  v: Transport.from
short:
  v: Originating location
definition:
  v: The starting location for the transport event.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role

id:
  v: Transport.reason
path:
  v: Transport.reason
short:
  v: Why transport is needed
definition:
  v: A resource reference indicating why this transport needs to be performed.
comment:
  v: Transports might be justified based on an Observation, a Condition, a past or planned procedure, etc. This should only be included if there is no focus or if it differs from the reason indicated on the focus. Use the CodeableConcept text element in `Transport.reasonCode` if the data is free (uncoded) text.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableReference
    l: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TransportReason
  strength:
    v: example
  description:
    v: Indicates why the transport is needed. E.g. Suspended because patient admitted to hospital.
  value set:
    v: http://hl7.org/fhir/uv/oo-incubator/ValueSet/transport-reason
    l: transport-reason
mapping:
  identity:
    v: workflow
  map:
    v: Event.reason
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target

id:
  v: Transport.priorTransport
path:
  v: Transport.priorTransport
short:
  v: The most recent transport
definition:
  v: The immediately preceding Transport event.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Transport|0.1.0
    l: http://hl7.org/fhir/StructureDefinition/Transport
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target