Klasse ConsentTemplate
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.ConsentTemplate
- Alle implementierten Schnittstellen:
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 ConsentTemplate
extends org.hl7.fhir.r4.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
FHIR Datatype to hold gICS-Template specific information
- Autor:
- bialkem mosaic-greifswald.de
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic enum
internal enumeration to differentiate types of consent templates -
Feldübersicht
Von Klasse geerbte Felder org.hl7.fhir.r4.model.Element
extension, id
-
Konstruktorübersicht
KonstruktorBeschreibungcreate new instance of ConsentTemplate, using default version "1.0"ConsentTemplate
(String domain, String name, String version) ConsentTemplate
(String domain, String name, String version, ConsentTemplate.TemplateType type) ConsentTemplate
(String domain, String name, String version, ConsentTemplate.TemplateType type, String label, String versionLabel) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungadd new AssignedConsentModule to list of AssignedConsentModules and invoke update of internal fhir reference listaddFreetext
(ConsentTemplateFreeText freeItem) add new ConsentTemplateFreeText to list of ConsentTemplateFreeTexts and invoke update of internal fhir reference listboolean
List
<org.hl7.fhir.r4.model.Type> get current list of assigned Modules as ArrayListget comment to describe purpose of consent templateorg.hl7.fhir.r4.model.Person
get responsible contact for this consent templateReturn the creation dateget Name of assigned consent domainget expirationProperties of consent templateget externProperties of consent templateget consent template finalized statusget footer of consent templateList
<org.hl7.fhir.r4.model.Type> get current list of assigned FreeTextsDefinitions as ArrayListget header of consent templategetLabel()
get Label of consent templategetName()
get Name of consent templategetTitle()
get title of consent template to be used as label etc.getType()
get type of consent templateget validFromProperties of consent templateget version of consent templateget version label of consent templateint
hashCode()
boolean
isEmpty()
remove AssignedConsentModule from list of AssignedConsentModules and invoke update of internal fhir reference listremoveFreetext
(ConsentTemplateFreeText freeItem) remove ConsentTemplateFreeText from list of ConsentTemplateFreeTexts and invoke update of internal fhir reference listsetAssignedModules
(List<org.hl7.fhir.r4.model.Type> listOfModules) set list of AssignedConsentModule and update respective fhir list of referencessetComment
(String templateComment) set comment to describe purpose of consent templatesetContact
(String familyName, String givenName, String telephone, String eMail, org.hl7.fhir.r4.model.Address address) set responsible contact for this consent templatesetContact
(org.hl7.fhir.r4.model.Person templateContact) set responsible contact for this consent templatesetCreationDate
(Date creationDate) Set the creation datesetDomainName
(String templateDomainName) set name of assigned consent domainsetExpirationProperties
(String expirationProperties) set expirationProperties of consent template e.g. validity_period=p1ysetExternProperties
(String externProperties) set externProperties of consent template with 0-n properties separated by semicolon e.g.setFinalized
(Boolean finalstate) set consent template finalized statusset footer of consent template to be used as label etc.setFreetextDefs
(List<org.hl7.fhir.r4.model.Type> listOfFrees) set list of ConsentTemplateFreeText and update respective fhir list of referencesset header of consent template to be used as label etc.set Label of consent templateset Name of consent templateset title of consent template to be used as label etc.set type of consent templatesetType
(ConsentTemplate.TemplateType templateType) set type of consent templatesetValidFromProperties
(String validFromProperties) set validFromProperties of consent template e.g. validity_period=p1ysetVersion
(String templateVersion) set version of consent templatesetVersionLabel
(String templateVersionLabel) set version label of consent templateget template Key as String separated with semicolon e.g.toString()
protected org.hl7.fhir.r4.model.Type
Von Klasse geerbte Methoden org.hl7.fhir.r4.model.Type
copy
Von Klasse geerbte Methoden 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
Von Klasse geerbte Methoden 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, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Von Schnittstelle geerbte Methoden org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Konstruktordetails
-
ConsentTemplate
-
ConsentTemplate
-
ConsentTemplate
public ConsentTemplate(String domain, String name, String version, ConsentTemplate.TemplateType type) -
ConsentTemplate
-
ConsentTemplate
public ConsentTemplate()create new instance of ConsentTemplate, using default version "1.0"
-
-
Methodendetails
-
getName
get Name of consent template- Gibt zurück:
- Name of consent template
-
setName
set Name of consent template- Parameter:
templateName
- Name of consent template- Gibt zurück:
- instance of consent template
-
getFinalized
get consent template finalized status- Gibt zurück:
- template finalized status
-
setFinalized
set consent template finalized status- Parameter:
finalstate
- finalized status domain finalized status- Gibt zurück:
- instance of consent domain
-
getLabel
get Label of consent template- Gibt zurück:
- Label of consent template
-
setLabel
set Label of consent template- Parameter:
templateLabel
- Label of consent template- Gibt zurück:
- instance of consent template
-
getVersionLabel
get version label of consent template- Gibt zurück:
- version label of consent template
-
setVersionLabel
set version label of consent template- Parameter:
templateVersionLabel
- version Label of consent template- Gibt zurück:
- instance of consent template
-
getDomainName
get Name of assigned consent domain- Gibt zurück:
- name of assigned consent domain
-
setDomainName
set name of assigned consent domain- Parameter:
templateDomainName
- name of assigned consent domain- Gibt zurück:
- instance of ConsentTemplate
-
getVersion
get version of consent template- Gibt zurück:
- version of consent template
-
setVersion
set version of consent template- Parameter:
templateVersion
- version of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getType
get type of consent template- Gibt zurück:
- type of consent template
-
setType
set type of consent template- Parameter:
templateType
- type of consent template- Gibt zurück:
- instance of ConsentTemplate
-
setType
set type of consent template- Parameter:
templateType
- string type of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getTitle
get title of consent template to be used as label etc.- Gibt zurück:
- title of consent template
-
setTitle
set title of consent template to be used as label etc.- Parameter:
templateTitle
- title of consent template to be used as label etc.- Gibt zurück:
- instance of ConsentTemplate
-
getComment
get comment to describe purpose of consent template- Gibt zurück:
- comment to describe purpose of consent template
-
setComment
set comment to describe purpose of consent template- Parameter:
templateComment
- comment to describe purpose of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getHeader
get header of consent template- Gibt zurück:
- header of consent template
-
setHeader
set header of consent template to be used as label etc.- Parameter:
templateHeader
- header of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getExpirationProperties
get expirationProperties of consent template- Gibt zurück:
- expirationProperties of consent template
-
setExpirationProperties
set expirationProperties of consent template e.g. validity_period=p1y- Parameter:
expirationProperties
- expirationProperties of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getExternProperties
get externProperties of consent template- Gibt zurück:
- externProperties of consent template
-
setExternProperties
set externProperties of consent template with 0-n properties separated by semicolon e.g. validity_period=p1y- Parameter:
externProperties
- externProperties of consent template- Gibt zurück:
- instance of ConsentTemplate
-
getContact
public org.hl7.fhir.r4.model.Person getContact()get responsible contact for this consent template- Gibt zurück:
- responsible contact for this consent template
-
setContact
set responsible contact for this consent template- Parameter:
templateContact
- responsible contact for this consent template- Gibt zurück:
- instance of ConsentTemplate
-
setContact
public ConsentTemplate setContact(String familyName, String givenName, String telephone, String eMail, org.hl7.fhir.r4.model.Address address) set responsible contact for this consent template- Parameter:
familyName
-givenName
-telephone
-eMail
-address
- Address in FHIR format- Gibt zurück:
- instance of ConsentTemplate
-
getFreetextDefs
get current list of assigned FreeTextsDefinitions as ArrayList- Gibt zurück:
- list of assigned FreeTextsDefinitions as ArrayList
-
setFreetextDefs
set list of ConsentTemplateFreeText and update respective fhir list of references- Parameter:
listOfFrees
- list of ConsentTemplateFreeText for this consent template- Gibt zurück:
- current instance of ConsentTemplate
-
addFreetext
add new ConsentTemplateFreeText to list of ConsentTemplateFreeTexts and invoke update of internal fhir reference list- Parameter:
freeItem
- ConsentTemplateFreeText item to be added- Gibt zurück:
- current instance of ConsentTemplate
-
removeFreetext
remove ConsentTemplateFreeText from list of ConsentTemplateFreeTexts and invoke update of internal fhir reference list- Parameter:
freeItem
- ConsentTemplateFreeText item to be removed- Gibt zurück:
- current instance of ConsentTemplate
-
getAssignedModules
get current list of assigned Modules as ArrayList- Gibt zurück:
- list of assigned modules as ArrayList
-
setAssignedModules
set list of AssignedConsentModule and update respective fhir list of references- Parameter:
listOfModules
- list of AssignedConsentModule for this consent template- Gibt zurück:
- current instance of ConsentTemplate
-
addAssignedModule
add new AssignedConsentModule to list of AssignedConsentModules and invoke update of internal fhir reference list- Parameter:
module
- AssignedConsentModule item to be added- Gibt zurück:
- current instance of ConsentTemplate
-
removeAssignedModule
remove AssignedConsentModule from list of AssignedConsentModules and invoke update of internal fhir reference list- Parameter:
module
- AssignedConsentModule item to be removed- Gibt zurück:
- current instance of ConsentTemplate
-
getCreationDate
Return the creation date- Gibt zurück:
- the creation date
-
setCreationDate
Set the creation date- Parameter:
creationDate
- the creation date
-
toKeyString
get template Key as String separated with semicolon e.g. "domain;template name;template version" -
hashCode
public int hashCode() -
equals
-
typedCopy
protected org.hl7.fhir.r4.model.Type typedCopy()- Angegeben von:
typedCopy
in Klasseorg.hl7.fhir.r4.model.Type
-
isEmpty
public boolean isEmpty()- Angegeben von:
isEmpty
in Schnittstelleorg.hl7.fhir.instance.model.api.IBase
- Setzt außer Kraft:
isEmpty
in Klasseorg.hl7.fhir.r4.model.Element
-
toString
-
getValidFromProperties
get validFromProperties of consent template- Gibt zurück:
- validFromProperties of consent template
-
setValidFromProperties
set validFromProperties of consent template e.g. validity_period=p1y- Parameter:
validFromProperties
- validFromProperties of consent template- Gibt zurück:
- instance of ConsentTemplate
-