Class AuditEvent
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.AuditEvent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class AuditEvent extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR AuditEvent Resource ()Definition: 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
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/AuditEvent
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEvent.EventBlock class for child element: AuditEvent.event ()static classAuditEvent.ObjectDetailBlock class for child element: AuditEvent.object.detail ()static classAuditEvent.ObjectElementBlock class for child element: AuditEvent.object ()static classAuditEvent.ParticipantBlock class for child element: AuditEvent.participant ()static classAuditEvent.ParticipantNetworkBlock class for child element: AuditEvent.participant.network ()static classAuditEvent.SourceBlock class for child element: AuditEvent.source ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamACTIONFluent Client search parameter constant for actionstatic ca.uhn.fhir.rest.gclient.TokenClientParamADDRESSFluent Client search parameter constant for addressstatic ca.uhn.fhir.rest.gclient.TokenClientParamALTIDFluent Client search parameter constant for altidstatic ca.uhn.fhir.rest.gclient.DateClientParamDATEFluent Client search parameter constant for datestatic ca.uhn.fhir.rest.gclient.StringClientParamDESCFluent Client search parameter constant for descstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTITYFluent Client search parameter constant for identitystatic ca.uhn.fhir.model.api.IncludeINCLUDE_PARTICIPANTConstant 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_REFERENCEConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.StringClientParamNAMEFluent Client search parameter constant for namestatic ca.uhn.fhir.rest.gclient.TokenClientParamOBJECT_TYPEFluent Client search parameter constant for object-typestatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPARTICIPANTFluent Client search parameter constant for participantstatic 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.ReferenceClientParamREFERENCEFluent Client search parameter constant for referencestatic ca.uhn.fhir.rest.gclient.TokenClientParamSITEFluent Client search parameter constant for sitestatic ca.uhn.fhir.rest.gclient.TokenClientParamSOURCEFluent Client search parameter constant for sourcestatic StringSP_ACTIONSearch parameter constant for actionstatic StringSP_ADDRESSSearch parameter constant for addressstatic StringSP_ALTIDSearch parameter constant for altidstatic StringSP_DATESearch parameter constant for datestatic StringSP_DESCSearch parameter constant for descstatic StringSP_IDENTITYSearch parameter constant for identitystatic StringSP_NAMESearch parameter constant for namestatic StringSP_OBJECT_TYPESearch parameter constant for object-typestatic StringSP_PARTICIPANTSearch parameter constant for participantstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_POLICYSearch parameter constant for policystatic StringSP_REFERENCESearch parameter constant for referencestatic StringSP_SITESearch parameter constant for sitestatic StringSP_SOURCESearch parameter constant for sourcestatic StringSP_SUBTYPESearch parameter constant for subtypestatic StringSP_TYPESearch parameter constant for typestatic StringSP_USERSearch parameter constant for userstatic ca.uhn.fhir.rest.gclient.TokenClientParamSUBTYPEFluent Client search parameter constant for subtypestatic ca.uhn.fhir.rest.gclient.TokenClientParamTYPEFluent Client search parameter constant for typestatic ca.uhn.fhir.rest.gclient.TokenClientParamUSERFluent Client search parameter constant for user-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description AuditEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditEvent.ObjectElementaddObject()Adds and returns a new value for object ()AuditEventaddObject(AuditEvent.ObjectElement theValue)Adds a given new value for object ()AuditEvent.ParticipantaddParticipant()Adds and returns a new value for participant ()AuditEventaddParticipant(AuditEvent.Participant theValue)Adds a given new value for participant ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)AuditEvent.EventgetEvent()Gets the value(s) for event ().List<AuditEvent.ObjectElement>getObject()Gets the value(s) for object ().AuditEvent.ObjectElementgetObjectFirstRep()Gets the first repetition for object (), creating it if it does not already exist.List<AuditEvent.Participant>getParticipant()Gets the value(s) for participant ().AuditEvent.ParticipantgetParticipantFirstRep()Gets the first repetition for participant (), creating it if it does not already exist.StringgetResourceName()AuditEvent.SourcegetSource()Gets the value(s) for source ().ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()booleanisEmpty()AuditEventsetEvent(AuditEvent.Event theValue)Sets the value(s) for event ()AuditEventsetObject(List<AuditEvent.ObjectElement> theValue)Sets the value(s) for object ()AuditEventsetParticipant(List<AuditEvent.Participant> theValue)Sets the value(s) for participant ()AuditEventsetSource(AuditEvent.Source theValue)Sets the value(s) for source ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_TYPE
public static final String SP_TYPE
Search parameter constant for typeDescription:
Type: token
Path: AuditEvent.event.type
- See Also:
- Constant Field Values
-
TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
Fluent Client search parameter constant for typeDescription:
Type: token
Path: AuditEvent.event.type
-
SP_ACTION
public static final String SP_ACTION
Search parameter constant for actionDescription:
Type: token
Path: AuditEvent.event.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: token
Path: AuditEvent.event.action
-
SP_DATE
public static final String SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: AuditEvent.event.dateTime
- See Also:
- Constant Field Values
-
DATE
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: AuditEvent.event.dateTime
-
SP_SUBTYPE
public static final String SP_SUBTYPE
Search parameter constant for subtypeDescription:
Type: token
Path: AuditEvent.event.subtype
- See Also:
- Constant Field Values
-
SUBTYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBTYPE
Fluent Client search parameter constant for subtypeDescription:
Type: token
Path: AuditEvent.event.subtype
-
SP_USER
public static final String SP_USER
Search parameter constant for userDescription:
Type: token
Path: AuditEvent.participant.userId
- See Also:
- Constant Field Values
-
USER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam USER
Fluent Client search parameter constant for userDescription:
Type: token
Path: AuditEvent.participant.userId
-
SP_NAME
public static final String SP_NAME
Search parameter constant for nameDescription:
Type: string
Path: AuditEvent.participant.name
- See Also:
- Constant Field Values
-
NAME
public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
Fluent Client search parameter constant for nameDescription:
Type: string
Path: AuditEvent.participant.name
-
SP_ADDRESS
public static final String SP_ADDRESS
Search parameter constant for addressDescription:
Type: token
Path: AuditEvent.participant.network.address
- See Also:
- Constant Field Values
-
ADDRESS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS
Fluent Client search parameter constant for addressDescription:
Type: token
Path: AuditEvent.participant.network.address
-
SP_SOURCE
public static final String SP_SOURCE
Search parameter constant for sourceDescription:
Type: token
Path: AuditEvent.source.identifier
- See Also:
- Constant Field Values
-
SOURCE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE
Fluent Client search parameter constant for sourceDescription:
Type: token
Path: AuditEvent.source.identifier
-
SP_SITE
public static final String SP_SITE
Search parameter constant for siteDescription:
Type: token
Path: AuditEvent.source.site
- See Also:
- Constant Field Values
-
SITE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam SITE
Fluent Client search parameter constant for siteDescription:
Type: token
Path: AuditEvent.source.site
-
SP_OBJECT_TYPE
public static final String SP_OBJECT_TYPE
Search parameter constant for object-typeDescription:
Type: token
Path: AuditEvent.object.type
- See Also:
- Constant Field Values
-
OBJECT_TYPE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam OBJECT_TYPE
Fluent Client search parameter constant for object-typeDescription:
Type: token
Path: AuditEvent.object.type
-
SP_IDENTITY
public static final String SP_IDENTITY
Search parameter constant for identityDescription:
Type: token
Path: AuditEvent.object.identifier
- See Also:
- Constant Field Values
-
IDENTITY
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTITY
Fluent Client search parameter constant for identityDescription:
Type: token
Path: AuditEvent.object.identifier
-
SP_REFERENCE
public static final String SP_REFERENCE
Search parameter constant for referenceDescription:
Type: reference
Path: AuditEvent.object.reference
- See Also:
- Constant Field Values
-
REFERENCE
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REFERENCE
Fluent Client search parameter constant for referenceDescription:
Type: reference
Path: AuditEvent.object.reference
-
SP_DESC
public static final String SP_DESC
Search parameter constant for descDescription:
Type: string
Path: AuditEvent.object.name
- See Also:
- Constant Field Values
-
DESC
public static final ca.uhn.fhir.rest.gclient.StringClientParam DESC
Fluent Client search parameter constant for descDescription:
Type: string
Path: AuditEvent.object.name
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: AuditEvent.participant.reference | AuditEvent.object.reference
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: AuditEvent.participant.reference | AuditEvent.object.reference
-
SP_ALTID
public static final String SP_ALTID
Search parameter constant for altidDescription:
Type: token
Path: AuditEvent.participant.altId
- See Also:
- Constant Field Values
-
ALTID
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ALTID
Fluent Client search parameter constant for altidDescription:
Type: token
Path: AuditEvent.participant.altId
-
SP_PARTICIPANT
public static final String SP_PARTICIPANT
Search parameter constant for participantDescription:
Type: reference
Path: AuditEvent.participant.reference
- See Also:
- Constant Field Values
-
PARTICIPANT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
Fluent Client search parameter constant for participantDescription:
Type: reference
Path: AuditEvent.participant.reference
-
SP_POLICY
public static final String SP_POLICY
Search parameter constant for policyDescription:
Type: uri
Path: AuditEvent.participant.policy
- See Also:
- Constant Field Values
-
POLICY
public static final ca.uhn.fhir.rest.gclient.UriClientParam POLICY
Fluent Client search parameter constant for policyDescription:
Type: uri
Path: AuditEvent.participant.policy
-
INCLUDE_PARTICIPANT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PARTICIPANT
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:participant".
-
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".
-
INCLUDE_REFERENCE
public static final ca.uhn.fhir.model.api.Include INCLUDE_REFERENCE
Constant for fluent queries to be used to add include statements. Specifies the path value of "AuditEvent:reference".
-
-
Constructor Detail
-
AuditEvent
public AuditEvent()
-
-
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
-
getEvent
public AuditEvent.Event getEvent()
Gets the value(s) for event (). creating it if it does not exist. Will not returnnull.Definition: Identifies the name, action type, time, and disposition of the audited event
-
setEvent
public AuditEvent setEvent(AuditEvent.Event theValue)
Sets the value(s) for event ()Definition: Identifies the name, action type, time, and disposition of the audited event
-
getParticipant
public List<AuditEvent.Participant> getParticipant()
Gets the value(s) for participant (). creating it if it does not exist. Will not returnnull.Definition:
-
setParticipant
public AuditEvent setParticipant(List<AuditEvent.Participant> theValue)
Sets the value(s) for participant ()Definition:
-
addParticipant
public AuditEvent.Participant addParticipant()
Adds and returns a new value for participant ()Definition:
-
addParticipant
public AuditEvent addParticipant(AuditEvent.Participant theValue)
Adds a given new value for participant ()Definition:
- Parameters:
theValue- The participant to add (must not benull)
-
getParticipantFirstRep
public AuditEvent.Participant getParticipantFirstRep()
Gets the first repetition for participant (), creating it if it does not already exist.Definition:
-
getSource
public AuditEvent.Source getSource()
Gets the value(s) for source (). creating it if it does not exist. Will not returnnull.Definition:
-
setSource
public AuditEvent setSource(AuditEvent.Source theValue)
Sets the value(s) for source ()Definition:
-
getObject
public List<AuditEvent.ObjectElement> getObject()
Gets the value(s) for object (). creating it if it does not exist. Will not returnnull.Definition: Specific instances of data or objects that have been accessed
-
setObject
public AuditEvent setObject(List<AuditEvent.ObjectElement> theValue)
Sets the value(s) for object ()Definition: Specific instances of data or objects that have been accessed
-
addObject
public AuditEvent.ObjectElement addObject()
Adds and returns a new value for object ()Definition: Specific instances of data or objects that have been accessed
-
addObject
public AuditEvent addObject(AuditEvent.ObjectElement theValue)
Adds a given new value for object ()Definition: Specific instances of data or objects that have been accessed
- Parameters:
theValue- The object to add (must not benull)
-
getObjectFirstRep
public AuditEvent.ObjectElement getObjectFirstRep()
Gets the first repetition for object (), creating it if it does not already exist.Definition: Specific instances of data or objects that have been accessed
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-