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:
  • Field Details

    • SP_TYPE

      public static final String SP_TYPE
      Search parameter constant for type

      Description:
      Type: token
      Path: AuditEvent.event.type

      See Also:
    • TYPE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam TYPE
      Fluent Client search parameter constant for type

      Description:
      Type: token
      Path: AuditEvent.event.type

    • SP_ACTION

      public static final String SP_ACTION
      Search parameter constant for action

      Description:
      Type: token
      Path: AuditEvent.event.action

      See Also:
    • ACTION

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTION
      Fluent Client search parameter constant for action

      Description:
      Type: token
      Path: AuditEvent.event.action

    • SP_DATE

      public static final String SP_DATE
      Search parameter constant for date

      Description:
      Type: date
      Path: AuditEvent.event.dateTime

      See Also:
    • DATE

      public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
      Fluent Client search parameter constant for date

      Description:
      Type: date
      Path: AuditEvent.event.dateTime

    • SP_SUBTYPE

      public static final String SP_SUBTYPE
      Search parameter constant for subtype

      Description:
      Type: token
      Path: AuditEvent.event.subtype

      See Also:
    • SUBTYPE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam SUBTYPE
      Fluent Client search parameter constant for subtype

      Description:
      Type: token
      Path: AuditEvent.event.subtype

    • SP_USER

      public static final String SP_USER
      Search parameter constant for user

      Description:
      Type: token
      Path: AuditEvent.participant.userId

      See Also:
    • USER

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam USER
      Fluent Client search parameter constant for user

      Description:
      Type: token
      Path: AuditEvent.participant.userId

    • SP_NAME

      public static final String SP_NAME
      Search parameter constant for name

      Description:
      Type: string
      Path: AuditEvent.participant.name

      See Also:
    • NAME

      public static final ca.uhn.fhir.rest.gclient.StringClientParam NAME
      Fluent Client search parameter constant for name

      Description:
      Type: string
      Path: AuditEvent.participant.name

    • SP_ADDRESS

      public static final String SP_ADDRESS
      Search parameter constant for address

      Description:
      Type: token
      Path: AuditEvent.participant.network.address

      See Also:
    • ADDRESS

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam ADDRESS
      Fluent Client search parameter constant for address

      Description:
      Type: token
      Path: AuditEvent.participant.network.address

    • SP_SOURCE

      public static final String SP_SOURCE
      Search parameter constant for source

      Description:
      Type: token
      Path: AuditEvent.source.identifier

      See Also:
    • SOURCE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam SOURCE
      Fluent Client search parameter constant for source

      Description:
      Type: token
      Path: AuditEvent.source.identifier

    • SP_SITE

      public static final String SP_SITE
      Search parameter constant for site

      Description:
      Type: token
      Path: AuditEvent.source.site

      See Also:
    • SITE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam SITE
      Fluent Client search parameter constant for site

      Description:
      Type: token
      Path: AuditEvent.source.site

    • SP_OBJECT_TYPE

      public static final String SP_OBJECT_TYPE
      Search parameter constant for object-type

      Description:
      Type: token
      Path: AuditEvent.object.type

      See Also:
    • OBJECT_TYPE

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam OBJECT_TYPE
      Fluent Client search parameter constant for object-type

      Description:
      Type: token
      Path: AuditEvent.object.type

    • SP_IDENTITY

      public static final String SP_IDENTITY
      Search parameter constant for identity

      Description:
      Type: token
      Path: AuditEvent.object.identifier

      See Also:
    • IDENTITY

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTITY
      Fluent Client search parameter constant for identity

      Description:
      Type: token
      Path: AuditEvent.object.identifier

    • SP_REFERENCE

      public static final String SP_REFERENCE
      Search parameter constant for reference

      Description:
      Type: reference
      Path: AuditEvent.object.reference

      See Also:
    • REFERENCE

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REFERENCE
      Fluent Client search parameter constant for reference

      Description:
      Type: reference
      Path: AuditEvent.object.reference

    • SP_DESC

      public static final String SP_DESC
      Search parameter constant for desc

      Description:
      Type: string
      Path: AuditEvent.object.name

      See Also:
    • DESC

      public static final ca.uhn.fhir.rest.gclient.StringClientParam DESC
      Fluent Client search parameter constant for desc

      Description:
      Type: string
      Path: AuditEvent.object.name

    • SP_PATIENT

      public static final String SP_PATIENT
      Search parameter constant for patient

      Description:
      Type: reference
      Path: AuditEvent.participant.reference | AuditEvent.object.reference

      See Also:
    • PATIENT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
      Fluent Client search parameter constant for patient

      Description:
      Type: reference
      Path: AuditEvent.participant.reference | AuditEvent.object.reference

    • SP_ALTID

      public static final String SP_ALTID
      Search parameter constant for altid

      Description:
      Type: token
      Path: AuditEvent.participant.altId

      See Also:
    • ALTID

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam ALTID
      Fluent Client search parameter constant for altid

      Description:
      Type: token
      Path: AuditEvent.participant.altId

    • SP_PARTICIPANT

      public static final String SP_PARTICIPANT
      Search parameter constant for participant

      Description:
      Type: reference
      Path: AuditEvent.participant.reference

      See Also:
    • PARTICIPANT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PARTICIPANT
      Fluent Client search parameter constant for participant

      Description:
      Type: reference
      Path: AuditEvent.participant.reference

    • SP_POLICY

      public static final String SP_POLICY
      Search parameter constant for policy

      Description:
      Type: uri
      Path: AuditEvent.participant.policy

      See Also:
    • POLICY

      public static final ca.uhn.fhir.rest.gclient.UriClientParam POLICY
      Fluent Client search parameter constant for policy

      Description:
      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 Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getEvent

      Gets the value(s) for event (). creating it if it does not exist. Will not return null.

      Definition: Identifies the name, action type, time, and disposition of the audited event

    • setEvent

      Sets the value(s) for event ()

      Definition: Identifies the name, action type, time, and disposition of the audited event

    • getParticipant

      Gets the value(s) for participant (). creating it if it does not exist. Will not return null.

      Definition:

    • setParticipant

      Sets the value(s) for participant ()

      Definition:

    • addParticipant

      Adds and returns a new value for participant ()

      Definition:

    • addParticipant

      Adds a given new value for participant ()

      Definition:

      Parameters:
      theValue - The participant to add (must not be null)
    • getParticipantFirstRep

      Gets the first repetition for participant (), creating it if it does not already exist.

      Definition:

    • getSource

      Gets the value(s) for source (). creating it if it does not exist. Will not return null.

      Definition:

    • setSource

      Sets the value(s) for source ()

      Definition:

    • getObject

      Gets the value(s) for object (). creating it if it does not exist. Will not return null.

      Definition: Specific instances of data or objects that have been accessed

    • setObject

      Sets the value(s) for object ()

      Definition: Specific instances of data or objects that have been accessed

    • addObject

      Adds and returns a new value for object ()

      Definition: Specific instances of data or objects that have been accessed

    • addObject

      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 be null)
    • 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

      Specified by:
      getResourceName in interface ca.uhn.fhir.model.api.IResource
    • getStructureFhirVersionEnum

      public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
      Specified by:
      getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
      Specified by:
      getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResource