Show / Hide Table of Contents

Class Media

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

Inheritance
System.Object
Resource
DomainResource
Media
Implements
IFhirJsonSerializable
Inherited Members
DomainResource.Contained
DomainResource.Extension
DomainResource.ModifierExtension
DomainResource.Text
Resource.Id
Resource._Id
Resource.ImplicitRules
Resource._ImplicitRules
Resource.Language
Resource._Language
Resource.Meta
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Media : DomainResource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_DeviceName

Extension container element for DeviceName

Declaration
public Element _DeviceName { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Type

Extension container element for Type

Declaration
public Element _Type { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

Content

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

Declaration
public Attachment Content { get; set; }
Property Value
Type Description
Attachment
| Improve this Doc View Source

DeviceName

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

Declaration
public string DeviceName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Duration

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

Declaration
public uint? Duration { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

Frames

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.

Declaration
public uint? Frames { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

Height

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

Declaration
public uint? Height { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

Identifier

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.

Declaration
public List<Identifier> Identifier { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Identifier>
| Improve this Doc View Source

Operator

The person who administered the collection of the image.

Declaration
public Reference Operator { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

ResourceType

Resource Type Name

Declaration
public override string ResourceType { get; }
Property Value
Type Description
System.String
Overrides
Resource.ResourceType
| Improve this Doc View Source

Subject

Who/What this Media is a record of.

Declaration
public Reference Subject { get; set; }
Property Value
Type Description
Reference
| Improve this Doc View Source

Subtype

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.

Declaration
public CodeableConcept Subtype { get; set; }
Property Value
Type Description
CodeableConcept
| Improve this Doc View Source

Type

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

Declaration
public string Type { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

View

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

Declaration
public CodeableConcept View { get; set; }
Property Value
Type Description
CodeableConcept
| Improve this Doc View Source

Width

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

Declaration
public uint? Width { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX