public class PatientRecordEventBuilder<T extends PatientRecordEventBuilder<T>> extends IHEAuditMessageBuilder<T,PatientRecordBuilder>
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
delegate
Constructor and Description |
---|
PatientRecordEventBuilder(AuditContext auditContext,
AuditDataset auditDataset,
EventActionCode action,
EventType eventType,
PurposeOfUse... purposesOfUse) |
PatientRecordEventBuilder(AuditContext auditContext,
AuditDataset auditDataset,
EventOutcomeIndicator eventOutcomeIndicator,
String eventOutcomeDescription,
EventActionCode action,
EventType eventType,
PurposeOfUse... purposesOfUse) |
Modifier and Type | Method and Description |
---|---|
T |
addPatients(String requestIdDesignator,
String requestId,
String... patientIds)
Adds each patient ID as ParticipantObject in the context of a single request
|
void |
validate()
Validates the constructed audit message against the specification, because API does not completely
prevent constructing incomplete or inconsistent messages.
|
addHumanRequestor, makeDocumentDetail, setLocalParticipant, setRemoteParticipant
getMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getTypeValuePair, self
public PatientRecordEventBuilder(AuditContext auditContext, AuditDataset auditDataset, EventActionCode action, EventType eventType, PurposeOfUse... purposesOfUse)
public PatientRecordEventBuilder(AuditContext auditContext, AuditDataset auditDataset, EventOutcomeIndicator eventOutcomeIndicator, String eventOutcomeDescription, EventActionCode action, EventType eventType, PurposeOfUse... purposesOfUse)
public T addPatients(String requestIdDesignator, String requestId, String... patientIds)
requestIdDesignator
- request or message ID designator, e.g. MSH-10 for HL7v2 and II for HL7v3requestId
- ID of the request or messagepatientIds
- IDs of the patientpublic void validate()
Validateable
validate
in interface Validateable
validate
in class DelegatingAuditMessageBuilder<T extends PatientRecordEventBuilder<T>,PatientRecordBuilder>
Copyright © 2018 Open eHealth Foundation. All rights reserved.