Package org.hl7.fhir.dstu2.model
Class AuditEvent.AuditEventEventComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.AuditEvent.AuditEventEventComponent
-
- 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.AuditEventEventComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
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.protected InstantTypedateTimeThe time when the event occurred on the source.protected Enumeration<AuditEvent.AuditEventOutcome>outcomeIndicates whether the event succeeded or failed.protected StringTypeoutcomeDescA free text description of the outcome of the event.protected List<Coding>purposeOfEventThe purposeOfUse (reason) that was used during the event being recorded.protected List<Coding>subtypeIdentifier for the category of event.protected CodingtypeIdentifier for a family of the event.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description AuditEventEventComponent()AuditEventEventComponent(Coding type, InstantType dateTime)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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 Coding 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.
-
action
protected Enumeration<AuditEvent.AuditEventAction> action
Indicator for type of action performed during the event that generated the audit.
-
dateTime
protected InstantType dateTime
The time when the event occurred on the source.
-
outcome
protected Enumeration<AuditEvent.AuditEventOutcome> outcome
Indicates whether the event succeeded or failed.
-
outcomeDesc
protected StringType outcomeDesc
A free text description of the outcome of the event.
-
purposeOfEvent
protected List<Coding> purposeOfEvent
The purposeOfUse (reason) that was used during the event being recorded.
-
-
Constructor Detail
-
AuditEventEventComponent
public AuditEventEventComponent()
-
AuditEventEventComponent
public AuditEventEventComponent(Coding type, InstantType dateTime)
-
-
Method Detail
-
getType
public Coding 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
public boolean hasType()
-
setType
public AuditEvent.AuditEventEventComponent setType(Coding value)
- 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
public List<Coding> getSubtype()
- Returns:
subtype(Identifier for the category of event.)
-
hasSubtype
public boolean hasSubtype()
-
addSubtype
public Coding addSubtype()
- Returns:
subtype(Identifier for the category of event.)
-
addSubtype
public AuditEvent.AuditEventEventComponent addSubtype(Coding t)
-
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.AuditEventEventComponent 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.AuditEventEventComponent setAction(AuditEvent.AuditEventAction value)
- Parameters:
value- Indicator for type of action performed during the event that generated the audit.
-
getDateTimeElement
public InstantType getDateTimeElement()
- Returns:
dateTime(The time when the event occurred on the source.). This is the underlying object with id, value and extensions. The accessor "getDateTime" gives direct access to the value
-
hasDateTimeElement
public boolean hasDateTimeElement()
-
hasDateTime
public boolean hasDateTime()
-
setDateTimeElement
public AuditEvent.AuditEventEventComponent setDateTimeElement(InstantType value)
- Parameters:
value-dateTime(The time when the event occurred on the source.). This is the underlying object with id, value and extensions. The accessor "getDateTime" gives direct access to the value
-
getDateTime
public Date getDateTime()
- Returns:
- The time when the event occurred on the source.
-
setDateTime
public AuditEvent.AuditEventEventComponent setDateTime(Date value)
- Parameters:
value- The time when the event occurred on the source.
-
getOutcomeElement
public Enumeration<AuditEvent.AuditEventOutcome> 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
public boolean hasOutcomeElement()
-
hasOutcome
public boolean hasOutcome()
-
setOutcomeElement
public AuditEvent.AuditEventEventComponent setOutcomeElement(Enumeration<AuditEvent.AuditEventOutcome> value)
- 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
public AuditEvent.AuditEventOutcome getOutcome()
- Returns:
- Indicates whether the event succeeded or failed.
-
setOutcome
public AuditEvent.AuditEventEventComponent setOutcome(AuditEvent.AuditEventOutcome value)
- Parameters:
value- Indicates whether the event succeeded or failed.
-
getOutcomeDescElement
public StringType 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
public boolean hasOutcomeDescElement()
-
hasOutcomeDesc
public boolean hasOutcomeDesc()
-
setOutcomeDescElement
public AuditEvent.AuditEventEventComponent setOutcomeDescElement(StringType value)
- 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
public String getOutcomeDesc()
- Returns:
- A free text description of the outcome of the event.
-
setOutcomeDesc
public AuditEvent.AuditEventEventComponent setOutcomeDesc(String value)
- Parameters:
value- A free text description of the outcome of the event.
-
getPurposeOfEvent
public List<Coding> getPurposeOfEvent()
- Returns:
purposeOfEvent(The purposeOfUse (reason) that was used during the event being recorded.)
-
hasPurposeOfEvent
public boolean hasPurposeOfEvent()
-
addPurposeOfEvent
public Coding addPurposeOfEvent()
- Returns:
purposeOfEvent(The purposeOfUse (reason) that was used during the event being recorded.)
-
addPurposeOfEvent
public AuditEvent.AuditEventEventComponent addPurposeOfEvent(Coding t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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.AuditEventEventComponent copy()
- Specified by:
copyin classBackboneElement
-
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
-
-