Class AuditEvent
- 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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static enum
static class
static class
static class
static enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Enumeration
<AuditEvent.AuditEventAction> Indicator for type of action performed during the event that generated the audit.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for actionstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for addressprotected List
<AuditEvent.AuditEventAgentComponent> An actor taking an active role in the event or activity that is logged.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for agentstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for agent-namestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for agent-rolestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for altidstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for dateprotected List
<AuditEvent.AuditEventEntityComponent> Specific instances of data or objects that have been accessed.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for entitystatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for entity-idstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for entity-namestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for entity-rolestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for entity-typestatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected Enumeration
<AuditEvent.AuditEventOutcome> Indicates whether the event succeeded or failed.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for outcomeprotected StringType
A free text description of the outcome of the event.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.UriClientParam
Fluent Client search parameter constant for policyprotected List
<CodeableConcept> The purposeOfUse (reason) that was used during the event being recorded.protected InstantType
The time when the event occurred on the source.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for siteprotected AuditEvent.AuditEventSourceComponent
The system that is reporting the event.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for sourcestatic final String
Search parameter: actionstatic final String
Search parameter: addressstatic final String
Search parameter: agentstatic final String
Search parameter: agent-namestatic final String
Search parameter: agent-rolestatic final String
Search parameter: altidstatic final String
Search parameter: datestatic final String
Search parameter: entitystatic final String
Search parameter: entity-idstatic final String
Search parameter: entity-namestatic final String
Search parameter: entity-rolestatic final String
Search parameter: entity-typestatic final String
Search parameter: outcomestatic final String
Search parameter: patientstatic final String
Search parameter: policystatic final String
Search parameter: sitestatic final String
Search parameter: sourcestatic final String
Search parameter: subtypestatic final String
Search parameter: typestatic final String
Search parameter: userIdentifier for the category of event.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for subtypeprotected Coding
Identifier for a family of the event.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for typestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for userFields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionConstructorAuditEvent
(Coding type, InstantType recorded, AuditEvent.AuditEventSourceComponent source) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddAgent()
addSubtype
(Coding t) copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getAgent()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) getType()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
hasAgent()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAgent
(List<AuditEvent.AuditEventAgentComponent> theAgent) setEntity
(List<AuditEvent.AuditEventEntityComponent> theEntity) setOutcomeDesc
(String value) setOutcomeDescElement
(StringType value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setPurposeOfEvent
(List<CodeableConcept> thePurposeOfEvent) setRecorded
(Date value) setRecordedElement
(InstantType value) setSubtype
(List<Coding> theSubtype) protected AuditEvent
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, 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.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
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, 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, isDeleted, setId
-
Field Details
-
type
Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function. -
subtype
Identifier for the category of event. -
action
Indicator for type of action performed during the event that generated the audit. -
recorded
The time when the event occurred on the source. -
outcome
Indicates whether the event succeeded or failed. -
outcomeDesc
A free text description of the outcome of the event. -
purposeOfEvent
The purposeOfUse (reason) that was used during the event being recorded. -
agent
An actor taking an active role in the event or activity that is logged. -
source
The system that is reporting the event. -
entity
Specific instances of data or objects that have been accessed. -
SP_DATE
Search parameter: dateDescription: Time when the event occurred on source
Type: date
Path: AuditEvent.recorded
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription: Time when the event occurred on source
Type: date
Path: AuditEvent.recorded
-
SP_ENTITY_TYPE
Search parameter: entity-typeDescription: Type of entity involved
Type: token
Path: AuditEvent.entity.type
- See Also:
-
ENTITY_TYPE
Fluent Client search parameter constant for entity-typeDescription: Type of entity involved
Type: token
Path: AuditEvent.entity.type
-
SP_AGENT
Search parameter: agentDescription: Direct reference to resource
Type: reference
Path: AuditEvent.agent.reference
- See Also:
-
AGENT
Fluent Client search parameter constant for agentDescription: Direct reference to resource
Type: reference
Path: AuditEvent.agent.reference
-
INCLUDE_AGENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:agent". -
SP_ADDRESS
Search parameter: addressDescription: Identifier for the network access point of the user device
Type: string
Path: AuditEvent.agent.network.address
- See Also:
-
ADDRESS
Fluent Client search parameter constant for addressDescription: Identifier for the network access point of the user device
Type: string
Path: AuditEvent.agent.network.address
-
SP_ENTITY_ROLE
Search parameter: entity-roleDescription: What role the entity played
Type: token
Path: AuditEvent.entity.role
- See Also:
-
ENTITY_ROLE
Fluent Client search parameter constant for entity-roleDescription: What role the entity played
Type: token
Path: AuditEvent.entity.role
-
SP_SOURCE
Search parameter: sourceDescription: The identity of source detecting the event
Type: token
Path: AuditEvent.source.identifier
- See Also:
-
SOURCE
Fluent Client search parameter constant for sourceDescription: The identity of source detecting the event
Type: token
Path: AuditEvent.source.identifier
-
SP_TYPE
Search parameter: typeDescription: Type/identifier of event
Type: token
Path: AuditEvent.type
- See Also:
-
TYPE
Fluent Client search parameter constant for typeDescription: Type/identifier of event
Type: token
Path: AuditEvent.type
-
SP_ALTID
Search parameter: altidDescription: Alternative User id e.g. authentication
Type: token
Path: AuditEvent.agent.altId
- See Also:
-
ALTID
Fluent Client search parameter constant for altidDescription: Alternative User id e.g. authentication
Type: token
Path: AuditEvent.agent.altId
-
SP_SITE
Search parameter: siteDescription: Logical source location within the enterprise
Type: token
Path: AuditEvent.source.site
- See Also:
-
SITE
Fluent Client search parameter constant for siteDescription: Logical source location within the enterprise
Type: token
Path: AuditEvent.source.site
-
SP_AGENT_NAME
Search parameter: agent-nameDescription: Human-meaningful name for the agent
Type: string
Path: AuditEvent.agent.name
- See Also:
-
AGENT_NAME
Fluent Client search parameter constant for agent-nameDescription: Human-meaningful name for the agent
Type: string
Path: AuditEvent.agent.name
-
SP_ENTITY_NAME
Search parameter: entity-nameDescription: Descriptor for entity
Type: string
Path: AuditEvent.entity.name
- See Also:
-
ENTITY_NAME
Fluent Client search parameter constant for entity-nameDescription: Descriptor for entity
Type: string
Path: AuditEvent.entity.name
-
SP_SUBTYPE
Search parameter: subtypeDescription: More specific type/id for the event
Type: token
Path: AuditEvent.subtype
- See Also:
-
SUBTYPE
Fluent Client search parameter constant for subtypeDescription: More specific type/id for the event
Type: token
Path: AuditEvent.subtype
-
SP_PATIENT
Search parameter: patientDescription: Direct reference to resource
Type: reference
Path: AuditEvent.agent.reference, AuditEvent.entity.reference
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: Direct reference to resource
Type: reference
Path: AuditEvent.agent.reference, AuditEvent.entity.reference
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:patient". -
SP_ACTION
Search parameter: actionDescription: Type of action performed during the event
Type: token
Path: AuditEvent.action
- See Also:
-
ACTION
Fluent Client search parameter constant for actionDescription: Type of action performed during the event
Type: token
Path: AuditEvent.action
-
SP_AGENT_ROLE
Search parameter: agent-roleDescription: Agent role in the event
Type: token
Path: AuditEvent.agent.role
- See Also:
-
AGENT_ROLE
Fluent Client search parameter constant for agent-roleDescription: Agent role in the event
Type: token
Path: AuditEvent.agent.role
-
SP_USER
Search parameter: userDescription: Unique identifier for the user
Type: token
Path: AuditEvent.agent.userId
- See Also:
-
USER
Fluent Client search parameter constant for userDescription: Unique identifier for the user
Type: token
Path: AuditEvent.agent.userId
-
SP_ENTITY
Search parameter: entityDescription: Specific instance of resource
Type: reference
Path: AuditEvent.entity.reference
- See Also:
-
ENTITY
Fluent Client search parameter constant for entityDescription: Specific instance of resource
Type: reference
Path: AuditEvent.entity.reference
-
INCLUDE_ENTITY
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:entity". -
SP_ENTITY_ID
Search parameter: entity-idDescription: Specific instance of object
Type: token
Path: AuditEvent.entity.identifier
- See Also:
-
ENTITY_ID
Fluent Client search parameter constant for entity-idDescription: Specific instance of object
Type: token
Path: AuditEvent.entity.identifier
-
SP_OUTCOME
Search parameter: outcomeDescription: Whether the event succeeded or failed
Type: token
Path: AuditEvent.outcome
- See Also:
-
OUTCOME
Fluent Client search parameter constant for outcomeDescription: Whether the event succeeded or failed
Type: token
Path: AuditEvent.outcome
-
SP_POLICY
Search parameter: policyDescription: Policy that authorized event
Type: uri
Path: AuditEvent.agent.policy
- See Also:
-
POLICY
Fluent Client search parameter constant for policyDescription: Policy that authorized event
Type: uri
Path: AuditEvent.agent.policy
-
-
Constructor Details
-
AuditEvent
public AuditEvent()Constructor -
AuditEvent
Constructor
-
-
Method Details
-
getType
- Returns:
type
(Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.)
-
hasType
-
setType
- Parameters:
value
-type
(Identifier for a family of the event. For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.)
-
getSubtype
- Returns:
subtype
(Identifier for the category of event.)
-
setSubtype
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSubtype
-
addSubtype
-
addSubtype
-
getSubtypeFirstRep
- Returns:
- The first repetition of repeating field
subtype
, creating it if it does not already exist
-
getActionElement
- Returns:
action
(Indicator for type of action performed during the event that generated the audit.). This is the underlying object with id, value and extensions. The accessor "getAction" gives direct access to the value
-
hasActionElement
-
hasAction
-
setActionElement
- Parameters:
value
-action
(Indicator for type of action performed during the event that generated the audit.). This is the underlying object with id, value and extensions. The accessor "getAction" gives direct access to the value
-
getAction
- Returns:
- Indicator for type of action performed during the event that generated the audit.
-
setAction
- Parameters:
value
- Indicator for type of action performed during the event that generated the audit.
-
getRecordedElement
- Returns:
recorded
(The time when the event occurred on the source.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
hasRecordedElement
-
hasRecorded
-
setRecordedElement
- Parameters:
value
-recorded
(The time when the event occurred on the source.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
getRecorded
- Returns:
- The time when the event occurred on the source.
-
setRecorded
- Parameters:
value
- The time when the event occurred on the source.
-
getOutcomeElement
- Returns:
outcome
(Indicates whether the event succeeded or failed.). This is the underlying object with id, value and extensions. The accessor "getOutcome" gives direct access to the value
-
hasOutcomeElement
-
hasOutcome
-
setOutcomeElement
- Parameters:
value
-outcome
(Indicates whether the event succeeded or failed.). This is the underlying object with id, value and extensions. The accessor "getOutcome" gives direct access to the value
-
getOutcome
- Returns:
- Indicates whether the event succeeded or failed.
-
setOutcome
- Parameters:
value
- Indicates whether the event succeeded or failed.
-
getOutcomeDescElement
- Returns:
outcomeDesc
(A free text description of the outcome of the event.). This is the underlying object with id, value and extensions. The accessor "getOutcomeDesc" gives direct access to the value
-
hasOutcomeDescElement
-
hasOutcomeDesc
-
setOutcomeDescElement
- Parameters:
value
-outcomeDesc
(A free text description of the outcome of the event.). This is the underlying object with id, value and extensions. The accessor "getOutcomeDesc" gives direct access to the value
-
getOutcomeDesc
- Returns:
- A free text description of the outcome of the event.
-
setOutcomeDesc
- Parameters:
value
- A free text description of the outcome of the event.
-
getPurposeOfEvent
- Returns:
purposeOfEvent
(The purposeOfUse (reason) that was used during the event being recorded.)
-
setPurposeOfEvent
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPurposeOfEvent
-
addPurposeOfEvent
-
addPurposeOfEvent
-
getPurposeOfEventFirstRep
- Returns:
- The first repetition of repeating field
purposeOfEvent
, creating it if it does not already exist
-
getAgent
- Returns:
agent
(An actor taking an active role in the event or activity that is logged.)
-
setAgent
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAgent
-
addAgent
-
addAgent
-
getAgentFirstRep
- Returns:
- The first repetition of repeating field
agent
, creating it if it does not already exist
-
getSource
- Returns:
source
(The system that is reporting the event.)
-
hasSource
-
setSource
- Parameters:
value
-source
(The system that is reporting the event.)
-
getEntity
- Returns:
entity
(Specific instances of data or objects that have been accessed.)
-
setEntity
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEntity
-
addEntity
-
addEntity
-
getEntityFirstRep
- Returns:
- The first repetition of repeating field
entity
, creating it if it does not already exist
-
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
-
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
-