Class ConsentDomain
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.Type
org.emau.icmvc.magic.fhir.datatypes.ConsentDomain
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.IBaseElement
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.ICompositeType
public class ConsentDomain
extends org.hl7.fhir.r4.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
FHIR Datatype to hold gICS-Domain specific information
- Author:
- bialkem mosaic-greifswald.de
- See Also:
-
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.Element
extension, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddSignerIdType
(String idType) add signer id type for consent domainboolean
get comment to describe purpose of consent domainget consent Template Java Version ConverterReturn the creation dateget expirationProperties of consent domainget externProperties of consent domainget consent domain finalized statusgetLabel()
get label for consent domainbyte[]
getLogo()
get domain logo as base64 encoded stream of bytesget consent module Java Version ConvertergetName()
get consent domain nameget consent policy Java Version Converterget properties of consent domainget list of signedidtypes to be associated with consent information within the consent domainint
hashCode()
boolean
isEmpty()
removeSignerIdType
(String idType) remove signed id typesetComment
(String domainComment) set comment to describe purpose of consent domainsetConsentTemplateVersionConverter
(String consentTemplateVersionConverter) set consent template Java Version ConvertersetCreationDate
(Date creationDate) Set the creation datesetExpirationProperties
(String expirationProperties) set expirationProperties of assigned modulesetExternProperties
(String externProperties) set externProperties of consent domain with 0-n properties separated by semicolon e.g.setFinalized
(Boolean finalstate) set consent domain finalized statusset label for the consent domainsetLogo
(byte[] domainLogo) set domain logo as base64 encoded stream of bytessetModuleVersionConverter
(String moduleVersionConverter) set consent module Java Version Converterset consent domain namesetPolicyVersionConverter
(String policyVersionConverter) set consent policy Java Version ConvertersetProperties
(String properties) set properties of consent domain with 0-n properties separated by semicolon e.g.setSignerIdTypes
(List<String> domainSignerIdTypes) set signedidtypes to be associated with consent information within the consent domaintoString()
protected org.hl7.fhir.r4.model.Type
Methods inherited from class org.hl7.fhir.r4.model.Type
copy
Methods inherited from class org.hl7.fhir.r4.model.Element
addChild, addExtension, addExtension, addExtension, copyValues, equalsDeep, equalsShallow, fhirType, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getNamedProperty, getProperty, getTypesForProperty, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, listChildren, makeProperty, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setProperty, setProperty
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Constructor Details
-
ConsentDomain
public ConsentDomain()create new instance of ConsentDomain
-
-
Method Details
-
getName
get consent domain name- Returns:
- domain name
-
setName
set consent domain name- Parameters:
domainName
- name of domain- Returns:
- instance of consent domain
-
getFinalized
get consent domain finalized status- Returns:
- domain finalized status
-
setFinalized
set consent domain finalized status- Parameters:
finalstate
- finalized status domain finalized status- Returns:
- instance of consent domain
-
getLabel
get label for consent domain- Returns:
- label of consent domain
-
setLabel
set label for the consent domain- Parameters:
domainLabel
- label for the consent domain- Returns:
- instance of ConsentDomain
-
getComment
get comment to describe purpose of consent domain- Returns:
- comment to describe purpose of consent domain
-
setComment
set comment to describe purpose of consent domain- Parameters:
domainComment
- comment to describe purpose of consent domain- Returns:
- instance of consent domain
-
getSignerIdTypes
get list of signedidtypes to be associated with consent information within the consent domain- Returns:
- list of signedidtypes (semicolon separated) to be associated with consent information within the consent domain
-
setSignerIdTypes
set signedidtypes to be associated with consent information within the consent domain- Parameters:
domainSignerIdTypes
- list of signed id types (semicolon separated) to be associated with consent information within the consent domain- Returns:
- instance of consent domain
-
addSignerIdType
add signer id type for consent domain- Parameters:
idType
- signer id type (feel free to define) to be added to domain- Returns:
- instance of ConsentDomain
-
removeSignerIdType
remove signed id type- Parameters:
idType
- signer id type to be removed from consent domain- Returns:
- instance of ConsentDomain
-
getConsentTemplateVersionConverter
get consent Template Java Version Converter- Returns:
- consent template Java Version Converter
-
setConsentTemplateVersionConverter
set consent template Java Version Converter- Parameters:
consentTemplateVersionConverter
- consent template Java Version Converter- Returns:
- instance of consent domain
-
getModuleVersionConverter
get consent module Java Version Converter- Returns:
- consent module Java Version Converter
-
setModuleVersionConverter
set consent module Java Version Converter- Parameters:
moduleVersionConverter
- consent module Java Version Converter- Returns:
- instance of consent domain
-
getPolicyVersionConverter
get consent policy Java Version Converter- Returns:
- consent policy Java Version Converter
-
setPolicyVersionConverter
set consent policy Java Version Converter- Parameters:
policyVersionConverter
- consent policy Java Version Converter- Returns:
- instance of consent domain
-
getLogo
public byte[] getLogo()get domain logo as base64 encoded stream of bytes- Returns:
- domain logo as base64 encoded stream of bytes
-
setLogo
set domain logo as base64 encoded stream of bytes- Parameters:
domainLogo
- as base64 encoded stream of bytes- Returns:
- instance of consent domain
-
getProperties
get properties of consent domain- Returns:
- properties of consent domain
-
setProperties
set properties of consent domain with 0-n properties separated by semicolon e.g. validity_period=p1y- Parameters:
properties
- properties of consent domain- Returns:
- instance of ConsentDomain
-
getExternProperties
get externProperties of consent domain- Returns:
- externProperties of consent domain
-
setExternProperties
set externProperties of consent domain with 0-n properties separated by semicolon e.g. validity_period=p1y- Parameters:
externProperties
- externProperties of consent domain- Returns:
- instance of ConsentDomain
-
getExpirationProperties
get expirationProperties of consent domain- Returns:
- expirationProperties of consent domain
-
setExpirationProperties
set expirationProperties of assigned module- Parameters:
expirationProperties
- expirationProperties of consent domain- Returns:
- instance of consent domain
-
getCreationDate
Return the creation date- Returns:
- the creation date
-
setCreationDate
Set the creation date- Parameters:
creationDate
- the creation date
-
hashCode
public int hashCode() -
equals
-
toString
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classorg.hl7.fhir.r4.model.Element
-
typedCopy
protected org.hl7.fhir.r4.model.Type typedCopy()- Specified by:
typedCopy
in classorg.hl7.fhir.r4.model.Type
-