Class ConsentPolicy
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.ConsentPolicy
- 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 ConsentPolicy
extends org.hl7.fhir.r4.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
FHIR Datatype to hold gICS-Policy 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
ConstructorDescriptioncreate new instance of ConsentPolicy, using key value default version "1.0" -
Method Summary
Modifier and TypeMethodDescriptionboolean
get comment to describe purpose of consent policyReturn the creation dateget Name of assigned consent domainget externProperties of consent policyget consent policy finalized statusgetLabel()
get Label of consent policygetName()
get Name of consent policyget version of consent policyint
hashCode()
boolean
isEmpty()
setComment
(String policycomment) set comment to describe purpose of consent policysetCreationDate
(Date creationDate) Set the creation datesetDomainName
(String policyDomainName) set name of assigned consent domainsetExternProperties
(String externProperties) set externProperties of consent policy with 0-n properties separated by semicolon e.g.setFinalized
(Boolean finalstate) set consent policy finalized statusset Label of consent policyset Name of consent policysetVersion
(String policyversion) set version of consent policyget policies Key String separated with semicolon e.g.toString()
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
-
ConsentPolicy
public ConsentPolicy()create new instance of ConsentPolicy, using key value default version "1.0"
-
-
Method Details
-
getVersion
get version of consent policy- Returns:
- version of consent policy
-
setVersion
set version of consent policy- Parameters:
policyversion
- version of consent policy
-
getName
get Name of consent policy- Returns:
- Name of consent policy
-
setName
set Name of consent policy- Parameters:
policyname
- Name of consent policy
-
getFinalized
get consent policy finalized status- Returns:
- policy finalized status
-
setFinalized
set consent policy finalized status- Parameters:
finalstate
- finalized status policy finalized status- Returns:
- instance of consent policy
-
getLabel
get Label of consent policy- Returns:
- Label of consent policy
-
setLabel
set Label of consent policy- Parameters:
policyLabel
- Label of consent policy
-
getDomainName
get Name of assigned consent domain- Returns:
- name of assigned consent domain
-
setDomainName
set name of assigned consent domain- Parameters:
policyDomainName
- name of assigned consent domain
-
getComment
get comment to describe purpose of consent policy- Returns:
- comment to describe purpose of consent policy
-
setComment
set comment to describe purpose of consent policy- Parameters:
policycomment
- comment to describe purpose of consent policy
-
getExternProperties
get externProperties of consent policy- Returns:
- externProperties of consent policy
-
setExternProperties
set externProperties of consent policy with 0-n properties separated by semicolon e.g. validity_period=p1y- Parameters:
externProperties
- externProperties of consent policy- Returns:
- instance of ConsentPolicy
-
getCreationDate
Return the creation date- Returns:
- the creation date
-
setCreationDate
Set the creation date- Parameters:
creationDate
- the creation date
-
toKeyString
get policies Key String separated with semicolon e.g. "domain;policyname;policyversion" -
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
-