EU Imaging Report R4
1.0.0-ballot - ci-build 150

EU Imaging Report R4, published by HL7 Europe. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-eu/imaging-r4/ and changes regularly. See the Directory of published versions

Resource Profile: Media: Key Image

Official URL: http://hl7.eu/fhir/imaging/StructureDefinition/MediaKeyImageEuImaging Version: 1.0.0-ballot
Standards status: Draft Maturity Level: 1 Computable Name: MediaKeyImageEuImaging

Copyright/Legal: Copyright HL7 Europe. Licensed under Creative Commons public domain (CC0 1.0).

Represents a key image for a patient as image content in an R4 Media resource. Use this profile to include or directly link the image (DICOM or non-DICOM); use ImagingSelectionKeyImageEuImaging when the key image is identified using DICOM selection data.

When the resource represents a DICOM artifact it SHALL contain the applicable DICOM identifier in the identifier element: the SOP Instance UID for a DICOM instance, the Series Instance UID for a DICOM series, and/or the Study Instance UID for a DICOM study. Such a resource MAY also reference an ImagingSelectionKeyImageEuImaging to indicate the DICOM source.

A key image is an image, or a specific frame within an image, that the imaging clinician has selected as particularly relevant to the report — for example an image that best demonstrates a finding, supports the impression, or is useful for comparison and follow-up. In radiology a study can contain hundreds or thousands of instances, so flagging key images helps the referring physician and other readers quickly locate the most significant images. In DICOM, key images are typically captured using a Key Object Selection (KOS) document, described by Key Object Selection, TID 2010 in DICOM PS3.16.

Representation of Key Images

Key images can be represented either as image content or as a reference to DICOM selection data:

  • Media (MediaKeyImageEuImaging) — the key image as image content.
  • ImagingSelection (ImagingSelectionKeyImageEuImaging) — the key image identified using DICOM selection data. In this R4 IG the ImagingSelection is implemented on a Basic resource with a cross-version extension backporting the R5 ImagingSelection structure.

ImagingSelection is more DICOM oriented and relates to DICOM identifiers. Media represents the image content and contains information such as its size, format and duration. The eHN Imaging Studies and Reports guidelines requires information on the size, format and duration; these data elements are provided by the Attachment in Media.content.

This IG uses Media in R4 for image content, and ImagingSelection when the key image is identified using DICOM selection data (for example, to state that an image can come from a Procedure Phase).

The ImagingSelection resource points to DICOM data. The DICOM instance data also holds the data required by the eHN Imaging Studies and Reports, so the client can retrieve the information from the DICOM source data. Access to the imaging data can be direct or through a web based image viewer; a scenario supported by ImagingSelection requires access to the DICOM identifiers and a WADO endpoint.

Media resources refer to the image data directly, either by including it in the Attachment or by linking to it. The report may also refer to key images such as charts or PDFs that are not stored in a DICOM PACS; Media supports this case.

Key images can be represented by ImagingSelection or Media resources. When using Media to represent a DICOM artifact, it carries an identifier corresponding to the SOP instance, series or study it represents. In the case of ImagingSelection these values are represented as fields in the resource.

