1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.fhir.iti65;
17
18 import ca.uhn.fhir.context.FhirContext;
19 import org.openehealth.ipf.commons.ihe.fhir.FhirTransactionConfiguration;
20
21
22
23
24
25
26
27 public class Iti65TransactionConfiguration extends FhirTransactionConfiguration<Iti65AuditDataset> {
28
29 public Iti65TransactionConfiguration() {
30 super("mhd-iti65",
31 "Provide Document Bundle",
32 false,
33 new Iti65ClientAuditStrategy(),
34 new Iti65ServerAuditStrategy(),
35 FhirContext.forDstu3(),
36 new Iti65ResourceProvider(),
37 new Iti65ClientRequestFactory(),
38 new Iti65Validator());
39 }
40
41 @Override
42 public void setSupportsLazyLoading(boolean supportsLazyLoading) {
43 if (supportsLazyLoading)
44 throw new IllegalArgumentException("Lazy loading is not applicable for ITI-65");
45 }
46 }