1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.platform.camel.ihe.hl7v2ws;
17
18 import org.apache.camel.Processor;
19 import org.openehealth.ipf.gazelle.validation.profile.pcd.PcdTransactions;
20 import org.openehealth.ipf.platform.camel.hl7.HL7v2;
21 import org.openehealth.ipf.platform.camel.hl7.validation.ConformanceProfileValidators;
22
23
24
25
26
27 public class Hl7v2WsCamelValidators {
28
29 public static Processor pcdValidator() {
30 return HL7v2.validatingProcessor();
31 }
32
33
34
35
36
37 public static Processor pcd01RequestValidator() {
38 return ConformanceProfileValidators.validatingProcessor(PcdTransactions.PCD1);
39 }
40
41
42
43
44
45 public static Processor pcd01ResponseValidator() {
46 return ConformanceProfileValidators.validatingProcessor(PcdTransactions.PCD1);
47 }
48
49
50
51
52 public static Processor continuaWanRequestValidator() {
53 return ConformanceProfileValidators.validatingProcessor(PcdTransactions.PCD1);
54 }
55
56
57
58
59 public static Processor continuaWanResponseValidator() {
60 return ConformanceProfileValidators.validatingProcessor(PcdTransactions.PCD1);
61 }
62
63 }