
Package org.hl7.fhir.r5.model
Class Permission
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.BaseResource
org.hl7.fhir.r5.model.Resource
org.hl7.fhir.r5.model.DomainResource
org.hl7.fhir.r5.model.Permission
- 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
Permission.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static enum
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Reference
The person or entity that asserts the permission.protected List<DateTimeType>
The date that permission was asserted.protected List<Expression>
This can be 1) the definition of data elements, or 2) a category or label) e.g.protected CodeableConcept
grant|refuse.The asserted justification for using the data.A description or definition of which activities are allowed to be done on the data.protected List<CodeableConcept>
The purpose for which the permission is given.static final String
Search parameter: statusprotected Enumeration<Permission.PermissionStatus>
Status.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusprotected List<CodeableConcept>
What limits apply to the use of the data.protected Period
The period in which the permission is active.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.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
ConstructorsConstructorDescriptionConstructorConstructor -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionDate
(Date value) copy()
void
copyValues
(Permission dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
hasAssertionDate
(Date value) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAsserter
(Reference value) setAssertionDate
(List<DateTimeType> theAssertionDate) setDataScope
(List<Expression> theDataScope) setIntent
(CodeableConcept value) setProcessingActivity
(List<Permission.PermissionProcessingActivityComponent> theProcessingActivity) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setPurpose
(List<CodeableConcept> thePurpose) setUsageLimitations
(List<CodeableConcept> theUsageLimitations) setValidity
(Period value) protected Permission
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, 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.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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, getStructureFhirVersionEnum, setId
-
Field Details
-
status
Status. -
intent
grant|refuse. -
asserter
The person or entity that asserts the permission. -
assertionDate
The date that permission was asserted. -
validity
The period in which the permission is active. -
purpose
The purpose for which the permission is given. -
dataScope
This can be 1) the definition of data elements, or 2) a category or label) e.g. ?sensitive?. It could also be a c) graph-like definition of a set of data elements. -
processingActivity
A description or definition of which activities are allowed to be done on the data. -
justification
The asserted justification for using the data. -
usageLimitations
What limits apply to the use of the data. -
SP_STATUS
Search parameter: statusDescription: active | entered-in-error | draft | rejected
Type: token
Path: Permission.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: active | entered-in-error | draft | rejected
Type: token
Path: Permission.status
-
-
Constructor Details
-
Permission
public Permission()Constructor -
Permission
Constructor
-
-
Method Details
-
getStatusElement
- Returns:
status
(Status.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(Status.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- Status.
-
setStatus
- Parameters:
value
- Status.
-
getIntent
- Returns:
intent
(grant|refuse.)
-
hasIntent
-
setIntent
- Parameters:
value
-intent
(grant|refuse.)
-
getAsserter
- Returns:
asserter
(The person or entity that asserts the permission.)
-
hasAsserter
-
setAsserter
- Parameters:
value
-asserter
(The person or entity that asserts the permission.)
-
getAssertionDate
- Returns:
assertionDate
(The date that permission was asserted.)
-
setAssertionDate
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAssertionDate
-
addAssertionDateElement
- Returns:
assertionDate
(The date that permission was asserted.)
-
addAssertionDate
- Parameters:
value
-assertionDate
(The date that permission was asserted.)
-
hasAssertionDate
- Parameters:
value
-assertionDate
(The date that permission was asserted.)
-
getValidity
- Returns:
validity
(The period in which the permission is active.)
-
hasValidity
-
setValidity
- Parameters:
value
-validity
(The period in which the permission is active.)
-
getPurpose
- Returns:
purpose
(The purpose for which the permission is given.)
-
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}
-
getDataScope
- Returns:
dataScope
(This can be 1) the definition of data elements, or 2) a category or label) e.g. ?sensitive?. It could also be a c) graph-like definition of a set of data elements.)
-
setDataScope
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasDataScope
-
addDataScope
-
addDataScope
-
getDataScopeFirstRep
- Returns:
- The first repetition of repeating field
dataScope
, creating it if it does not already exist {3}
-
getProcessingActivity
- Returns:
processingActivity
(A description or definition of which activities are allowed to be done on the data.)
-
setProcessingActivity
public Permission setProcessingActivity(List<Permission.PermissionProcessingActivityComponent> theProcessingActivity) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasProcessingActivity
-
addProcessingActivity
-
addProcessingActivity
-
getProcessingActivityFirstRep
- Returns:
- The first repetition of repeating field
processingActivity
, creating it if it does not already exist {3}
-
getJustification
- Returns:
justification
(The asserted justification for using the data.)
-
hasJustification
-
setJustification
- Parameters:
value
-justification
(The asserted justification for using the data.)
-
getUsageLimitations
- Returns:
usageLimitations
(What limits apply to the use of the data.)
-
setUsageLimitations
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasUsageLimitations
-
addUsageLimitations
-
addUsageLimitations
-
getUsageLimitationsFirstRep
- Returns:
- The first repetition of repeating field
usageLimitations
, creating it if it does not already exist {3}
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- 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 classDomainResource
- 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 classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-