Commit c7c3c537 authored by Franck Desaize's avatar Franck Desaize
Browse files

Fix issues with targetDomain in the case of empty list

parent cf4b4c9c
Pipeline #267599 passed with stages
in 13 minutes and 16 seconds
......@@ -24,6 +24,10 @@
boolean exist(String domainIdentifier);
void createDomain(String domainIdentifier, String domainName);
```
- XReference service
```java
PatientAliases search(EntityIdentifier sourceIdentifier, List<String> targetDomains) throws SearchCrossReferenceException;
```
### Dependency
......@@ -48,6 +52,7 @@
The different services accessible through a `GITB processing service` (SOAP) are :
- patient feed
- patient search
- XReference search
### Dependency
......@@ -61,6 +66,7 @@
</dependency>
```
## Patient search client
The patient search client is a `GITB Processing Service Client` which will point to a `GITB Processing Service`.
......@@ -84,6 +90,7 @@ It will be used to search Patients depending on specific characteristics
public PatientSearchClient(ProcessingService processingService)
```
### Dependency
To use the client, add the dependency to the library in the `pom.xml` of the client application.
......@@ -128,4 +135,43 @@ It will be used to order the creation of a patient.
<artifactId>app.patient-registry-feed-client</artifactId>
<version>...</version>
</dependency>
```
## XRef search Client
The CrossReference search client is a `GITB Processing Service Client` which will point to a `GITB Processing Service`.
It will be used to order the search of a crossReference matching the given parameters.
### Client API
- The client can point to a distant service
```java
/**
* Default constructor for the class. The Client will create the GITB Processing Service client based on the URL.
* @param processingServiceURL : URL of the remote Processing Service.
*/
public XRefSearchClient(URL processingServiceURL)
```
- The client can point to an instantiated Patient Feed Service
```java
/**
* Constructor used for test purposes.
* @param processingService : processing service to be used by the XRefSearchClient.
*/
public XRefSearchClient(ProcessingService processingService)
```
### Dependency
To use the client, add the dependency to the library in the `pom.xml` of the client application.
```xml
<dependency>
<groupId>net.ihe.gazelle</groupId>
<artifactId>patient-registry-xref-search-client</artifactId>
<version>...</version>
</dependency>
```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment