ech-0213 component
The ech-0213 component provides interfaces for the Manage SPID request of the Swiss eCH-0213 standard, which is described in eCH-0213 EPR-SPID Management Service, Version 1.0.
The service is part of the EPR-SPID Management Service offered by the UPI register of the Central Compensation Office (ZAS). It is used to request and manage the EPR-SPID of a person, i.e. the sectoral personal identifier of the Swiss Electronic Patient Record.
Actors
Unlike IHE transactions, eCH-0213 does not define named actors. Producer side corresponds to the SPID Management Service consumer, i.e. usually an EPR community. Consumer side corresponds to the SPID Management Service provider (UPI).
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-ech</artifactId>
<version>${ipf-version}</version>
</dependency>
Endpoint URI Format
Producer
The endpoint URI format of the ech-0213 component producers is:
ech-0213://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 ech-0213 component consumers is:
ech-0213:serviceName[?parameters]
The resulting URL of the exposed Web Service endpoint depends on both the configuration of the deployment container and the serviceName parameter provided in the Camel endpoint URI. Serving this side is only relevant when simulating the UPI register, e.g. for testing.
Data Types
The ech-0213 component produces and consumes objects of the eCH-0213 model:
Both types belong to the package org.openehealth.ipf.commons.ihe.ech.stub.ech_0213._1 and are generated
from the eCH-0213 schemas. The service contract is defined by
Ech0213PortType, whose
single operation is manageSpid.
Example
This is an example on how to use the component on the producer side:
from(...)
// create an eCH-0213 Request object
.to("ech-0213://upi.example.ch:8888/wupispid/ws/managementService/1")
// process the eCH-0213 Response object
Auditing and Validation
eCH-0213 is not an IHE transaction, so no ATNA audit strategy and no message validator are
defined for it. Setting the audit URI parameter has no effect, and no audit records are generated.