One or more DICOM identifier codes used by this profile come from the temporary MissingDicomTerminology CodeSystem and must be replaced with the equivalents defined by the DICOM terminology IG once it is published.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.Slices for identifier This element is included in summaries. 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:seriesInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:seriesInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:seriesInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:seriesInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:sopClassInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:sopClassInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:sopClassInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:sopClassInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:studyInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:studyInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:studyInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:studyInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:studyInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession This element is included in summaries. 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier This element is included in summaries. 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.
Required Pattern: completed
Media.type This element is included in summaries. 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible)
Media.modality This element is included in summaries. 1..1 CodeableConcept The type of acquisition equipment/process
Binding: MediaModality (example): Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it.
Media.subject This element is included in summaries. 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.content This element is included in summaries. 1..1 Attachment Actual Media - reference or data
Media.content.contentType This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.identifier:seriesInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📍4.0.1 FHIR Std.
Media.content.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.Slices for identifier 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.system 1..1 uri The namespace for the identifier value
Media.Slices for identifier.identifier:seriesInstanceUid.value 1..1 string The value that is unique
Media.Slices for identifier.identifier:sopClassInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.system 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value 1..1 string The value that is unique
Media.Slices for identifier.identifier:studyInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.system 1..1 uri The namespace for the identifier value
Media.Slices for identifier.identifier:studyInstanceUid.value 1..1 string The value that is unique
Media.Slices for basedOn 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.status 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Required Pattern: completed
Media.modality 1..1 CodeableConcept The type of acquisition equipment/process
Media.subject 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.content
Media.content.contentType 1..1 code Mime type of the content, with charset etc.

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.id This element is included in summaries. 0..1 id Logical id of this artifact
Media.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Media.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Media.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Media.contained 0..* Resource Contained, inline Resources
Media.extension 0..* Extension Additional content defined by implementations
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.Slices for identifier This element is included in summaries. 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:seriesInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:seriesInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:seriesInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:seriesInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:seriesInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:seriesInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:seriesInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for identifier.identifier:sopClassInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:sopClassInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:sopClassInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:sopClassInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:sopClassInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:sopClassInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:sopClassInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for identifier.identifier:studyInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:studyInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:studyInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:studyInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:studyInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:studyInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:studyInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:studyInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession This element is included in summaries. 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.id 0..1 string Unique id for inter-element referencing
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier This element is included in summaries. 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.display This element is included in summaries. 0..1 string Text alternative for the resource
Media.partOf This element is included in summaries. 0..* Reference(Resource) Part of referenced event
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.
Required Pattern: completed
Media.type This element is included in summaries. 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible)
Media.modality This element is included in summaries. 1..1 CodeableConcept The type of acquisition equipment/process
Binding: MediaModality (example): Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it.
Media.view This element is included in summaries. 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: MediaCollectionView/Projection (example): Imaging view (projection) used when collecting an image.
Media.subject This element is included in summaries. 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.encounter This element is included in summaries. 0..1 Reference(Encounter) Encounter associated with media
Media.created[x] This element is included in summaries. 0..1 When Media was collected
Media.created[x].createdDateTime dateTime
Media.created[x].createdPeriod Period
Media.issued This element is included in summaries. 0..1 instant Date/Time this version was made available
Media.operator This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) The person who generated the image
Media.reasonCode This element is included in summaries. 0..* CodeableConcept Why was event performed?
Binding: ProcedureReasonCodes (example): The reason for the media.
Media.bodySite This element is included in summaries. 0..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Media.deviceName This element is included in summaries. 0..1 string Name of the device/manufacturer
Media.device This element is included in summaries. 0..1 Reference(Device | DeviceMetric | Device) Observing Device
Media.height This element is included in summaries. 0..1 positiveInt Height of the image in pixels (photo/video)
Media.width This element is included in summaries. 0..1 positiveInt Width of the image in pixels (photo/video)
Media.frames This element is included in summaries. 0..1 positiveInt Number of frames if > 1 (photo)
Media.duration This element is included in summaries. 0..1 decimal Length in seconds (audio / video)
Media.content This element is included in summaries. 1..1 Attachment Actual Media - reference or data
Media.content.id 0..1 string Unique id for inter-element referencing
Media.content.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.content.contentType This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
Media.content.language This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Media.content.data 0..1 base64Binary Data inline, base64ed
Media.content.url This element is included in summaries. 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
Media.content.size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Media.content.hash This element is included in summaries. 0..1 base64Binary Hash of the data (sha-1, base64ed)
Media.content.title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Media.content.creation This element is included in summaries. 0..1 dateTime Date attachment was first created
Media.note 0..* Annotation Comments made about the media

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.basedOn:ServiceRequestOrderEuImagingaccession.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📍4.0.1 FHIR Std.
Media.view Base example Media Collection View/Projection 📍4.0.1 FHIR Std.
Media.reasonCode Base example Procedure Reason Codes 📍4.0.1 FHIR Std.
Media.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Media.content.contentType Base required MimeType 📍4.0.1 FHIR Std.
Media.content.language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Media

Summary

Mandatory: 3 elements(9 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Media.identifier
  • The element 1 is sliced based on the value of Media.basedOn

Maturity: 1

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.Slices for identifier This element is included in summaries. 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:seriesInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:seriesInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:seriesInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:seriesInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:sopClassInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:sopClassInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:sopClassInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:sopClassInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:studyInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:studyInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:studyInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:studyInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:studyInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession This element is included in summaries. 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier This element is included in summaries. 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.
Required Pattern: completed
Media.type This element is included in summaries. 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible)
Media.modality This element is included in summaries. 1..1 CodeableConcept The type of acquisition equipment/process
Binding: MediaModality (example): Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it.
Media.subject This element is included in summaries. 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.content This element is included in summaries. 1..1 Attachment Actual Media - reference or data
Media.content.contentType This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.identifier:seriesInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📍4.0.1 FHIR Std.
Media.content.contentType Base required MimeType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Media

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.Slices for identifier 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.system 1..1 uri The namespace for the identifier value
Media.Slices for identifier.identifier:seriesInstanceUid.value 1..1 string The value that is unique
Media.Slices for identifier.identifier:sopClassInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.system 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value 1..1 string The value that is unique
Media.Slices for identifier.identifier:studyInstanceUid 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.type 1..1 CodeableConcept Description of identifier
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.system 1..1 uri The namespace for the identifier value
Media.Slices for identifier.identifier:studyInstanceUid.value 1..1 string The value that is unique
Media.Slices for basedOn 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.status 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Required Pattern: completed
Media.type 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible)
Media.modality 1..1 CodeableConcept The type of acquisition equipment/process
Media.subject 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.content
Media.content.contentType 1..1 code Mime type of the content, with charset etc.

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Media 0..* Media A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Media.id This element is included in summaries. 0..1 id Logical id of this artifact
Media.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Media.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Media.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Media.text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Media.contained 0..* Resource Contained, inline Resources
Media.extension 0..* Extension Additional content defined by implementations
Media.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Media.Slices for identifier This element is included in summaries. 0..* Identifier Identifier(s) for the image
Slice: Unordered, Open by value:type

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for identifier.identifier:seriesInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:seriesInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:seriesInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:seriesInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:seriesInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 112002
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:seriesInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:seriesInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:seriesInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:seriesInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:seriesInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:seriesInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for identifier.identifier:sopClassInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:sopClassInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:sopClassInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:sopClassInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:sopClassInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://hl7.eu/fhir/imaging/CodeSystem/codesystem-missing-dicom-terminology
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 00080018
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:sopClassInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:sopClassInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:sopClassInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Required Pattern: urn:ietf:rfc:3986
Media.Slices for identifier.identifier:sopClassInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:sopClassInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:sopClassInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for identifier.identifier:studyInstanceUid This element is included in summaries. 0..1 Identifier Identifier(s) for the image
Media.Slices for identifier.identifier:studyInstanceUid.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for identifier.identifier:studyInstanceUid.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Media.Slices for identifier.identifier:studyInstanceUid.type This element is included in summaries. 1..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
Media.Slices for identifier.identifier:studyInstanceUid.type.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.id 0..1 string Unique id for inter-element referencing
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.extension 0..* Extension Additional content defined by implementations
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.system 1..1 uri Identity of the terminology system
Fixed Value: http://dicom.nema.org/resources/ontology/DCM
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.version 0..1 string Version of the system - if relevant
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.code 1..1 code Symbol in syntax defined by the system
Fixed Value: 110180
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.display 0..1 string Representation defined by the system
Media.Slices for identifier.identifier:studyInstanceUid.type.coding.userSelected 0..1 boolean If this coding was chosen directly by the user
Media.Slices for identifier.identifier:studyInstanceUid.type.text 0..1 string Plain text representation of the concept
Media.Slices for identifier.identifier:studyInstanceUid.system This element is included in summaries. 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
Media.Slices for identifier.identifier:studyInstanceUid.value This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Media.Slices for identifier.identifier:studyInstanceUid.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Media.Slices for identifier.identifier:studyInstanceUid.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Media.Slices for basedOn This element is included in summaries. 0..* Reference(ServiceRequest | CarePlan) Procedure that caused this media to be created
Slice: Unordered, Open by type:$this

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession This element is included in summaries. 0..1 Reference(ServiceRequest: Imaging Order) Procedure that caused this media to be created
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.id 0..1 string Unique id for inter-element referencing
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.reference This element is included in summaries. C 0..1 string Literal reference, Relative, internal or absolute URL
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.type This element is included in summaries. 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.identifier This element is included in summaries. 0..1 AccessionNumberIdentifierEuImaging Logical reference, when literal reference is not known
Media.Slices for basedOn.basedOn:ServiceRequestOrderEuImagingaccession.display This element is included in summaries. 0..1 string Text alternative for the resource
Media.partOf This element is included in summaries. 0..* Reference(Resource) Part of referenced event
Media.status This element is a modifier element. This element is included in summaries. 1..1 code preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown
Binding: EventStatus (required): Codes identifying the lifecycle stage of an event.
Required Pattern: completed
Media.type This element is included in summaries. 0..1 CodeableConcept Classification of media as image, video, or audio
Binding: MediaType (extensible)
Media.modality This element is included in summaries. 1..1 CodeableConcept The type of acquisition equipment/process
Binding: MediaModality (example): Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it.
Media.view This element is included in summaries. 0..1 CodeableConcept Imaging view, e.g. Lateral or Antero-posterior
Binding: MediaCollectionView/Projection (example): Imaging view (projection) used when collecting an image.
Media.subject This element is included in summaries. 1..1 Reference(Patient (EU core)) Who/What this Media is a record of
Media.encounter This element is included in summaries. 0..1 Reference(Encounter) Encounter associated with media
Media.created[x] This element is included in summaries. 0..1 When Media was collected
Media.created[x].createdDateTime dateTime
Media.created[x].createdPeriod Period
Media.issued This element is included in summaries. 0..1 instant Date/Time this version was made available
Media.operator This element is included in summaries. 0..1 Reference(Practitioner | PractitionerRole | Organization | CareTeam | Patient | Device | RelatedPerson) The person who generated the image
Media.reasonCode This element is included in summaries. 0..* CodeableConcept Why was event performed?
Binding: ProcedureReasonCodes (example): The reason for the media.
Media.bodySite This element is included in summaries. 0..1 CodeableConcept Observed body part
Binding: SNOMEDCTBodyStructures (example): Codes describing anatomical locations. May include laterality.
Media.deviceName This element is included in summaries. 0..1 string Name of the device/manufacturer
Media.device This element is included in summaries. 0..1 Reference(Device | DeviceMetric | Device) Observing Device
Media.height This element is included in summaries. 0..1 positiveInt Height of the image in pixels (photo/video)
Media.width This element is included in summaries. 0..1 positiveInt Width of the image in pixels (photo/video)
Media.frames This element is included in summaries. 0..1 positiveInt Number of frames if > 1 (photo)
Media.duration This element is included in summaries. 0..1 decimal Length in seconds (audio / video)
Media.content This element is included in summaries. 1..1 Attachment Actual Media - reference or data
Media.content.id 0..1 string Unique id for inter-element referencing
Media.content.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Media.content.contentType This element is included in summaries. 1..1 code Mime type of the content, with charset etc.
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.
Example General: text/plain; charset=UTF-8, image/png
Media.content.language This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Media.content.data 0..1 base64Binary Data inline, base64ed
Media.content.url This element is included in summaries. 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
Media.content.size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Media.content.hash This element is included in summaries. 0..1 base64Binary Hash of the data (sha-1, base64ed)
Media.content.title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Media.content.creation This element is included in summaries. 0..1 dateTime Date attachment was first created
Media.note 0..* Annotation Comments made about the media

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Media.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:seriesInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:sopClassInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Media.identifier:studyInstanceUid.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Media.basedOn:ServiceRequestOrderEuImagingaccession.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
Media.status Base required EventStatus 📍4.0.1 FHIR Std.
Media.type Base extensible Media Type 📦4.0.1 FHIR Std.
Media.modality Base example Media Modality 📍4.0.1 FHIR Std.
Media.view Base example Media Collection View/Projection 📍4.0.1 FHIR Std.
Media.reasonCode Base example Procedure Reason Codes 📍4.0.1 FHIR Std.
Media.bodySite Base example SNOMED CT Body Structures 📍4.0.1 FHIR Std.
Media.content.contentType Base required MimeType 📍4.0.1 FHIR Std.
Media.content.language Base preferred Common Languages 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Media If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Media If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Media If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Media If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Media A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Media

Summary

Mandatory: 3 elements(9 nested mandatory elements)

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Media.identifier
  • The element 1 is sliced based on the value of Media.basedOn

Maturity: 1

 

Other representations of profile: CSV, Excel, Schematron