Class ProcedureRecordBuilder
java.lang.Object
org.openehealth.ipf.commons.audit.event.BaseAuditMessageBuilder<ProcedureRecordBuilder>
org.openehealth.ipf.commons.audit.event.ProcedureRecordBuilder
- All Implemented Interfaces:
AuditMessageBuilder<ProcedureRecordBuilder>,Validateable
Builds an Audit Event representing a Procedure Record event as specified in
http://dicom.nema.org/medical/dicom/current/output/html/part15.html#sect_A.5.3.15
This message describes the event of a procedure record being created, accessed, modified, accessed, or deleted. This message may only include information about a single patient.
- Since:
- 3.5
- Author:
- Christian Ohr
-
Constructor Summary
ConstructorsConstructorDescriptionProcedureRecordBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse) -
Method Summary
Modifier and TypeMethodDescriptionsetPatientParticipantObject(String patientId, String patientName) voidvalidate()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, setEventIdentificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openehealth.ipf.commons.audit.event.AuditMessageBuilder
getMessages, getTypeValuePair, getTypeValuePair, getTypeValuePair, getTypeValuePair, self
-
Constructor Details
-
ProcedureRecordBuilder
public ProcedureRecordBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse)
-
-
Method Details
-
setPatientParticipantObject
- Parameters:
patientId- patient IDpatientName- patient name- Returns:
- this
-
validate
public void validate()Description copied from interface:ValidateableValidates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.- Specified by:
validatein interfaceValidateable- Overrides:
validatein classBaseAuditMessageBuilder<ProcedureRecordBuilder>
-