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

    Constructors
    Constructor
    Description
    create new instance of ConsentDomain
  • Method Summary

    Modifier and Type
    Method
    Description
    add signer id type for consent domain
    boolean
     
    get comment to describe purpose of consent domain
    get consent Template Java Version Converter
    Return the creation date
    get expirationProperties of consent domain
    get externProperties of consent domain
    get consent domain finalized status
    get label for consent domain
    byte[]
    get domain logo as base64 encoded stream of bytes
    get consent module Java Version Converter
    get consent domain name
    get consent policy Java Version Converter
    get properties of consent domain
    get list of signedidtypes to be associated with consent information within the consent domain
    int
     
    boolean
     
    remove signed id type
    setComment(String domainComment)
    set comment to describe purpose of consent domain
    setConsentTemplateVersionConverter(String consentTemplateVersionConverter)
    set consent template Java Version Converter
    setCreationDate(Date creationDate)
    Set the creation date
    setExpirationProperties(String expirationProperties)
    set expirationProperties of assigned module
    setExternProperties(String externProperties)
    set externProperties of consent domain with 0-n properties separated by semicolon e.g.
    setFinalized(Boolean finalstate)
    set consent domain finalized status
    setLabel(String domainLabel)
    set label for the consent domain
    setLogo(byte[] domainLogo)
    set domain logo as base64 encoded stream of bytes
    setModuleVersionConverter(String moduleVersionConverter)
    set consent module Java Version Converter
    setName(String domainName)
    set consent domain name
    setPolicyVersionConverter(String policyVersionConverter)
    set consent policy Java Version Converter
    setProperties(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 domain
     
    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

      public String getName()
      get consent domain name
      Returns:
      domain name
    • setName

      public ConsentDomain setName(String domainName)
      set consent domain name
      Parameters:
      domainName - name of domain
      Returns:
      instance of consent domain
    • getFinalized

      public Boolean getFinalized()
      get consent domain finalized status
      Returns:
      domain finalized status
    • setFinalized

      public ConsentDomain setFinalized(Boolean finalstate)
      set consent domain finalized status
      Parameters:
      finalstate - finalized status domain finalized status
      Returns:
      instance of consent domain
    • getLabel

      public String getLabel()
      get label for consent domain
      Returns:
      label of consent domain
    • setLabel

      public ConsentDomain setLabel(String domainLabel)
      set label for the consent domain
      Parameters:
      domainLabel - label for the consent domain
      Returns:
      instance of ConsentDomain
    • getComment

      public String getComment()
      get comment to describe purpose of consent domain
      Returns:
      comment to describe purpose of consent domain
    • setComment

      public ConsentDomain setComment(String domainComment)
      set comment to describe purpose of consent domain
      Parameters:
      domainComment - comment to describe purpose of consent domain
      Returns:
      instance of consent domain
    • getSignerIdTypes

      public List<String> 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

      public ConsentDomain setSignerIdTypes(List<String> domainSignerIdTypes)
      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

      public ConsentDomain addSignerIdType(String idType)
      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

      public ConsentDomain removeSignerIdType(String idType)
      remove signed id type
      Parameters:
      idType - signer id type to be removed from consent domain
      Returns:
      instance of ConsentDomain
    • getConsentTemplateVersionConverter

      public String getConsentTemplateVersionConverter()
      get consent Template Java Version Converter
      Returns:
      consent template Java Version Converter
    • setConsentTemplateVersionConverter

      public ConsentDomain setConsentTemplateVersionConverter(String consentTemplateVersionConverter)
      set consent template Java Version Converter
      Parameters:
      consentTemplateVersionConverter - consent template Java Version Converter
      Returns:
      instance of consent domain
    • getModuleVersionConverter

      public String getModuleVersionConverter()
      get consent module Java Version Converter
      Returns:
      consent module Java Version Converter
    • setModuleVersionConverter

      public ConsentDomain setModuleVersionConverter(String moduleVersionConverter)
      set consent module Java Version Converter
      Parameters:
      moduleVersionConverter - consent module Java Version Converter
      Returns:
      instance of consent domain
    • getPolicyVersionConverter

      public String getPolicyVersionConverter()
      get consent policy Java Version Converter
      Returns:
      consent policy Java Version Converter
    • setPolicyVersionConverter

      public ConsentDomain setPolicyVersionConverter(String policyVersionConverter)
      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

      public ConsentDomain setLogo(byte[] domainLogo)
      set domain logo as base64 encoded stream of bytes
      Parameters:
      domainLogo - as base64 encoded stream of bytes
      Returns:
      instance of consent domain
    • getProperties

      public String getProperties()
      get properties of consent domain
      Returns:
      properties of consent domain
    • setProperties

      public ConsentDomain setProperties(String properties)
      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

      public String getExternProperties()
      get externProperties of consent domain
      Returns:
      externProperties of consent domain
    • setExternProperties

      public ConsentDomain setExternProperties(String externProperties)
      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

      public String getExpirationProperties()
      get expirationProperties of consent domain
      Returns:
      expirationProperties of consent domain
    • setExpirationProperties

      public ConsentDomain setExpirationProperties(String expirationProperties)
      set expirationProperties of assigned module
      Parameters:
      expirationProperties - expirationProperties of consent domain
      Returns:
      instance of consent domain
    • getCreationDate

      public Date getCreationDate()
      Return the creation date
      Returns:
      the creation date
    • setCreationDate

      public ConsentDomain setCreationDate(Date creationDate)
      Set the creation date
      Parameters:
      creationDate - the creation date
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class org.hl7.fhir.r4.model.Element
    • typedCopy

      protected org.hl7.fhir.r4.model.Type typedCopy()
      Specified by:
      typedCopy in class org.hl7.fhir.r4.model.Type