Class DicomInstancesAccessedBuilder
java.lang.Object
org.openehealth.ipf.commons.audit.event.BaseAuditMessageBuilder<DicomInstancesAccessedBuilder>
org.openehealth.ipf.commons.audit.event.DicomInstancesAccessedBuilder
- All Implemented Interfaces:
AuditMessageBuilder<DicomInstancesAccessedBuilder>
,Validateable
public class DicomInstancesAccessedBuilder
extends BaseAuditMessageBuilder<DicomInstancesAccessedBuilder>
Builds an Audit Event representing a DICOM Instances Accessed event as specified in
http://dicom.nema.org/medical/dicom/current/output/html/part15.html#sect_A.5.3.6
This message describes the event of DICOM SOP Instances being viewed, utilized, updated, or deleted. This message shall only include information about a single patient and can be used to summarize all activity for several studies for that patient. This message records the studies to which the instances belong, not the individual instances.
If all instances within a study are deleted, then DicomStudyDeletedBuilder
shall be used
- Since:
- 3.5
- Author:
- Christian Ohr
-
Constructor Summary
ConstructorDescriptionDicomInstancesAccessedBuilder
(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse) -
Method Summary
Modifier and TypeMethodDescriptionsetPatientParticipantObject
(String patientId, String patientName) void
validate()
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.Methods inherited from class org.openehealth.ipf.commons.audit.event.BaseAuditMessageBuilder
addActiveParticipant, addActiveParticipant, addActiveParticipant, addDestinationActiveParticipant, addParticipantObjectIdentification, addParticipantObjectIdentification, addParticipantObjectIdentification, addPatientParticipantObject, addSourceActiveParticipant, addStudyParticipantObject, getMessage, getNetworkAccessPointCodeFromAddress, setAuditSource, setAuditSource, setAuditSource, setAuditSource, setAuditSourceIdentification, setAuditSourceIdentification, setAuditSourceIdentification, setEventIdentification, setEventIdentification
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.audit.event.AuditMessageBuilder
getMessages, getTypeValuePair, getTypeValuePair, getTypeValuePair, getTypeValuePair, self
-
Constructor Details
-
DicomInstancesAccessedBuilder
public DicomInstancesAccessedBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse)
-
-
Method Details
-
setPatientParticipantObject
public DicomInstancesAccessedBuilder setPatientParticipantObject(String patientId, String patientName) - Parameters:
patientId
- patient IDpatientName
- patient name- Returns:
- this
-
validate
public void validate()Description copied from interface:Validateable
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.- Specified by:
validate
in interfaceValidateable
- Overrides:
validate
in classBaseAuditMessageBuilder<DicomInstancesAccessedBuilder>
-