Skip to content

Commit

Permalink
fix: Issue 748
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzo-ingenito committed Apr 12, 2024
1 parent 7d22507 commit b7a518f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,12 @@ private SubmissionSetEntryDTO createSubmissionSetEntry(final org.jsoup.nodes.Doc
sse.setAuthorInstitution(authorSlotDTO.getAuthorInstitution());
sse.setAuthorRole(authorSlotDTO.getAuthorRole());
sse.setPatientId(buildPatient(docCDA));
sse.setSourceId(SOURCE_ID_PREFIX+organizationId);

String org = organizationId;
if(organizationId.startsWith("0")) {
org = organizationId.substring(1, organizationId.length());
}
sse.setSourceId(SOURCE_ID_PREFIX+org);
sse.setUniqueID(identificativoSottomissione);

sse.setSubmissionTime(new SimpleDateFormat(Constants.Misc.INI_DATE_PATTERN).format(new Date()));
Expand Down Expand Up @@ -275,4 +280,5 @@ private static AuthorSlotDTO buildAuthorSlotDTO(final String authorRole,final or
return author;
}


}

0 comments on commit b7a518f

Please sign in to comment.