View Javadoc
1   /*
2    * Copyright 2010 the original author or authors.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *     
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.openehealth.ipf.commons.ihe.hl7v3.iti55;
17  
18  import javax.jws.WebMethod;
19  import javax.jws.WebParam;
20  import javax.jws.WebService;
21  import javax.jws.soap.SOAPBinding;
22  import javax.jws.soap.SOAPBinding.ParameterStyle;
23  import javax.jws.soap.SOAPBinding.Style;
24  import javax.xml.ws.Action;
25   
26  /**
27   * SEI for XCPD ITI-55 -- Cross Gateway Patient Discovery.
28   * @author Dmytro Rud
29   */
30  @WebService(targetNamespace = "urn:ihe:iti:xcpd:2009", name = "RespondingGateway_PortType", portName = "RespondingGateway_Port_Soap12")
31  @SOAPBinding(style = Style.DOCUMENT, parameterStyle = ParameterStyle.BARE)
32  public interface Iti55PortType {
33      String REGULAR_REQUEST_INPUT_ACTION =
34              "urn:hl7-org:v3:PRPA_IN201305UV02:CrossGatewayPatientDiscovery";
35      String REGULAR_REQUEST_OUTPUT_ACTION =
36              "urn:hl7-org:v3:PRPA_IN201306UV02:CrossGatewayPatientDiscovery";
37      String DEFERRED_REQUEST_INPUT_ACTION =
38              "urn:hl7-org:v3:PRPA_IN201305UV02:Deferred:CrossGatewayPatientDiscovery";
39      String DEFERRED_REQUEST_OUTPUT_ACTION =
40              "urn:hl7-org:v3:MCCI_IN000002UV01";
41  
42      @Action(input = REGULAR_REQUEST_INPUT_ACTION, output = REGULAR_REQUEST_OUTPUT_ACTION)
43      @WebMethod(operationName = "RespondingGateway_PRPA_IN201305UV02")
44      String discoverPatients(
45          @WebParam(partName = "Body", targetNamespace = "urn:ihe:iti:xcpd:2009")
46          String request
47      );
48  
49      @Action(input = DEFERRED_REQUEST_INPUT_ACTION, output = DEFERRED_REQUEST_OUTPUT_ACTION)
50      @WebMethod(operationName = "RespondingGateway_Deferred_PRPA_IN201305UV02")
51      String discoverPatientsDeferred(
52          @WebParam(partName = "Body", targetNamespace = "urn:ihe:iti:xcpd:2009")
53          String request
54      );
55  }