Class SignatureDt
- 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: A digital signature along with supporting context. The signature may be electronic/cryptographic in nature, or a graphical image representing a hand-written signature, or a signature process. Different Signature approaches have different utilities
Requirements: There are a number of places where content must be signed in healthcare
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddType()
Adds and returns a new value for type ()Adds a given new value for type ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) byte[]
getBlob()
Gets the value(s) for blob ().ca.uhn.fhir.model.primitive.Base64BinaryDt
Gets the value(s) for blob ().Gets the value(s) for contentType ().ca.uhn.fhir.model.primitive.CodeDt
Gets the value(s) for contentType ().getType()
Gets the value(s) for type ().Gets the first repetition for type (), creating it if it does not already exist.getWhen()
Gets the value(s) for when ().ca.uhn.fhir.model.primitive.InstantDt
Gets the value(s) for when ().ca.uhn.fhir.model.api.IDatatype
getWho()
Gets the value(s) for who[x] ().boolean
isEmpty()
setBlob
(byte[] theBytes) Sets the value for blob ()setBlob
(ca.uhn.fhir.model.primitive.Base64BinaryDt theValue) Sets the value(s) for blob ()setContentType
(ca.uhn.fhir.model.primitive.CodeDt theValue) Sets the value(s) for contentType ()setContentType
(String theCode) Sets the value for contentType ()Sets the value(s) for type ()setWhen
(ca.uhn.fhir.model.primitive.InstantDt theValue) Sets the value(s) for when ()Sets the value for when ()setWhenWithMillisPrecision
(Date theDate) Sets the value for when ()setWho
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for who[x] ()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
-
SignatureDt
public SignatureDt()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
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
-
setType
Sets the value(s) for type ()Definition: An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
-
addType
Adds and returns a new value for type ()Definition: An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
-
addType
Adds a given new value for type ()Definition: An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
- Parameters:
theValue
- The type to add (must not benull
)
-
getTypeFirstRep
Gets the first repetition for type (), creating it if it does not already exist.Definition: An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document.
-
getWhenElement
Gets the value(s) for when (). creating it if it does not exist. Will not returnnull
.Definition: When the digital signature was signed.
-
getWhen
Gets the value(s) for when (). creating it if it does not exist. This method may returnnull
.Definition: When the digital signature was signed.
-
setWhen
Sets the value(s) for when ()Definition: When the digital signature was signed.
-
setWhenWithMillisPrecision
Sets the value for when ()Definition: When the digital signature was signed.
-
setWhen
Sets the value for when ()Definition: When the digital signature was signed.
-
getWho
Gets the value(s) for who[x] (). creating it if it does not exist. Will not returnnull
.Definition: A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key)
-
setWho
Sets the value(s) for who[x] ()Definition: A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key)
-
getContentTypeElement
Gets the value(s) for contentType (). creating it if it does not exist. Will not returnnull
.Definition: A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature
-
getContentType
Gets the value(s) for contentType (). creating it if it does not exist. This method may returnnull
.Definition: A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature
-
setContentType
Sets the value(s) for contentType ()Definition: A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature
-
setContentType
Sets the value for contentType ()Definition: A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jwt for JWT, and image/* for a graphical image of a signature
-
getBlobElement
Gets the value(s) for blob (). creating it if it does not exist. Will not returnnull
.Definition: The base64 encoding of the Signature content
-
getBlob
Gets the value(s) for blob (). creating it if it does not exist. This method may returnnull
.Definition: The base64 encoding of the Signature content
-
setBlob
Sets the value(s) for blob ()Definition: The base64 encoding of the Signature content
-
setBlob
Sets the value for blob ()Definition: The base64 encoding of the Signature content
-