profile-ImagingStudy
type: StructureDefinition
node role: treeRoot
id:
  v: profile-ImagingStudy
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition profile-ImagingStudy Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> ImagingStudy 0..* ImagingStudy A set of images produced in single study (one or more series of references images) #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:partOf 0..* Reference(Cross-version Profile for R5.Procedure for use in FHIR STU3(0.1.0) | Procedure) R5: Part of referenced event (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.partOf #xD; extension:location 0..1 Reference(Cross-version Profile for R5.Location for use in FHIR STU3(0.1.0) | Location) R5: Where ImagingStudy occurred (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.location #xD; extension:note 0..* Annotation R5: User-defined comments (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.note #xD; modalityList #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:modality 0..* CodeableConcept R5: All of the distinct values for series' modalities additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.modality Binding: R5DicomCid33ModalityForR3 (0.1.0) (extensible): Type of acquired data in the instance. #xD; patient #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: Who or what is the subject of the study URL: http://hl7.org/fhir/StructureDefinition/alternate-reference #xD; context #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:encounter 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: Encounter with which this imaging study is associated additional types…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r5.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/profile-ImagingStudy
  l: profile-ImagingStudy
version:
  v: 0.1.0
name:
  v: Profile_R5_ImagingStudy_R3
title:
  v: Cross-version Profile for R5.ImagingStudy for use in FHIR STU3
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T16:05:13.0041659-05:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This cross-version profile allows R5 ImagingStudy content to be represented via FHIR STU3 ImagingStudy resources.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: dicom
  uri:
    v: http://nema.org/dicom
    l: dicom
  name:
    v: DICOM Tag Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/w5
    l: w5
  name:
    v: W5 Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: ImagingStudy
base definition:
  v: http://hl7.org/fhir/StructureDefinition/ImagingStudy
  l: ImagingStudy
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: ImagingStudy
    path:
      v: ImagingStudy
    short:
      v: A set of images produced in single study (one or more series of references images)
    definition:
      v: Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: ImagingStudy
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-1
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain any narrative
      expression:
        v: contained.text.empty()
      xpath:
        v: not(parent::f:contained and f:text)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
      expression:
        v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: rim
map:
  v: Act[classCode=COMPOSITION, moodCode=EVN]

identity:
  v: dicom
map:
  v: Reference IHE radiology TF vol 2 table 4.14-1

identity:
  v: w5
map:
  v: clinical.diagnostics

id:
  v: ImagingStudy.id
path:
  v: ImagingStudy.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: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: ImagingStudy.meta
path:
  v: ImagingStudy.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 may not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
is summary:
  v: true

id:
  v: ImagingStudy.implicitRules
path:
  v: ImagingStudy.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.
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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is modifier:
  v: true
is summary:
  v: true

id:
  v: ImagingStudy.language
path:
  v: ImagingStudy.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Reference
      l: 3.0
      l: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: ImagingStudy.text
path:
  v: ImagingStudy.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 may 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 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 in formation is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: ImagingStudy.contained
path:
  v: ImagingStudy.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, and nor can they have their own independent transaction scope.
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.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.extension
path:
  v: ImagingStudy.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.extension:partOf
path:
  v: ImagingStudy.extension
slice name:
  v: partOf
short:
  v: R5: Part of referenced event (new)
definition:
  v: R5: `ImagingStudy.partOf` (new:Reference(Procedure))
comment:
  v: Element `ImagingStudy.partOf` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.partOf` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). To link an ImagingStudy to an Encounter use `encounter`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.partOf|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.partOf
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.extension:location
path:
  v: ImagingStudy.extension
slice name:
  v: location
short:
  v: R5: Where ImagingStudy occurred (new)
definition:
  v: R5: `ImagingStudy.location` (new:Reference(Location))
comment:
  v: Element `ImagingStudy.location` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.location` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.location|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.location
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.extension:note
path:
  v: ImagingStudy.extension
slice name:
  v: note
short:
  v: R5: User-defined comments (new)
definition:
  v: R5: `ImagingStudy.note` (new:Annotation)
comment:
  v: Element `ImagingStudy.note` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.note` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.note|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.note
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.modifierExtension
path:
  v: ImagingStudy.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. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.
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.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.uid
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint
    l: structuredefinition-display-hint
  value: String
    v: dicom=
path:
  v: ImagingStudy.uid
short:
  v: Formal DICOM identifier for the study
definition:
  v: Formal identifier for the study.
alias:
  v: StudyInstanceUID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.uid
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: oid
    l: oid
example:
  label:
    v: General
  value: Oid
    v: urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045
    l: 2.16.124.113543.6003.1154777499.30246.19789.3503430045
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: dicom
  map:
    v: (0020,000D)
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: ImagingStudy.accession
path:
  v: ImagingStudy.accession
short:
  v: Related workflow identifier ("Accession Number")
definition:
  v: Accession Number is an identifier related to some aspect of imaging workflow and data management. Usage may vary across different institutions. See for instance [IHE Radiology Technical Framework Volume 1 Appendix A](http://www.ihe.net/uploadedFiles/Documents/Radiology/IHE_RAD_TF_Rev13.0_Vol1_FT_2014-07-30.pdf).
alias:
  v: AccessionNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.accession
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP].source[classCode=ACSN, moodCode=EVN].id
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0050)
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: ImagingStudy.identifier
path:
  v: ImagingStudy.identifier
short:
  v: Other identifiers for the study
definition:
  v: Other identifiers for the study.
alias:
  v: StudyID
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .id (no means to distinguish from uid)
mapping:
  identity:
    v: dicom
  map:
    v: (0020,0010)
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: ImagingStudy.availability
path:
  v: ImagingStudy.availability
short:
  v: ONLINE | OFFLINE | NEARLINE | UNAVAILABLE
definition:
  v: Availability of study (online, offline, or nearline).
alias:
  v: InstanceAvailability
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.availability
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: InstanceAvailability
  strength:
    v: required
  description:
    v: Availability of the resource
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/instance-availability|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: Not supported
mapping:
  identity:
    v: w5
  map:
    v: status

id:
  v: ImagingStudy.modalityList
path:
  v: ImagingStudy.modalityList
short:
  v: All series modality if actual acquisition modalities
definition:
  v: A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).
alias:
  v: ModalitiesInStudy
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.modalityList
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ImagingModality
  strength:
    v: extensible
  description:
    v: Type of acquired data in the instance
  value set: Reference
    l: 20121129
    reference:
      v: http://hl7.org/fhir/ValueSet/dicom-cid29|20121129
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0061)
mapping:
  identity:
    v: w5
  map:
    v: class

id:
  v: ImagingStudy.modalityList.id
path:
  v: ImagingStudy.modalityList.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.modalityList.extension
path:
  v: ImagingStudy.modalityList.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.modalityList.extension:modality
path:
  v: ImagingStudy.modalityList.extension
slice name:
  v: modality
short:
  v: R5: All of the distinct values for series' modalities additional types
definition:
  v: R5: `ImagingStudy.modality` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `ImagingStudy.modality` is mapped to FHIR STU3 element `ImagingStudy.modalityList` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.modality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.modality` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.modality|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.modality

