Package org.hl7.fhir.dstu3.model
Class Consent.ExceptComponent
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.Element
org.hl7.fhir.dstu3.model.BackboneElement
org.hl7.fhir.dstu3.model.Consent.ExceptComponent
- 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.ExceptComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> Actions controlled by this Exception.protected List
<Consent.ExceptActorComponent> Who or what is controlled by this Exception.The class of information covered by this exception.If this code is found in an instance, then the exception applies.protected List
<Consent.ExceptDataComponent> The resources controlled by this exception, if specific resources are referenced.protected Period
Clinical or Operational Relevant period of time that bounds the data controlled by this exception.protected Period
The timeframe in this exception is valid.The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception.A set of security labels that define which resources are controlled by this exception.protected Enumeration
<Consent.ConsentExceptType> Action to take - permit or deny - when the exception conditions are met.Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
Constructor Summary
ConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionaddActor()
addCode()
addData()
addPurpose
(Coding t) copy()
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) getType()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
hasActor()
boolean
boolean
hasCode()
boolean
hasData()
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAction
(List<CodeableConcept> theAction) setActor
(List<Consent.ExceptActorComponent> theActor) setData
(List<Consent.ExceptDataComponent> theData) setDataPeriod
(Period value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setPurpose
(List<Coding> thePurpose) setSecurityLabel
(List<Coding> theSecurityLabel) setType
(Consent.ConsentExceptType value) Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, 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
-
type
Action to take - permit or deny - when the exception conditions are met. -
period
The timeframe in this exception is valid. -
actor
Who or what is controlled by this Exception. Use group to identify a set of actors by some property they share (e.g. 'admitting officers'). -
action
Actions controlled by this Exception. -
securityLabel
A set of security labels that define which resources are controlled by this exception. If more than one label is specified, all resources must have all the specified labels. -
purpose
The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception. -
class_
The class of information covered by this exception. 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 exception applies. -
dataPeriod
Clinical or Operational Relevant period of time that bounds the data controlled by this exception. -
data
The resources controlled by this exception, if specific resources are referenced.
-
-
Constructor Details
-
ExceptComponent
public ExceptComponent()Constructor -
ExceptComponent
Constructor
-
-
Method Details
-
getTypeElement
- Returns:
type
(Action to take - permit or deny - when the exception conditions are met.). 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 exception conditions are met.). 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 exception conditions are met.
-
setType
- Parameters:
value
- Action to take - permit or deny - when the exception conditions are met.
-
getPeriod
- Returns:
period
(The timeframe in this exception is valid.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(The timeframe in this exception is valid.)
-
getActor
- Returns:
actor
(Who or what is controlled by this Exception. 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
-
getAction
- Returns:
action
(Actions controlled by this Exception.)
-
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
-
getSecurityLabel
- Returns:
securityLabel
(A set of security labels that define which resources are controlled by this exception. If more than one label is specified, all resources must have all the specified labels.)
-
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
-
getPurpose
- Returns:
purpose
(The context of the activities a user is taking - why the user is accessing the data - that are controlled by this exception.)
-
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
-
getClass_
- Returns:
class_
(The class of information covered by this exception. 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
this
for 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 exception 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
-
getDataPeriod
- Returns:
dataPeriod
(Clinical or Operational Relevant period of time that bounds the data controlled by this exception.)
-
hasDataPeriod
-
setDataPeriod
- Parameters:
value
-dataPeriod
(Clinical or Operational Relevant period of time that bounds the data controlled by this exception.)
-
getData
- Returns:
data
(The resources controlled by this exception, 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
-
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
-
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
-
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
-