STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3 R2

Detailed Descriptions for the elements in the Media resource.

Media
Definition

A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.

Control1..1
InvariantsDefined on this element
mda-1: Height can only be used for a photo or video (expression : height.empty() or type != 'audio', xpath: not(f:type/@value='audio') or not(f:height))
mda-2: Width can only be used for a photo or video (expression : width.empty() or type != 'audio', xpath: not(f:type/@value='audio') or not(f:width))
mda-3: Frames can only be used for a photo (expression : frames.empty() or type = 'photo', xpath: (f:type/@value='photo') or not(f:frames))
mda-4: Duration can only be used for an audio or a video (expression : duration.empty() or type != 'photo', xpath: not(f:type/@value='photo') or not(f:duration))
Media.identifier
Definition

Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.

NoteThis is a business identifer, not a resource identifier (see discussion)
Control0..*
TypeIdentifier
Summarytrue
Comments

The identifier label and use can be used to determine what kind of identifier it is.

Media.type
Definition

Whether the media is a photo (still image), an audio recording, or a video recording.

Control1..1
Terminology BindingDigitalMediaType (Required)
Typecode
Summarytrue
Media.subtype
Definition

Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.

Control0..1
Terminology BindingMedia SubType (Example)
TypeCodeableConcept
Summarytrue
Media.view
Definition

The name of the imaging view e.g. Lateral or Antero-posterior (AP).

Control0..1
Terminology BindingMedia Collection View/Projection (Example)
TypeCodeableConcept
Summarytrue
Media.subject
Definition

Who/What this Media is a record of.

Control0..1
TypeReference(Patient | Practitioner | Group | Device | Specimen)
Summarytrue
Media.operator
Definition

The person who administered the collection of the image.

Control0..1
TypeReference(Practitioner)
Summarytrue
Media.deviceName
Definition

The name of the device / manufacturer of the device that was used to make the recording.

Control0..1
Typestring
Summarytrue
Media.height
Definition

Height of the image in pixels (photo/video).

Control0..1
TypepositiveInt
Summarytrue
InvariantsAffect this element
mda-1: Height can only be used for a photo or video (expression : height.empty() or type != 'audio', xpath: not(f:type/@value='audio') or not(f:height))
Media.width
Definition

Width of the image in pixels (photo/video).

Control0..1
TypepositiveInt
Summarytrue
InvariantsAffect this element
mda-2: Width can only be used for a photo or video (expression : width.empty() or type != 'audio', xpath: not(f:type/@value='audio') or not(f:width))
Media.frames
Definition

The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.

Control0..1
TypepositiveInt
Default Value1
Summarytrue
InvariantsAffect this element
mda-3: Frames can only be used for a photo (expression : frames.empty() or type = 'photo', xpath: (f:type/@value='photo') or not(f:frames))
Media.duration
Definition

The duration of the recording in seconds - for audio and video.

Control0..1
TypeunsignedInt
Summarytrue
InvariantsAffect this element
mda-4: Duration can only be used for an audio or a video (expression : duration.empty() or type != 'photo', xpath: not(f:type/@value='photo') or not(f:duration))
Media.content
Definition

The actual content of the media - inline or by direct reference to the media source file.

Control1..1
TypeAttachment
Comments

Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter. For an media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching.