|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openhealthexchange.openpixpdq.ihe.audit.IheAuditTrail
public class IheAuditTrail
The base implementation of an audit message class. Each IHE Actor requires its own implementation of this base class. This base class, can be used independently, but that is not the standard method, and will not be ATNA compliant.
Implementations of the audit log class for specific IHE actors must be instantiated when the actor starts, and stop must be called when the actor ends, and that instation must not be used again. If the same actor restarts, a new instance must be made. Calling stop will cause that specific instance of the audit trail to cease functioning. The following ATNA required messages are currently implemented by the given classes.
AuditObjectFactory
Field Summary | |
---|---|
(package private) static org.apache.log4j.Logger |
LOG
|
Constructor Summary | |
---|---|
IheAuditTrail(java.lang.String actorName,
java.lang.Iterable<com.misyshealthcare.connect.net.IConnectionDescription> repositories)
Handles creation of a logging instance for a given actor. |
Method Summary | |
---|---|
protected void |
applicationActivity(com.misyshealthcare.connect.base.audit.AuditCodeMappings.AuditTypeCodes message)
DICOM Supp 95 message A.1.3.1 (p. |
protected void |
dataExport(com.misyshealthcare.connect.base.audit.ActiveParticipant doctor,
com.misyshealthcare.connect.base.audit.ActiveParticipant media,
ParticipantObject patient)
DICOM Supp 95 message A.1.3.4 (p. |
protected void |
dataImport(com.misyshealthcare.connect.base.audit.ActiveParticipant doctor,
com.misyshealthcare.connect.base.audit.ActiveParticipant media,
ParticipantObject patient)
DICOM Supp 95 message A.1.3.4 (p. |
com.misyshealthcare.connect.base.audit.ActiveParticipant |
getMedia(com.misyshealthcare.connect.base.audit.AuditCodeMappings.ActiveParticipantIds role,
java.lang.String mediaDescription)
|
com.misyshealthcare.connect.base.audit.ActiveParticipant |
getUser()
|
void |
logPdqQuery(com.misyshealthcare.connect.base.audit.ActiveParticipant source,
java.util.Collection<ParticipantObject> patients,
ParticipantObject query)
Audit Logging of PDQ Query Messages. |
void |
logPixFeed(com.misyshealthcare.connect.base.audit.ActiveParticipant source,
ParticipantObject patient,
com.misyshealthcare.connect.base.audit.AuditCodeMappings.EventActionCode eventActionCode)
Audit Logging of PIX Feed Messages. |
void |
logPixQuery(com.misyshealthcare.connect.base.audit.ActiveParticipant source,
ParticipantObject patient,
ParticipantObject query)
Audit Logging of PIX Query Messages. |
void |
logPixUpdateNotification(com.misyshealthcare.connect.base.audit.ActiveParticipant destination,
ParticipantObject patient)
Audit Logging of PIX Update Notification Messages. |
static void |
main(java.lang.String[] args)
|
void |
nodeAuthenticationFailure(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success,
com.misyshealthcare.connect.net.IConnectionDescription otherServer)
Call when the node fails to authenticate itself with another node. |
void |
recordExported(ParticipantObject patient,
java.lang.String mediaDesc)
Call when a record is exported to external media. |
void |
recordImported(ParticipantObject patient,
java.lang.String mediaDesc)
Call when a record is imported from external media. |
protected void |
securityAlert(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success,
com.misyshealthcare.connect.base.audit.ActiveParticipant otherServer)
DICOM Supp95 message A1.3.14 (p. |
void |
start()
Sends actor start log message. |
void |
stop()
Sends actor stop log message. |
protected void |
userAuthentication(com.misyshealthcare.connect.base.audit.ActiveParticipant user,
com.misyshealthcare.connect.base.audit.AuditCodeMappings.AuditTypeCodes type,
com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success)
DICOM Supp95 message A1.3.15 (p. |
void |
userLogin(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success,
com.misyshealthcare.connect.base.audit.ActiveParticipant user)
Call when a user authenticates himself. |
void |
userLogout(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success,
com.misyshealthcare.connect.base.audit.ActiveParticipant user)
Call when a user logs out. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public IheAuditTrail(java.lang.String actorName, java.lang.Iterable<com.misyshealthcare.connect.net.IConnectionDescription> repositories)
actorName
- Name of the ATNA actor that this will generate an audit trail for.Method Detail |
---|
public com.misyshealthcare.connect.base.audit.ActiveParticipant getUser()
public com.misyshealthcare.connect.base.audit.ActiveParticipant getMedia(com.misyshealthcare.connect.base.audit.AuditCodeMappings.ActiveParticipantIds role, java.lang.String mediaDescription)
protected void applicationActivity(com.misyshealthcare.connect.base.audit.AuditCodeMappings.AuditTypeCodes message) throws javax.xml.bind.JAXBException
message
- The type of application activity that it is. Generally start or stop.
javax.xml.bind.JAXBException
protected void dataExport(com.misyshealthcare.connect.base.audit.ActiveParticipant doctor, com.misyshealthcare.connect.base.audit.ActiveParticipant media, ParticipantObject patient) throws javax.xml.bind.JAXBException
doctor
- Information about the doctor. null if not available.patient
- needs to change. This is the information about the patient.action
- What they did with the patient record.
javax.xml.bind.JAXBException
protected void dataImport(com.misyshealthcare.connect.base.audit.ActiveParticipant doctor, com.misyshealthcare.connect.base.audit.ActiveParticipant media, ParticipantObject patient) throws javax.xml.bind.JAXBException
doctor
- Information about the doctor. null if not available.patient
- needs to change. This is the information about the patient.action
- What they did with the patient record.
javax.xml.bind.JAXBException
protected void securityAlert(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success, com.misyshealthcare.connect.base.audit.ActiveParticipant otherServer) throws javax.xml.bind.JAXBException
success
- Major error means that security has been comprimised.
Success means an informative alert only. Others mean mitigation was possible.otherServer
- The comprimised server, if known.
javax.xml.bind.JAXBException
protected void userAuthentication(com.misyshealthcare.connect.base.audit.ActiveParticipant user, com.misyshealthcare.connect.base.audit.AuditCodeMappings.AuditTypeCodes type, com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success) throws javax.xml.bind.JAXBException
user
- User authenticating. Must not be null.isLogin
- True if user is logging in false if logging out.success
- Whether the loging was successful.
javax.xml.bind.JAXBException
public void start()
start
in interface com.misyshealthcare.connect.base.audit.IAuditTrail
public void stop()
stop
in interface com.misyshealthcare.connect.base.audit.IAuditTrail
public void nodeAuthenticationFailure(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success, com.misyshealthcare.connect.net.IConnectionDescription otherServer)
nodeAuthenticationFailure
in interface com.misyshealthcare.connect.base.audit.IAuditTrail
public void userLogin(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success, com.misyshealthcare.connect.base.audit.ActiveParticipant user)
userLogin
in interface com.misyshealthcare.connect.base.audit.IAuditTrail
public void userLogout(com.misyshealthcare.connect.base.audit.AuditCodeMappings.SuccessCode success, com.misyshealthcare.connect.base.audit.ActiveParticipant user)
userLogout
in interface com.misyshealthcare.connect.base.audit.IAuditTrail
public void recordImported(ParticipantObject patient, java.lang.String mediaDesc)
patient
- The patient or document participant object.mediaDesc
- A string describing the media, e.g. the source e-mail address, or "USB Media", etc...public void recordExported(ParticipantObject patient, java.lang.String mediaDesc)
patient
- The patient or document participant object.mediaDesc
- A string describing the media, e.g. the destination e-mail address, or "USB Media", etc...public void logPixFeed(com.misyshealthcare.connect.base.audit.ActiveParticipant source, ParticipantObject patient, com.misyshealthcare.connect.base.audit.AuditCodeMappings.EventActionCode eventActionCode)
source
- the source information of the application that sends the messagepatient
- the patient related to the PIX Feed messageeventActionCode
- the AuditCodeMappings.EventActionCode
public void logPixQuery(com.misyshealthcare.connect.base.audit.ActiveParticipant source, ParticipantObject patient, ParticipantObject query)
source
- the source information of the application that sends the messagepatient
- the patient related to the PIX Query messagequery
- the PIX Query informationpublic void logPdqQuery(com.misyshealthcare.connect.base.audit.ActiveParticipant source, java.util.Collection<ParticipantObject> patients, ParticipantObject query)
source
- the source information of the application that sends the messagepatients
- the patients related to the PDQ Query messagequery
- the PDQ Query informationpublic void logPixUpdateNotification(com.misyshealthcare.connect.base.audit.ActiveParticipant destination, ParticipantObject patient)
destination
- the destination information of the application that receives the messagepatients
- the patients related to this PIX Update Notification messagepublic static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |