public class SignatureDt extends BaseIdentifiableElement implements ICompositeDatatype
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
| Constructor and Description |
|---|
SignatureDt()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CodingDt |
addType()
Adds and returns a new value for type ()
|
SignatureDt |
addType(CodingDt theValue)
Adds a given new value for type ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
byte[] |
getBlob()
Gets the value(s) for blob ().
|
Base64BinaryDt |
getBlobElement()
Gets the value(s) for blob ().
|
String |
getContentType()
Gets the value(s) for contentType ().
|
CodeDt |
getContentTypeElement()
Gets the value(s) for contentType ().
|
List<CodingDt> |
getType()
Gets the value(s) for type ().
|
CodingDt |
getTypeFirstRep()
Gets the first repetition for type (),
creating it if it does not already exist.
|
Date |
getWhen()
Gets the value(s) for when ().
|
InstantDt |
getWhenElement()
Gets the value(s) for when ().
|
IDatatype |
getWho()
Gets the value(s) for who[x] ().
|
boolean |
isEmpty() |
SignatureDt |
setBlob(Base64BinaryDt theValue)
Sets the value(s) for blob ()
|
SignatureDt |
setBlob(byte[] theBytes)
Sets the value for blob ()
|
SignatureDt |
setContentType(CodeDt theValue)
Sets the value(s) for contentType ()
|
SignatureDt |
setContentType(String theCode)
Sets the value for contentType ()
|
SignatureDt |
setType(List<CodingDt> theValue)
Sets the value(s) for type ()
|
SignatureDt |
setWhen(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for when ()
|
SignatureDt |
setWhen(InstantDt theValue)
Sets the value(s) for when ()
|
SignatureDt |
setWhenWithMillisPrecision(Date theDate)
Sets the value for when ()
|
SignatureDt |
setWho(IDatatype theValue)
Sets the value(s) for who[x] ()
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic SignatureDt()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<CodingDt> getType()
null.
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.
public SignatureDt setType(List<CodingDt> theValue)
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.
public CodingDt addType()
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.
public SignatureDt addType(CodingDt theValue)
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.
theValue - The type to add (must not be null)public CodingDt getTypeFirstRep()
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.
public InstantDt getWhenElement()
null.
Definition: When the digital signature was signed.
public Date getWhen()
null.
Definition: When the digital signature was signed.
public SignatureDt setWhen(InstantDt theValue)
Definition: When the digital signature was signed.
public SignatureDt setWhenWithMillisPrecision(Date theDate)
Definition: When the digital signature was signed.
public SignatureDt setWhen(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: When the digital signature was signed.
public IDatatype getWho()
null.
Definition: A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key)
public SignatureDt setWho(IDatatype theValue)
Definition: A reference to an application-usable description of the person that signed the certificate (e.g. the signature used their private key)
public CodeDt getContentTypeElement()
null.
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
public String getContentType()
null.
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
public SignatureDt setContentType(CodeDt theValue)
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
public SignatureDt setContentType(String theCode)
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
public Base64BinaryDt getBlobElement()
null.
Definition: The base64 encoding of the Signature content
public byte[] getBlob()
null.
Definition: The base64 encoding of the Signature content
public SignatureDt setBlob(Base64BinaryDt theValue)
Definition: The base64 encoding of the Signature content
public SignatureDt setBlob(byte[] theBytes)
Definition: The base64 encoding of the Signature content
Copyright © 2014–2016 University Health Network. All rights reserved.