Class ConsentModule
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.ConsentModule
- 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 ConsentModule
extends org.hl7.fhir.r4.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
FHIR Datatype to hold gICS-Module 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 ConsentModule, using default version "1.0" -
Method Summary
Modifier and TypeMethodDescriptionadd new AssignedConsentPolicy to list of AssignedConsentPolicy and invoke update of internal fhir reference listboolean
List<org.hl7.fhir.r4.model.Type>
get current list of assigned Modules as ArrayListReturn the creation dateget Name of assigned consent domainget externProperties of consent moduleget comment to describe purpose of consent moduleget consent module finalized statusget label of consent moduleget Name of consent moduleget shorttext of consent moduleget text of consent module to be used as label etc.get title of consent module to be used as label etc.get version of consent moduleint
hashCode()
boolean
isEmpty()
setAssignedPolicies
(List<org.hl7.fhir.r4.model.Type> listOfPolicies) set list of AssignedConsentPolicies and update respective fhir list of referencessetAssignedPoliciesFromKeyString
(List<String> policyKeyStrings) setCreationDate
(Date creationDate) Set the creation datesetDomainName
(String domainName) set name of assigned consent domainsetExternProperties
(String externProperties) set externProperties of consent module with 0-n properties separated by semicolonsetModuleComment
(String comment) set comment to describe purpose of consent modulesetModuleFinalized
(Boolean finalstate) set consent module finalized statussetModuleLabel
(String label) set label of consent modulesetModuleName
(String name) set Name of consent modulesetModuleShortText
(String shorttext) set shorttext of consent module to be used as displayed contentsetModuleText
(String text) set text of consent module to be used as displayed contentsetModuleTitle
(String title) set title of consent module to be used as label etc.setModuleVersion
(String version) set version of consent moduleget module Key as 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
-
ConsentModule
public ConsentModule()create new instance of ConsentModule, using default version "1.0"
-
-
Method Details
-
getModuleVersion
get version of consent module- Returns:
- version of consent module
-
setModuleVersion
set version of consent module- Parameters:
version
- version of consent module- Returns:
- instance of ConsentModule
-
getModuleFinalized
get consent module finalized status- Returns:
- module finalized status
-
setModuleFinalized
set consent module finalized status- Parameters:
finalstate
- finalized status module finalized status- Returns:
- instance of consent module
-
getAssignedPolicies
get current list of assigned Modules as ArrayList- Returns:
- list of assigned modules as ArrayList
-
getDeprecatedPolicyKeys
- Returns:
- list of deprecatedPolicy Keys
-
setAssignedPolicies
set list of AssignedConsentPolicies and update respective fhir list of references- Parameters:
listOfPolicies
- list of AssignedConsentPolicies for this consent module- Returns:
- current instance of ConsentModule
-
setAssignedPoliciesFromKeyString
-
addAssignedPolicy
add new AssignedConsentPolicy to list of AssignedConsentPolicy and invoke update of internal fhir reference list- Parameters:
item
- AssignedConsentPolicy item to be added- Returns:
- current instance of ConsentModule
-
getModuleLabel
get label of consent module- Returns:
- label of consent module
-
setModuleLabel
set label of consent module- Parameters:
label
- label of consent module- Returns:
- instance of ConsentModule
-
getModuleName
get Name of consent module- Returns:
- Name of consent module
-
setModuleName
set Name of consent module- Parameters:
name
- Name of consent module- Returns:
- instance of ConsentModule
-
getDomainName
get Name of assigned consent domain- Returns:
- name of assigned consent domain
-
setDomainName
set name of assigned consent domain- Parameters:
domainName
- name of assigned consent domain- Returns:
- instance of ConsentModule
-
getModuleComment
get comment to describe purpose of consent module- Returns:
- comment to describe purpose of consent module
-
setModuleComment
set comment to describe purpose of consent module- Parameters:
comment
- comment to describe purpose of consent module- Returns:
- instance of ConsentModule
-
getModuleTitle
get title of consent module to be used as label etc.- Returns:
- title of consent module
-
setModuleTitle
set title of consent module to be used as label etc.- Parameters:
title
- title of consent module to be used as label etc.- Returns:
- instance of ConsentModule
-
getModuleShortText
get shorttext of consent module- Returns:
- shorttext of consent module
-
setModuleShortText
set shorttext of consent module to be used as displayed content- Parameters:
shorttext
- shorttext of consent module to be used as displayed content- Returns:
- instance of ConsentModule
-
getModuleText
get text of consent module to be used as label etc.- Returns:
- text of consent module to be used as displayed content
-
setModuleText
set text of consent module to be used as displayed content- Parameters:
text
- text of consent module to be used as displayed content- Returns:
- instance of ConsentModule
-
getExternProperties
get externProperties of consent module- Returns:
- externProperties of consent module
-
setExternProperties
set externProperties of consent module with 0-n properties separated by semicolon- Parameters:
externProperties
- externProperties of consent module- Returns:
- instance of ConsentModule
-
getCreationDate
Return the creation date- Returns:
- the creation date
-
setCreationDate
Set the creation date- Parameters:
creationDate
- the creation date
-
toKeyString
get module Key as String separated with semicolon e.g. "domain;module name;module version" -
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
-