Class ExchangeFormatDefinition

java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.BaseResource
org.hl7.fhir.r4.model.Resource
org.hl7.fhir.r4.model.DomainResource
org.emau.icmvc.magic.fhir.resources.ExchangeFormatDefinition
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class ExchangeFormatDefinition extends org.hl7.fhir.r4.model.DomainResource
FHIR Resource to hold information to configure consent domains, policies, modules and templates
Author:
bialkem
See Also:
  • Field Summary

    Fields inherited from class org.hl7.fhir.r4.model.DomainResource

    contained, extension, modifierExtension, text

    Fields inherited from class org.hl7.fhir.r4.model.Resource

    id, implicitRules, language, meta

    Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource

    RES_ID, SP_RES_ID

    Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

    INCLUDE_ALL, WILDCARD_ALL_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
    create new instance of ExchangeFormatDefinition
    create new instance of ExchangeFormatDefinition
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hl7.fhir.r4.model.DomainResource
     
    boolean
     
    get consent domain information from the format definition
    List<org.hl7.fhir.r4.model.Type>
    get current list of specified consent modules
    List<org.hl7.fhir.r4.model.Type>
    get current list of specified consent policies
    org.hl7.fhir.r4.model.ResourceType
     
    ca.uhn.fhir.context.FhirVersionEnum
     
    get supported gICS-version for the format specification
    List<org.hl7.fhir.r4.model.Type>
    get current list of specified consent templates
    int
     
    boolean
     
    set consent domain information for format definition
    setModules(List<org.hl7.fhir.r4.model.Type> modules)
    get current list of specified consent modules
    setPolicies(List<org.hl7.fhir.r4.model.Type> policies)
    set current list of specified consent policies
    setTemplates(List<org.hl7.fhir.r4.model.Type> templates)
    set current list of specified consent modules
     

    Methods inherited from class org.hl7.fhir.r4.model.DomainResource

    addChild, addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, equalsDeep, equalsShallow, fhirType, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getNamedProperty, getProperty, getText, getTypesForProperty, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, listChildren, makeProperty, setContained, setExtension, setModifierExtension, setProperty, setProperty, setText

    Methods inherited from class org.hl7.fhir.r4.model.Resource

    copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta

    Methods inherited from class org.hl7.fhir.r4.model.BaseResource

    isResource, setId

    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, 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.IAnyResource

    getId, getIdElement, getLanguageElement, getUserData, setId, setUserData

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    getFormatCommentsPost, getFormatCommentsPre, hasFormatComment

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

    getMeta, setId
  • Constructor Details

    • ExchangeFormatDefinition

      public ExchangeFormatDefinition(String version)
      create new instance of ExchangeFormatDefinition
      Parameters:
      version -
    • ExchangeFormatDefinition

      public ExchangeFormatDefinition()
      create new instance of ExchangeFormatDefinition
  • Method Details

    • getSupportedVersion

      public String getSupportedVersion()
      get supported gICS-version for the format specification
      Returns:
      supported gICS-Version
    • getDomain

      public ConsentDomain getDomain()
      get consent domain information from the format definition
      Returns:
      consent domain information from format definition
    • setDomain

      public ExchangeFormatDefinition setDomain(ConsentDomain domainInfo)
      set consent domain information for format definition
      Parameters:
      domainInfo - consent domain information
      Returns:
      current instance of ExchangeFormatDefinition
    • getPolicies

      public List<org.hl7.fhir.r4.model.Type> getPolicies()
      get current list of specified consent policies
      Returns:
      current list of specified consent policies
    • setPolicies

      public ExchangeFormatDefinition setPolicies(List<org.hl7.fhir.r4.model.Type> policies)
      set current list of specified consent policies
      Parameters:
      policies - list of specified consent policies
      Returns:
      current instance of ExchangeFormatDefinition
    • getModules

      public List<org.hl7.fhir.r4.model.Type> getModules()
      get current list of specified consent modules
      Returns:
      get current list of specified consent modules
    • setModules

      public ExchangeFormatDefinition setModules(List<org.hl7.fhir.r4.model.Type> modules)
      get current list of specified consent modules
      Parameters:
      modules - list of specified consent policies
      Returns:
      current instance of ExchangeFormatDefinition
    • getTemplates

      public List<org.hl7.fhir.r4.model.Type> getTemplates()
      get current list of specified consent templates
      Returns:
      list of specified consent templates
    • setTemplates

      public ExchangeFormatDefinition setTemplates(List<org.hl7.fhir.r4.model.Type> templates)
      set current list of specified consent modules
      Parameters:
      templates - list of specified consent templates
      Returns:
      current instance of ExchangeFormatDefinition
    • toString

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

      public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
      Specified by:
      getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
      Overrides:
      getStructureFhirVersionEnum in class org.hl7.fhir.r4.model.BaseResource
    • 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.DomainResource
    • hashCode

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

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

      public org.hl7.fhir.r4.model.DomainResource copy()
      Specified by:
      copy in class org.hl7.fhir.r4.model.DomainResource
    • getResourceType

      public org.hl7.fhir.r4.model.ResourceType getResourceType()
      Specified by:
      getResourceType in class org.hl7.fhir.r4.model.Resource