pdq-iti21 component
The pdq-iti21 component provides interfaces for actors of the Patient Demographics Query IHE transaction (ITI-21), which is described in the IHE IT Infrastructure Technical Framework, Volume 2a , Section 3.21.
Actors
The transaction defines the following actors:
Producer side corresponds to the Patient Demographics Consumer actor. Consumer side corresponds to the Patient Demographics Supplier 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-mllp</artifactId> <version>${ipf-version}</version> </dependency>
Endpoint URI Format
The endpoint URI format of the pdq-iti21 component is identical for producers and consumers:
pdq-iti21://hostname:port[?parameters]
where hostname is either an IP address or a domain name, and port is a number. For the consumer side, the host name 0.0.0.0 allows the access from any remote host. These two obligatory URI parts represent the address of the MLLP endpoint which is to be served by the given consumer or accessed by the given producer. URI parameters controlling the transaction features are described below.
HL7v2 Codec
All HL7v2-based transactions are realized using the camel-mina2 and camel-hl7 components and requires that an HL7v2 Codec is available in the Camel registry.
Example
This is an example on how to use the component on the consumer side:
from("pdq-iti21://0.0.0.0:8777?audit=true&secure=true") .process(myProcessor) // process the incoming request and create a response