public interface IAuthRuleBuilderRuleOpClassifier
| Modifier and Type | Method and Description |
|---|---|
IAuthRuleBuilderRuleOpClassifierFinished |
inCompartment(String theCompartmentName,
Collection<? extends IIdType> theOwners)
Rule applies to resources in the given compartment.
|
IAuthRuleBuilderRuleOpClassifierFinished |
inCompartment(String theCompartmentName,
IIdType theOwner)
Rule applies to resources in the given compartment.
|
IAuthRuleBuilderRuleOpClassifierFinished |
withAnyId()
Rule applies to any resource instances
|
IAuthRuleBuilderRuleOpClassifierFinished inCompartment(String theCompartmentName, IIdType theOwner)
For example, to apply the rule to any observations in the patient compartment
belonging to patient "123", you would invoke this with
inCompartment("Patient", new IdType("Patient", "123"))
This call completes the rule and adds the rule to the chain.
theCompartmentName - The name of the compartment (must not be null or blank)theOwner - The owner of the compartment. Note that both the resource type and ID must be populated in this ID.IAuthRuleBuilderRuleOpClassifierFinished inCompartment(String theCompartmentName, Collection<? extends IIdType> theOwners)
For example, to apply the rule to any observations in the patient compartment
belonging to patient "123", you would invoke this with
inCompartment("Patient", new IdType("Patient", "123"))
This call completes the rule and adds the rule to the chain.
theCompartmentName - The name of the compartment (must not be null or blank)theOwners - The owner of the compartment. Note that both the resource type and ID must be populated in this ID.IAuthRuleBuilderRuleOpClassifierFinished withAnyId()
This call completes the rule and adds the rule to the chain.
Copyright © 2014–2017 University Health Network. All rights reserved.