Package org.hl7.fhir.r5.model
Class Consent.ProvisionComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.BackboneElement
org.hl7.fhir.r5.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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> Actions controlled by this provision.protected List
<Consent.ProvisionActorComponent> Who or what is controlled by this provision.protected List
<CodeableConcept> If this code is found in an instance, then the provision applies.protected List
<Consent.ProvisionDataComponent> The resources controlled by this provision if specific resources are referenced.protected Period
Clinical or Operational Relevant period of time that bounds the data controlled by this provision.The documentType(s) covered by this provision.protected Expression
A computable (FHIRPath or other) definition of what is controlled by this consent.protected Period
Timeframe for this provision.protected List
<Consent.ProvisionComponent> Provisions which provide exceptions to the base provision or subprovisions.The context of the activities a user is taking - why the user is accessing the data - that are controlled by this provision.The resourceType(s) covered by this provision.A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddActor()
addCode()
addData()
addPurpose
(Coding t) copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getActor()
getCode()
getData()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
hasActor()
boolean
hasCode()
boolean
hasData()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(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) setDocumentType
(List<Coding> theDocumentType) setExpression
(Expression value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setProvision
(List<Consent.ProvisionComponent> theProvision) setPurpose
(List<Coding> thePurpose) setResourceType
(List<Coding> theResourceType) setSecurityLabel
(List<Coding> theSecurityLabel) Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
period
Timeframe for this provision. -
actor
Who or what is controlled by this provision. Use group to identify a set of actors by some property they share (e.g. 'admitting officers'). -
action
Actions controlled by this provision. -
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 provision. -
documentType
The documentType(s) covered by this provision. The type can be a CDA document, or some other type that indicates what sort of information the consent relates to. -
resourceType
The resourceType(s) covered by this provision. The type can be a FHIR resource type or a profile on a type that indicates what information the consent relates to. -
code
If this code is found in an instance, then the provision applies. -
dataPeriod
Clinical or Operational Relevant period of time that bounds the data controlled by this provision. -
data
The resources controlled by this provision if specific resources are referenced. -
expression
A computable (FHIRPath or other) definition of what is controlled by this consent. -
provision
Provisions which provide exceptions to the base provision or subprovisions.
-
-
Constructor Details
-
ProvisionComponent
public ProvisionComponent()Constructor
-
-
Method Details
-
getPeriod
- Returns:
period
(Timeframe for this provision.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(Timeframe for this provision.)
-
getActor
- Returns:
actor
(Who or what is controlled by this provision. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').)
-
setActor
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasActor
-
addActor
-
addActor
-
getActorFirstRep
- Returns:
- The first repetition of repeating field
actor
, creating it if it does not already exist {3}
-
getAction
- Returns:
action
(Actions controlled by this provision.)
-
setAction
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAction
-
addAction
-
addAction
-
getActionFirstRep
- Returns:
- The first repetition of repeating field
action
, creating it if it does not already exist {3}
-
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
this
for easy method chaining
-
hasSecurityLabel
-
addSecurityLabel
-
addSecurityLabel
-
getSecurityLabelFirstRep
- Returns:
- The first repetition of repeating field
securityLabel
, creating it if it does not already exist {3}
-
getPurpose
- Returns:
purpose
(The context of the activities a user is taking - why the user is accessing the data - that are controlled by this provision.)
-
setPurpose
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPurpose
-
addPurpose
-
addPurpose
-
getPurposeFirstRep
- Returns:
- The first repetition of repeating field
purpose
, creating it if it does not already exist {3}
-
getDocumentType
- Returns:
documentType
(The documentType(s) covered by this provision. The type can be a CDA document, or some other type that indicates what sort of information the consent relates to.)
-
setDocumentType
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDocumentType
-
addDocumentType
-
addDocumentType
-
getDocumentTypeFirstRep
- Returns:
- The first repetition of repeating field
documentType
, creating it if it does not already exist {3}
-
getResourceType
- Returns:
resourceType
(The resourceType(s) covered by this provision. The type can be a FHIR resource type or a profile on a type that indicates what information the consent relates to.)
-
setResourceType
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasResourceType
-
addResourceType
-
addResourceType
-
getResourceTypeFirstRep
- Returns:
- The first repetition of repeating field
resourceType
, creating it if it does not already exist {3}
-
getCode
- Returns:
code
(If this code is found in an instance, then the provision applies.)
-
setCode
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasCode
-
addCode
-
addCode
-
getCodeFirstRep
- Returns:
- The first repetition of repeating field
code
, creating it if it does not already exist {3}
-
getDataPeriod
- Returns:
dataPeriod
(Clinical or Operational Relevant period of time that bounds the data controlled by this provision.)
-
hasDataPeriod
-
setDataPeriod
- Parameters:
value
-dataPeriod
(Clinical or Operational Relevant period of time that bounds the data controlled by this provision.)
-
getData
- Returns:
data
(The resources controlled by this provision if specific resources are referenced.)
-
setData
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasData
-
addData
-
addData
-
getDataFirstRep
- Returns:
- The first repetition of repeating field
data
, creating it if it does not already exist {3}
-
getExpression
- Returns:
expression
(A computable (FHIRPath or other) definition of what is controlled by this consent.)
-
hasExpression
-
setExpression
- Parameters:
value
-expression
(A computable (FHIRPath or other) definition of what is controlled by this consent.)
-
getProvision
- Returns:
provision
(Provisions which provide exceptions to the base provision or subprovisions.)
-
setProvision
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasProvision
-
addProvision
-
addProvision
-
getProvisionFirstRep
- Returns:
- The first repetition of repeating field
provision
, creating it if it does not already exist {3}
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
copyValues
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
- Returns:
- the FHIR type name of the instance (not the java class name)
-