Class AuditEvent.Event
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.AuditEvent.Event
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- AuditEvent
public static class AuditEvent.Event extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: AuditEvent.event ()Definition: Identifies the name, action type, time, and disposition of the audited event
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Event()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodingDtaddPurposeOfEvent()Adds and returns a new value for purposeOfEvent ()AuditEvent.EventaddPurposeOfEvent(CodingDt theValue)Adds a given new value for purposeOfEvent ()CodingDtaddSubtype()Adds and returns a new value for subtype ()AuditEvent.EventaddSubtype(CodingDt theValue)Adds a given new value for subtype ()StringgetAction()Gets the value(s) for action ().ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventActionEnum>getActionElement()Gets the value(s) for action ().<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)DategetDateTime()Gets the value(s) for dateTime ().ca.uhn.fhir.model.primitive.InstantDtgetDateTimeElement()Gets the value(s) for dateTime ().StringgetOutcome()Gets the value(s) for outcome ().StringgetOutcomeDesc()Gets the value(s) for outcomeDesc ().ca.uhn.fhir.model.primitive.StringDtgetOutcomeDescElement()Gets the value(s) for outcomeDesc ().ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventOutcomeEnum>getOutcomeElement()Gets the value(s) for outcome ().List<CodingDt>getPurposeOfEvent()Gets the value(s) for purposeOfEvent ().CodingDtgetPurposeOfEventFirstRep()Gets the first repetition for purposeOfEvent (), creating it if it does not already exist.List<CodingDt>getSubtype()Gets the value(s) for subtype ().CodingDtgetSubtypeFirstRep()Gets the first repetition for subtype (), creating it if it does not already exist.CodingDtgetType()Gets the value(s) for type ().booleanisEmpty()AuditEvent.EventsetAction(AuditEventActionEnum theValue)Sets the value(s) for action ()AuditEvent.EventsetAction(ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventActionEnum> theValue)Sets the value(s) for action ()AuditEvent.EventsetDateTime(ca.uhn.fhir.model.primitive.InstantDt theValue)Sets the value(s) for dateTime ()AuditEvent.EventsetDateTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for dateTime ()AuditEvent.EventsetDateTimeWithMillisPrecision(Date theDate)Sets the value for dateTime ()AuditEvent.EventsetOutcome(AuditEventOutcomeEnum theValue)Sets the value(s) for outcome ()AuditEvent.EventsetOutcome(ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventOutcomeEnum> theValue)Sets the value(s) for outcome ()AuditEvent.EventsetOutcomeDesc(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for outcomeDesc ()AuditEvent.EventsetOutcomeDesc(String theString)Sets the value for outcomeDesc ()AuditEvent.EventsetPurposeOfEvent(List<CodingDt> theValue)Sets the value(s) for purposeOfEvent ()AuditEvent.EventsetSubtype(List<CodingDt> theValue)Sets the value(s) for subtype ()AuditEvent.EventsetType(CodingDt theValue)Sets the value(s) for type ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Event
public Event()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getType
public CodingDt getType()
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull.Definition: 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
-
setType
public AuditEvent.Event setType(CodingDt theValue)
Sets the value(s) for type ()Definition: 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
public List<CodingDt> getSubtype()
Gets the value(s) for subtype (). creating it if it does not exist. Will not returnnull.Definition: Identifier for the category of event
-
setSubtype
public AuditEvent.Event setSubtype(List<CodingDt> theValue)
Sets the value(s) for subtype ()Definition: Identifier for the category of event
-
addSubtype
public CodingDt addSubtype()
Adds and returns a new value for subtype ()Definition: Identifier for the category of event
-
addSubtype
public AuditEvent.Event addSubtype(CodingDt theValue)
Adds a given new value for subtype ()Definition: Identifier for the category of event
- Parameters:
theValue- The subtype to add (must not benull)
-
getSubtypeFirstRep
public CodingDt getSubtypeFirstRep()
Gets the first repetition for subtype (), creating it if it does not already exist.Definition: Identifier for the category of event
-
getActionElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventActionEnum> getActionElement()
Gets the value(s) for action (). creating it if it does not exist. Will not returnnull.Definition: Indicator for type of action performed during the event that generated the audit
-
getAction
public String getAction()
Gets the value(s) for action (). creating it if it does not exist. This method may returnnull.Definition: Indicator for type of action performed during the event that generated the audit
-
setAction
public AuditEvent.Event setAction(ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventActionEnum> theValue)
Sets the value(s) for action ()Definition: Indicator for type of action performed during the event that generated the audit
-
setAction
public AuditEvent.Event setAction(AuditEventActionEnum theValue)
Sets the value(s) for action ()Definition: Indicator for type of action performed during the event that generated the audit
-
getDateTimeElement
public ca.uhn.fhir.model.primitive.InstantDt getDateTimeElement()
Gets the value(s) for dateTime (). creating it if it does not exist. Will not returnnull.Definition: The time when the event occurred on the source
-
getDateTime
public Date getDateTime()
Gets the value(s) for dateTime (). creating it if it does not exist. This method may returnnull.Definition: The time when the event occurred on the source
-
setDateTime
public AuditEvent.Event setDateTime(ca.uhn.fhir.model.primitive.InstantDt theValue)
Sets the value(s) for dateTime ()Definition: The time when the event occurred on the source
-
setDateTimeWithMillisPrecision
public AuditEvent.Event setDateTimeWithMillisPrecision(Date theDate)
Sets the value for dateTime ()Definition: The time when the event occurred on the source
-
setDateTime
public AuditEvent.Event setDateTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for dateTime ()Definition: The time when the event occurred on the source
-
getOutcomeElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventOutcomeEnum> getOutcomeElement()
Gets the value(s) for outcome (). creating it if it does not exist. Will not returnnull.Definition: Indicates whether the event succeeded or failed
-
getOutcome
public String getOutcome()
Gets the value(s) for outcome (). creating it if it does not exist. This method may returnnull.Definition: Indicates whether the event succeeded or failed
-
setOutcome
public AuditEvent.Event setOutcome(ca.uhn.fhir.model.primitive.BoundCodeDt<AuditEventOutcomeEnum> theValue)
Sets the value(s) for outcome ()Definition: Indicates whether the event succeeded or failed
-
setOutcome
public AuditEvent.Event setOutcome(AuditEventOutcomeEnum theValue)
Sets the value(s) for outcome ()Definition: Indicates whether the event succeeded or failed
-
getOutcomeDescElement
public ca.uhn.fhir.model.primitive.StringDt getOutcomeDescElement()
Gets the value(s) for outcomeDesc (). creating it if it does not exist. Will not returnnull.Definition: A free text description of the outcome of the event
-
getOutcomeDesc
public String getOutcomeDesc()
Gets the value(s) for outcomeDesc (). creating it if it does not exist. This method may returnnull.Definition: A free text description of the outcome of the event
-
setOutcomeDesc
public AuditEvent.Event setOutcomeDesc(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for outcomeDesc ()Definition: A free text description of the outcome of the event
-
setOutcomeDesc
public AuditEvent.Event setOutcomeDesc(String theString)
Sets the value for outcomeDesc ()Definition: A free text description of the outcome of the event
-
getPurposeOfEvent
public List<CodingDt> getPurposeOfEvent()
Gets the value(s) for purposeOfEvent (). creating it if it does not exist. Will not returnnull.Definition: The purposeOfUse (reason) that was used during the event being recorded.
-
setPurposeOfEvent
public AuditEvent.Event setPurposeOfEvent(List<CodingDt> theValue)
Sets the value(s) for purposeOfEvent ()Definition: The purposeOfUse (reason) that was used during the event being recorded.
-
addPurposeOfEvent
public CodingDt addPurposeOfEvent()
Adds and returns a new value for purposeOfEvent ()Definition: The purposeOfUse (reason) that was used during the event being recorded.
-
addPurposeOfEvent
public AuditEvent.Event addPurposeOfEvent(CodingDt theValue)
Adds a given new value for purposeOfEvent ()Definition: The purposeOfUse (reason) that was used during the event being recorded.
- Parameters:
theValue- The purposeOfEvent to add (must not benull)
-
getPurposeOfEventFirstRep
public CodingDt getPurposeOfEventFirstRep()
Gets the first repetition for purposeOfEvent (), creating it if it does not already exist.Definition: The purposeOfUse (reason) that was used during the event being recorded.
-
-