Class 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
    • Field Detail

      • 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

      • 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

      • 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

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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

      • 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

      • 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

      • 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

      • 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

      • 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

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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

      • 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

      • 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".
    • Method Detail

      • 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

        public AuditEvent.Event 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

        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

      • getSource

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

        Definition:

      • getObject

        public List<AuditEvent.ObjectElementgetObject()
        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

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