Class DicomInstancesTransferredAuditBuilder<T extends DicomInstancesTransferredAuditBuilder<T>>
java.lang.Object
org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder<T,D>
org.openehealth.ipf.commons.ihe.core.atna.event.IHEAuditMessageBuilder<T,DicomInstancesTransferredBuilder>
org.openehealth.ipf.commons.ihe.core.atna.event.DicomInstancesTransferredAuditBuilder<T>
- All Implemented Interfaces:
AuditMessageBuilder<T>
,Validateable
- Direct Known Subclasses:
DicomInstancesTransferredEventBuilder
public class DicomInstancesTransferredAuditBuilder<T extends DicomInstancesTransferredAuditBuilder<T>>
extends IHEAuditMessageBuilder<T,DicomInstancesTransferredBuilder>
Builder for building IHE-specific event if Instances for a particular study have been stored on this system. It
automatically sets the AuditSource, local and remote ActiveParticipant and a Human Requestor and provides methods for
adding patient IDs.
- Since:
- 3.5
- Author:
- Christian Ohr, Eugen Fischer
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.core.atna.event.IHEAuditMessageBuilder
DOCUMENT_UNIQUE_ID, IHE_HOME_COMMUNITY_ID, QUERY_ENCODING, REPOSITORY_UNIQUE_ID, SERIES_INSTANCE_UNIQUE_ID, STUDY_INSTANCE_UNIQUE_ID, URN_IHE_ITI_XCA_2010_HOME_COMMUNITY_ID
Fields inherited from class org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder
delegate
-
Constructor Summary
ConstructorDescriptionDicomInstancesTransferredAuditBuilder
(AuditContext auditContext, AuditDataset auditDataset, EventOutcomeIndicator eventOutcomeIndicator, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse) -
Method Summary
Modifier and TypeMethodDescriptionaddExportedEntity
(String objectId, ParticipantObjectIdType participantObjectIdType, ParticipantObjectTypeCodeRole participantObjectTypeCodeRole, List<TypeValuePairType> details) addExportedEntity
(String objectId, ParticipantObjectIdType participantObjectIdType, ParticipantObjectTypeCode participantObjectTypeCode, ParticipantObjectTypeCodeRole participantObjectTypeCodeRole, ParticipantObjectDataLifeCycle participantObjectDataLifeCycle, List<TypeValuePairType> details) addTransferredStudyParticipantObject
(String studyId, List<TypeValuePairType> objectDetails) setPatient
(String patientId) 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.ihe.core.atna.event.IHEAuditMessageBuilder
addHumanRequestor, addSecurityResourceParticipantObject, addSecurityResourceParticipantObjects, dicomDetails, documentDetails, getAuditContext, setLocalParticipant, setRemoteParticipant
Methods inherited from class org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder
getMessage
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
-
DicomInstancesTransferredAuditBuilder
public DicomInstancesTransferredAuditBuilder(AuditContext auditContext, AuditDataset auditDataset, EventOutcomeIndicator eventOutcomeIndicator, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse)
-
-
Method Details
-
setPatient
-
addExportedEntity
public T addExportedEntity(String objectId, ParticipantObjectIdType participantObjectIdType, ParticipantObjectTypeCodeRole participantObjectTypeCodeRole, List<TypeValuePairType> details) -
addExportedEntity
public T addExportedEntity(String objectId, ParticipantObjectIdType participantObjectIdType, ParticipantObjectTypeCode participantObjectTypeCode, ParticipantObjectTypeCodeRole participantObjectTypeCodeRole, ParticipantObjectDataLifeCycle participantObjectDataLifeCycle, List<TypeValuePairType> details) -
addTransferredStudyParticipantObject
public T addTransferredStudyParticipantObject(String studyId, List<TypeValuePairType> objectDetails) -
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 classDelegatingAuditMessageBuilder<T extends DicomInstancesTransferredAuditBuilder<T>,
DicomInstancesTransferredBuilder>
-