hpd-iti59 component
The hpd-iti59 component provides interfaces for actors of the Provider Information Feed IHE transaction (ITI-59), which is described in the IHE IT Infrastructure Technical Framework Supplement, Healthcare Provider Directory (HPD), Section 3.59..
Actors
The transaction defines the following actors:
Producer side corresponds to the Provider Information Source actor. Consumer side corresponds to the Provider Information Directory actor.
Dependencies
In a Maven-based environment, the following dependency must be registered in pom.xml
:
<dependency>
<groupId>org.openehealth.ipf.platform-camel</groupId>
<artifactId>ipf-platform-camel-ihe-hpd</artifactId>
<version>${ipf-version}</version>
</dependency>
Endpoint URI Format
Producer
The endpoint URI format of the hpd-iti59
component producers is:
hpd-iti59://hostname:port/path/to/service[?parameters]
where hostname is either an IP address or a domain name, port is a port number, and path/to/service represents additional path elements of the remote service. URI parameters are optional and control special features as described in the corresponding section below.
Consumer
The endpoint URI format of hpd-iti59
component consumers is:
hpd-iti59:serviceName[?parameters]
The resulting URL of the exposed IHE Web Service endpoint depends on both the configuration of the deployment container and the serviceName parameter provided in the Camel endpoint URI.
For example, when a Tomcat container on the host eHealth.server.org
is configured in the following way:
port = 8888
contextPath = /IHE
servletPath = /hpd/*
and serviceName equals to iti59
, then the hpd-iti59 consumer will be available for external clients under the URL
http://eHealth.server.org:8888/IHE/hpd/iti59
Additional URI parameters are optional and control special features as described in the corresponding section below.
Data Types
The hpd-iti59 component produces and consumes objects of the DSMLv2 data model:
- Request message –
BatchRequest
- Response message –
BatchResponse
Example
This is an example on how to use the component on the consumer side:
from("hpd-iti59:iti59?audit=true")
.process(myProcessor)
// process the incoming request and create a response