Class AuditEvent
- 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.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
public class AuditEvent extends DomainResource
A record of an event relevant for purposes such as operations, privacy, security, maintenance, and performance analysis.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEvent.AuditEventActionstatic classAuditEvent.AuditEventActionEnumFactorystatic classAuditEvent.AuditEventAgentComponentstatic classAuditEvent.AuditEventEntityComponentstatic classAuditEvent.AuditEventEntityDetailComponentstatic classAuditEvent.AuditEventOutcomeComponentstatic classAuditEvent.AuditEventSeveritystatic classAuditEvent.AuditEventSeverityEnumFactorystatic classAuditEvent.AuditEventSourceComponent
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<AuditEvent.AuditEventAction>actionIndicator for type of action performed during the event that generated the audit.static ca.uhn.fhir.rest.gclient.TokenClientParamACTIONFluent Client search parameter constant for actionprotected List<AuditEvent.AuditEventAgentComponent>agentAn actor taking an active role in the event or activity that is logged.static ca.uhn.fhir.rest.gclient.ReferenceClientParamAGENTFluent Client search parameter constant for agentstatic ca.uhn.fhir.rest.gclient.TokenClientParamAGENT_ROLEFluent Client search parameter constant for agent-roleprotected List<CodeableConcept>authorizationThe authorization (e.g., PurposeOfUse) that was used during the event being recorded.static ca.uhn.fhir.rest.gclient.ReferenceClientParamBASED_ONFluent Client search parameter constant for based-onprotected List<Reference>basedOnAllows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.protected List<CodeableConcept>categoryClassification of the type of event.static ca.uhn.fhir.rest.gclient.TokenClientParamCATEGORYFluent Client search parameter constant for categoryprotected CodeableConceptcodeDescribes what happened.static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for dateprotected ReferenceencounterThis will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterprotected List<AuditEvent.AuditEventEntityComponent>entitySpecific instances of data or objects that have been accessed.static ca.uhn.fhir.rest.gclient.ReferenceClientParamENTITYFluent Client search parameter constant for entitystatic ca.uhn.fhir.rest.gclient.TokenClientParamENTITY_ROLEFluent Client search parameter constant for entity-rolestatic ca.uhn.fhir.model.api.IncludeINCLUDE_AGENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_BASED_ONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ENTITYConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SOURCEConstant for fluent queries to be used to add include statements.protected DataTypeoccurredThe time or period during which the activity occurred.protected AuditEvent.AuditEventOutcomeComponentoutcomeIndicates whether the event succeeded or failed.static ca.uhn.fhir.rest.gclient.TokenClientParamOUTCOMEFluent Client search parameter constant for outcomestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.UriClientParamPOLICYFluent Client search parameter constant for policystatic ca.uhn.fhir.rest.gclient.TokenClientParamPURPOSEFluent Client search parameter constant for purposeprotected InstantTyperecordedThe time when the event was recorded.protected Enumeration<AuditEvent.AuditEventSeverity>severityIndicates and enables segmentation of various severity including debugging from critical.protected AuditEvent.AuditEventSourceComponentsourceThe actor that is reporting the event.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSOURCEFluent Client search parameter constant for sourcestatic StringSP_ACTIONSearch parameter: actionstatic StringSP_AGENTSearch parameter: agentstatic StringSP_AGENT_ROLESearch parameter: agent-rolestatic StringSP_BASED_ONSearch parameter: based-onstatic StringSP_CATEGORYSearch parameter: categorystatic StringSP_CODESearch parameter: codestatic StringSP_DATESearch parameter: datestatic StringSP_ENCOUNTERSearch parameter: encounterstatic StringSP_ENTITYSearch parameter: entitystatic StringSP_ENTITY_ROLESearch parameter: entity-rolestatic StringSP_OUTCOMESearch parameter: outcomestatic StringSP_PATIENTSearch parameter: patientstatic StringSP_POLICYSearch parameter: policystatic StringSP_PURPOSESearch parameter: purposestatic StringSP_SOURCESearch parameter: source-
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
-
-
Constructor Summary
Constructors Constructor Description AuditEvent()ConstructorAuditEvent(CodeableConcept code, Date recorded, AuditEvent.AuditEventAgentComponent agent, AuditEvent.AuditEventSourceComponent source)Constructor
-
Method Summary
-
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
-
-
-
-
Field Detail
-
category
protected List<CodeableConcept> category
Classification of the type of event.
-
code
protected CodeableConcept code
Describes what happened. The most specific code for the event.
-
action
protected Enumeration<AuditEvent.AuditEventAction> action
Indicator for type of action performed during the event that generated the audit.
-
severity
protected Enumeration<AuditEvent.AuditEventSeverity> severity
Indicates and enables segmentation of various severity including debugging from critical.
-
recorded
protected InstantType recorded
The time when the event was recorded.
-
outcome
protected AuditEvent.AuditEventOutcomeComponent outcome
Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.
-
authorization
protected List<CodeableConcept> authorization
The authorization (e.g., PurposeOfUse) that was used during the event being recorded.
-
basedOn
protected List<Reference> basedOn
Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.
-
encounter
protected Reference encounter
This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).
-
agent
protected List<AuditEvent.AuditEventAgentComponent> agent
An actor taking an active role in the event or activity that is logged.
-
source
protected AuditEvent.AuditEventSourceComponent source
The actor that is reporting the event.
-
entity
protected List<AuditEvent.AuditEventEntityComponent> entity
Specific instances of data or objects that have been accessed.
-
SP_ACTION
public static final String SP_ACTION
Search parameter: actionDescription: Type of action performed during the event
Type: token
Path: AuditEvent.action
- See Also:
- Constant Field Values
-
ACTION
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION
Fluent Client search parameter constant for actionDescription: Type of action performed during the event
Type: token
Path: AuditEvent.action
-
SP_AGENT_ROLE
public static final String SP_AGENT_ROLE
Search parameter: agent-roleDescription: Agent role in the event
Type: token
Path: AuditEvent.agent.role
- See Also:
- Constant Field Values
-
AGENT_ROLE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam AGENT_ROLE
Fluent Client search parameter constant for agent-roleDescription: Agent role in the event
Type: token
Path: AuditEvent.agent.role
-
SP_AGENT
public static final String SP_AGENT
Search parameter: agentDescription: Identifier of who
Type: reference
Path: AuditEvent.agent.who
- See Also:
- Constant Field Values
-
AGENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AGENT
Fluent Client search parameter constant for agentDescription: Identifier of who
Type: reference
Path: AuditEvent.agent.who
-
INCLUDE_AGENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_AGENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:agent".
-
SP_BASED_ON
public static final String SP_BASED_ON
Search parameter: based-onDescription: Reference to the service request.
Type: reference
Path: AuditEvent.basedOn
- See Also:
- Constant Field Values
-
BASED_ON
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Fluent Client search parameter constant for based-onDescription: Reference to the service request.
Type: reference
Path: AuditEvent.basedOn
-
INCLUDE_BASED_ON
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:based-on".
-
SP_CATEGORY
public static final String SP_CATEGORY
Search parameter: categoryDescription: Category of event
Type: token
Path: AuditEvent.category
- See Also:
- Constant Field Values
-
CATEGORY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Fluent Client search parameter constant for categoryDescription: Category of event
Type: token
Path: AuditEvent.category
-
SP_CODE
public static final String SP_CODE
Search parameter: codeDescription: More specific code for the event
Type: token
Path: AuditEvent.code
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: More specific code for the event
Type: token
Path: AuditEvent.code
-
SP_DATE
public static final String SP_DATE
Search parameter: dateDescription: Time when the event was recorded
Type: date
Path: AuditEvent.recorded
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription: Time when the event was recorded
Type: date
Path: AuditEvent.recorded
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter: encounterDescription: Encounter related to the activity recorded in the AuditEvent
Type: reference
Path: AuditEvent.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Encounter related to the activity recorded in the AuditEvent
Type: reference
Path: AuditEvent.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:encounter".
-
SP_ENTITY_ROLE
public static final String SP_ENTITY_ROLE
Search parameter: entity-roleDescription: What role the entity played
Type: token
Path: AuditEvent.entity.role
- See Also:
- Constant Field Values
-
ENTITY_ROLE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ENTITY_ROLE
Fluent Client search parameter constant for entity-roleDescription: What role the entity played
Type: token
Path: AuditEvent.entity.role
-
SP_ENTITY
public static final String SP_ENTITY
Search parameter: entityDescription: Specific instance of resource
Type: reference
Path: AuditEvent.entity.what
- See Also:
- Constant Field Values
-
ENTITY
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENTITY
Fluent Client search parameter constant for entityDescription: Specific instance of resource
Type: reference
Path: AuditEvent.entity.what
-
INCLUDE_ENTITY
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENTITY
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:entity".
-
SP_OUTCOME
public static final String SP_OUTCOME
Search parameter: outcomeDescription: Whether the event succeeded or failed
Type: token
Path: AuditEvent.outcome.code
- See Also:
- Constant Field Values
-
OUTCOME
public static final ca.uhn.fhir.rest.gclient.TokenClientParam OUTCOME
Fluent Client search parameter constant for outcomeDescription: Whether the event succeeded or failed
Type: token
Path: AuditEvent.outcome.code
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter: patientDescription: Identifier of who
Type: reference
Path: AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Identifier of who
Type: reference
Path: AuditEvent.agent.who.where(resolve() is Patient) | AuditEvent.entity.what.where(resolve() is Patient)
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:patient".
-
SP_POLICY
public static final String SP_POLICY
Search parameter: policyDescription: Policy that authorized event
Type: uri
Path: AuditEvent.agent.policy
- See Also:
- Constant Field Values
-
POLICY
public static final ca.uhn.fhir.rest.gclient.UriClientParam POLICY
Fluent Client search parameter constant for policyDescription: Policy that authorized event
Type: uri
Path: AuditEvent.agent.policy
-
SP_PURPOSE
public static final String SP_PURPOSE
Search parameter: purposeDescription: The authorization (purposeOfUse) of the event
Type: token
Path: AuditEvent.authorization | AuditEvent.agent.authorization
- See Also:
- Constant Field Values
-
PURPOSE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PURPOSE
Fluent Client search parameter constant for purposeDescription: The authorization (purposeOfUse) of the event
Type: token
Path: AuditEvent.authorization | AuditEvent.agent.authorization
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter: sourceDescription: The identity of source detecting the event
Type: reference
Path: AuditEvent.source.observer
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Fluent Client search parameter constant for sourceDescription: The identity of source detecting the event
Type: reference
Path: AuditEvent.source.observer
-
INCLUDE_SOURCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:source".
-
-
Constructor Detail
-
AuditEvent
public AuditEvent()
Constructor
-
AuditEvent
public AuditEvent(CodeableConcept code, Date recorded, AuditEvent.AuditEventAgentComponent agent, AuditEvent.AuditEventSourceComponent source)
Constructor
-
-
Method Detail
-
getCategory
public List<CodeableConcept> getCategory()
- Returns:
category(Classification of the type of event.)
-
setCategory
public AuditEvent setCategory(List<CodeableConcept> theCategory)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasCategory
public boolean hasCategory()
-
addCategory
public CodeableConcept addCategory()
-
addCategory
public AuditEvent addCategory(CodeableConcept t)
-
getCategoryFirstRep
public CodeableConcept getCategoryFirstRep()
- Returns:
- The first repetition of repeating field
category, creating it if it does not already exist {3}
-
getCode
public CodeableConcept getCode()
- Returns:
code(Describes what happened. The most specific code for the event.)
-
hasCode
public boolean hasCode()
-
setCode
public AuditEvent setCode(CodeableConcept value)
- Parameters:
value-code(Describes what happened. The most specific code for the event.)
-
getActionElement
public Enumeration<AuditEvent.AuditEventAction> 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
public boolean hasActionElement()
-
hasAction
public boolean hasAction()
-
setActionElement
public AuditEvent setActionElement(Enumeration<AuditEvent.AuditEventAction> value)
- 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
public AuditEvent.AuditEventAction getAction()
- Returns:
- Indicator for type of action performed during the event that generated the audit.
-
setAction
public AuditEvent setAction(AuditEvent.AuditEventAction value)
- Parameters:
value- Indicator for type of action performed during the event that generated the audit.
-
getSeverityElement
public Enumeration<AuditEvent.AuditEventSeverity> getSeverityElement()
- Returns:
severity(Indicates and enables segmentation of various severity including debugging from critical.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
hasSeverityElement
public boolean hasSeverityElement()
-
hasSeverity
public boolean hasSeverity()
-
setSeverityElement
public AuditEvent setSeverityElement(Enumeration<AuditEvent.AuditEventSeverity> value)
- Parameters:
value-severity(Indicates and enables segmentation of various severity including debugging from critical.). This is the underlying object with id, value and extensions. The accessor "getSeverity" gives direct access to the value
-
getSeverity
public AuditEvent.AuditEventSeverity getSeverity()
- Returns:
- Indicates and enables segmentation of various severity including debugging from critical.
-
setSeverity
public AuditEvent setSeverity(AuditEvent.AuditEventSeverity value)
- Parameters:
value- Indicates and enables segmentation of various severity including debugging from critical.
-
getOccurred
public DataType getOccurred()
- Returns:
occurred(The time or period during which the activity occurred.)
-
getOccurredPeriod
public Period getOccurredPeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurred(The time or period during which the activity occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurredPeriod
public boolean hasOccurredPeriod()
-
getOccurredDateTimeType
public DateTimeType getOccurredDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
occurred(The time or period during which the activity occurred.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasOccurredDateTimeType
public boolean hasOccurredDateTimeType()
-
hasOccurred
public boolean hasOccurred()
-
setOccurred
public AuditEvent setOccurred(DataType value)
- Parameters:
value-occurred(The time or period during which the activity occurred.)
-
getRecordedElement
public InstantType getRecordedElement()
- Returns:
recorded(The time when the event was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
hasRecordedElement
public boolean hasRecordedElement()
-
hasRecorded
public boolean hasRecorded()
-
setRecordedElement
public AuditEvent setRecordedElement(InstantType value)
- Parameters:
value-recorded(The time when the event was recorded.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
-
getRecorded
public Date getRecorded()
- Returns:
- The time when the event was recorded.
-
setRecorded
public AuditEvent setRecorded(Date value)
- Parameters:
value- The time when the event was recorded.
-
getOutcome
public AuditEvent.AuditEventOutcomeComponent getOutcome()
- Returns:
outcome(Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.)
-
hasOutcome
public boolean hasOutcome()
-
setOutcome
public AuditEvent setOutcome(AuditEvent.AuditEventOutcomeComponent value)
- Parameters:
value-outcome(Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.)
-
getAuthorization
public List<CodeableConcept> getAuthorization()
- Returns:
authorization(The authorization (e.g., PurposeOfUse) that was used during the event being recorded.)
-
setAuthorization
public AuditEvent setAuthorization(List<CodeableConcept> theAuthorization)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAuthorization
public boolean hasAuthorization()
-
addAuthorization
public CodeableConcept addAuthorization()
-
addAuthorization
public AuditEvent addAuthorization(CodeableConcept t)
-
getAuthorizationFirstRep
public CodeableConcept getAuthorizationFirstRep()
- Returns:
- The first repetition of repeating field
authorization, creating it if it does not already exist {3}
-
getBasedOn
public List<Reference> getBasedOn()
- Returns:
basedOn(Allows tracing of authorizatino for the events and tracking whether proposals/recommendations were acted upon.)
-
setBasedOn
public AuditEvent setBasedOn(List<Reference> theBasedOn)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasBasedOn
public boolean hasBasedOn()
-
addBasedOn
public Reference addBasedOn()
-
addBasedOn
public AuditEvent addBasedOn(Reference t)
-
getBasedOnFirstRep
public Reference getBasedOnFirstRep()
- Returns:
- The first repetition of repeating field
basedOn, creating it if it does not already exist {3}
-
getEncounter
public Reference getEncounter()
- Returns:
encounter(This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).)
-
hasEncounter
public boolean hasEncounter()
-
setEncounter
public AuditEvent setEncounter(Reference value)
- Parameters:
value-encounter(This will typically be the encounter the event occurred, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission lab tests).)
-
getAgent
public List<AuditEvent.AuditEventAgentComponent> getAgent()
- Returns:
agent(An actor taking an active role in the event or activity that is logged.)
-
setAgent
public AuditEvent setAgent(List<AuditEvent.AuditEventAgentComponent> theAgent)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAgent
public boolean hasAgent()
-
addAgent
public AuditEvent.AuditEventAgentComponent addAgent()
-
addAgent
public AuditEvent addAgent(AuditEvent.AuditEventAgentComponent t)
-
getAgentFirstRep
public AuditEvent.AuditEventAgentComponent getAgentFirstRep()
- Returns:
- The first repetition of repeating field
agent, creating it if it does not already exist {3}
-
getSource
public AuditEvent.AuditEventSourceComponent getSource()
- Returns:
source(The actor that is reporting the event.)
-
hasSource
public boolean hasSource()
-
setSource
public AuditEvent setSource(AuditEvent.AuditEventSourceComponent value)
- Parameters:
value-source(The actor that is reporting the event.)
-
getEntity
public List<AuditEvent.AuditEventEntityComponent> getEntity()
- Returns:
entity(Specific instances of data or objects that have been accessed.)
-
setEntity
public AuditEvent setEntity(List<AuditEvent.AuditEventEntityComponent> theEntity)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasEntity
public boolean hasEntity()
-
addEntity
public AuditEvent.AuditEventEntityComponent addEntity()
-
addEntity
public AuditEvent addEntity(AuditEvent.AuditEventEntityComponent t)
-
getEntityFirstRep
public AuditEvent.AuditEventEntityComponent getEntityFirstRep()
- Returns:
- The first repetition of repeating field
entity, creating it if it does not already exist {3}
-
listChildren
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public AuditEvent copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(AuditEvent dst)
-
typedCopy
protected AuditEvent typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-