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 |
DATE
Fluent Client search parameter constant for date
|
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_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
OPERATOR
Fluent Client search parameter constant for operator
|
static String |
SP_DATE
Search parameter constant for date
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_OPERATOR
Search parameter constant for operator
|
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
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Media() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (Identifier(s) for the image)
|
Media |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (Identifier(s) for the image)
|
Media |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (Identifier(s) for the image)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
AttachmentDt |
getContent()
Gets the value(s) for content (Actual Media - reference or data).
|
DateTimeDt |
getDateTime()
Gets the value(s) for dateTime (When the media was taken/recorded (end)).
|
StringDt |
getDeviceName()
Gets the value(s) for deviceName (Name of the device/manufacturer).
|
IntegerDt |
getFrames()
Gets the value(s) for frames (Number of frames if > 1 (photo)).
|
IntegerDt |
getHeight()
Gets the value(s) for height (Height of the image in pixels(photo/video)).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (Identifier(s) for the image).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (Identifier(s) for the image),
creating it if it does not already exist.
|
IntegerDt |
getLength()
Gets the value(s) for length (Length in seconds (audio / video)).
|
ResourceReferenceDt |
getOperator()
Gets the value(s) for operator (The person who generated the image).
|
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject (Who/What this Media is a record of).
|
CodeableConceptDt |
getSubtype()
Gets the value(s) for subtype (The type of acquisition equipment/process).
|
BoundCodeDt<MediaTypeEnum> |
getType()
Gets the value(s) for type (photo | video | audio).
|
CodeableConceptDt |
getView()
Gets the value(s) for view (Imaging view e.g Lateral or Antero-posterior).
|
IntegerDt |
getWidth()
Gets the value(s) for width (Width of the image in pixels (photo/video)).
|
boolean |
isEmpty() |
Media |
setContent(AttachmentDt theValue)
Sets the value(s) for content (Actual Media - reference or data)
|
Media |
setDateTime(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for dateTime (When the media was taken/recorded (end))
|
Media |
setDateTime(DateTimeDt theValue)
Sets the value(s) for dateTime (When the media was taken/recorded (end))
|
Media |
setDateTimeWithSecondsPrecision(Date theDate)
Sets the value for dateTime (When the media was taken/recorded (end))
|
Media |
setDeviceName(String theString)
Sets the value for deviceName (Name of the device/manufacturer)
|
Media |
setDeviceName(StringDt theValue)
Sets the value(s) for deviceName (Name of the device/manufacturer)
|
Media |
setFrames(int theInteger)
Sets the value for frames (Number of frames if > 1 (photo))
|
Media |
setFrames(IntegerDt theValue)
Sets the value(s) for frames (Number of frames if > 1 (photo))
|
Media |
setHeight(int theInteger)
Sets the value for height (Height of the image in pixels(photo/video))
|
Media |
setHeight(IntegerDt theValue)
Sets the value(s) for height (Height of the image in pixels(photo/video))
|
Media |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (Identifier(s) for the image)
|
Media |
setLength(int theInteger)
Sets the value for length (Length in seconds (audio / video))
|
Media |
setLength(IntegerDt theValue)
Sets the value(s) for length (Length in seconds (audio / video))
|
Media |
setOperator(ResourceReferenceDt theValue)
Sets the value(s) for operator (The person who generated the image)
|
Media |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (Who/What this Media is a record of)
|
Media |
setSubtype(CodeableConceptDt theValue)
Sets the value(s) for subtype (The type of acquisition equipment/process)
|
Media |
setType(BoundCodeDt<MediaTypeEnum> theValue)
Sets the value(s) for type (photo | video | audio)
|
Media |
setType(MediaTypeEnum theValue)
Sets the value(s) for type (photo | video | audio)
|
Media |
setView(CodeableConceptDt theValue)
Sets the value(s) for view (Imaging view e.g Lateral or Antero-posterior)
|
Media |
setWidth(int theInteger)
Sets the value for width (Width of the image in pixels (photo/video))
|
Media |
setWidth(IntegerDt theValue)
Sets the value(s) for width (Width of the image in pixels (photo/video))
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, 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, setResourceMetadatapublic 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_DATE
Description:
Type: date
Path: Media.dateTime
public static final DateClientParam DATE
Description:
Type: date
Path: Media.dateTime
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 Include INCLUDE_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 Include INCLUDE_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 <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<MediaTypeEnum> getType()
null.
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public Media setType(BoundCodeDt<MediaTypeEnum> theValue)
Definition: Whether the media is a photo (still image), an audio recording, or a video recording
public Media setType(MediaTypeEnum 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 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 Media addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
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(String theSystem, String 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 DateTimeDt getDateTime()
null.
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
public Media setDateTime(DateTimeDt theValue)
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
public Media setDateTimeWithSecondsPrecision(Date theDate)
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
public Media setDateTime(Date theDate, TemporalPrecisionEnum thePrecision)
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
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 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 IntegerDt getHeight()
null.
Definition: Height of the image in pixels(photo/video)
public Media setHeight(IntegerDt 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 IntegerDt getWidth()
null.
Definition: Width of the image in pixels (photo/video)
public Media setWidth(IntegerDt 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 IntegerDt 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(IntegerDt 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 IntegerDt getLength()
null.
Definition: The length of the recording in seconds - for audio and video
public Media setLength(IntegerDt theValue)
Definition: The length of the recording in seconds - for audio and video
public Media setLength(int theInteger)
Definition: The length 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
Copyright © 2014 University Health Network. All rights reserved.