Manifest-ImOrder
type: StructureDefinition
node role: treeRoot
id:
  v: Manifest-ImOrder
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition Manifest-ImOrder Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> ServiceRequest 0..* ImOrder A request for a service to be performed text O 0..1 Narrative Text summary of the resource, for human interpretation Obligations Actor SHALL:populate-if-known Imaging study manifest provider Slices for identifier Content/Rules for all slices identifier:accessionNumber O 0..1 ImAccessionNumberIdentifier Identifiers assigned to this order Obligations Actor SHALL:populate-if-known Imaging study manifest provider status O 1..1 code draft | active | on-hold | revoked | completed | entered-in-error | unknown Obligations Actor SHALL:handle Imaging study manifest provider intent O 1..1 code proposal | plan | directive | order + Obligations Actor SHALL:handle Imaging study manifest provider priority O 0..1 code routine | urgent | asap | stat Obligations Actor SHALL:populate-if-known Imaging study manifest provider code concept O 0..1 CodeableConcept Reference to a concept (by class) Obligations Actor SHALL:populate-if-known Imaging study manifest provider Slices for quantity[x] 0..1 Quantity, Ratio, Range Service amount Slice: Unordered, Open by type:$this quantity[x]:quantityQuantity O 0..1 Quantity Service amount Obligations Actor SHALL:populate-if-known Imaging study manifest provider subject O 1..1 Reference(Patient | Group | Location | Device) Individual or Entity the service is ordered for Obligations Actor SHALL:populate-if-known Imaging study manifest provider encounter O 0..1 Reference(Encounter) Encounter in which the request was created Obligations Actor SHALL:populate-if-known Imaging study manifest provider Slices for occurrence[x] 0..1 dateTime, Period, Timing When service should occur Slice: Unordered, Open by type:$this occurrence[x]:occurrenceDateTime O 0..1 dateTime When service should occur Obligations Actor SHALL:populate-if-known Imaging study manifest provi…
url:
  v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder
version:
  v: 0.1.0-ballot
name:
  v: Manifest_ImOrder
title:
  v: Manifest obligations for ImOrder
status:
  v: draft
date:
  v: 2025-05-14T15:47:13+02:00
publisher:
  v: HL7 Europe
contact:
  name:
    v: HL7 Europe
  telecom:
    system:
      v: url
    value:
      v: http://hl7.eu
description:
  v: Manifest obligations for ImOrder
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 150
    display:
      v: Europe
copyright:
  v: Used by permission of HL7 Europe, all rights reserved Creative Commons License
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: dicom-2-im-order-mapping
  uri:
    v: http://nema.org/dicom
  name:
    v: Mapping from DICOM to Imaging Order
  comment:
    v: Mapping from DICOM to Imaging Order.
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
  name:
    v: HL7 V2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: quick
  uri:
    v: http://siframework.org/cqf
  name:
    v: Quality Improvement and Clinical Knowledge (QUICK)
kind:
  v: resource
abstract:
  v: false
type:
  v: ServiceRequest
base definition:
  v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImOrder
  link: http://hl7.eu/fhir/imaging-r5/StructureDefinition/ImOrder
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 0.1.0-ballot
  element:
    id:
      v: ServiceRequest
    path:
      v: ServiceRequest
    short:
      v: A request for a service to be performed
    definition:
      v: A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.
    alias:
      v: diagnostic request
    alias:
      v: referral
    alias:
      v: referral request
    alias:
      v: transfer of care request
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: ServiceRequest
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: bdystr-1
      severity:
        v: error
      human:
        v: bodyStructure SHALL only be present if bodySite is not present
      expression:
        v: bodySite.exists() implies bodyStructure.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
        link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    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
        link: http://hl7.org/fhir/StructureDefinition/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 in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        link: http://hl7.org/fhir/StructureDefinition/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
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      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
        link: http://hl7.org/fhir/StructureDefinition/DomainResource
    constraint:
      extension:
        value: boolean
      extension:
        value: markdown
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management

boolean
v: true

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.

v: text.`div`.exists()

key:
  v: prr-1
severity:
  v: error
human:
  v: orderDetail SHALL only be present if code is present
expression:
  v: orderDetail.empty() or code.exists()
source:
  v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  link: http://hl7.org/fhir/StructureDefinition/ServiceRequest

v: false

v: false

v: false

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

identity:
  v: workflow
map:
  v: Request

identity:
  v: w5
map:
  v: clinical.general

identity:
  v: v2
map:
  v: ORC

id:
  v: ServiceRequest.id
path:
  v: ServiceRequest.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
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: ServiceRequest.meta
path:
  v: ServiceRequest.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: ServiceRequest.implicitRules
path:
  v: ServiceRequest.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
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
    link: http://hl7.org/fhir/StructureDefinition/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: ServiceRequest.language
path:
  v: ServiceRequest.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/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|5.0.0
    link: 5.0
    link: .0
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages
      link: http://hl7.org/fhir/ValueSet/languages

id:
  v: ServiceRequest.text
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: ServiceRequest.contained
path:
  v: ServiceRequest.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.
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
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: ServiceRequest.extension
path:
  v: ServiceRequest.extension
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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ServiceRequest.modifierExtension
path:
  v: ServiceRequest.modifierExtension
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://hl7.org/fhir/R5/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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
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: ServiceRequest.identifier
path:
  v: ServiceRequest.identifier
slicing:
  discriminator:
    type:
      v: value
    path:
      v: type
  ordered:
    v: false
  rules:
    v: open
short:
  v: Identifiers assigned to this order
definition:
  v: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
comment:
  v: The identifier.type element is used to distinguish between the identifiers assigned by the orderer (known as the 'Placer' in HL7 V2) and the producer of the observations in response to the order (known as the 'Filler' in HL7 V2). For further discussion and examples see the resource notes section below.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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, RF1-6 / RF1-11,
mapping:
  identity:
    v: rim
  map:
    v: .identifier
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.identifier

id:
  v: ServiceRequest.identifier:accessionNumber
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportHeader.documentMetadata.accessionNumber
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.identifier
slice name:
  v: accessionNumber
short:
  v: Identifiers assigned to this order
definition:
  v: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
comment:
  v: The identifier.type element is used to distinguish between the identifiers assigned by the orderer (known as the 'Placer' in HL7 V2) and the producer of the observations in response to the order (known as the 'Filler' in HL7 V2). For further discussion and examples see the resource notes section below.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
  profile:
    v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/im-accession-number-identifier
    link: http://hl7.eu/fhir/imaging-r5/StructureDefinition/im-accession-number-identifier
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: AccessionNumber (0008,0050)
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, RF1-6 / RF1-11,
mapping:
  identity:
    v: rim
  map:
    v: .identifier
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.identifier

id:
  v: ServiceRequest.instantiatesCanonical
path:
  v: ServiceRequest.instantiatesCanonical
