1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-02 01:02:55 +00:00

fix: use platform specific line seperator

This commit is contained in:
2024-09-11 14:33:13 +02:00
parent 30c1d42f08
commit 518508ad9d

View File

@ -32,7 +32,7 @@ public class MrMtbAnmeldungToProtocolMapper implements ProcedureToProtocolMapper
var fragestellung = procedure.getValue("Fragestellung");
if (null != fragestellung && !fragestellung.getString().isBlank()) {
resultParts.add(String.format("Fragestellung:\n%s", fragestellung.getString()));
resultParts.add(String.format("Fragestellung:%n%s", fragestellung.getString()));
}
var refEmpfehlung = procedure.getValue("Empfehlung");
@ -47,7 +47,7 @@ public class MrMtbAnmeldungToProtocolMapper implements ProcedureToProtocolMapper
if (proc.getFormName().equals("MR.MTB_Einzelempfehlung")) {
var empfehlung = proc.getValue("Empfehlung");
if (null != empfehlung && !empfehlung.getString().isBlank()) {
resultParts.add(String.format("Empfehlung:\n%s", empfehlung.getString()));
resultParts.add(String.format("Empfehlung:%n%s", empfehlung.getString()));
}
}
});