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 classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ReferenceThe 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 CodeableConceptgrant|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 StringSearch parameter: statusprotected Enumeration<Permission.PermissionStatus>Status.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusprotected List<CodeableConcept>What limits apply to the use of the data.protected PeriodThe period in which the permission is active.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXTFields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_IDFields 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()voidcopyValues(Permission dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanhasAssertionDate(Date value) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(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 PermissionMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, setUserDataINNMethods 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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
thisfor 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
thisfor 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
thisfor 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
thisfor 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
thisfor 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:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-