public class OrderRecordBuilder extends BaseAuditMessageBuilder<OrderRecordBuilder>
This message describes the event of an order being created, modified, accessed, or deleted. This message may only include information about a single patient.
Constructor and Description |
---|
OrderRecordBuilder(EventOutcomeIndicator outcome,
String eventOutcomeDescription,
EventActionCode eventActionCode,
EventType eventType,
PurposeOfUse... purposesOfUse) |
Modifier and Type | Method and Description |
---|---|
OrderRecordBuilder |
setPatientParticipantObject(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.
|
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 OrderRecordBuilder(EventOutcomeIndicator outcome, String eventOutcomeDescription, EventActionCode eventActionCode, EventType eventType, PurposeOfUse... purposesOfUse)
public OrderRecordBuilder setPatientParticipantObject(String patientId, String patientName)
patientId
- patient IDpatientName
- patient namepublic void validate()
Validateable
validate
in interface Validateable
validate
in class BaseAuditMessageBuilder<OrderRecordBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.