Package org.hl7.fhir.dstu2016may.model
Class ImagingExcerpt.StudyViewableComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.BackboneElement
-
- org.hl7.fhir.dstu2016may.model.ImagingExcerpt.StudyViewableComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- ImagingExcerpt
public static class ImagingExcerpt.StudyViewableComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeTypecontentTypeIdentifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data.protected UnsignedIntTypedurationThe duration of the recording in seconds - for audio and video.protected PositiveIntTypeframesThe number of frames in a photo.protected PositiveIntTypeheightHeight of the image in pixels (photo/video).protected UnsignedIntTypesizeThe number of bytes of data that make up this attachment.protected StringTypetitleA label or set of text to display in place of the data.protected UriTypeurlA location where the data can be accessed.protected PositiveIntTypewidthWidth of the image in pixels (photo/video).-
Fields inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description StudyViewableComponent()ConstructorStudyViewableComponent(CodeType contentType, UriType url)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, 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, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
contentType
protected CodeType contentType
Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
-
height
protected PositiveIntType height
Height of the image in pixels (photo/video).
-
width
protected PositiveIntType width
Width of the image in pixels (photo/video).
-
frames
protected PositiveIntType 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.
-
duration
protected UnsignedIntType duration
The duration of the recording in seconds - for audio and video.
-
size
protected UnsignedIntType size
The number of bytes of data that make up this attachment.
-
title
protected StringType title
A label or set of text to display in place of the data.
-
-
Constructor Detail
-
StudyViewableComponent
public StudyViewableComponent()
Constructor
-
StudyViewableComponent
public StudyViewableComponent(CodeType contentType, UriType url)
Constructor
-
-
Method Detail
-
getContentTypeElement
public CodeType getContentTypeElement()
- Returns:
contentType(Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
hasContentTypeElement
public boolean hasContentTypeElement()
-
hasContentType
public boolean hasContentType()
-
setContentTypeElement
public ImagingExcerpt.StudyViewableComponent setContentTypeElement(CodeType value)
- Parameters:
value-contentType(Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.). This is the underlying object with id, value and extensions. The accessor "getContentType" gives direct access to the value
-
getContentType
public String getContentType()
- Returns:
- Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
-
setContentType
public ImagingExcerpt.StudyViewableComponent setContentType(String value)
- Parameters:
value- Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.
-
getHeightElement
public PositiveIntType getHeightElement()
- Returns:
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 value
-
hasHeightElement
public boolean hasHeightElement()
-
hasHeight
public boolean hasHeight()
-
setHeightElement
public ImagingExcerpt.StudyViewableComponent setHeightElement(PositiveIntType value)
- Parameters:
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 value
-
getHeight
public int getHeight()
- Returns:
- Height of the image in pixels (photo/video).
-
setHeight
public ImagingExcerpt.StudyViewableComponent setHeight(int value)
- Parameters:
value- Height of the image in pixels (photo/video).
-
getWidthElement
public PositiveIntType getWidthElement()
- Returns:
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 value
-
hasWidthElement
public boolean hasWidthElement()
-
hasWidth
public boolean hasWidth()
-
setWidthElement
public ImagingExcerpt.StudyViewableComponent setWidthElement(PositiveIntType value)
- Parameters:
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 value
-
getWidth
public int getWidth()
- Returns:
- Width of the image in pixels (photo/video).
-
setWidth
public ImagingExcerpt.StudyViewableComponent setWidth(int value)
- Parameters:
value- Width of the image in pixels (photo/video).
-
getFramesElement
public PositiveIntType getFramesElement()
- Returns:
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.). This is the underlying object with id, value and extensions. The accessor "getFrames" gives direct access to the value
-
hasFramesElement
public boolean hasFramesElement()
-
hasFrames
public boolean hasFrames()
-
setFramesElement
public ImagingExcerpt.StudyViewableComponent setFramesElement(PositiveIntType value)
- Parameters:
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.). This is the underlying object with id, value and extensions. The accessor "getFrames" gives direct access to the value
-
getFrames
public int getFrames()
- Returns:
- 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.
-
setFrames
public ImagingExcerpt.StudyViewableComponent setFrames(int value)
- Parameters:
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.
-
getDurationElement
public UnsignedIntType getDurationElement()
- Returns:
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 value
-
hasDurationElement
public boolean hasDurationElement()
-
hasDuration
public boolean hasDuration()
-
setDurationElement
public ImagingExcerpt.StudyViewableComponent setDurationElement(UnsignedIntType value)
- Parameters:
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 value
-
getDuration
public int getDuration()
- Returns:
- The duration of the recording in seconds - for audio and video.
-
setDuration
public ImagingExcerpt.StudyViewableComponent setDuration(int value)
- Parameters:
value- The duration of the recording in seconds - for audio and video.
-
getSizeElement
public UnsignedIntType getSizeElement()
- Returns:
size(The number of bytes of data that make up this attachment.). This is the underlying object with id, value and extensions. The accessor "getSize" gives direct access to the value
-
hasSizeElement
public boolean hasSizeElement()
-
hasSize
public boolean hasSize()
-
setSizeElement
public ImagingExcerpt.StudyViewableComponent setSizeElement(UnsignedIntType value)
- Parameters:
value-size(The number of bytes of data that make up this attachment.). This is the underlying object with id, value and extensions. The accessor "getSize" gives direct access to the value
-
getSize
public int getSize()
- Returns:
- The number of bytes of data that make up this attachment.
-
setSize
public ImagingExcerpt.StudyViewableComponent setSize(int value)
- Parameters:
value- The number of bytes of data that make up this attachment.
-
getTitleElement
public StringType getTitleElement()
- Returns:
title(A label or set of text to display in place of the data.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
hasTitleElement
public boolean hasTitleElement()
-
hasTitle
public boolean hasTitle()
-
setTitleElement
public ImagingExcerpt.StudyViewableComponent setTitleElement(StringType value)
- Parameters:
value-title(A label or set of text to display in place of the data.). This is the underlying object with id, value and extensions. The accessor "getTitle" gives direct access to the value
-
setTitle
public ImagingExcerpt.StudyViewableComponent setTitle(String value)
- Parameters:
value- A label or set of text to display in place of the data.
-
getUrlElement
public UriType getUrlElement()
- Returns:
url(A location where the data can be accessed.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
hasUrlElement
public boolean hasUrlElement()
-
hasUrl
public boolean hasUrl()
-
setUrlElement
public ImagingExcerpt.StudyViewableComponent setUrlElement(UriType value)
- Parameters:
value-url(A location where the data can be accessed.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the value
-
setUrl
public ImagingExcerpt.StudyViewableComponent setUrl(String value)
- Parameters:
value- A location where the data can be accessed.
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classBackboneElement- Returns:
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ImagingExcerpt.StudyViewableComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-