public class DataExportBuilder extends BaseAuditMessageBuilder<DataExportBuilder>
This message describes the event of exporting data from a system, meaning that the data is leaving control of the system's security domain. Examples of exporting include printing to paper, recording on film, conversion to another format for storage in an EHR, writing to removable media, or sending via e-mail. Multiple patients may be described in one event message.
Constructor and Description |
---|
DataExportBuilder(EventOutcomeIndicator outcome,
EventType eventType,
PurposeOfUse... purposesOfUse) |
DataExportBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventActionCode eventActionCode,
EventType eventType,
PurposeOfUse... purposesOfUse) |
DataExportBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventType eventType,
PurposeOfUse... purposesOfUse) |
Modifier and Type | Method and Description |
---|---|
DataExportBuilder |
addExportingParticipant(String userId,
String altUserId,
String userName,
String networkAccessPointId,
boolean userIsRequestor) |
DataExportBuilder |
addReceivingParticipant(String userId,
String altUserId,
String userName,
String networkAccessPointId,
boolean userIsRequestor) |
DataExportBuilder |
setDestinationMediaParticipant(String userId,
String altUserId,
String userName,
String networkAccessPointId,
NetworkAccessPointTypeCode networkAccessPointTypeCode,
String mediaIdentifier,
MediaType mediaType) |
void |
validate()
Validates the constructed audit message against the specification, because API does not completely
prevent constructing incomplete or inconsistent messages.
|
addActiveParticipant, addActiveParticipant, addActiveParticipant, addDestinationActiveParticipant, addParticipantObjectIdentification, addParticipantObjectIdentification, addPatientParticipantObject, addSourceActiveParticipant, addStudyParticipantObject, getMessage, getNetworkAccessPointCodeFromAddress, getTypeValuePair, setAuditSource, setAuditSource, setAuditSource, setAuditSource, setAuditSourceIdentification, setAuditSourceIdentification, setAuditSourceIdentification, setEventIdentification, setEventIdentification
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, self
public DataExportBuilder(EventOutcomeIndicator outcome, EventType eventType, PurposeOfUse... purposesOfUse)
public DataExportBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventType eventType, PurposeOfUse... purposesOfUse)
public DataExportBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse)
public DataExportBuilder addReceivingParticipant(String userId, String altUserId, String userName, String networkAccessPointId, boolean userIsRequestor)
userId
- The identity of the remote user or process receiving the dataaltUserId
- Alternate UserIDuserName
- UserNamenetworkAccessPointId
- Network Access Point IDuserIsRequestor
- A single user (either local or remote) shall be identified as the requestor, i.e.,
UserIsRequestor with a value of TRUE. This accommodates both push and pull transfer models for mediapublic DataExportBuilder addExportingParticipant(String userId, String altUserId, String userName, String networkAccessPointId, boolean userIsRequestor)
userId
- The identity of the local user or process exporting the data. If both are known,
then two active participants shall be included (both the person and the process).altUserId
- Alternate UserIDuserName
- UserNamenetworkAccessPointId
- Network Access Point IDuserIsRequestor
- A single user (either local or remote) shall be identified as the requestor, i.e.,
UserIsRequestor with a value of TRUE. This accommodates both push and pull transfer models for mediapublic DataExportBuilder setDestinationMediaParticipant(String userId, String altUserId, String userName, String networkAccessPointId, NetworkAccessPointTypeCode networkAccessPointTypeCode, String mediaIdentifier, MediaType mediaType)
userId
- UserIDaltUserId
- Alternate UserIDuserName
- UserNamenetworkAccessPointId
- Network Access Point IDmediaIdentifier
- Media IdentifiermediaType
- Media Typepublic void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<DataExportBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.