1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.openehealth.ipf.commons.audit.types;
18
19
20
21
22
23 public interface EventId extends CodedValueType {
24
25 static EventId of(String code, String codeSystemName, String originalText) {
26 return new EventIdImpl(code, codeSystemName, originalText);
27 }
28
29 static EventId of(CodedValueType codedValueType) {
30 return new EventIdImpl(codedValueType);
31 }
32
33 class EventIdImpl extends CodedValueTypeImpl implements EventId {
34 public EventIdImpl(String code, String codeSystemName, String originalText) {
35 super(code, codeSystemName, originalText);
36 }
37
38 public EventIdImpl(CodedValueType codedValueType) {
39 super(codedValueType);
40 }
41 }
42 }