@@ -301,7 +301,7 @@ public Optional<PatientDiaryPersonDto> getPatientDiaryPerson(String personUuid)
301301 * the person to register as a patient in CLIMEDO
302302 * @return true if the registration was successful, false otherwise
303303 */
304- public PatientDiaryRegisterResult registerPatientDiaryPerson (de . symeda . sormas . api . person . PersonDto person ) {
304+ public PatientDiaryRegisterResult registerPatientDiaryPerson (PersonDto person ) {
305305 try {
306306 Invocation .Builder invocationBuilder = getExternalDataPersonInvocationBuilder (person .getUuid ());
307307 Response response = invocationBuilder .post (Entity .json ("" ));
@@ -338,7 +338,7 @@ private Invocation.Builder getExternalDataPersonInvocationBuilder(String personU
338338 * the person to validate
339339 * @return the result of the validation
340340 */
341- public ExternalJournalValidation validatePatientDiaryPerson (de . symeda . sormas . api . person . PersonDto person ) {
341+ public ExternalJournalValidation validatePatientDiaryPerson (PersonDto person ) {
342342 EnumSet <PatientDiaryValidationError > validationErrors = EnumSet .noneOf (PatientDiaryValidationError .class );
343343
344344 String email = person .getEmailAddress ();
@@ -385,7 +385,7 @@ public ExternalJournalValidation validatePatientDiaryPerson(de.symeda.sormas.api
385385 return new ExternalJournalValidation (validationErrors .isEmpty (), getValidationMessage (validationErrors ));
386386 }
387387
388- private boolean isEmailAvailable (de . symeda . sormas . api . person . PersonDto person ) {
388+ private boolean isEmailAvailable (PersonDto person ) {
389389 PatientDiaryQueryResponse response = queryPatientDiary (EMAIL_QUERY_PARAM , person .getEmailAddress ())
390390 .orElseThrow (() -> new RuntimeException ("Could not query patient diary for Email address availability" ));
391391 boolean notUsed = response .getCount () == 0 ;
@@ -398,7 +398,7 @@ private boolean isEmailAvailable(de.symeda.sormas.api.person.PersonDto person) {
398398 return notUsed || samePerson ;
399399 }
400400
401- private boolean isPhoneAvailable (de . symeda . sormas . api . person . PersonDto person , String phone ) {
401+ private boolean isPhoneAvailable (PersonDto person , String phone ) {
402402 PatientDiaryQueryResponse response = queryPatientDiary (MOBILE_PHONE_QUERY_PARAM , phone )
403403 .orElseThrow (() -> new RuntimeException ("Could not query patient diary for phone number availability" ));
404404 boolean notUsed = response .getCount () == 0 ;
0 commit comments