Media
open class Media: DomainResource
A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.
-
A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.
Declaration
Swift
override open class var resourceType: String -
Procedure that caused this media to be created.
Declaration
Swift
public var basedOn: [Reference]? -
Body part in media.
Declaration
Swift
public var bodySite: CodeableConcept? -
Actual Media - reference or data.
Declaration
Swift
public var content: Attachment? -
Encounter / Episode associated with media.
Declaration
Swift
public var context: Reference? -
Observing Device.
Declaration
Swift
public var device: Reference? -
Length in seconds (audio / video).
Declaration
Swift
public var duration: FHIRInteger? -
Number of frames if > 1 (photo).
Declaration
Swift
public var frames: FHIRInteger? -
Height of the image in pixels (photo/video).
Declaration
Swift
public var height: FHIRInteger? -
Identifier(s) for the image.
Declaration
Swift
public var identifier: [Identifier]? -
Comments made about the media.
Declaration
Swift
public var note: [Annotation]? -
When Media was collected.
Declaration
Swift
public var occurrenceDateTime: DateTime? -
When Media was collected.
Declaration
Swift
public var occurrencePeriod: Period? -
The person who generated the image.
Declaration
Swift
public var operator_fhir: Reference? -
Why was event performed?.
Declaration
Swift
public var reasonCode: [CodeableConcept]? -
Who/What this Media is a record of.
Declaration
Swift
public var subject: Reference? -
The type of acquisition equipment/process.
Declaration
Swift
public var subtype: CodeableConcept? -
Whether the media is a photo (still image), an audio recording, or a video recording.
Declaration
Swift
public var type: DigitalMediaType? -
Imaging view, e.g. Lateral or Antero-posterior.
Declaration
Swift
public var view: CodeableConcept? -
Width of the image in pixels (photo/video).
Declaration
Swift
public var width: FHIRInteger? -
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
public convenience init(content: Attachment, type: DigitalMediaType) -
Convenience initializer, taking all required properties as arguments.
Declaration
Swift
override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext) -
Undocumented
Declaration
Swift
open class Media: DomainResource
View on GitHub
Install in Dash
Media Class Reference