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 |
|---|---|
protected Attachment |
content
The actual content of the media - inline or by direct reference to the media source file.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
protected StringType |
deviceName
The name of the device / manufacturer of the device that was used to make the recording.
|
protected UnsignedIntType |
duration
The duration of the recording in seconds - for audio and video.
|
protected PositiveIntType |
frames
The number of frames in a photo.
|
protected PositiveIntType |
height
Height of the image in pixels (photo/video).
|
protected List<Identifier> |
identifier
Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_OPERATOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected Reference |
operator
The person who administered the collection of the image.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
OPERATOR
Fluent Client search parameter constant for operator
|
protected Practitioner |
operatorTarget
The actual object that is the target of the reference (The person who administered the collection of the image.)
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_CREATED
Search parameter: created
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_OPERATOR
Search parameter: operator
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_SUBJECT
Search parameter: subject
|
static String |
SP_SUBTYPE
Search parameter: subtype
|
static String |
SP_TYPE
Search parameter: type
|
static String |
SP_VIEW
Search parameter: view
|
protected Reference |
subject
Who/What this Media is a record of.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Who/What this Media is a record of.)
|
protected CodeableConcept |
subtype
Details of the type of the media - usually, how it was acquired (what type of device).
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
SUBTYPE
Fluent Client search parameter constant for subtype
|
protected Enumeration<Media.DigitalMediaType> |
type
Whether the media is a photo (still image), an audio recording, or a video recording.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TYPE
Fluent Client search parameter constant for type
|
protected CodeableConcept |
view
The name of the imaging view e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
VIEW
Fluent Client search parameter constant for view
|
protected PositiveIntType |
width
Width of the image in pixels (photo/video).
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Media()
Constructor
|
Media(Enumeration<Media.DigitalMediaType> type,
Attachment content)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, 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, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<Media.DigitalMediaType> type
protected CodeableConcept subtype
protected CodeableConcept view
protected Resource subjectTarget
protected Practitioner operatorTarget
protected StringType deviceName
protected PositiveIntType height
protected PositiveIntType width
protected PositiveIntType frames
protected UnsignedIntType duration
protected Attachment content
public static final String SP_PATIENT
Description: Who/What this Media is a record of
Type: reference
Path: Media.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Who/What this Media is a record of
Type: reference
Path: Media.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_CREATED
Description: Date attachment was first created
Type: date
Path: Media.content.creation
public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED
Description: Date attachment was first created
Type: date
Path: Media.content.creation
public static final String SP_SUBJECT
Description: Who/What this Media is a record of
Type: reference
Path: Media.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Who/What this Media is a record of
Type: reference
Path: Media.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_SUBTYPE
Description: The type of acquisition equipment/process
Type: token
Path: Media.subtype
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBTYPE
Description: The type of acquisition equipment/process
Type: token
Path: Media.subtype
public static final String SP_VIEW
Description: Imaging view, e.g. Lateral or Antero-posterior
Type: token
Path: Media.view
public static final ca.uhn.fhir.rest.gclient.TokenClientParam VIEW
Description: Imaging view, e.g. Lateral or Antero-posterior
Type: token
Path: Media.view
public static final String SP_TYPE
Description: photo | video | audio
Type: token
Path: Media.type
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Description: photo | video | audio
Type: token
Path: Media.type
public static final String SP_IDENTIFIER
Description: Identifier(s) for the image
Type: token
Path: Media.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Identifier(s) for the image
Type: token
Path: Media.identifier
public static final String SP_OPERATOR
Description: The person who generated the image
Type: reference
Path: Media.operator
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam OPERATOR
Description: The person who generated the image
Type: reference
Path: Media.operator
public static final ca.uhn.fhir.model.api.Include INCLUDE_OPERATOR
public Media()
public Media(Enumeration<Media.DigitalMediaType> type, Attachment content)
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 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 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 Reference getSubject()
subject (Who/What this Media is a record of.)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 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.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.