Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 00eff24

Browse files
author
vlad-ciucescu
authored
Merge pull request SORMAS-Foundation#3528 from hzi-braunschweig/feat-3463-external-journal-javadoc
SORMAS-Foundation#3463 update ExternalJournalService javadoc
2 parents ee8c2d3 + 420fe00 commit 00eff24

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/externaljournal/ExternalJournalService.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@
4848
import de.symeda.sormas.backend.common.ConfigFacadeEjb;
4949
import de.symeda.sormas.backend.person.PersonFacadeEjb;
5050

51+
/**
52+
* This service provides methods for communicating with external symptom journals.
53+
* <br>
54+
* Currently, 2 symptom journals are supported: PIA and CLIMEDO.
55+
* <br>
56+
* Methods containing <code>symptomJournal</code> refer to PIA.
57+
* <br>
58+
* Methods containing <code>patientDiary</code> refer to CLIMEDO.
59+
*/
5160
@Stateless
5261
@LocalBean
5362
public class ExternalJournalService {
@@ -314,8 +323,9 @@ private Invocation.Builder getExternalDataPersonInvocationBuilder(String personU
314323
}
315324

316325
/**
317-
* Check whether a person has valid data in order to be registered in the patient diary
318-
*
326+
* Check whether a person has valid data in order to be registered in the patient diary.
327+
* NOTE: since CLIMEDO is only used in Germany, only German numbers are considered valid at the moment
328+
*
319329
* @param person
320330
* the person to validate
321331
* @return the result of the validation

0 commit comments

Comments
 (0)