This page is part of the FHIR Specification (v0.0.82: DSTU 1). 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
Formal definitions 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. |
Control | 1..1 |
Invariants | Defined on this element Inv-1: Height can only be used for a photo or video (xpath: not(f:type/@value='audio') or not(f:height)) Inv-2: Width can only be used for a photo or video (xpath: not(f:type/@value='audio') or not(f:width)) Inv-3: Frames can only be used for a photo (xpath: (f:type/@value='photo') or not(f:frames)) Inv-4: Length can only be used for an audio or a video (xpath: not(f:type/@value='photo') or not(f:length)) |
Media.type | |
Definition | Whether the media is a photo (still image), an audio recording, or a video recording. |
Control | 1..1 |
Binding | MediaType: Whether the Media is a photo, video, or audio (see http://hl7.org/fhir/media-type for values) |
Type | code |
Summary | true |
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. |
Control | 0..1 |
Binding | MediaSubtype: (See http://hl7.org/fhir/vs/media-subtype) |
Type | CodeableConcept |
Summary | true |
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. |
Control | 0..* |
Type | Identifier |
Summary | true |
Comments | The identifier label and use can be used to determine what kind of identifier it is. |
Media.dateTime | |
Definition | When the media was originally recorded. For video and audio, if the length of the recording is not insignificant, this is the end of the recording. |
Control | 0..1 |
Type | dateTime |
Summary | true |
Comments | For an image including multiple frames, this is the start time. |
Media.subject | |
Definition | Who/What this Media is a record of. |
Control | 0..1 |
Type | Resource(Patient | Practitioner | Group | Device | Specimen) |
Summary | true |
Media.operator | |
Definition | The person who administered the collection of the image. |
Control | 0..1 |
Type | Resource(Practitioner) |
Summary | true |
Media.view | |
Definition | The name of the imaging view e.g Lateral or Antero-posterior (AP). |
Control | 0..1 |
Binding | MediaView: (See http://hl7.org/fhir/vs/media-view) |
Type | CodeableConcept |
Summary | true |
Media.deviceName | |
Definition | The name of the device / manufacturer of the device that was used to make the recording. |
Control | 0..1 |
Type | string |
Summary | true |
Media.height | |
Definition | Height of the image in pixels(photo/video). |
Control | 0..1 |
Type | integer |
Summary | true |
Invariants | Affect this element Inv-1: Height can only be used for a photo or video (xpath: not(f:type/@value='audio') or not(f:height)) |
Media.width | |
Definition | Width of the image in pixels (photo/video). |
Control | 0..1 |
Type | integer |
Summary | true |
Invariants | Affect this element Inv-2: Width can only be used for a photo or video (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. |
Control | 0..1 |
Type | integer |
Summary | true |
Invariants | Affect this element Inv-3: Frames can only be used for a photo (xpath: (f:type/@value='photo') or not(f:frames)) |
Media.length | |
Definition | The length of the recording in seconds - for audio and video. |
Control | 0..1 |
Type | integer |
Summary | true |
Invariants | Affect this element Inv-4: Length can only be used for an audio or a video (xpath: not(f:type/@value='photo') or not(f:length)) |
Media.content | |
Definition | The actual content of the media - inline or by direct reference to the media source file. |
Control | 1..1 |
Type | Attachment |
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. |