Class AssignedConsentModule
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.AssignedConsentModule
- 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 AssignedConsentModule
extends org.hl7.fhir.r4.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
FHIR Datatype to hold assigned module specific information for templates
- Author:
- bialkem
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
internal enumeration to differentiate types of patient consent status internal use only -
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.Element
extension, id
-
Constructor Summary
ConstructorDescriptionAssignedConsentModule
(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule) create new instance of AssignedConsentModule using only obligatory parametersAssignedConsentModule
(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber) create new instance of AssignedConsentModule using additional parametersAssignedConsentModule
(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber, String externProperties) create new instance of AssignedConsentModule using additional parametersAssignedConsentModule
(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber, String externProperties, String expirationProperties) create new instance of AssignedConsentModule using additional parameters -
Method Summary
Modifier and TypeMethodDescriptionboolean
get comment to describe purpose of AssignedConsentModuleget defaultConsentStatus of AssignedConsentModuleget list of check box values of type PatientConsentStatus of AssignedConsentModuleget list of check box values of type PatientConsentStatus of AssignedConsentModule as stringget expirationProperties of assigned moduleget externProperties of assigned moduleget mandatory state of AssignedConsentModuleget module reference as semicolon separated stringget orderNumber of AssignedConsentModuleint
hashCode()
boolean
isEmpty()
setComment
(String moduleComment) set comment to describe purpose of AssignedConsentModuleset defaultConsentStatus of AssignedConsentModulesetDisplayCheckBoxes
(List<AssignedConsentModule.PatientConsentStatus> toBeDisplayedCheckBoxes) set list of check box values of type PatientConsentStatus of AssignedConsentModulesetExpirationProperties
(String expirationProperties) set expirationProperties of assigned modulesetExternProperties
(String externProperties) set externProperties of assigned module with 0-n properties separated by semicolon e.g.setMandatory
(Boolean mandatory) set mandatory state of AssignedConsentModulesetModuleKey
(String consentmodulekey) setmodule reference as semicolon separated stringsetOrderNumber
(Integer moduleOrdNo) set orderNumber of AssignedConsentModuletoString()
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
-
AssignedConsentModule
public AssignedConsentModule() -
AssignedConsentModule
public AssignedConsentModule(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule) create new instance of AssignedConsentModule using only obligatory parameters- Parameters:
moduleKey
- module reference as semicolon separated stringdisplayCheckBoxes
- list of to be displayed checkbox values for patient consent statusdefaultConsentStatus
- to be used default patient consent status for this modulemandatoryModule
- true if acceptance of this module should be mandatory for the consent template
-
AssignedConsentModule
public AssignedConsentModule(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber, String externProperties, String expirationProperties) create new instance of AssignedConsentModule using additional parameters- Parameters:
moduleKey
- module reference as semicolon separated stringdisplayCheckBoxes
- list of to be displayed checkbox values for patient consent statusdefaultConsentStatus
- to be used default patient consent status for this modulemandatoryModule
- true if acceptance of this module should be mandatory for the consent templatecomment
- commentorderNumber
- ordernumber to change order of modules in template (future use)externProperties
- externProperties for assigned moduleexpirationProperties
- expirationProperties for assigned module
-
AssignedConsentModule
public AssignedConsentModule(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber, String externProperties) create new instance of AssignedConsentModule using additional parameters- Parameters:
moduleKey
- module reference as semicolon separated stringdisplayCheckBoxes
- list of to be displayed checkbox values for patient consent statusdefaultConsentStatus
- to be used default patient consent status for this modulemandatoryModule
- true if acceptance of this module should be mandatory for the consent templatecomment
- commentorderNumber
- ordernumber to change order of modules in template (future use)externProperties
- externProperties for assigned module
-
AssignedConsentModule
public AssignedConsentModule(String moduleKey, List<AssignedConsentModule.PatientConsentStatus> displayCheckBoxes, AssignedConsentModule.PatientConsentStatus defaultConsentStatus, Boolean mandatoryModule, String comment, Integer orderNumber) create new instance of AssignedConsentModule using additional parameters- Parameters:
moduleKey
- module reference as semicolon separated stringdisplayCheckBoxes
- list of to be displayed checkbox values for patient consent statusdefaultConsentStatus
- to be used default patient consent status for this modulemandatoryModule
- true if acceptance of this module should be mandatory for the consent templatecomment
- commentorderNumber
- ordernumber to change order of modules in template (future use)
-
-
Method Details
-
getMandatory
get mandatory state of AssignedConsentModule- Returns:
- mandatory state of AssignedConsentModule
-
setMandatory
set mandatory state of AssignedConsentModule- Parameters:
mandatory
- required state of AssignedConsentModule- Returns:
- instance of AssignedConsentModule
-
getComment
get comment to describe purpose of AssignedConsentModule- Returns:
- comment to describe purpose of AssignedConsentModule
-
setComment
set comment to describe purpose of AssignedConsentModule- Parameters:
moduleComment
- comment to describe purpose of AssignedConsentModule- Returns:
- instance of AssignedConsentModule
-
getModuleKey
get module reference as semicolon separated string- Returns:
- referenced module key
-
setModuleKey
setmodule reference as semicolon separated string- Parameters:
consentmodulekey
- referenced module to be assigned to template, as semicolon separated string- Returns:
- instance of AssignedConsentModule
-
getDefaultConsentStatus
get defaultConsentStatus of AssignedConsentModule- Returns:
- defaultConsentStatus of AssignedConsentModule
-
setDefaultConsentStatus
public AssignedConsentModule setDefaultConsentStatus(AssignedConsentModule.PatientConsentStatus defaultState) set defaultConsentStatus of AssignedConsentModule- Parameters:
defaultState
- defaultConsentStatus of AssignedConsentModule- Returns:
- instance of AssignedConsentModule
-
getOrderNumber
get orderNumber of AssignedConsentModule- Returns:
- orderNumber of AssignedConsentModule
-
setOrderNumber
set orderNumber of AssignedConsentModule- Parameters:
moduleOrdNo
- orderNumber of AssignedConsentModule- Returns:
- instance of AssignedConsentModule
-
getDisplayCheckBoxes
get list of check box values of type PatientConsentStatus of AssignedConsentModule- Returns:
- assigned checkbox values of this AssignedConsentModule
-
getDisplayCheckBoxesAsString
get list of check box values of type PatientConsentStatus of AssignedConsentModule as string- Returns:
- assigned checkbox values of this AssignedConsentModule as string
-
setDisplayCheckBoxes
public AssignedConsentModule setDisplayCheckBoxes(List<AssignedConsentModule.PatientConsentStatus> toBeDisplayedCheckBoxes) set list of check box values of type PatientConsentStatus of AssignedConsentModule- Parameters:
toBeDisplayedCheckBoxes
- list of displayCheckBoxes for AssignedConsentModule- Returns:
- instance of AssignedConsentModule
-
getExternProperties
get externProperties of assigned module- Returns:
- externProperties of assigned module
-
setExternProperties
set externProperties of assigned module with 0-n properties separated by semicolon e.g. validity_period=p1y- Parameters:
externProperties
- externProperties of assigned module- Returns:
- instance of Assigend Module
-
getExpirationProperties
get expirationProperties of assigned module- Returns:
- expirationProperties of assigned module
-
setExpirationProperties
set expirationProperties of assigned module- Parameters:
expirationProperties
- expirationProperties of assigned module- Returns:
- instance of Assigend Module
-
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
-