short:
  v: Instantiates FHIR protocol or definition
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 ServiceRequest.
comment:
  v: The PlanDefinition resource is used to describe series, sequences, or groups of actions to be taken, while the ActivityDefinition resource is used to define each specific step or activity to be performed. More information can be found in the [Boundaries and Relationships](http://hl7.org/fhir/R5/plandefinition.html#12.23.2) section for PlanDefinition.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesCanonical
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: ServiceRequest.instantiatesUri
path:
  v: ServiceRequest.instantiatesUri
short:
  v: Instantiates external protocol or definition
definition:
  v: The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.instantiatesUri
mapping:
  identity:
    v: v2
  map:
    v: Varies by domain
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: ServiceRequest.basedOn
path:
  v: ServiceRequest.basedOn
short:
  v: What request fulfills
definition:
  v: Plan/proposal/order fulfilled by this request.
alias:
  v: fulfills
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    link: http://hl7.org/fhir/StructureDefinition/CarePlan
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.basedOn
mapping:
  identity:
    v: v2
  map:
    v: ORC-8 (plus others)
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target

id:
  v: ServiceRequest.replaces
path:
  v: ServiceRequest.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: ServiceRequest.replaces
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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: ServiceRequest.requisition
path:
  v: ServiceRequest.requisition
short:
  v: Composite Request ID
definition:
  v: A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.
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.
requirements:
  v: Some business processes need to know if multiple items were ordered as part of the same "requisition" for billing or other purposes.
alias:
  v: grouperId
alias:
  v: groupIdentifier
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.requisition
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.groupIdentifier
mapping:
  identity:
    v: v2
  map:
    v: ORC-4
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier

id:
  v: ServiceRequest.status
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:handle
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.status
short:
  v: draft | active | on-hold | revoked | completed | entered-in-error | unknown
definition:
  v: The status of the order.
comment:
  v: The status is generally fully in the control of the requester - they determine whether the order is draft or active and, after it has been activated, competed, revoked or placed on-hold. States relating to the activities of the performer are reflected on either the corresponding event (see [Event Pattern](http://hl7.org/fhir/R5/event.html) for general discussion) or using the [Task](http://hl7.org/fhir/R5/task.html) resource.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ServiceRequest.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
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
    value: string
      v: ServiceRequestStatus
  strength:
    v: required
  description:
    v: The status of a service order.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-status|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Request.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: v2
  map:
    v: ORC-5,RF1-1
mapping:
  identity:
    v: rim
  map:
    v: .status
mapping:
  identity:
    v: quick
  map:
    v: Action.currentStatus

id:
  v: ServiceRequest.intent
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:handle
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.intent
short:
  v: proposal | plan | directive | order +
definition:
  v: Whether the request is a proposal, plan, an original order or a reflex order.
comment:
  v: 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: ServiceRequest.intent
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: 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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
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
    value: string
      v: ServiceRequestIntent
  strength:
    v: required
  description:
    v: The kind of service request.
  value set:
    v: http://hl7.org/fhir/ValueSet/request-intent|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Request.intent
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)

id:
  v: ServiceRequest.category
path:
  v: ServiceRequest.category
slicing:
  discriminator:
    type:
      v: value
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Classification of service
definition:
  v: A code that classifies the service for searching, sorting and display purposes (e.g. "Surgical Procedure").
comment:
  v: There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.
requirements:
  v: Used for filtering what service request are retrieved and displayed.
min:
  v: 1
max:
  v: *
base:
  path:
    v: ServiceRequest.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestCategory
  strength:
    v: example
  description:
    v: Classification of the requested service.
  value set:
    v: http://hl7.org/fhir/ValueSet/servicerequest-category
    link: http://hl7.org/fhir/ValueSet/servicerequest-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: v2
  map:
    v: RF1-5
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code

id:
  v: ServiceRequest.category:imaging
path:
  v: ServiceRequest.category
slice name:
  v: imaging
short:
  v: Classification of service
definition:
  v: A code that classifies the service for searching, sorting and display purposes (e.g. "Surgical Procedure").
comment:
  v: There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.
requirements:
  v: Used for filtering what service request are retrieved and displayed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ServiceRequest.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
pattern: CodeableConcept
  coding: http://snomed.info/id/363679005
    system:
      v: http://snomed.info/sct
    code:
      v: 363679005
    display:
      v: Imaging
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestCategory
  strength:
    v: example
  description:
    v: Classification of the requested service.
  value set:
    v: http://hl7.org/fhir/ValueSet/servicerequest-category
    link: http://hl7.org/fhir/ValueSet/servicerequest-category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: v2
  map:
    v: RF1-5
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code

id:
  v: ServiceRequest.priority
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.priority
short:
  v: routine | urgent | asap | stat
definition:
  v: Indicates how quickly the ServiceRequest should be addressed with respect to other requests.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
meaning when missing:
  v: If missing, this task should be performed with normal priority
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestPriority
  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|5.0.0
    link: 5.0
    link: .0
mapping:
  identity:
    v: workflow
  map:
    v: Request.priority
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.grade
mapping:
  identity:
    v: v2
  map:
    v: TQ1.9, RF1-2
mapping:
  identity:
    v: rim
  map:
    v: .priorityCode

id:
  v: ServiceRequest.doNotPerform
path:
  v: ServiceRequest.doNotPerform
short:
  v: True if service/procedure should not be performed
definition:
  v: Set this to true if the record is saying that the service/procedure should NOT be performed.
comment:
  v: In general, only the code and timeframe will be present, though occasional additional qualifiers such as body site or even performer could be included to narrow the scope of the prohibition. If the ServiceRequest.code and ServiceRequest.doNotPerform both contain negation, that will reinforce prohibition and should not have a double negative interpretation.
requirements:
  v: Used for do not ambulate, do not elevate head of bed, do not flush NG tube, do not take blood pressure on a certain arm, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.doNotPerform
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
meaning when missing:
  v: If missing, the request is a positive request e.g. "do perform"
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur.
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.doNotPerform
mapping:
  identity:
    v: rim
  map:
    v: .actionNegationInd

id:
  v: ServiceRequest.code
path:
  v: ServiceRequest.code
short:
  v: What is being requested/ordered
definition:
  v: A code or reference that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.
comment:
  v: Many laboratory and radiology procedure codes embed the specimen/organ system in the test order name, for example, serum or serum/plasma glucose, or a chest x-ray. The specimen might not be recorded separately from the test code.
alias:
  v: service requested
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
    link: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition
    link: http://hl7.org/fhir/StructureDefinition/PlanDefinition
condition:
  v: prr-1
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestCode
  strength:
    v: example
  description:
    v: Codes for tests or services that can be carried out by a designated individual, organization or healthcare service. For laboratory, LOINC is [preferred](http://hl7.org/fhir/R5/terminologies.html#preferred) and a valueset using LOINC Order codes is available [here](http://hl7.org/fhir/R5/valueset-diagnostic-requests.html).
  value set:
    v: http://hl7.org/fhir/ValueSet/procedure-code
    link: http://hl7.org/fhir/ValueSet/procedure-code
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: RequestedProcedureCodeSequence (0040,1001)
mapping:
  identity:
    v: workflow
  map:
    v: Request.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: v2
  map:
    v: PR1-3 / OBR-4 (varies by domain)
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: quick
  map:
    v: Procedure.procedureCode

id:
  v: ServiceRequest.code.id
path:
  v: ServiceRequest.code.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
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.code.extension
path:
  v: ServiceRequest.code.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.code.concept
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.code.concept
short:
  v: Reference to a concept (by class)
definition:
  v: A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableReference.concept
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ServiceRequest.code.reference
path:
  v: ServiceRequest.code.reference
short:
  v: Reference to a resource (by instance)
definition:
  v: A reference to a resource the provides exact details about the information being referenced.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableReference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ServiceRequest.orderDetail
path:
  v: ServiceRequest.orderDetail
short:
  v: Additional order information
definition:
  v: Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.
comment:
  v: For information from the medical record intended to support the delivery of the requested services, use the `supportingInformation` element.
alias:
  v: detailed instructions
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.orderDetail
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
condition:
  v: prr-1
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: NTE

id:
  v: ServiceRequest.orderDetail.id
path:
  v: ServiceRequest.orderDetail.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.orderDetail.extension
path:
  v: ServiceRequest.orderDetail.extension
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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.orderDetail.modifierExtension
path:
  v: ServiceRequest.orderDetail.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://hl7.org/fhir/R5/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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
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: ServiceRequest.orderDetail.parameterFocus
path:
  v: ServiceRequest.orderDetail.parameterFocus
short:
  v: The context of the order details by reference
definition:
  v: Indicates the context of the order details by reference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.orderDetail.parameterFocus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceDefinition
    link: http://hl7.org/fhir/StructureDefinition/DeviceDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceRequest
    link: http://hl7.org/fhir/StructureDefinition/DeviceRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/SupplyRequest
    link: http://hl7.org/fhir/StructureDefinition/SupplyRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication
    link: http://hl7.org/fhir/StructureDefinition/Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/MedicationRequest
    link: http://hl7.org/fhir/StructureDefinition/MedicationRequest
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct
    link: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Substance
    link: http://hl7.org/fhir/StructureDefinition/Substance
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: ServiceRequest.orderDetail.parameter
path:
  v: ServiceRequest.orderDetail.parameter
short:
  v: The parameter details for the service being requested
definition:
  v: The parameter details for the service being requested.
min:
  v: 1
max:
  v: *
base:
  path:
    v: ServiceRequest.orderDetail.parameter
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: ServiceRequest.orderDetail.parameter.id
path:
  v: ServiceRequest.orderDetail.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.orderDetail.parameter.extension
path:
  v: ServiceRequest.orderDetail.parameter.extension
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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.orderDetail.parameter.modifierExtension
path:
  v: ServiceRequest.orderDetail.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://hl7.org/fhir/R5/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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
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: ServiceRequest.orderDetail.parameter.code
path:
  v: ServiceRequest.orderDetail.parameter.code
short:
  v: The detail of the order being requested
definition:
  v: A value representing the additional detail or instructions for the order (e.g., catheter insertion, body elevation, descriptive device configuration and/or setting instructions).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ServiceRequest.orderDetail.parameter.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestOrderDetailParameterCode
  strength:
    v: example
  description:
    v: Codes for order detail parameters.
  value set:
    v: http://hl7.org/fhir/ValueSet/servicerequest-orderdetail-parameter-code
    link: http://hl7.org/fhir/ValueSet/servicerequest-orderdetail-parameter-code

id:
  v: ServiceRequest.orderDetail.parameter.value[x]
path:
  v: ServiceRequest.orderDetail.parameter.value[x]
short:
  v: The value for the order detail
definition:
  v: Indicates a value for the order detail.
comment:
  v: CodeableConcept values are indented to express concepts that would normally be coded - when a code is not available for a concept, CodeableConcept.text can be used. When the data is a text or not a single identifiable concept, string should be used.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ServiceRequest.orderDetail.parameter.value[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Quantity
type:
  code:
    v: Ratio
type:
  code:
    v: Range
type:
  code:
    v: boolean
type:
  code:
    v: CodeableConcept
type:
  code:
    v: string
type:
  code:
    v: Period
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: ServiceRequest.quantity[x]
path:
  v: ServiceRequest.quantity[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Service amount
definition:
  v: An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).
requirements:
  v: When ordering a service the number of service items may need to be specified separately from the the service item.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.quantity[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
type:
  code:
    v: Ratio
type:
  code:
    v: Range
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .quantity

id:
  v: ServiceRequest.quantity[x]:quantityQuantity
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.quantity[x]
slice name:
  v: quantityQuantity
short:
  v: Service amount
definition:
  v: An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).
requirements:
  v: When ordering a service the number of service items may need to be specified separately from the the service item.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.quantity[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .quantity

id:
  v: ServiceRequest.subject
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.subject
short:
  v: Individual or Entity the service is ordered for
definition:
  v: On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ServiceRequest.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group
    link: http://hl7.org/fhir/StructureDefinition/Group
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    link: http://hl7.org/fhir/StructureDefinition/Location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: (0010/*)
mapping:
  identity:
    v: workflow
  map:
    v: Request.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: v2
  map:
    v: PID
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.subject

id:
  v: ServiceRequest.focus
path:
  v: ServiceRequest.focus
short:
  v: What the service request is about, when it is not about the subject of record
definition:
  v: The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition, an intervention, the subject's diet, another service request on the subject, or a body structure such as tumor or implanted device.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.focus
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=SBJ]

id:
  v: ServiceRequest.encounter
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.encounter
short:
  v: Encounter in which the request was created
definition:
  v: An encounter that provides additional information about the healthcare context in which this request is made.
alias:
  v: context
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    link: http://hl7.org/fhir/StructureDefinition/Encounter
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Request.encounter
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context
mapping:
  identity:
    v: v2
  map:
    v: PV1
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.encounter

id:
  v: ServiceRequest.occurrence[x]
path:
  v: ServiceRequest.occurrence[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: When service should occur
definition:
  v: The date/time at which the requested service should occur.
alias:
  v: schedule
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
type:
  code:
    v: Period
type:
  code:
    v: Timing
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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: TQ1/TQ2, OBR-7/OBR-8
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: quick
  map:
    v: Procedure.procedureSchedule

id:
  v: ServiceRequest.occurrence[x]:occurrenceDateTime
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.occurrence[x]
slice name:
  v: occurrenceDateTime
short:
  v: When service should occur
definition:
  v: The date/time at which the requested service should occur.
alias:
  v: schedule
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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: TQ1/TQ2, OBR-7/OBR-8
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: quick
  map:
    v: Procedure.procedureSchedule

id:
  v: ServiceRequest.occurrence[x]:occurrencePeriod
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.occurrence[x]
slice name:
  v: occurrencePeriod
short:
  v: When service should occur
definition:
  v: The date/time at which the requested service should occur.
alias:
  v: schedule
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.occurrence[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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: TQ1/TQ2, OBR-7/OBR-8
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: quick
  map:
    v: Procedure.procedureSchedule

id:
  v: ServiceRequest.asNeeded[x]
path:
  v: ServiceRequest.asNeeded[x]
short:
  v: Preconditions for service
definition:
  v: If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.asNeeded[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ProcedureAsNeededReason
  strength:
    v: example
  description:
    v: A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example "pain", "on flare-up", etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
    link: http://hl7.org/fhir/ValueSet/medication-as-needed-reason
mapping:
  identity:
    v: rim
  map:
    v: boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
mapping:
  identity:
    v: quick
  map:
    v: Proposal.prnReason.reason

id:
  v: ServiceRequest.authoredOn
path:
  v: ServiceRequest.authoredOn
short:
  v: Date request signed
definition:
  v: When the request transitioned to being actionable.
alias:
  v: orderedOn
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.authoredOn
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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, RF1-7 / RF1-9
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].time
mapping:
  identity:
    v: quick
  map:
    v: Proposal.proposedAtTime

id:
  v: ServiceRequest.requester
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.orderPlacer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.requester
short:
  v: Who/what is requesting service
definition:
  v: The individual who initiated the request and has responsibility for its activation.
comment:
  v: This not the dispatcher, but rather who is the authorizer. This element is not intended to handle delegation which would generally be managed through the Provenance resource.
alias:
  v: author
alias:
  v: orderer
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.requester
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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, PRT
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=AUT].role
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.statementAuthor

id:
  v: ServiceRequest.performerType
path:
  v: ServiceRequest.performerType
short:
  v: Performer role
definition:
  v: Desired type of performer for doing the requested service.
comment:
  v: This is a role, not a participation type. In other words, does not describe the task but describes the capacity. For example, “compounding pharmacy”, “psychiatrist” or “internal referral”.
alias:
  v: specialty
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.performerType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestParticipantRole
  strength:
    v: example
  description:
    v: Indicates specific responsibility of an individual within the care team, such as "Primary physician", "Team coordinator", "Caregiver", etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/participant-role
    link: http://hl7.org/fhir/ValueSet/participant-role
mapping:
  identity:
    v: workflow
  map:
    v: Request.performerType
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: v2
  map:
    v: PRT, RF1-3
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role[scoper.determinerCode=KIND].code

id:
  v: ServiceRequest.performer
path:
  v: ServiceRequest.performer
short:
  v: Requested performer
definition:
  v: The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.
comment:
  v: If multiple performers are present, it is interpreted as a list of *alternative* performers without any preference regardless of order. If order of preference is needed use the [http://hl7.org/fhir/StructureDefinition/request-performerOrder](http://hl7.org/fhir/extensions/StructureDefinition-request-performerOrder.html). Use CareTeam to represent a group of performers (for example, Practitioner A *and* Practitioner B).
alias:
  v: request recipient
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CareTeam
    link: http://hl7.org/fhir/StructureDefinition/CareTeam
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/HealthcareService
    link: http://hl7.org/fhir/StructureDefinition/HealthcareService
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device
    link: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    link: http://hl7.org/fhir/StructureDefinition/RelatedPerson
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
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, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]

id:
  v: ServiceRequest.location
path:
  v: ServiceRequest.location
short:
  v: Requested location
definition:
  v: The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.location
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    link: http://hl7.org/fhir/StructureDefinition/Location
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestLocation
  strength:
    v: example
  description:
    v: A location type where services are delivered.
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
    link: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=LOC].role[scoper.determinerCode=KIND].code

id:
  v: ServiceRequest.reason
path:
  v: ServiceRequest.reason
short:
  v: Explanation/Justification for procedure or service
definition:
  v: An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.
comment:
  v: This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all. To be as specific as possible, a reference to *Observation* or *Condition* should be used if available. Otherwise, use `concept.text` element if the data is free (uncoded) text as shown in the [CT Scan example](http://hl7.org/fhir/R5/servicerequest-example-di.html).
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.reason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    link: http://hl7.org/fhir/StructureDefinition/Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    link: http://hl7.org/fhir/StructureDefinition/Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
    link: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    link: http://hl7.org/fhir/StructureDefinition/DocumentReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DetectedIssue
    link: http://hl7.org/fhir/StructureDefinition/DetectedIssue
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: ServiceRequestReason
  strength:
    v: example
  description:
    v: SNOMED CT Condition/Problem/Diagnosis Codes
  value set:
    v: http://hl7.org/fhir/ValueSet/procedure-reason
    link: http://hl7.org/fhir/ValueSet/procedure-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, RF1-10
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: ServiceRequest.reason.id
path:
  v: ServiceRequest.reason.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
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.reason.extension
path:
  v: ServiceRequest.reason.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.reason.concept
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.orderReason, EHDSImagingReportBody.orderInformation.clinicalQuestion
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.reason.concept
short:
  v: Reference to a concept (by class)
definition:
  v: A reference to a concept - e.g. the information is identified by its general class to the degree of precision found in the terminology.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableReference.concept
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: ReasonForTheRequestedProcedure (0040,100A)
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ServiceRequest.reason.concept.id
path:
  v: ServiceRequest.reason.concept.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
    value: url
      v: id
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.reason.concept.extension
path:
  v: ServiceRequest.reason.concept.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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.reason.concept.coding
path:
  v: ServiceRequest.reason.concept.coding
short:
  v: Code defined by a terminology system
definition:
  v: A reference to a code defined by a terminology system.
comment:
  v: Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.
requirements:
  v: Allows for alternative encodings within a code system, and translations to other code systems.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1-8, C*E.10-22
mapping:
  identity:
    v: rim
  map:
    v: union(., ./translation)
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding

id:
  v: ServiceRequest.reason.concept.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
  value: boolean
    v: true
path:
  v: ServiceRequest.reason.concept.text
short:
  v: Plain text representation of the concept
definition:
  v: A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
comment:
  v: Very often the text is the same as a displayName of one of the codings.
requirements:
  v: The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableConcept.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: ReasonForTheRequestedProcedure (0040,1002)
mapping:
  identity:
    v: v2
  map:
    v: C*E.9. But note many systems use C*E.2 for this
mapping:
  identity:
    v: rim
  map:
    v: ./originalText[mediaType/code="text/plain"]/data
mapping:
  identity:
    v: orim
  map:
    v: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText

id:
  v: ServiceRequest.reason.reference
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.reason.reference
short:
  v: Reference to a resource (by instance)
definition:
  v: A reference to a resource the provides exact details about the information being referenced.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: CodeableReference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
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
    link: http://hl7.org/fhir/StructureDefinition/Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ServiceRequest.insurance
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportHeader.healthInsuranceAndPaymentInformation
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.insurance
short:
  v: Associated insurance coverage
definition:
  v: Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.insurance
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Coverage
    link: http://hl7.org/fhir/StructureDefinition/Coverage
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ClaimResponse
    link: http://hl7.org/fhir/StructureDefinition/ClaimResponse
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.insurance
mapping:
  identity:
    v: v2
  map:
    v: IN1/IN2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COVBY].target

id:
  v: ServiceRequest.supportingInfo
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.supportingInformation, EHDSImagingReportBody.orderInformation.supportingInformation.observation, EHDSImagingReportBody.orderInformation.supportingInformation.condition, EHDSImagingReportBody.orderInformation.supportingInformation.devices
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.supportingInfo
slicing:
  discriminator:
    type:
      v: value
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Additional clinical information
definition:
  v: Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.
comment:
  v: To represent information about how the services are to be delivered use the `instructions` element.
alias:
  v: Ask at order entry question
alias:
  v: AOE
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.supportingInfo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.supportingInfo
mapping:
  identity:
    v: v2
  map:
    v: Accompanying segments
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=PERT].target

id:
  v: ServiceRequest.supportingInfo:pregnancy
path:
  v: ServiceRequest.supportingInfo
slice name:
  v: pregnancy
short:
  v: Additional clinical information
definition:
  v: Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.
comment:
  v: To represent information about how the services are to be delivered use the `instructions` element.
alias:
  v: Ask at order entry question
alias:
  v: AOE
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.supportingInfo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableReference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    link: http://hl7.org/fhir/StructureDefinition/Resource
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: required
  value set:
    v: http://hl7.org/fhir/uv/ips/ValueSet/pregnancy-status-uv-ips
    link: http://hl7.org/fhir/uv/ips/ValueSet/pregnancy-status-uv-ips
mapping:
  identity:
    v: workflow
  map:
    v: Request.supportingInfo
mapping:
  identity:
    v: v2
  map:
    v: Accompanying segments
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=PERT].target

id:
  v: ServiceRequest.specimen
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.specimen
short:
  v: Procedure Samples
definition:
  v: One or more specimens that the laboratory procedure will use.
comment:
  v: The purpose of the ServiceRequest.specimen is to reflect the actual specimen that the requested test/procedure is asked to be performed on, whether the lab already has it or not. References to specimens for purposes other than to perform a test/procedure on should be made using the ServiceRequest.supportingInfo or the Specimen.parent where the Specimen.parent would enable descendency and ServiceRequest.supportingInfo a general reference for context.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.specimen
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Specimen
    link: http://hl7.org/fhir/StructureDefinition/Specimen
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: SPM
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SPC].role

id:
  v: ServiceRequest.bodySite
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.bodySite
short:
  v: Coded location on Body
definition:
  v: Anatomic location where the procedure should be performed. This is the target site.
comment:
  v: Only used if not implicit in the code found in ServiceRequest.code. If the use case requires BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately) then use the standard extension [http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure](http://hl7.org/fhir/extensions/StructureDefinition-procedure-targetBodyStructure.html).
requirements:
  v: Knowing where the procedure is performed is important for tracking if multiple sites are possible.
alias:
  v: location
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.bodySite
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
condition:
  v: bdystr-1
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
    value: string
      v: BodySite
  strength:
    v: example
  description:
    v: SNOMED CT Body site concepts
  value set:
    v: http://hl7.org/fhir/ValueSet/body-site
    link: http://hl7.org/fhir/ValueSet/body-site
mapping:
  identity:
    v: v2
  map:
    v: SPM
mapping:
  identity:
    v: rim
  map:
    v: targetSiteCode
mapping:
  identity:
    v: quick
  map:
    v: Procedure.targetBodySite

id:
  v: ServiceRequest.bodyStructure
path:
  v: ServiceRequest.bodyStructure
short:
  v: BodyStructure-based location on the body
definition:
  v: Anatomic location where the procedure should be performed. This is the target site.
requirements:
  v: Knowing where the procedure is performed is important for tracking if multiple sites are possible.
alias:
  v: locationStructure
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.bodyStructure
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/BodyStructure
    link: http://hl7.org/fhir/StructureDefinition/BodyStructure
condition:
  v: bdystr-1
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: SPM
mapping:
  identity:
    v: rim
  map:
    v: targetSiteCode
mapping:
  identity:
    v: quick
  map:
    v: Procedure.targetBodyStructure

id:
  v: ServiceRequest.note
path:
  v: ServiceRequest.note
short:
  v: Comments
definition:
  v: Any other notes and comments made about the service request. For example, internal billing notes.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: dicom-2-im-order-mapping
  map:
    v: RequestedProcedureDescription (0040,0100)
mapping:
  identity:
    v: workflow
  map:
    v: Request.note
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
mapping:
  identity:
    v: quick
  map:
    v: ClinicalStatement.additionalText

id:
  v: ServiceRequest.patientInstruction
path:
  v: ServiceRequest.patientInstruction
short:
  v: Patient or consumer-oriented instructions
definition:
  v: Instructions in terms that are understood by the patient or consumer.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.patientInstruction
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: ServiceRequest.patientInstruction.id
path:
  v: ServiceRequest.patientInstruction.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
    value: url
      v: string
  code:
    v: http://hl7.org/fhirpath/System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.patientInstruction.extension
path:
  v: ServiceRequest.patientInstruction.extension
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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ServiceRequest.patientInstruction.modifierExtension
path:
  v: ServiceRequest.patientInstruction.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://hl7.org/fhir/R5/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
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
    link: http://hl7.org/fhir/StructureDefinition/Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
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: ServiceRequest.patientInstruction.instruction[x]
path:
  v: ServiceRequest.patientInstruction.instruction[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
short:
  v: Patient or consumer-oriented instructions
definition:
  v: Instructions in terms that are understood by the patient or consumer.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.patientInstruction.instruction[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference
    link: http://hl7.org/fhir/StructureDefinition/DocumentReference
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: ServiceRequest.patientInstruction.instruction[x]:instructionMarkdown
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
    value: uri
      v: http://hl7.eu/fhir/imaging-r5/StructureDefinition/Manifest-ImOrder|0.1.0-ballot
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.patientInstruction.instruction[x]
slice name:
  v: instructionMarkdown
short:
  v: Patient or consumer-oriented instructions
definition:
  v: Instructions in terms that are understood by the patient or consumer.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ServiceRequest.patientInstruction.instruction[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: NTE
mapping:
  identity:
    v: rim
  map:
    v: .text

id:
  v: ServiceRequest.relevantHistory
path:
  v: ServiceRequest.relevantHistory
short:
  v: Request provenance
definition:
  v: Key events in the history of the request.
comment:
  v: This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ServiceRequest.relevantHistory
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Provenance
    link: http://hl7.org/fhir/StructureDefinition/Provenance
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
    link: http://hl7.org/fhir/StructureDefinition/Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Request.relevantHistory
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

element:
  id:
    v: ServiceRequest
  path:
    v: ServiceRequest
element:
  id:
    v: ServiceRequest.text
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.text
element:
  id:
    v: ServiceRequest.identifier:accessionNumber
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: EHDSImagingReportHeader.documentMetadata.accessionNumber
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.identifier
  slice name:
    v: accessionNumber
element:
  id:
    v: ServiceRequest.status
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:handle
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.status
element:
  id:
    v: ServiceRequest.intent
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:handle
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.intent
element:
  id:
    v: ServiceRequest.priority
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.priority
element:
  id:
    v: ServiceRequest.code.concept
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.code.concept
element:
  id:
    v: ServiceRequest.quantity[x]
  path:
    v: ServiceRequest.quantity[x]
  slicing:
    discriminator:
      type:
        v: type
      path:
        v: $this
    ordered:
      v: false
    rules:
      v: open
element:
  id:
    v: ServiceRequest.quantity[x]:quantityQuantity
  extension:
    extension:
      url:
        v: code
      value: code
        v: SHALL:populate-if-known
    extension:
      url:
        v: actor
      value: canonical
        v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
        link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    extension:
      url:
        v: documentation
      value: markdown
        v: -
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
  path:
    v: ServiceRequest.quantity[x]
  slice name:
    v: quantityQuantity
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Quantity
element:
  id:
    v: ServiceRequest.subject

extension:
  url:
    v: code
  value: code
    v: SHALL:populate-if-known
extension:
  url:
    v: actor
  value: canonical
    v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
    link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
extension:
  url:
    v: documentation
  value: markdown
    v: -
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation

v: ServiceRequest.subject

id:
  v: ServiceRequest.encounter
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.encounter

id:
  v: ServiceRequest.occurrence[x]
path:
  v: ServiceRequest.occurrence[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open

id:
  v: ServiceRequest.occurrence[x]:occurrenceDateTime
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.occurrence[x]
slice name:
  v: occurrenceDateTime
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: ServiceRequest.occurrence[x]:occurrencePeriod
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.occurrence[x]
slice name:
  v: occurrencePeriod
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period

id:
  v: ServiceRequest.requester
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.orderPlacer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.requester

id:
  v: ServiceRequest.reason.concept
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.orderReason, EHDSImagingReportBody.orderInformation.clinicalQuestion
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.reason.concept

id:
  v: ServiceRequest.reason.reference
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.reason.reference

id:
  v: ServiceRequest.insurance
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportHeader.healthInsuranceAndPaymentInformation
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.insurance

id:
  v: ServiceRequest.supportingInfo
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: EHDSImagingReportBody.orderInformation.supportingInformation, EHDSImagingReportBody.orderInformation.supportingInformation.observation, EHDSImagingReportBody.orderInformation.supportingInformation.condition, EHDSImagingReportBody.orderInformation.supportingInformation.devices
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.supportingInfo

id:
  v: ServiceRequest.specimen
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.specimen

id:
  v: ServiceRequest.bodySite
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.bodySite

id:
  v: ServiceRequest.patientInstruction.instruction[x]
path:
  v: ServiceRequest.patientInstruction.instruction[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open

id:
  v: ServiceRequest.patientInstruction.instruction[x]:instructionMarkdown
extension:
  extension:
    url:
      v: code
    value: code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
    value: canonical
      v: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
      link: http://hl7.eu/fhir/imaging-r5/ActorDefinition/ImManifestProvider
  extension:
    url:
      v: documentation
    value: markdown
      v: -
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
path:
  v: ServiceRequest.patientInstruction.instruction[x]
slice name:
  v: instructionMarkdown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown