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
ConstructorDescriptioncreate new instance of ExchangeFormatDefinitionExchangeFormatDefinition
(String version) create new instance of ExchangeFormatDefinition -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.DomainResource
copy()
boolean
get consent domain information from the format definitionList<org.hl7.fhir.r4.model.Type>
get current list of specified consent modulesList<org.hl7.fhir.r4.model.Type>
get current list of specified consent policiesorg.hl7.fhir.r4.model.ResourceType
ca.uhn.fhir.context.FhirVersionEnum
get supported gICS-version for the format specificationList<org.hl7.fhir.r4.model.Type>
get current list of specified consent templatesint
hashCode()
boolean
isEmpty()
setDomain
(ConsentDomain domainInfo) set consent domain information for format definitionsetModules
(List<org.hl7.fhir.r4.model.Type> modules) get current list of specified consent modulessetPolicies
(List<org.hl7.fhir.r4.model.Type> policies) set current list of specified consent policiessetTemplates
(List<org.hl7.fhir.r4.model.Type> templates) set current list of specified consent modulestoString()
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
create new instance of ExchangeFormatDefinition- Parameters:
version
-
-
ExchangeFormatDefinition
public ExchangeFormatDefinition()create new instance of ExchangeFormatDefinition
-
-
Method Details
-
getSupportedVersion
get supported gICS-version for the format specification- Returns:
- supported gICS-Version
-
getDomain
get consent domain information from the format definition- Returns:
- consent domain information from format definition
-
setDomain
set consent domain information for format definition- Parameters:
domainInfo
- consent domain information- Returns:
- current instance of ExchangeFormatDefinition
-
getPolicies
get current list of specified consent policies- Returns:
- current list of specified consent policies
-
setPolicies
set current list of specified consent policies- Parameters:
policies
- list of specified consent policies- Returns:
- current instance of ExchangeFormatDefinition
-
getModules
get current list of specified consent modules- Returns:
- get current list of specified consent modules
-
setModules
get current list of specified consent modules- Parameters:
modules
- list of specified consent policies- Returns:
- current instance of ExchangeFormatDefinition
-
getTemplates
get current list of specified consent templates- Returns:
- list of specified consent templates
-
setTemplates
set current list of specified consent modules- Parameters:
templates
- list of specified consent templates- Returns:
- current instance of ExchangeFormatDefinition
-
toString
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Overrides:
getStructureFhirVersionEnum
in classorg.hl7.fhir.r4.model.BaseResource
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classorg.hl7.fhir.r4.model.DomainResource
-
hashCode
public int hashCode() -
equals
-
copy
public org.hl7.fhir.r4.model.DomainResource copy()- Specified by:
copy
in classorg.hl7.fhir.r4.model.DomainResource
-
getResourceType
public org.hl7.fhir.r4.model.ResourceType getResourceType()- Specified by:
getResourceType
in classorg.hl7.fhir.r4.model.Resource
-