public class PatientRecordBuilder extends BaseAuditMessageBuilder<PatientRecordBuilder>
This message describes the event of a patient record being created, modified, accessed, or deleted.
Constructor and Description |
---|
PatientRecordBuilder(EventOutcomeIndicator outcome,
EventActionCode action,
EventType eventType,
PurposeOfUse... purposesOfUse) |
PatientRecordBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventActionCode action,
EventType eventType,
PurposeOfUse... purposesOfUse) |
Modifier and Type | Method and Description |
---|---|
PatientRecordBuilder |
addPatient(String patientId,
String patientName,
List<TypeValuePairType> details) |
PatientRecordBuilder |
addPatient(String patientId,
String patientName,
List<TypeValuePairType> details,
ParticipantObjectDataLifeCycle lifeCycle) |
PatientRecordBuilder |
addUserParticipant(String userId,
String altUserId,
String userName,
String networkAccessPointId,
List<ActiveParticipantRoleId> roleIds,
boolean userIsRequestor) |
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 PatientRecordBuilder(EventOutcomeIndicator outcome, EventActionCode action, EventType eventType, PurposeOfUse... purposesOfUse)
public PatientRecordBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode action, EventType eventType, PurposeOfUse... purposesOfUse)
public PatientRecordBuilder addUserParticipant(String userId, String altUserId, String userName, String networkAccessPointId, List<ActiveParticipantRoleId> roleIds, boolean userIsRequestor)
userId
- The identity of the person or process manipulating 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 IDroleIds
- Role idsuserIsRequestor
- 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 PatientRecordBuilder addPatient(String patientId, String patientName, List<TypeValuePairType> details)
public PatientRecordBuilder addPatient(String patientId, String patientName, List<TypeValuePairType> details, ParticipantObjectDataLifeCycle lifeCycle)
public void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<PatientRecordBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.