Mise à jour terminée. Pour connaître les apports de la version 13.8.4 par rapport à notre ancienne version vous pouvez lire les "Release Notes" suivantes :
https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/
https://about.gitlab.com/releases/2021/02/05/gitlab-13-8-3-released/

README.md 3.9 KB
Newer Older
Cédric Eoche-Duval's avatar
Cédric Eoche-Duval committed
1
# Patient Registry
Cédric Eoche-Duval's avatar
Cédric Eoche-Duval committed
2

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
## Patient model API
 
 Define Gazelle patient model to be used by the platform applications as well as the different api to implement to define a patient service.

### APIs

 The current supported APIs are :
 - Patient feed service :
 ```java
    String feedPatient(Patient patient) throws PatientFeedException;
```
 - Patient retrieve service
 ```java
    Patient retrievePatient(String uuid) throws PatientRetrieveException ;
```
 - Patient search service
 ```java
    List<Patient> search(SearchCriteria searchCriteria) throws SearchException;
```
 - Domain service
 ```java
    boolean exist(String domainIdentifier);
    void createDomain(String domainIdentifier, String domainName);
```

### Dependency
 
 To use the model, add the dependency to the library in the `pom.xml` of the client application.
 
 ```xml
    <dependency>
        <groupId>net.ihe.gazelle</groupId>
        <artifactId>patient-registry-model-api</artifactId>
        <version>...</version>
    </dependency>
```

## Patient service

 The patient service implements the different APIs defined in the `Patient model API` with a database.
 

### Service Usage 

 The service can either be deployed in a container or as a java component and instantiated with constructors or injection.
 The different services accessible through a `GITB processing service` (SOAP) are :
 - patient feed
 - patient search

### Dependency
 
 To use the service, add the dependency to the library in the `pom.xml` of the client application.
 
 ```xml
    <dependency>
        <groupId>net.ihe.gazelle</groupId>
        <artifactId>patient-registry-service</artifactId>
        <version>...</version>
    </dependency>
```

## Patient search client

The patient search client is a `GITB Processing Service Client` which will point to a `GITB Processing Service`.
It will be used to search Patients depending on specific characteristics

### 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 PatientSearchClient(URL processingServiceURL)
```
  - The client can point to an instantiated Patient Search Service
 ```java
    /**
     * Constructor used for test purposes.
     * @param processingService : processing service to be used by the PatientSearchClient.
     */
    public PatientSearchClient(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>app.patient-registry-search-client</artifactId>
        <version>...</version>
    </dependency>
```

## Patient feed client
The patient search client is a `GITB Processing Service Client` which will point to a `GITB Processing Service`.
It will be used to order the creation of a patient.

### 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 PatientFeedClient(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 PatientFeedClient.
     */
    public PatientFeedClient(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>app.patient-registry-feed-client</artifactId>
            <version>...</version>
    </dependency>
```