1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.openehealth.ipf.commons.ihe.fhir.iti65;
18
19 import ca.uhn.fhir.rest.annotation.Transaction;
20 import ca.uhn.fhir.rest.annotation.TransactionParam;
21 import org.hl7.fhir.dstu3.model.Bundle;
22 import org.openehealth.ipf.commons.ihe.fhir.AbstractPlainProvider;
23
24 import javax.servlet.http.HttpServletRequest;
25 import javax.servlet.http.HttpServletResponse;
26
27
28
29
30
31
32
33 public class Iti65ResourceProvider extends AbstractPlainProvider {
34
35 public Iti65ResourceProvider() {
36 super();
37 }
38
39 @Transaction
40 public Bundle provideDocumentBundle(@TransactionParam Bundle bundle,
41 HttpServletRequest httpServletRequest,
42 HttpServletResponse httpServletResponse) {
43
44 return requestTransaction(bundle, Bundle.class, httpServletRequest, httpServletResponse);
45 }
46 }