id:
  v: ImagingStudy.modalityList.system
path:
  v: ImagingStudy.modalityList.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: ImagingStudy.modalityList.version
path:
  v: ImagingStudy.modalityList.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: ImagingStudy.modalityList.code
path:
  v: ImagingStudy.modalityList.code
short:
  v: Symbol in syntax defined by the system
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: ImagingStudy.modalityList.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.modalityList.display
short:
  v: Representation defined by the system
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: ImagingStudy.modalityList.userSelected
path:
  v: ImagingStudy.modalityList.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: ImagingStudy.patient
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint
    l: structuredefinition-display-hint
  value: String
    v: dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.2.2.html
path:
  v: ImagingStudy.patient
short:
  v: Who the images are of
definition:
  v: The patient imaged in the study.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.patient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=SBJ].role
mapping:
  identity:
    v: dicom
  map:
    v: (0010/*)
mapping:
  identity:
    v: w5
  map:
    v: who.focus

id:
  v: ImagingStudy.patient.id
path:
  v: ImagingStudy.patient.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.patient.extension
path:
  v: ImagingStudy.patient.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.patient.extension:subject
path:
  v: ImagingStudy.patient.extension
slice name:
  v: subject
short:
  v: R5: Who or what is the subject of the study
definition:
  v: R5: `ImagingStudy.subject`
comment:
  v: Element `ImagingStudy.subject` is mapped to FHIR STU3 element `ImagingStudy.patient` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.subject` with unmapped reference targets: Device, Group, Patient. QA phantoms can be recorded with a Device; multiple subjects (such as mice) can be recorded with a Group.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.patient.reference
path:
  v: ImagingStudy.patient.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.patient.identifier
path:
  v: ImagingStudy.patient.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.patient.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.patient.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.context
path:
  v: ImagingStudy.context
short:
  v: Originating context
definition:
  v: The encounter or episode at which the request is initiated.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.context
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    l: Encounter
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
    l: EpisodeOfCare
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]
mapping:
  identity:
    v: w5
  map:
    v: context

id:
  v: ImagingStudy.context.id
path:
  v: ImagingStudy.context.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.context.extension
path:
  v: ImagingStudy.context.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.context.extension:encounter
path:
  v: ImagingStudy.context.extension
slice name:
  v: encounter
short:
  v: R5: Encounter with which this imaging study is associated additional types
definition:
  v: R5: `ImagingStudy.encounter` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.encounter` is mapped to FHIR STU3 element `ImagingStudy.context` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.encounter` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.encounter` with unmapped reference targets: Encounter. This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission test).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.context.reference
path:
  v: ImagingStudy.context.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.context.identifier
path:
  v: ImagingStudy.context.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.context.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.context.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.started
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint
    l: structuredefinition-display-hint
  value: String
    v: dicom=http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.2.html#sect_C.7.2.1
path:
  v: ImagingStudy.started
short:
  v: When the study was started
definition:
  v: Date and time the study started.
alias:
  v: StudyDate
alias:
  v: StudyTime
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.started
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
example:
  label:
    v: General
  value: DateTime
    v: 2011-01-01T11:01:20+03:00
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0020)+(0008,0030)
mapping:
  identity:
    v: w5
  map:
    v: when.init

id:
  v: ImagingStudy.basedOn
path:
  v: ImagingStudy.basedOn
short:
  v: Request fulfilled
definition:
  v: A list of the diagnostic requests that resulted in this imaging study being performed.
requirements:
  v: To support grouped procedures (one imaging study supporting multiple ordered procedures, e.g. chest/abdomen/pelvis CT).
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ReferralRequest
    l: ReferralRequest
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/CarePlan
    l: CarePlan
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ProcedureRequest
    l: ProcedureRequest
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO]
mapping:
  identity:
    v: w5
  map:
    v: who.cause

id:
  v: ImagingStudy.basedOn.id
path:
  v: ImagingStudy.basedOn.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.basedOn.extension
path:
  v: ImagingStudy.basedOn.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.basedOn.extension:basedOn
path:
  v: ImagingStudy.basedOn.extension
slice name:
  v: basedOn
short:
  v: R5: basedOn
definition:
  v: R5: `ImagingStudy.basedOn`
comment:
  v: Element `ImagingStudy.basedOn` is mapped to FHIR STU3 element `ImagingStudy.basedOn` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.basedOn` with unmapped reference targets: Appointment, AppointmentResponse, CarePlan, ServiceRequest, Task.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.basedOn.reference
path:
  v: ImagingStudy.basedOn.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.basedOn.identifier
path:
  v: ImagingStudy.basedOn.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.basedOn.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.basedOn.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.referrer
path:
  v: ImagingStudy.referrer
short:
  v: Referring physician
definition:
  v: The requesting/referring physician.
alias:
  v: ReferringPhysiciansName
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.referrer
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=FLFS].target[classCode=DGIMG, moodCode=RQO].participation[typeCode=AUT].role
mapping:
  identity:
    v: w5
  map:
    v: who.cause

id:
  v: ImagingStudy.referrer.id
path:
  v: ImagingStudy.referrer.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.referrer.extension
path:
  v: ImagingStudy.referrer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.referrer.extension:referrer
path:
  v: ImagingStudy.referrer.extension
slice name:
  v: referrer
short:
  v: R5: referrer additional types
definition:
  v: R5: `ImagingStudy.referrer` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.referrer` is mapped to FHIR STU3 element `ImagingStudy.referrer` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.referrer` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.referrer` with unmapped reference targets: Practitioner, PractitionerRole.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.referrer.reference
path:
  v: ImagingStudy.referrer.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.referrer.identifier
path:
  v: ImagingStudy.referrer.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.referrer.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.referrer.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.interpreter
path:
  v: ImagingStudy.interpreter
short:
  v: Who interpreted images
definition:
  v: Who read the study and interpreted the images or other content.
alias:
  v: Name of Physician(s) Reading Study
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.interpreter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role
mapping:
  identity:
    v: dicom
  map:
    v: (0008,1060)
mapping:
  identity:
    v: w5
  map:
    v: who.witness

id:
  v: ImagingStudy.endpoint
path:
  v: ImagingStudy.endpoint
short:
  v: Study access endpoint
definition:
  v: The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.type.
comment:
  v: Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer.
requirements:
  v: Access methods for viewing (e.g., IHE’s IID profile) or retrieving (e.g., DICOM’s WADO-URI and WADO-RS) the study or the study’s series or instances. The study-level baseLocation applies to each series in the study, unless overridden in series by a series-level baseLocation of the same type.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.endpoint
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Endpoint
    l: Endpoint
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: Not supported

id:
  v: ImagingStudy.endpoint.id
path:
  v: ImagingStudy.endpoint.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.endpoint.extension
path:
  v: ImagingStudy.endpoint.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.endpoint.extension:endpoint
path:
  v: ImagingStudy.endpoint.extension
slice name:
  v: endpoint
short:
  v: R5: endpoint additional types
definition:
  v: R5: `ImagingStudy.endpoint` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.endpoint` is mapped to FHIR STU3 element `ImagingStudy.endpoint` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.endpoint` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.endpoint` with unmapped reference targets: Endpoint. Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.endpoint.reference
path:
  v: ImagingStudy.endpoint.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.endpoint.identifier
path:
  v: ImagingStudy.endpoint.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.endpoint.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.endpoint.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.numberOfSeries
path:
  v: ImagingStudy.numberOfSeries
short:
  v: Number of Study Related Series
definition:
  v: Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present.
alias:
  v: NumberOfStudyRelatedSeries
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.numberOfSeries
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=OBSSER, moodCode=EVN].repeatNumber
mapping:
  identity:
    v: dicom
  map:
    v: (0020,1206)

id:
  v: ImagingStudy.numberOfInstances
path:
  v: ImagingStudy.numberOfInstances
short:
  v: Number of Study Related Instances
definition:
  v: Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present.
alias:
  v: NumberOfStudyRelatedInstances
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.numberOfInstances
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber
mapping:
  identity:
    v: dicom
  map:
    v: (0020,1208)

id:
  v: ImagingStudy.procedureReference
path:
  v: ImagingStudy.procedureReference
short:
  v: The performed Procedure reference
definition:
  v: A reference to the performed Procedure.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.procedureReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Procedure
    l: Procedure
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]
mapping:
  identity:
    v: dicom
  map:
    v: (0008,1032)

id:
  v: ImagingStudy.procedureCode
path:
  v: ImagingStudy.procedureCode
short:
  v: The performed procedure code
definition:
  v: The code for the performed procedure type.
alias:
  v: ProcedureCodeSequence
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.procedureCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ImagingProcedureCode
  strength:
    v: example
  description:
    v: The performed procedure type
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-code|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=PROC, moodCode=EVN]

id:
  v: ImagingStudy.reason
path:
  v: ImagingStudy.reason
short:
  v: Why the study was requested
definition:
  v: Description of clinical condition indicating why the ImagingStudy was requested.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.reason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ImagingReason
  strength:
    v: example
  description:
    v: The reason for the study
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/procedure-reason|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode
mapping:
  identity:
    v: w5
  map:
    v: why

id:
  v: ImagingStudy.reason.id
path:
  v: ImagingStudy.reason.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.reason.extension
path:
  v: ImagingStudy.reason.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.reason.extension:reason
path:
  v: ImagingStudy.reason.extension
slice name:
  v: reason
short:
  v: R5: Why the study was requested / performed additional types
definition:
  v: R5: `ImagingStudy.reason` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Condition), CodeableReference(http://hl7.org/fhir/StructureDefinition/Observation), CodeableReference(http://hl7.org/fhir/StructureDefinition/DiagnosticReport), CodeableReference(http://hl7.org/fhir/StructureDefinition/DocumentReference))
comment:
  v: Element `ImagingStudy.reason` is mapped to FHIR STU3 element `ImagingStudy.reason` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.reason` do not cover the following types: CodeableReference.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.reason|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.reason

id:
  v: ImagingStudy.reason.coding
path:
  v: ImagingStudy.reason.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 translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.
min:
  v: 0
max:
  v: *
base:
  path:
    v: CodeableConcept.coding
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Coding
    l: Coding
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: ImagingStudy.reason.text
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.reason.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
    l: string
is summary:
  v: true
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: ImagingStudy.description
path:
  v: ImagingStudy.description
short:
  v: Institution-generated description
definition:
  v: Institution-generated description or classification of the Study performed.
alias:
  v: StudyDescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .text
mapping:
  identity:
    v: dicom
  map:
    v: (0008,1030)

id:
  v: ImagingStudy.series
path:
  v: ImagingStudy.series
short:
  v: Each study has one or more series of instances
definition:
  v: Each study has one or more series of images or other content.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.series
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=OBSSER, moodCode=EVN]

id:
  v: ImagingStudy.series.id
path:
  v: ImagingStudy.series.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.extension
path:
  v: ImagingStudy.series.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.extension:specimen
path:
  v: ImagingStudy.series.extension
slice name:
  v: specimen
short:
  v: R5: Specimen imaged (new)
definition:
  v: R5: `ImagingStudy.series.specimen` (new:Reference(Specimen))
comment:
  v: Element `ImagingStudy.series.specimen` has a context of ImagingStudy.series based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.specimen` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.specimen|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.specimen
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.series.modifierExtension
path:
  v: ImagingStudy.series.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.
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
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.uid
path:
  v: ImagingStudy.series.uid
short:
  v: Formal DICOM identifier for this series
definition:
  v: Formal identifier for this series.
alias:
  v: SeriesInstanceUID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.uid
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: oid
    l: oid
example:
  label:
    v: General
  value: Oid
    v: urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630
    l: 2.16.124.113543.6003.2588828330.45298.17418.2723805630
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: dicom
  map:
    v: (0020,000E)

id:
  v: ImagingStudy.series.uid.id
path:
  v: ImagingStudy.series.uid.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ImagingStudy.series.uid.extension
path:
  v: ImagingStudy.series.uid.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.uid.extension:uid
path:
  v: ImagingStudy.series.uid.extension
slice name:
  v: uid
short:
  v: R5: DICOM Series Instance UID for the series additional types
definition:
  v: R5: `ImagingStudy.series.uid` additional types (id) additional types from child elements (value)
comment:
  v: Element `ImagingStudy.series.uid` is mapped to FHIR STU3 element `ImagingStudy.series.uid` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.uid` do not cover the following types: id. The mappings for `ImagingStudy.series.uid` do not cover the following types based on type expansion: value. See [DICOM PS3.3 C.7.3](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.3.html).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.uid|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.uid
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.series.uid.value
path:
  v: ImagingStudy.series.uid.value
representation:
  v: xmlAttr
short:
  v: Primitive value for oid
definition:
  v: Primitive value for oid
min:
  v: 0
max:
  v: 1
base:
  path:
    v: uri.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: urn:oid:(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:anyURI
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:string

id:
  v: ImagingStudy.series.number
path:
  v: ImagingStudy.series.number
short:
  v: Numeric identifier of this series
definition:
  v: The numeric identifier of this series in the study.
alias:
  v: SeriesNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.number
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
example:
  label:
    v: General
  value: UnsignedInt
    v: 3
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[type=COMP, source[classCode=COMPOSITION, moodCode=EVN]].sequenceNumber
mapping:
  identity:
    v: dicom
  map:
    v: (0020,0011)

id:
  v: ImagingStudy.series.modality
path:
  v: ImagingStudy.series.modality
short:
  v: The modality of the instances in the series
definition:
  v: The modality of this series sequence.
alias:
  v: Modality
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.modality
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ImagingModality
  strength:
    v: extensible
  description:
    v: Type of acquired data in the instance
  value set: Reference
    l: 20121129
    reference:
      v: http://hl7.org/fhir/ValueSet/dicom-cid29|20121129
mapping:
  identity:
    v: rim
  map:
    v: .code
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0060)

id:
  v: ImagingStudy.series.modality.id
path:
  v: ImagingStudy.series.modality.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.modality.extension
path:
  v: ImagingStudy.series.modality.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.modality.extension:modality
path:
  v: ImagingStudy.series.modality.extension
slice name:
  v: modality
short:
  v: R5: The modality used for this series additional types
definition:
  v: R5: `ImagingStudy.series.modality` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `ImagingStudy.series.modality` is mapped to FHIR STU3 element `ImagingStudy.series.modality` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.modality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.series.modality` do not cover the following types based on type expansion: text.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.modality|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.modality

id:
  v: ImagingStudy.series.modality.system
path:
  v: ImagingStudy.series.modality.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: ImagingStudy.series.modality.version
path:
  v: ImagingStudy.series.modality.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: ImagingStudy.series.modality.code
path:
  v: ImagingStudy.series.modality.code
short:
  v: Symbol in syntax defined by the system
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: ImagingStudy.series.modality.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.series.modality.display
short:
  v: Representation defined by the system
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: ImagingStudy.series.modality.userSelected
path:
  v: ImagingStudy.series.modality.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: ImagingStudy.series.description
path:
  v: ImagingStudy.series.description
short:
  v: A short human readable summary of the series
definition:
  v: A description of the series.
alias:
  v: SeriesDescription
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
example:
  label:
    v: General
  value: String
    v: CT Surview 180
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .text
mapping:
  identity:
    v: dicom
  map:
    v: (0008,103E)

id:
  v: ImagingStudy.series.numberOfInstances
path:
  v: ImagingStudy.series.numberOfInstances
short:
  v: Number of Series Related Instances
definition:
  v: Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present.
alias:
  v: NumberOfSeriesRelatedInstances
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.numberOfInstances
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target[classCode=DGIMG, moodCode=EVN].repeatNumber
mapping:
  identity:
    v: dicom
  map:
    v: (0020,1209)

id:
  v: ImagingStudy.series.availability
path:
  v: ImagingStudy.series.availability
short:
  v: ONLINE | OFFLINE | NEARLINE | UNAVAILABLE
definition:
  v: Availability of series (online, offline or nearline).
alias:
  v: InstanceAvailability
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.availability
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: InstanceAvailability
  strength:
    v: required
  description:
    v: Availability of the resource
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/instance-availability|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code="availability"].value
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0056)

id:
  v: ImagingStudy.series.endpoint
path:
  v: ImagingStudy.series.endpoint
short:
  v: Series access endpoint
definition:
  v: The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.type.
comment:
  v: Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances.
requirements:
  v: Access methods for retrieving (e.g., DICOM’s WADO-URI and WADO-RS) the series or the series’ instances. A baseLocation specified at the series level has precedence over a baseLocation of the same type specified at the study level.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.series.endpoint
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Endpoint
    l: Endpoint
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: Not supported

id:
  v: ImagingStudy.series.endpoint.id
path:
  v: ImagingStudy.series.endpoint.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.endpoint.extension
path:
  v: ImagingStudy.series.endpoint.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.endpoint.extension:endpoint
path:
  v: ImagingStudy.series.endpoint.extension
slice name:
  v: endpoint
short:
  v: R5: endpoint additional types
definition:
  v: R5: `ImagingStudy.series.endpoint` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.series.endpoint` is mapped to FHIR STU3 element `ImagingStudy.series.endpoint` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.endpoint` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.series.endpoint` with unmapped reference targets: Endpoint. Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.series.endpoint.reference
path:
  v: ImagingStudy.series.endpoint.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.endpoint.identifier
path:
  v: ImagingStudy.series.endpoint.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.series.endpoint.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.series.endpoint.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.bodySite
path:
  v: ImagingStudy.series.bodySite
short:
  v: Body part examined
definition:
  v: The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.
alias:
  v: BodyPartExamined
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.bodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: BodySite
  strength:
    v: example
  description:
    v: Codes describing anatomical locations. May include laterality.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/body-site|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .targetSiteCode
mapping:
  identity:
    v: dicom
  map:
    v: (0018,0015)

id:
  v: ImagingStudy.series.bodySite.id
path:
  v: ImagingStudy.series.bodySite.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.bodySite.extension
path:
  v: ImagingStudy.series.bodySite.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.bodySite.extension:bodySite
path:
  v: ImagingStudy.series.bodySite.extension
slice name:
  v: bodySite
short:
  v: R5: bodySite additional types
definition:
  v: R5: `ImagingStudy.series.bodySite` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/BodyStructure)) additional types from child elements (concept, reference)
comment:
  v: Element `ImagingStudy.series.bodySite` is mapped to FHIR STU3 element `ImagingStudy.series.bodySite` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.bodySite` do not cover the following types: CodeableReference. The mappings for `ImagingStudy.series.bodySite` do not cover the following types based on type expansion: concept, reference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.bodySite|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.bodySite

id:
  v: ImagingStudy.series.bodySite.system
path:
  v: ImagingStudy.series.bodySite.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: ImagingStudy.series.bodySite.version
path:
  v: ImagingStudy.series.bodySite.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: ImagingStudy.series.bodySite.code
path:
  v: ImagingStudy.series.bodySite.code
short:
  v: Symbol in syntax defined by the system
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: ImagingStudy.series.bodySite.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.series.bodySite.display
short:
  v: Representation defined by the system
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: ImagingStudy.series.bodySite.userSelected
path:
  v: ImagingStudy.series.bodySite.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: ImagingStudy.series.laterality
path:
  v: ImagingStudy.series.laterality
short:
  v: Body part laterality
definition:
  v: The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.laterality
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Laterality
  strength:
    v: example
  description:
    v: Codes describing body site laterality (left, right, etc.).
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/bodysite-laterality|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: .targetSiteCode
mapping:
  identity:
    v: dicom
  map:
    v: (0020,0060)

id:
  v: ImagingStudy.series.laterality.id
path:
  v: ImagingStudy.series.laterality.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.laterality.extension
path:
  v: ImagingStudy.series.laterality.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.laterality.extension:laterality
path:
  v: ImagingStudy.series.laterality.extension
slice name:
  v: laterality
short:
  v: R5: laterality additional types
definition:
  v: R5: `ImagingStudy.series.laterality` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `ImagingStudy.series.laterality` is mapped to FHIR STU3 element `ImagingStudy.series.laterality` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.laterality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.series.laterality` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.laterality|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.laterality

id:
  v: ImagingStudy.series.laterality.system
path:
  v: ImagingStudy.series.laterality.system
short:
  v: Identity of the terminology system
definition:
  v: The identification of the code system that defines the meaning of the symbol in the code.
comment:
  v: The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously.
requirements:
  v: Need to be unambiguous about the source of the definition of the symbol.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.system
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.3
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystem
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem

id:
  v: ImagingStudy.series.laterality.version
path:
  v: ImagingStudy.series.laterality.version
short:
  v: Version of the system - if relevant
definition:
  v: The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
comment:
  v: Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.7
mapping:
  identity:
    v: rim
  map:
    v: ./codeSystemVersion
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion

id:
  v: ImagingStudy.series.laterality.code
path:
  v: ImagingStudy.series.laterality.code
short:
  v: Symbol in syntax defined by the system
definition:
  v: A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
requirements:
  v: Need to refer to a particular code in the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.1
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code

id:
  v: ImagingStudy.series.laterality.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.series.laterality.display
short:
  v: Representation defined by the system
definition:
  v: A representation of the meaning of the code in the system, following the rules of the system.
requirements:
  v: Need to be able to carry a human-readable meaning of the code for readers that do not know the system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: C*E.2 - but note this is not well followed
mapping:
  identity:
    v: rim
  map:
    v: CV.displayName
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName

id:
  v: ImagingStudy.series.laterality.userSelected
path:
  v: ImagingStudy.series.laterality.userSelected
short:
  v: If this coding was chosen directly by the user
definition:
  v: Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).
comment:
  v: Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.
requirements:
  v: This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Coding.userSelected
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: Sometimes implied by being first
mapping:
  identity:
    v: rim
  map:
    v: CD.codingRationale
mapping:
  identity:
    v: orim
  map:
    v: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]

id:
  v: ImagingStudy.series.started
path:
  v: ImagingStudy.series.started
short:
  v: When the series started
definition:
  v: The date and time the series was started.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.started
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .effectiveTime
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0021) + (0008,0031)

id:
  v: ImagingStudy.series.performer
path:
  v: ImagingStudy.series.performer
short:
  v: Who performed the series
definition:
  v: The physician or operator (often the radiology technician) who performed the series. The performer is recorded at the series level, since each series in a study may be performed by a different practitioner, at different times, and using different devices. A series may be performed by multiple practitioners.
alias:
  v: PerformingPhysicianName
alias:
  v: OperatorName
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.series.performer
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .participation[typeCode=PRF].role
mapping:
  identity:
    v: dicom
  map:
    v: (0008,1050) | (0008,1072)
mapping:
  identity:
    v: w5
  map:
    v: who.actor

id:
  v: ImagingStudy.series.performer.id
path:
  v: ImagingStudy.series.performer.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.performer.extension
path:
  v: ImagingStudy.series.performer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 1
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.performer.extension:function
path:
  v: ImagingStudy.series.performer.extension
slice name:
  v: function
short:
  v: R5: Type of performance (new)
definition:
  v: R5: `ImagingStudy.series.performer.function` (new:CodeableConcept)
comment:
  v: Element `ImagingStudy.series.performer.function` has a context of ImagingStudy.series.performer based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.performer.function` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.function|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.function

id:
  v: ImagingStudy.series.performer.extension:actor
path:
  v: ImagingStudy.series.performer.extension
slice name:
  v: actor
short:
  v: R5: Who performed the series (new)
definition:
  v: R5: `ImagingStudy.series.performer.actor` (new:Reference(Practitioner,PractitionerRole,Organization,CareTeam,Patient,Device,RelatedPerson,HealthcareService))
comment:
  v: Element `ImagingStudy.series.performer.actor` has a context of ImagingStudy.series.performer based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.performer.actor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.actor|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.actor

id:
  v: ImagingStudy.series.performer.reference
path:
  v: ImagingStudy.series.performer.reference
short:
  v: Literal reference, Relative, internal or absolute URL
definition:
  v: A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
comment:
  v: Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: ref-1
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.performer.identifier
path:
  v: ImagingStudy.series.performer.identifier
short:
  v: Logical reference, when literal reference is not known
definition:
  v: An identifier for the other resource. This is used when there is no way to reference the other resource directly, either because the entity is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
comment:
  v: When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: .identifier

id:
  v: ImagingStudy.series.performer.display
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable
    l: elementdefinition-translatable
  value: Boolean
    v: true
path:
  v: ImagingStudy.series.performer.display
short:
  v: Text alternative for the resource
definition:
  v: Plain text narrative that identifies the resource in addition to the resource reference.
comment:
  v: This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Reference.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.instance
path:
  v: ImagingStudy.series.instance
short:
  v: A single SOP instance from the series
definition:
  v: A single SOP instance within the series, e.g. an image, or presentation state.
min:
  v: 0
max:
  v: *
base:
  path:
    v: ImagingStudy.series.instance
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]

id:
  v: ImagingStudy.series.instance.id
path:
  v: ImagingStudy.series.instance.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
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:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.instance.extension
path:
  v: ImagingStudy.series.instance.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. In order to make the use of extensions safe and manageable, 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.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: ImagingStudy.series.instance.modifierExtension
path:
  v: ImagingStudy.series.instance.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, 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.
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
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: ImagingStudy.series.instance.uid
path:
  v: ImagingStudy.series.instance.uid
short:
  v: Formal DICOM identifier for this instance
definition:
  v: Formal identifier for this image or other content.
alias:
  v: SOPInstanceUID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.instance.uid
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: oid
    l: oid
example:
  label:
    v: General
  value: Oid
    v: urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903
    l: 2.16.124.113543.6003.189642796.63084.16748.2599092903
mapping:
  identity:
    v: rim
  map:
    v: .id
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0018)

id:
  v: ImagingStudy.series.instance.uid.id
path:
  v: ImagingStudy.series.instance.uid.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ImagingStudy.series.instance.uid.extension
path:
  v: ImagingStudy.series.instance.uid.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.instance.uid.extension:uid
path:
  v: ImagingStudy.series.instance.uid.extension
slice name:
  v: uid
short:
  v: R5: DICOM SOP Instance UID additional types
definition:
  v: R5: `ImagingStudy.series.instance.uid` additional types (id) additional types from child elements (value)
comment:
  v: Element `ImagingStudy.series.instance.uid` is mapped to FHIR STU3 element `ImagingStudy.series.instance.uid` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.instance.uid` do not cover the following types: id. The mappings for `ImagingStudy.series.instance.uid` do not cover the following types based on type expansion: value. See [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.uid|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.uid
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.series.instance.uid.value
path:
  v: ImagingStudy.series.instance.uid.value
representation:
  v: xmlAttr
short:
  v: Primitive value for oid
definition:
  v: Primitive value for oid
min:
  v: 0
max:
  v: 1
base:
  path:
    v: uri.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: urn:oid:(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:anyURI
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:string

id:
  v: ImagingStudy.series.instance.number
path:
  v: ImagingStudy.series.instance.number
short:
  v: The number of this instance in the series
definition:
  v: The number of instance in the series.
alias:
  v: InstanceNumber
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.instance.number
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: unsignedInt
    l: unsignedInt
example:
  label:
    v: General
  value: UnsignedInt
    v: 1
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP, source[classCode=OBSSER, moodCode=EVN]].sequenceNumber
mapping:
  identity:
    v: dicom
  map:
    v: (0020,0013)

id:
  v: ImagingStudy.series.instance.sopClass
path:
  v: ImagingStudy.series.instance.sopClass
short:
  v: DICOM class type
definition:
  v: DICOM instance type.
alias:
  v: SOPClassUID
min:
  v: 1
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.instance.sopClass
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: oid
    l: oid
example:
  label:
    v: General
  value: Oid
    v: urn:oid:1.2.840.10008.5.1.4.1.1.2
    l: 1.2.840.10008.5.1.4.1.1.2
mapping:
  identity:
    v: rim
  map:
    v: .inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code="sop class"].value
mapping:
  identity:
    v: dicom
  map:
    v: (0008,0016)

id:
  v: ImagingStudy.series.instance.sopClass.id
path:
  v: ImagingStudy.series.instance.sopClass.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: ImagingStudy.series.instance.sopClass.extension
path:
  v: ImagingStudy.series.instance.sopClass.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: ImagingStudy.series.instance.sopClass.extension:sopClass
path:
  v: ImagingStudy.series.instance.sopClass.extension
slice name:
  v: sopClass
short:
  v: R5: sopClass additional types
definition:
  v: R5: `ImagingStudy.series.instance.sopClass` additional types (Coding) additional types from child elements (code, display, system, userSelected, version)
comment:
  v: Element `ImagingStudy.series.instance.sopClass` is mapped to FHIR STU3 element `ImagingStudy.series.instance.sopClass` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.instance.sopClass` do not cover the following types: Coding. The mappings for `ImagingStudy.series.instance.sopClass` do not cover the following types based on type expansion: code, display, system, userSelected, version.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.sopClass|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.sopClass
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: 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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: ImagingStudy.series.instance.sopClass.value
path:
  v: ImagingStudy.series.instance.sopClass.value
representation:
  v: xmlAttr
short:
  v: Primitive value for oid
definition:
  v: Primitive value for oid
min:
  v: 0
max:
  v: 1
base:
  path:
    v: uri.value
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-regex
      l: structuredefinition-regex
    value: String
      v: urn:oid:(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*
  code:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-json-type
        l: structuredefinition-json-type
      value: String
        v: string
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-type
        l: structuredefinition-xml-type
      value: String
        v: xsd:anyURI
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-rdf-type
        l: structuredefinition-rdf-type
      value: String
        v: xsd:string

id:
  v: ImagingStudy.series.instance.title
path:
  v: ImagingStudy.series.instance.title
short:
  v: Description of instance
definition:
  v: The description of the instance.
comment:
  v: Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: ImagingStudy.series.instance.title
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: .title
mapping:
  identity:
    v: dicom
  map:
    v: (0070,0080) | (0040,A043) > (0008,0104) | (0042,0010) | (0008,0008)

element:
  id:
    v: ImagingStudy
  path:
    v: ImagingStudy
element:
  id:
    v: ImagingStudy.extension
  path:
    v: ImagingStudy.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: ImagingStudy.extension:partOf
  path:
    v: ImagingStudy.extension
  slice name:
    v: partOf
  short:
    v: R5: Part of referenced event (new)
  definition:
    v: R5: `ImagingStudy.partOf` (new:Reference(Procedure))
  comment:
    v: Element `ImagingStudy.partOf` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.partOf` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). To link an ImagingStudy to an Encounter use `encounter`.
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.partOf|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.partOf
element:
  id:
    v: ImagingStudy.extension:location
  path:
    v: ImagingStudy.extension
  slice name:
    v: location
  short:
    v: R5: Where ImagingStudy occurred (new)
  definition:
    v: R5: `ImagingStudy.location` (new:Reference(Location))
  comment:
    v: Element `ImagingStudy.location` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.location` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.location|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.location
element:
  id:
    v: ImagingStudy.extension:note
  path:
    v: ImagingStudy.extension
  slice name:
    v: note
  short:
    v: R5: User-defined comments (new)
  definition:
    v: R5: `ImagingStudy.note` (new:Annotation)
  comment:
    v: Element `ImagingStudy.note` has a context of ImagingStudy based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.note` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.note|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.note
element:
  id:
    v: ImagingStudy.modalityList.extension
  path:
    v: ImagingStudy.modalityList.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: ImagingStudy.modalityList.extension:modality
  path:
    v: ImagingStudy.modalityList.extension
  slice name:
    v: modality
  short:
    v: R5: All of the distinct values for series' modalities additional types
  definition:
    v: R5: `ImagingStudy.modality` additional types (CodeableConcept) additional types from child elements (text)
  comment:
    v: Element `ImagingStudy.modality` is mapped to FHIR STU3 element `ImagingStudy.modalityList` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.modality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.modality` do not cover the following types based on type expansion: text.
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.modality|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.modality
element:
  id:
    v: ImagingStudy.patient.extension
  path:
    v: ImagingStudy.patient.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: ImagingStudy.patient.extension:subject
  path:
    v: ImagingStudy.patient.extension
  slice name:
    v: subject
  short:
    v: R5: Who or what is the subject of the study
  definition:
    v: R5: `ImagingStudy.subject`
  comment:
    v: Element `ImagingStudy.subject` is mapped to FHIR STU3 element `ImagingStudy.patient` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.subject` with unmapped reference targets: Device, Group, Patient. QA phantoms can be recorded with a Device; multiple subjects (such as mice) can be recorded with a Group.
  min:
    v: 0

v: 1

path:
  v: DomainResource.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension
  l: Extension
profile:
  v: http://hl7.org/fhir/StructureDefinition/alternate-reference
  l: alternate-reference

id:
  v: ImagingStudy.context.extension
path:
  v: ImagingStudy.context.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.context.extension:encounter
path:
  v: ImagingStudy.context.extension
slice name:
  v: encounter
short:
  v: R5: Encounter with which this imaging study is associated additional types
definition:
  v: R5: `ImagingStudy.encounter` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.encounter` is mapped to FHIR STU3 element `ImagingStudy.context` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.encounter` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.encounter` with unmapped reference targets: Encounter. This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission test).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.basedOn.extension
path:
  v: ImagingStudy.basedOn.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.basedOn.extension:basedOn
path:
  v: ImagingStudy.basedOn.extension
slice name:
  v: basedOn
short:
  v: R5: basedOn
definition:
  v: R5: `ImagingStudy.basedOn`
comment:
  v: Element `ImagingStudy.basedOn` is mapped to FHIR STU3 element `ImagingStudy.basedOn` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.basedOn` with unmapped reference targets: Appointment, AppointmentResponse, CarePlan, ServiceRequest, Task.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.referrer.extension
path:
  v: ImagingStudy.referrer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.referrer.extension:referrer
path:
  v: ImagingStudy.referrer.extension
slice name:
  v: referrer
short:
  v: R5: referrer additional types
definition:
  v: R5: `ImagingStudy.referrer` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.referrer` is mapped to FHIR STU3 element `ImagingStudy.referrer` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.referrer` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.referrer` with unmapped reference targets: Practitioner, PractitionerRole.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.endpoint.extension
path:
  v: ImagingStudy.endpoint.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.endpoint.extension:endpoint
path:
  v: ImagingStudy.endpoint.extension
slice name:
  v: endpoint
short:
  v: R5: endpoint additional types
definition:
  v: R5: `ImagingStudy.endpoint` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.endpoint` is mapped to FHIR STU3 element `ImagingStudy.endpoint` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.endpoint` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.endpoint` with unmapped reference targets: Endpoint. Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.reason.extension
path:
  v: ImagingStudy.reason.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.reason.extension:reason
path:
  v: ImagingStudy.reason.extension
slice name:
  v: reason
short:
  v: R5: Why the study was requested / performed additional types
definition:
  v: R5: `ImagingStudy.reason` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/Condition), CodeableReference(http://hl7.org/fhir/StructureDefinition/Observation), CodeableReference(http://hl7.org/fhir/StructureDefinition/DiagnosticReport), CodeableReference(http://hl7.org/fhir/StructureDefinition/DocumentReference))
comment:
  v: Element `ImagingStudy.reason` is mapped to FHIR STU3 element `ImagingStudy.reason` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.reason` do not cover the following types: CodeableReference.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.reason|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.reason

id:
  v: ImagingStudy.series.extension
path:
  v: ImagingStudy.series.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.extension:specimen
path:
  v: ImagingStudy.series.extension
slice name:
  v: specimen
short:
  v: R5: Specimen imaged (new)
definition:
  v: R5: `ImagingStudy.series.specimen` (new:Reference(Specimen))
comment:
  v: Element `ImagingStudy.series.specimen` has a context of ImagingStudy.series based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.specimen` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.specimen|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.specimen

id:
  v: ImagingStudy.series.uid.extension
path:
  v: ImagingStudy.series.uid.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.uid.extension:uid
path:
  v: ImagingStudy.series.uid.extension
slice name:
  v: uid
short:
  v: R5: DICOM Series Instance UID for the series additional types
definition:
  v: R5: `ImagingStudy.series.uid` additional types (id) additional types from child elements (value)
comment:
  v: Element `ImagingStudy.series.uid` is mapped to FHIR STU3 element `ImagingStudy.series.uid` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.uid` do not cover the following types: id. The mappings for `ImagingStudy.series.uid` do not cover the following types based on type expansion: value. See [DICOM PS3.3 C.7.3](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.3.html).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.uid|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.uid

id:
  v: ImagingStudy.series.modality.extension
path:
  v: ImagingStudy.series.modality.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.modality.extension:modality
path:
  v: ImagingStudy.series.modality.extension
slice name:
  v: modality
short:
  v: R5: The modality used for this series additional types
definition:
  v: R5: `ImagingStudy.series.modality` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `ImagingStudy.series.modality` is mapped to FHIR STU3 element `ImagingStudy.series.modality` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.modality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.series.modality` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.modality|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.modality

id:
  v: ImagingStudy.series.endpoint.extension
path:
  v: ImagingStudy.series.endpoint.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.endpoint.extension:endpoint
path:
  v: ImagingStudy.series.endpoint.extension
slice name:
  v: endpoint
short:
  v: R5: endpoint additional types
definition:
  v: R5: `ImagingStudy.series.endpoint` additional types from child elements (display, identifier, reference, type)
comment:
  v: Element `ImagingStudy.series.endpoint` is mapped to FHIR STU3 element `ImagingStudy.series.endpoint` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.endpoint` do not cover the following types based on type expansion: display, identifier, reference, type. The standard extension `alternate-reference` has been mapped as the representation of FHIR R5 element `ImagingStudy.series.endpoint` with unmapped reference targets: Endpoint. Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/alternate-reference
    l: alternate-reference

id:
  v: ImagingStudy.series.bodySite.extension
path:
  v: ImagingStudy.series.bodySite.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.bodySite.extension:bodySite
path:
  v: ImagingStudy.series.bodySite.extension
slice name:
  v: bodySite
short:
  v: R5: bodySite additional types
definition:
  v: R5: `ImagingStudy.series.bodySite` additional types (CodeableReference(http://hl7.org/fhir/StructureDefinition/BodyStructure)) additional types from child elements (concept, reference)
comment:
  v: Element `ImagingStudy.series.bodySite` is mapped to FHIR STU3 element `ImagingStudy.series.bodySite` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.bodySite` do not cover the following types: CodeableReference. The mappings for `ImagingStudy.series.bodySite` do not cover the following types based on type expansion: concept, reference.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.bodySite|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.bodySite

id:
  v: ImagingStudy.series.laterality.extension
path:
  v: ImagingStudy.series.laterality.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.laterality.extension:laterality
path:
  v: ImagingStudy.series.laterality.extension
slice name:
  v: laterality
short:
  v: R5: laterality additional types
definition:
  v: R5: `ImagingStudy.series.laterality` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `ImagingStudy.series.laterality` is mapped to FHIR STU3 element `ImagingStudy.series.laterality` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.laterality` do not cover the following types: CodeableConcept. The mappings for `ImagingStudy.series.laterality` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.laterality|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.laterality

id:
  v: ImagingStudy.series.performer.extension
path:
  v: ImagingStudy.series.performer.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 1
max:
  v: *

id:
  v: ImagingStudy.series.performer.extension:function
path:
  v: ImagingStudy.series.performer.extension
slice name:
  v: function
short:
  v: R5: Type of performance (new)
definition:
  v: R5: `ImagingStudy.series.performer.function` (new:CodeableConcept)
comment:
  v: Element `ImagingStudy.series.performer.function` has a context of ImagingStudy.series.performer based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.performer.function` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.function|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.function

id:
  v: ImagingStudy.series.performer.extension:actor
path:
  v: ImagingStudy.series.performer.extension
slice name:
  v: actor
short:
  v: R5: Who performed the series (new)
definition:
  v: R5: `ImagingStudy.series.performer.actor` (new:Reference(Practitioner,PractitionerRole,Organization,CareTeam,Patient,Device,RelatedPerson,HealthcareService))
comment:
  v: Element `ImagingStudy.series.performer.actor` has a context of ImagingStudy.series.performer based on following the parent source element upwards and mapping to `ImagingStudy`. Element `ImagingStudy.series.performer.actor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.actor|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.performer.actor

id:
  v: ImagingStudy.series.instance.uid.extension
path:
  v: ImagingStudy.series.instance.uid.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.instance.uid.extension:uid
path:
  v: ImagingStudy.series.instance.uid.extension
slice name:
  v: uid
short:
  v: R5: DICOM SOP Instance UID additional types
definition:
  v: R5: `ImagingStudy.series.instance.uid` additional types (id) additional types from child elements (value)
comment:
  v: Element `ImagingStudy.series.instance.uid` is mapped to FHIR STU3 element `ImagingStudy.series.instance.uid` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.instance.uid` do not cover the following types: id. The mappings for `ImagingStudy.series.instance.uid` do not cover the following types based on type expansion: value. See [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.uid|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.uid

id:
  v: ImagingStudy.series.instance.sopClass.extension
path:
  v: ImagingStudy.series.instance.sopClass.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: ImagingStudy.series.instance.sopClass.extension:sopClass
path:
  v: ImagingStudy.series.instance.sopClass.extension
slice name:
  v: sopClass
short:
  v: R5: sopClass additional types
definition:
  v: R5: `ImagingStudy.series.instance.sopClass` additional types (Coding) additional types from child elements (code, display, system, userSelected, version)
comment:
  v: Element `ImagingStudy.series.instance.sopClass` is mapped to FHIR STU3 element `ImagingStudy.series.instance.sopClass` as `SourceIsBroaderThanTarget`. The mappings for `ImagingStudy.series.instance.sopClass` do not cover the following types: Coding. The mappings for `ImagingStudy.series.instance.sopClass` do not cover the following types based on type expansion: code, display, system, userSelected, version.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.sopClass|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-ImagingStudy.series.instance.sopClass