ch-ppq5 component
The ch-ppq5 component provides interfaces for actors of the Mobile Privacy Policy Retrieve IHE transaction (CH-PPQ-5), which is described in the Swiss national EPR FHIR implementation guide
Actors
The transaction defines the following actors:
Producer side corresponds to the Policy Consumer actor. Consumer side corresponds to the Policy Repository 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-fhir-r4-chppqm</artifactId>
<version>${ipf-version}</version>
</dependency>
Endpoint URI Format
Producer
The endpoint URI format of ch-ppq5
component producers is:
ch-ppq5://hostname:port/path/to/service[?parameters]
where hostname is either an IP address or a domain name, port is a number, and path/to/service represents additional path elements of the remote service.
Consumer
The endpoint URI format of ch-ppq5
component consumers is:
ch-ppq5://serviceName[?parameters]
The resulting URL of the exposed FHIR REST Service endpoint depends on the configuration of the deployment container.
Consider a Tomcat container on host eHealth.server.org
is configured in the following way:
port = 8888
contextPath = /IHE
servletPath = /fhir/*
Then the ch-ppq5 consumer will be available for external clients under the URL
http://eHealth.server.org:8888/IHE/fhir
.
URI parameters controlling the transaction features are described below.
Example
This is an example on how to use the component on the consumer side:
from("ch-ppq5://service?audit=true&secure=true")
.process(myProcessor)
// process the incoming request and create a response
Translation between CH:PPQm and CH:PPQ messages
IPF comes with translators to translate PPQ-5 requests into PPQ-2 requests and vice versa for the responses.