
Package org.hl7.fhir.r4.model
Class Consent.ProvisionComponent
java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.BackboneElement
org.hl7.fhir.r4.model.Consent.ProvisionComponent
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
Consent
public static class Consent.ProvisionComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CodeableConcept> Actions controlled by this Rule.protected List<Consent.provisionActorComponent> Who or what is controlled by this rule.The class of information covered by this rule.protected List<CodeableConcept> If this code is found in an instance, then the rule applies.protected List<Consent.provisionDataComponent> The resources controlled by this rule if specific resources are referenced.protected PeriodClinical or Operational Relevant period of time that bounds the data controlled by this rule.protected PeriodThe timeframe in this rule is valid.protected List<Consent.ProvisionComponent> Rules which provide exceptions to the base rule or subrules.The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.protected Enumeration<Consent.ConsentProvisionType> Action to take - permit or deny - when the rule conditions are met.Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddActor()addCode()addData()addPurpose(Coding t) copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getActor()getCode()getData()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getType()String[]getTypesForProperty(int hash, String name) booleanbooleanhasActor()booleanbooleanhasCode()booleanhasData()booleanbooleanbooleanbooleanbooleanbooleanhasType()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setAction(List<CodeableConcept> theAction) setActor(List<Consent.provisionActorComponent> theActor) setCode(List<CodeableConcept> theCode) setData(List<Consent.provisionDataComponent> theData) setDataPeriod(Period value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setProvision(List<Consent.ProvisionComponent> theProvision) setPurpose(List<Coding> thePurpose) setSecurityLabel(List<Coding> theSecurityLabel) Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementMethods 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, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtensionMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
type
Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules. -
period
The timeframe in this rule is valid. -
actor
Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers'). -
action
Actions controlled by this Rule. -
securityLabel
A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception. -
purpose
The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule. -
class_
The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to. -
code
If this code is found in an instance, then the rule applies. -
dataPeriod
Clinical or Operational Relevant period of time that bounds the data controlled by this rule. -
data
The resources controlled by this rule if specific resources are referenced. -
provision
Rules which provide exceptions to the base rule or subrules.
-
-
Constructor Details
-
ProvisionComponent
public ProvisionComponent()Constructor
-
-
Method Details
-
getTypeElement
- Returns:
type(Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
- Parameters:
value-type(Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.
-
setType
- Parameters:
value- Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.
-
getPeriod
- Returns:
period(The timeframe in this rule is valid.)
-
hasPeriod
-
setPeriod
- Parameters:
value-period(The timeframe in this rule is valid.)
-
getActor
- Returns:
actor(Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').)
-
setActor
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasActor
-
addActor
-
addActor
-
getActorFirstRep
- Returns:
- The first repetition of repeating field
actor, creating it if it does not already exist
-
getAction
- Returns:
action(Actions controlled by this Rule.)
-
setAction
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAction
-
addAction
-
addAction
-
getActionFirstRep
- Returns:
- The first repetition of repeating field
action, creating it if it does not already exist
-
getSecurityLabel
- Returns:
securityLabel(A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.)
-
setSecurityLabel
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSecurityLabel
-
addSecurityLabel
-
addSecurityLabel
-
getSecurityLabelFirstRep
- Returns:
- The first repetition of repeating field
securityLabel, creating it if it does not already exist
-
getPurpose
- Returns:
purpose(The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.)
-
setPurpose
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPurpose
-
addPurpose
-
addPurpose
-
getPurposeFirstRep
- Returns:
- The first repetition of repeating field
purpose, creating it if it does not already exist
-
getClass_
- Returns:
class_(The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.)
-
setClass_
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasClass_
-
addClass_
-
addClass_
-
getClass_FirstRep
- Returns:
- The first repetition of repeating field
class_, creating it if it does not already exist
-
getCode
- Returns:
code(If this code is found in an instance, then the rule applies.)
-
setCode
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCode
-
addCode
-
addCode
-
getCodeFirstRep
- Returns:
- The first repetition of repeating field
code, creating it if it does not already exist
-
getDataPeriod
- Returns:
dataPeriod(Clinical or Operational Relevant period of time that bounds the data controlled by this rule.)
-
hasDataPeriod
-
setDataPeriod
- Parameters:
value-dataPeriod(Clinical or Operational Relevant period of time that bounds the data controlled by this rule.)
-
getData
- Returns:
data(The resources controlled by this rule if specific resources are referenced.)
-
setData
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasData
-
addData
-
addData
-
getDataFirstRep
- Returns:
- The first repetition of repeating field
data, creating it if it does not already exist
-
getProvision
- Returns:
provision(Rules which provide exceptions to the base rule or subrules.)
-
setProvision
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProvision
-
addProvision
-
addProvision
-
getProvisionFirstRep
- Returns:
- The first repetition of repeating field
provision, creating it if it does not already exist
-
listChildren
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copyin classBackboneElement
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-