Package org.hl7.fhir.r5.model
Class AuditEvent.AuditEventAgentComponent
- 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.AuditEvent.AuditEventAgentComponent
-
- 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:
- AuditEvent
public static class AuditEvent.AuditEventAgentComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>authorizationThe authorization (e.g., PurposeOfUse) that was used during the event being recorded.protected ReferencelocationWhere the agent location is known, the agent location when the event occurred.protected DataTypenetworkWhen the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.protected List<UriType>policyWhere the policy(ies) are known that authorized the agent participation in the event.protected BooleanTyperequestorIndicator that the user is or is not the requestor, or initiator, for the event being audited.protected List<CodeableConcept>roleThe structural roles of the agent indicating the agent's competency.protected CodeableConcepttypeThe Functional Role of the user when performing the event.protected ReferencewhoReference to who this agent is that was involved in the event.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description AuditEventAgentComponent()ConstructorAuditEventAgentComponent(Reference who)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, removeExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
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, 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
-
-
-
-
Field Detail
-
type
protected CodeableConcept type
The Functional Role of the user when performing the event.
-
role
protected List<CodeableConcept> role
The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity.
-
requestor
protected BooleanType requestor
Indicator that the user is or is not the requestor, or initiator, for the event being audited.
-
location
protected Reference location
Where the agent location is known, the agent location when the event occurred.
-
policy
protected List<UriType> policy
Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.
-
network
protected DataType network
When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.
-
authorization
protected List<CodeableConcept> authorization
The authorization (e.g., PurposeOfUse) that was used during the event being recorded.
-
-
Constructor Detail
-
AuditEventAgentComponent
public AuditEventAgentComponent()
Constructor
-
AuditEventAgentComponent
public AuditEventAgentComponent(Reference who)
Constructor
-
-
Method Detail
-
getType
public CodeableConcept getType()
- Returns:
type(The Functional Role of the user when performing the event.)
-
hasType
public boolean hasType()
-
setType
public AuditEvent.AuditEventAgentComponent setType(CodeableConcept value)
- Parameters:
value-type(The Functional Role of the user when performing the event.)
-
getRole
public List<CodeableConcept> getRole()
- Returns:
role(The structural roles of the agent indicating the agent's competency. The security role enabling the agent with respect to the activity.)
-
setRole
public AuditEvent.AuditEventAgentComponent setRole(List<CodeableConcept> theRole)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasRole
public boolean hasRole()
-
addRole
public CodeableConcept addRole()
-
addRole
public AuditEvent.AuditEventAgentComponent addRole(CodeableConcept t)
-
getRoleFirstRep
public CodeableConcept getRoleFirstRep()
- Returns:
- The first repetition of repeating field
role, creating it if it does not already exist {3}
-
getWho
public Reference getWho()
- Returns:
who(Reference to who this agent is that was involved in the event.)
-
hasWho
public boolean hasWho()
-
setWho
public AuditEvent.AuditEventAgentComponent setWho(Reference value)
- Parameters:
value-who(Reference to who this agent is that was involved in the event.)
-
getRequestorElement
public BooleanType getRequestorElement()
- Returns:
requestor(Indicator that the user is or is not the requestor, or initiator, for the event being audited.). This is the underlying object with id, value and extensions. The accessor "getRequestor" gives direct access to the value
-
hasRequestorElement
public boolean hasRequestorElement()
-
hasRequestor
public boolean hasRequestor()
-
setRequestorElement
public AuditEvent.AuditEventAgentComponent setRequestorElement(BooleanType value)
- Parameters:
value-requestor(Indicator that the user is or is not the requestor, or initiator, for the event being audited.). This is the underlying object with id, value and extensions. The accessor "getRequestor" gives direct access to the value
-
getRequestor
public boolean getRequestor()
- Returns:
- Indicator that the user is or is not the requestor, or initiator, for the event being audited.
-
setRequestor
public AuditEvent.AuditEventAgentComponent setRequestor(boolean value)
- Parameters:
value- Indicator that the user is or is not the requestor, or initiator, for the event being audited.
-
getLocation
public Reference getLocation()
- Returns:
location(Where the agent location is known, the agent location when the event occurred.)
-
hasLocation
public boolean hasLocation()
-
setLocation
public AuditEvent.AuditEventAgentComponent setLocation(Reference value)
- Parameters:
value-location(Where the agent location is known, the agent location when the event occurred.)
-
getPolicy
public List<UriType> getPolicy()
- Returns:
policy(Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.)
-
setPolicy
public AuditEvent.AuditEventAgentComponent setPolicy(List<UriType> thePolicy)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPolicy
public boolean hasPolicy()
-
addPolicyElement
public UriType addPolicyElement()
- Returns:
policy(Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.)
-
addPolicy
public AuditEvent.AuditEventAgentComponent addPolicy(String value)
- Parameters:
value-policy(Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.)
-
hasPolicy
public boolean hasPolicy(String value)
- Parameters:
value-policy(Where the policy(ies) are known that authorized the agent participation in the event. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used.)
-
getNetwork
public DataType getNetwork()
- Returns:
network(When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.)
-
getNetworkReference
public Reference getNetworkReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
network(When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasNetworkReference
public boolean hasNetworkReference()
-
getNetworkUriType
public UriType getNetworkUriType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
network(When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasNetworkUriType
public boolean hasNetworkUriType()
-
getNetworkStringType
public StringType getNetworkStringType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
network(When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasNetworkStringType
public boolean hasNetworkStringType()
-
hasNetwork
public boolean hasNetwork()
-
setNetwork
public AuditEvent.AuditEventAgentComponent setNetwork(DataType value)
- Parameters:
value-network(When the event utilizes a network there should be an agent describing the local system, and an agent describing remote system, with the network interface details.)
-
getAuthorization
public List<CodeableConcept> getAuthorization()
- Returns:
authorization(The authorization (e.g., PurposeOfUse) that was used during the event being recorded.)
-
setAuthorization
public AuditEvent.AuditEventAgentComponent setAuthorization(List<CodeableConcept> theAuthorization)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAuthorization
public boolean hasAuthorization()
-
addAuthorization
public CodeableConcept addAuthorization()
-
addAuthorization
public AuditEvent.AuditEventAgentComponent addAuthorization(CodeableConcept t)
-
getAuthorizationFirstRep
public CodeableConcept getAuthorizationFirstRep()
- Returns:
- The first repetition of repeating field
authorization, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public AuditEvent.AuditEventAgentComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(AuditEvent.AuditEventAgentComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-