Class AttachmentDt
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype
,ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IDatatype
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
Definition: For referring to data content defined in other formats.
Requirements: Many models need to include data defined in other specifications that is complex and opaque to the healthcare model. This includes documents, media recordings, structured data, etc.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for contentType ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for contentType ().Gets the value(s) for creation ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for creation ().byte[]
getData()
Gets the value(s) for data ().ca.uhn.fhir.model.primitive.Base64BinaryDt
Gets the value(s) for data ().byte[]
getHash()
Gets the value(s) for hash ().ca.uhn.fhir.model.primitive.Base64BinaryDt
Gets the value(s) for hash ().Gets the value(s) for language ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for language ().getSize()
Gets the value(s) for size ().ca.uhn.fhir.model.primitive.UnsignedIntDt
Gets the value(s) for size ().getTitle()
Gets the value(s) for title ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for title ().getUrl()
Gets the value(s) for url ().ca.uhn.fhir.model.primitive.UriDt
Gets the value(s) for url ().boolean
isEmpty()
setContentType
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for contentType ()setContentType
(String theCode) Sets the value for contentType ()setCreation
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for creation ()setCreation
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for creation ()setCreationWithSecondsPrecision
(Date theDate) Sets the value for creation ()setData
(byte[] theBytes) Sets the value for data ()setData
(ca.uhn.fhir.model.primitive.Base64BinaryDt theValue) Sets the value(s) for data ()setHash
(byte[] theBytes) Sets the value for hash ()setHash
(ca.uhn.fhir.model.primitive.Base64BinaryDt theValue) Sets the value(s) for hash ()setLanguage
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for language ()setLanguage
(String theCode) Sets the value for language ()setSize
(int theInteger) Sets the value for size ()setSize
(ca.uhn.fhir.model.primitive.UnsignedIntDt theValue) Sets the value(s) for size ()setTitle
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for title ()Sets the value for title ()setUrl
(ca.uhn.fhir.model.primitive.UriDt theValue) Sets the value(s) for url ()Sets the value for url ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Constructor Details
-
AttachmentDt
public AttachmentDt()Constructor
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getContentTypeElement
Gets the value(s) for contentType (). creating it if it does not exist. Will not returnnull
.Definition: 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
-
getContentType
Gets the value(s) for contentType (). creating it if it does not exist. This method may returnnull
.Definition: 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
Sets the value(s) for contentType ()Definition: 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
Sets the value for contentType ()Definition: 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
-
getLanguageElement
Gets the value(s) for language (). creating it if it does not exist. Will not returnnull
.Definition: The human language of the content. The value can be any valid value according to BCP 47
-
getLanguage
Gets the value(s) for language (). creating it if it does not exist. This method may returnnull
.Definition: The human language of the content. The value can be any valid value according to BCP 47
-
setLanguage
Sets the value(s) for language ()Definition: The human language of the content. The value can be any valid value according to BCP 47
-
setLanguage
Sets the value for language ()Definition: The human language of the content. The value can be any valid value according to BCP 47
-
getDataElement
Gets the value(s) for data (). creating it if it does not exist. Will not returnnull
.Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
-
getData
Gets the value(s) for data (). creating it if it does not exist. This method may returnnull
.Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
-
setData
Sets the value(s) for data ()Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
-
setData
Sets the value for data ()Definition: The actual data of the attachment - a sequence of bytes. In XML, represented using base64
-
getUrlElement
Gets the value(s) for url (). creating it if it does not exist. Will not returnnull
.Definition: An alternative location where the data can be accessed
-
getUrl
Gets the value(s) for url (). creating it if it does not exist. This method may returnnull
.Definition: An alternative location where the data can be accessed
-
setUrl
Sets the value(s) for url ()Definition: An alternative location where the data can be accessed
-
setUrl
Sets the value for url ()Definition: An alternative location where the data can be accessed
-
getSizeElement
Gets the value(s) for size (). creating it if it does not exist. Will not returnnull
.Definition: The number of bytes of data that make up this attachment.
-
getSize
Gets the value(s) for size (). creating it if it does not exist. This method may returnnull
.Definition: The number of bytes of data that make up this attachment.
-
setSize
Sets the value(s) for size ()Definition: The number of bytes of data that make up this attachment.
-
setSize
Sets the value for size ()Definition: The number of bytes of data that make up this attachment.
-
getHashElement
Gets the value(s) for hash (). creating it if it does not exist. Will not returnnull
.Definition: The calculated hash of the data using SHA-1. Represented using base64
-
getHash
Gets the value(s) for hash (). creating it if it does not exist. This method may returnnull
.Definition: The calculated hash of the data using SHA-1. Represented using base64
-
setHash
Sets the value(s) for hash ()Definition: The calculated hash of the data using SHA-1. Represented using base64
-
setHash
Sets the value for hash ()Definition: The calculated hash of the data using SHA-1. Represented using base64
-
getTitleElement
Gets the value(s) for title (). creating it if it does not exist. Will not returnnull
.Definition: A label or set of text to display in place of the data
-
getTitle
Gets the value(s) for title (). creating it if it does not exist. This method may returnnull
.Definition: A label or set of text to display in place of the data
-
setTitle
Sets the value(s) for title ()Definition: A label or set of text to display in place of the data
-
setTitle
Sets the value for title ()Definition: A label or set of text to display in place of the data
-
getCreationElement
Gets the value(s) for creation (). creating it if it does not exist. Will not returnnull
.Definition: The date that the attachment was first created
-
getCreation
Gets the value(s) for creation (). creating it if it does not exist. This method may returnnull
.Definition: The date that the attachment was first created
-
setCreation
Sets the value(s) for creation ()Definition: The date that the attachment was first created
-
setCreationWithSecondsPrecision
Sets the value for creation ()Definition: The date that the attachment was first created
-
setCreation
public AttachmentDt setCreation(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for creation ()Definition: The date that the attachment was first created
-