org.dcm4che2.audit.message
Class AuditEvent.ID

java.lang.Object
  extended by org.dcm4che2.audit.message.CodeElement
      extended by org.dcm4che2.audit.message.AuditEvent.ID
Enclosing class:
AuditEvent

public static class AuditEvent.ID
extends CodeElement

Identifier for a specific audited event, e.g., a menu item, program, rule, policy, function code, application name, or URL. It identifies the performed function.

Extended by DICOM defining a list of codes for event ids.


Field Summary
static AuditEvent.ID APPLICATION_ACTIVITY
          Event ID of ApplicationActivityMessage.
static AuditEvent.ID AUDIT_LOG_USED
          Event ID of AuditLogUsedMessage.
static AuditEvent.ID BEGIN_TRANSFERRING_DICOM_INSTANCES
          Event ID of BeginTransferringMessage.
static AuditEvent.ID DICOM_INSTANCES_ACCESSED
          Event ID of InstancesAccessedMessage.
static AuditEvent.ID DICOM_INSTANCES_TRANSFERRED
          Event ID of InstancesTransferredMessage.
static AuditEvent.ID DICOM_STUDY_DELETED
          Event ID of StudyDeletedMessage.
static AuditEvent.ID EXPORT
          Event ID of DataExportMessage.
static AuditEvent.ID HEALTH_SERVICE_PROVISION_EVENT
          Event ID used for HealthServicesProvisionEventMessage.
static AuditEvent.ID IMPORT
          Event ID of DataImportMessage.
static AuditEvent.ID MEDICATION_EVENT
          Event ID used for MedicationEventMessage.
protected  java.lang.String name
           
static AuditEvent.ID NETWORK_ENTRY
          Event ID of NetworkEntryMessage.
static AuditEvent.ID ORDER_RECORD
          Event ID of OrderRecordMessage.
static AuditEvent.ID PATIENT_CARE_EPISODE
          Event ID used for PatientCareEpisodeMessage.
static AuditEvent.ID PATIENT_CARE_PROTOCOL
          Event ID used for PatientCareProtocolMessage.
static AuditEvent.ID PATIENT_CARE_RESOURCE_ASSIGNMENT
          Event ID used for PatientCareResourceAssignmentMessage.
static AuditEvent.ID PATIENT_RECORD
          Event ID of PatientRecordMessage.
static AuditEvent.ID PROCEDURE_RECORD
          Event ID of ProcedureRecordMessage.
static AuditEvent.ID QUERY
          Event ID of QueryMessage.
static AuditEvent.ID SECURITY_ALERT
          Event ID of SecurityAlertMessage.
static AuditEvent.ID USER_AUTHENTICATION
          Event ID used for UserAuthenticationMessage.
 
Constructor Summary
AuditEvent.ID(java.lang.String code)
           
AuditEvent.ID(java.lang.String code, java.lang.String codeSystemName, java.lang.String displayName)
           
 
Method Summary
protected  void addAttribute(java.lang.String name, byte[] val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.util.Date val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.lang.Object val, boolean optional)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
protected  boolean isEmpty()
           
 void output(java.io.Writer out)
           
protected  void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
           
protected  void outputContent(java.io.Writer out)
          Allows subclasses to write content to the output.
 java.lang.String toString()
           
 java.lang.String toString(int initialSize)
           
 
Methods inherited from class org.dcm4che2.audit.message.CodeElement
getCode, getCodeSystem, getCodeSystemName, getDisplayName, getOriginalText, setCodeSystem, setCodeSystemName, setDisplayName, setOriginalText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICATION_ACTIVITY

public static final AuditEvent.ID APPLICATION_ACTIVITY
Event ID of ApplicationActivityMessage.


AUDIT_LOG_USED

public static final AuditEvent.ID AUDIT_LOG_USED
Event ID of AuditLogUsedMessage.


BEGIN_TRANSFERRING_DICOM_INSTANCES

public static final AuditEvent.ID BEGIN_TRANSFERRING_DICOM_INSTANCES
Event ID of BeginTransferringMessage.


DICOM_INSTANCES_ACCESSED

public static final AuditEvent.ID DICOM_INSTANCES_ACCESSED
Event ID of InstancesAccessedMessage.


DICOM_INSTANCES_TRANSFERRED

public static final AuditEvent.ID DICOM_INSTANCES_TRANSFERRED
Event ID of InstancesTransferredMessage.


DICOM_STUDY_DELETED

public static final AuditEvent.ID DICOM_STUDY_DELETED
Event ID of StudyDeletedMessage.


EXPORT

public static final AuditEvent.ID EXPORT
Event ID of DataExportMessage.


IMPORT

public static final AuditEvent.ID IMPORT
Event ID of DataImportMessage.


NETWORK_ENTRY

public static final AuditEvent.ID NETWORK_ENTRY
Event ID of NetworkEntryMessage.


ORDER_RECORD

public static final AuditEvent.ID ORDER_RECORD
Event ID of OrderRecordMessage.


PATIENT_RECORD

public static final AuditEvent.ID PATIENT_RECORD
Event ID of PatientRecordMessage.


PROCEDURE_RECORD

public static final AuditEvent.ID PROCEDURE_RECORD
Event ID of ProcedureRecordMessage.


QUERY

public static final AuditEvent.ID QUERY
Event ID of QueryMessage.


SECURITY_ALERT

public static final AuditEvent.ID SECURITY_ALERT
Event ID of SecurityAlertMessage.


USER_AUTHENTICATION

public static final AuditEvent.ID USER_AUTHENTICATION
Event ID used for UserAuthenticationMessage.


HEALTH_SERVICE_PROVISION_EVENT

public static final AuditEvent.ID HEALTH_SERVICE_PROVISION_EVENT
Event ID used for HealthServicesProvisionEventMessage.


MEDICATION_EVENT

public static final AuditEvent.ID MEDICATION_EVENT
Event ID used for MedicationEventMessage.


PATIENT_CARE_RESOURCE_ASSIGNMENT

public static final AuditEvent.ID PATIENT_CARE_RESOURCE_ASSIGNMENT
Event ID used for PatientCareResourceAssignmentMessage.


PATIENT_CARE_EPISODE

public static final AuditEvent.ID PATIENT_CARE_EPISODE
Event ID used for PatientCareEpisodeMessage.


PATIENT_CARE_PROTOCOL

public static final AuditEvent.ID PATIENT_CARE_PROTOCOL
Event ID used for PatientCareProtocolMessage.


name

protected final java.lang.String name
Constructor Detail

AuditEvent.ID

public AuditEvent.ID(java.lang.String code)

AuditEvent.ID

public AuditEvent.ID(java.lang.String code,
                     java.lang.String codeSystemName,
                     java.lang.String displayName)
Method Detail

addAttribute

protected void addAttribute(java.lang.String name,
                            java.lang.Object val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            java.util.Date val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            byte[] val,
                            boolean optional)

getAttribute

protected java.lang.Object getAttribute(java.lang.String name)

output

public void output(java.io.Writer out)
            throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int initialSize)

isEmpty

protected boolean isEmpty()

outputContent

protected void outputContent(java.io.Writer out)
                      throws java.io.IOException
Allows subclasses to write content to the output. Note to implementers: isEmpty() should also be overridden to return false, otherwise this method will not be called.

Parameters:
out - the writer to write the output to.
Throws:
java.io.IOException - thrown by derived classes if an error occurs.

outputChilds

protected void outputChilds(java.io.Writer out,
                            java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.