public class Media extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Media.DigitalMediaType |
static class |
Media.DigitalMediaTypeEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_CREATED |
static String |
SP_IDENTIFIER |
static String |
SP_OPERATOR |
static String |
SP_PATIENT |
static String |
SP_SUBJECT |
static String |
SP_SUBTYPE |
static String |
SP_TYPE |
static String |
SP_VIEW |
| Constructor and Description |
|---|
Media() |
Media(Enumeration<Media.DigitalMediaType> type,
Attachment content) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_IDENTIFIER
public static final String SP_VIEW
public static final String SP_SUBTYPE
public static final String SP_CREATED
public static final String SP_SUBJECT
public static final String SP_PATIENT
public static final String SP_TYPE
public static final String SP_OPERATOR
public Media()
public Media(Enumeration<Media.DigitalMediaType> type, Attachment content)
public Enumeration<Media.DigitalMediaType> getTypeElement()
type (Whether the media is a photo (still image), an audio recording, or a video recording.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public Media setTypeElement(Enumeration<Media.DigitalMediaType> value)
value - type (Whether the media is a photo (still image), an audio recording, or a video recording.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic Media.DigitalMediaType getType()
public Media setType(Media.DigitalMediaType value)
value - Whether the media is a photo (still image), an audio recording, or a video recording.public CodeableConcept getSubtype()
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.)public boolean hasSubtype()
public Media setSubtype(CodeableConcept value)
value - 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.)public List<Identifier> getIdentifier()
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.)public boolean hasIdentifier()
public Identifier addIdentifier()
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.)public Media addIdentifier(Identifier t)
public boolean hasSubject()
public Media setSubject(Reference value)
value - subject (Who/What this Media is a record of.)public Resource getSubjectTarget()
subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who/What this Media is a record of.)public Media setSubjectTarget(Resource value)
value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who/What this Media is a record of.)public Reference getOperator()
operator (The person who administered the collection of the image.)public boolean hasOperator()
public Media setOperator(Reference value)
value - operator (The person who administered the collection of the image.)public Practitioner getOperatorTarget()
operator The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person who administered the collection of the image.)public Media setOperatorTarget(Practitioner value)
value - operator The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person who administered the collection of the image.)public CodeableConcept getView()
view (The name of the imaging view e.g. Lateral or Antero-posterior (AP).)public boolean hasView()
public Media setView(CodeableConcept value)
value - view (The name of the imaging view e.g. Lateral or Antero-posterior (AP).)public StringType getDeviceNameElement()
deviceName (The name of the device / manufacturer of the device that was used to make the recording.). This is the underlying object with id, value and extensions. The accessor "getDeviceName" gives direct access to the valuepublic boolean hasDeviceNameElement()
public boolean hasDeviceName()
public Media setDeviceNameElement(StringType value)
value - deviceName (The name of the device / manufacturer of the device that was used to make the recording.). This is the underlying object with id, value and extensions. The accessor "getDeviceName" gives direct access to the valuepublic String getDeviceName()
public Media setDeviceName(String value)
value - The name of the device / manufacturer of the device that was used to make the recording.public PositiveIntType getHeightElement()
height (Height of the image in pixels (photo/video).). This is the underlying object with id, value and extensions. The accessor "getHeight" gives direct access to the valuepublic boolean hasHeightElement()
public boolean hasHeight()
public Media setHeightElement(PositiveIntType value)
value - height (Height of the image in pixels (photo/video).). This is the underlying object with id, value and extensions. The accessor "getHeight" gives direct access to the valuepublic int getHeight()
public Media setHeight(int value)
value - Height of the image in pixels (photo/video).public PositiveIntType getWidthElement()
width (Width of the image in pixels (photo/video).). This is the underlying object with id, value and extensions. The accessor "getWidth" gives direct access to the valuepublic boolean hasWidthElement()
public boolean hasWidth()
public Media setWidthElement(PositiveIntType value)
value - width (Width of the image in pixels (photo/video).). This is the underlying object with id, value and extensions. The accessor "getWidth" gives direct access to the valuepublic int getWidth()
public Media setWidth(int value)
value - Width of the image in pixels (photo/video).public PositiveIntType getFramesElement()
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.). This is the underlying object with id, value and extensions. The accessor "getFrames" gives direct access to the valuepublic boolean hasFramesElement()
public boolean hasFrames()
public Media setFramesElement(PositiveIntType value)
value - 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.). This is the underlying object with id, value and extensions. The accessor "getFrames" gives direct access to the valuepublic int getFrames()
public Media setFrames(int value)
value - 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 UnsignedIntType getDurationElement()
duration (The duration of the recording in seconds - for audio and video.). This is the underlying object with id, value and extensions. The accessor "getDuration" gives direct access to the valuepublic boolean hasDurationElement()
public boolean hasDuration()
public Media setDurationElement(UnsignedIntType value)
value - duration (The duration of the recording in seconds - for audio and video.). This is the underlying object with id, value and extensions. The accessor "getDuration" gives direct access to the valuepublic int getDuration()
public Media setDuration(int value)
value - The duration of the recording in seconds - for audio and video.public Attachment getContent()
content (The actual content of the media - inline or by direct reference to the media source file.)public boolean hasContent()
public Media setContent(Attachment value)
value - content (The actual content of the media - inline or by direct reference to the media source file.)public Media copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.