public class Media extends BaseResource implements IResource
Definition: A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Media
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_OPERATOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
OPERATOR
Fluent Client search parameter constant for operator
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_CREATED
Search parameter constant for created
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_OPERATOR
Search parameter constant for operator
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static String |
SP_SUBTYPE
Search parameter constant for subtype
|
static String |
SP_TYPE
Search parameter constant for type
|
static String |
SP_VIEW
Search parameter constant for view
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
static TokenClientParam |
SUBTYPE
Fluent Client search parameter constant for subtype
|
static TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
static TokenClientParam |
VIEW
Fluent Client search parameter constant for view
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Media() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (id)
|
Media |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
AttachmentDt |
getContent()
Gets the value(s) for content ().
|
String |
getDeviceName()
Gets the value(s) for deviceName ().
|
StringDt |
getDeviceNameElement()
Gets the value(s) for deviceName ().
|
Integer |
getDuration()
Gets the value(s) for duration ().
|
UnsignedIntDt |
getDurationElement()
Gets the value(s) for duration ().
|
Integer |
getFrames()
Gets the value(s) for frames ().
|
PositiveIntDt |
getFramesElement()
Gets the value(s) for frames ().
|
Integer |
getHeight()
Gets the value(s) for height ().
|
PositiveIntDt |
getHeightElement()
Gets the value(s) for height ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (id).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (id),
creating it if it does not already exist.
|
ResourceReferenceDt |
getOperator()
Gets the value(s) for operator (who.actor).
|
String |
getResourceName() |
FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (who.focus).
|
CodeableConceptDt |
getSubtype()
Gets the value(s) for subtype (class).
|
String |
getType()
Gets the value(s) for type (class).
|
BoundCodeDt<DigitalMediaTypeEnum> |
getTypeElement()
Gets the value(s) for type (class).
|
CodeableConceptDt |
getView()
Gets the value(s) for view (class).
|
Integer |
getWidth()
Gets the value(s) for width ().
|
PositiveIntDt |
getWidthElement()
Gets the value(s) for width ().
|
boolean |
isEmpty() |
Media |
setContent(AttachmentDt theValue)
Sets the value(s) for content ()
|
Media |
setDeviceName(String theString)
Sets the value for deviceName ()
|
Media |
setDeviceName(StringDt theValue)
Sets the value(s) for deviceName ()
|
Media |
setDuration(int theInteger)
Sets the value for duration ()
|
Media |
setDuration(UnsignedIntDt theValue)
Sets the value(s) for duration ()
|
Media |
setFrames(int theInteger)
Sets the value for frames ()
|
Media |
setFrames(PositiveIntDt theValue)
Sets the value(s) for frames ()
|
Media |
setHeight(int theInteger)
Sets the value for height ()
|
Media |
setHeight(PositiveIntDt theValue)
Sets the value(s) for height ()
|
Media |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)
|
Media |
setOperator(ResourceReferenceDt theValue)
Sets the value(s) for operator (who.actor)
|
Media |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)
|
Media |
setSubtype(CodeableConceptDt theValue)
Sets the value(s) for subtype (class)
|
Media |
setType(BoundCodeDt<DigitalMediaTypeEnum> theValue)
Sets the value(s) for type (class)
|
Media |
setType(DigitalMediaTypeEnum theValue)
Sets the value(s) for type (class)
|
Media |
setView(CodeableConceptDt theValue)
Sets the value(s) for view (class)
|
Media |
setWidth(int theInteger)
Sets the value for width ()
|
Media |
setWidth(PositiveIntDt theValue)
Sets the value(s) for width ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_TYPE
Description:
Type: token
Path: Media.type
public static final TokenClientParam TYPE
Description:
Type: token
Path: Media.type
public static final String SP_SUBTYPE
Description:
Type: token
Path: Media.subtype
public static final TokenClientParam SUBTYPE
Description:
Type: token
Path: Media.subtype
public static final String SP_IDENTIFIER
Description:
Type: token
Path: Media.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Media.identifier
public static final String SP_CREATED
Description:
Type: date
Path: Media.content.creation
public static final DateClientParam CREATED
Description:
Type: date
Path: Media.content.creation
public static final String SP_SUBJECT
Description:
Type: reference
Path: Media.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Media.subject
public static final String SP_OPERATOR
Description:
Type: reference
Path: Media.operator
public static final ReferenceClientParam OPERATOR
Description:
Type: reference
Path: Media.operator
public static final String SP_VIEW
Description:
Type: token
Path: Media.view
public static final TokenClientParam VIEW
Description:
Type: token
Path: Media.view
public static final String SP_PATIENT
Description:
Type: reference
Path: Media.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Media.subject
public static final Include INCLUDE_OPERATOR
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public Media()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic BoundCodeDt<DigitalMediaTypeEnum> getTypeElement()
null.
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public String getType()
null.
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public Media setType(BoundCodeDt<DigitalMediaTypeEnum> theValue)
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public Media setType(DigitalMediaTypeEnum theValue)
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public CodeableConceptDt getSubtype()
null.
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
public Media setSubtype(CodeableConceptDt theValue)
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
public List<IdentifierDt> getIdentifier()
null.
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
public Media setIdentifier(List<IdentifierDt> theValue)
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
public IdentifierDt addIdentifier()
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
public Media addIdentifier(IdentifierDt theValue)
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
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
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
public ResourceReferenceDt getSubject()
null.
Definition: Who/What this Media is a record of
public Media setSubject(ResourceReferenceDt theValue)
Definition: Who/What this Media is a record of
public ResourceReferenceDt getOperator()
null.
Definition: The person who administered the collection of the image
public Media setOperator(ResourceReferenceDt theValue)
Definition: The person who administered the collection of the image
public CodeableConceptDt getView()
null.
Definition: The name of the imaging view e.g. Lateral or Antero-posterior (AP).
public Media setView(CodeableConceptDt theValue)
Definition: The name of the imaging view e.g. Lateral or Antero-posterior (AP).
public StringDt getDeviceNameElement()
null.
Definition: The name of the device / manufacturer of the device that was used to make the recording
public String getDeviceName()
null.
Definition: The name of the device / manufacturer of the device that was used to make the recording
public Media setDeviceName(StringDt theValue)
Definition: The name of the device / manufacturer of the device that was used to make the recording
public Media setDeviceName(String theString)
Definition: The name of the device / manufacturer of the device that was used to make the recording
public PositiveIntDt getHeightElement()
null.
Definition: Height of the image in pixels (photo/video)
public Integer getHeight()
null.
Definition: Height of the image in pixels (photo/video)
public Media setHeight(PositiveIntDt theValue)
Definition: Height of the image in pixels (photo/video)
public Media setHeight(int theInteger)
Definition: Height of the image in pixels (photo/video)
public PositiveIntDt getWidthElement()
null.
Definition: Width of the image in pixels (photo/video)
public Integer getWidth()
null.
Definition: Width of the image in pixels (photo/video)
public Media setWidth(PositiveIntDt theValue)
Definition: Width of the image in pixels (photo/video)
public Media setWidth(int theInteger)
Definition: Width of the image in pixels (photo/video)
public PositiveIntDt getFramesElement()
null.
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
public Integer getFrames()
null.
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
public Media setFrames(PositiveIntDt theValue)
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
public Media setFrames(int theInteger)
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
public UnsignedIntDt getDurationElement()
null.
Definition: The duration of the recording in seconds - for audio and video
public Integer getDuration()
null.
Definition: The duration of the recording in seconds - for audio and video
public Media setDuration(UnsignedIntDt theValue)
Definition: The duration of the recording in seconds - for audio and video
public Media setDuration(int theInteger)
Definition: The duration of the recording in seconds - for audio and video
public AttachmentDt getContent()
null.
Definition: The actual content of the media - inline or by direct reference to the media source file
public Media setContent(AttachmentDt theValue)
Definition: The actual content of the media - inline or by direct reference to the media source file
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.