1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.hl7v3.audit;
17
18 import lombok.Getter;
19 import lombok.Setter;
20 import org.openehealth.ipf.commons.ihe.ws.cxf.audit.WsAuditDataset;
21
22
23
24
25
26
27
28 public class Hl7v3AuditDataset extends WsAuditDataset {
29
30 private static final long serialVersionUID = -7303748425104562452L;
31
32
33 @Getter @Setter private String messageId;
34
35
36 @Getter @Setter private String queryId;
37
38
39 @Getter @Setter private String homeCommunityId;
40
41
42 @Getter @Setter private String requestType;
43
44
45 @Getter @Setter private String[] patientIds;
46
47
48 @Getter @Setter private String oldPatientId;
49
50 public Hl7v3AuditDataset(boolean serverSide) {
51 super(serverSide);
52 }
53
54 public String getPatientId() {
55 return ((patientIds != null) && (patientIds.length > 0)) ? patientIds[0] : null;
56 }
57
58 }