Package org.hl7.fhir.dstu2.model
Class AuditEvent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.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 made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEvent.AuditEventActionstatic classAuditEvent.AuditEventActionEnumFactorystatic classAuditEvent.AuditEventEventComponentstatic classAuditEvent.AuditEventObjectComponentstatic classAuditEvent.AuditEventObjectDetailComponentstatic classAuditEvent.AuditEventOutcomestatic classAuditEvent.AuditEventOutcomeEnumFactorystatic classAuditEvent.AuditEventParticipantComponentstatic classAuditEvent.AuditEventParticipantNetworkComponentstatic classAuditEvent.AuditEventParticipantNetworkTypestatic classAuditEvent.AuditEventParticipantNetworkTypeEnumFactorystatic classAuditEvent.AuditEventSourceComponent
-
Field Summary
Fields Modifier and Type Field Description protected AuditEvent.AuditEventEventComponenteventIdentifies the name, action type, time, and disposition of the audited event.protected List<AuditEvent.AuditEventObjectComponent>objectSpecific instances of data or objects that have been accessed.protected List<AuditEvent.AuditEventParticipantComponent>participantA person, a hardware device or software process.protected AuditEvent.AuditEventSourceComponentsourceApplication systems and processes.static StringSP_ACTIONstatic StringSP_ADDRESSstatic StringSP_ALTIDstatic StringSP_DATEstatic StringSP_DESCstatic StringSP_IDENTITYstatic StringSP_NAMEstatic StringSP_OBJECTTYPEstatic StringSP_PARTICIPANTstatic StringSP_PATIENTstatic StringSP_POLICYstatic StringSP_REFERENCEstatic StringSP_SITEstatic StringSP_SOURCEstatic StringSP_SUBTYPEstatic StringSP_TYPEstatic StringSP_USER-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AuditEvent()AuditEvent(AuditEvent.AuditEventEventComponent event, AuditEvent.AuditEventSourceComponent source)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
event
protected AuditEvent.AuditEventEventComponent event
Identifies the name, action type, time, and disposition of the audited event.
-
participant
protected List<AuditEvent.AuditEventParticipantComponent> participant
A person, a hardware device or software process.
-
source
protected AuditEvent.AuditEventSourceComponent source
Application systems and processes.
-
object
protected List<AuditEvent.AuditEventObjectComponent> object
Specific instances of data or objects that have been accessed.
-
SP_DATE
public static final String SP_DATE
- See Also:
- Constant Field Values
-
SP_ADDRESS
public static final String SP_ADDRESS
- See Also:
- Constant Field Values
-
SP_SOURCE
public static final String SP_SOURCE
- See Also:
- Constant Field Values
-
SP_TYPE
public static final String SP_TYPE
- See Also:
- Constant Field Values
-
SP_ALTID
public static final String SP_ALTID
- See Also:
- Constant Field Values
-
SP_PARTICIPANT
public static final String SP_PARTICIPANT
- See Also:
- Constant Field Values
-
SP_REFERENCE
public static final String SP_REFERENCE
- See Also:
- Constant Field Values
-
SP_SITE
public static final String SP_SITE
- See Also:
- Constant Field Values
-
SP_SUBTYPE
public static final String SP_SUBTYPE
- See Also:
- Constant Field Values
-
SP_IDENTITY
public static final String SP_IDENTITY
- See Also:
- Constant Field Values
-
SP_PATIENT
public static final String SP_PATIENT
- See Also:
- Constant Field Values
-
SP_OBJECTTYPE
public static final String SP_OBJECTTYPE
- See Also:
- Constant Field Values
-
SP_NAME
public static final String SP_NAME
- See Also:
- Constant Field Values
-
SP_ACTION
public static final String SP_ACTION
- See Also:
- Constant Field Values
-
SP_USER
public static final String SP_USER
- See Also:
- Constant Field Values
-
SP_DESC
public static final String SP_DESC
- See Also:
- Constant Field Values
-
SP_POLICY
public static final String SP_POLICY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuditEvent
public AuditEvent()
-
AuditEvent
public AuditEvent(AuditEvent.AuditEventEventComponent event, AuditEvent.AuditEventSourceComponent source)
-
-
Method Detail
-
getEvent
public AuditEvent.AuditEventEventComponent getEvent()
- Returns:
event(Identifies the name, action type, time, and disposition of the audited event.)
-
hasEvent
public boolean hasEvent()
-
setEvent
public AuditEvent setEvent(AuditEvent.AuditEventEventComponent value)
- Parameters:
value-event(Identifies the name, action type, time, and disposition of the audited event.)
-
getParticipant
public List<AuditEvent.AuditEventParticipantComponent> getParticipant()
- Returns:
participant(A person, a hardware device or software process.)
-
hasParticipant
public boolean hasParticipant()
-
addParticipant
public AuditEvent.AuditEventParticipantComponent addParticipant()
- Returns:
participant(A person, a hardware device or software process.)
-
addParticipant
public AuditEvent addParticipant(AuditEvent.AuditEventParticipantComponent t)
-
getSource
public AuditEvent.AuditEventSourceComponent getSource()
- Returns:
source(Application systems and processes.)
-
hasSource
public boolean hasSource()
-
setSource
public AuditEvent setSource(AuditEvent.AuditEventSourceComponent value)
- Parameters:
value-source(Application systems and processes.)
-
getObject
public List<AuditEvent.AuditEventObjectComponent> getObject()
- Returns:
object(Specific instances of data or objects that have been accessed.)
-
hasObject
public boolean hasObject()
-
addObject
public AuditEvent.AuditEventObjectComponent addObject()
- Returns:
object(Specific instances of data or objects that have been accessed.)
-
addObject
public AuditEvent addObject(AuditEvent.AuditEventObjectComponent t)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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
-
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
-
-