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

Issue #11: Verwende Überschrift für Fragestellung und Empfehlung

This commit is contained in:
2023-03-20 22:18:37 +01:00
parent e9c25818d2
commit 9809fd550f
3 changed files with 14 additions and 12 deletions

View File

@ -21,7 +21,7 @@ public class OsTumorkonferenzToProtocolMapper implements ProcedureToProtocolMapp
null != fragestellung && !fragestellung.getString().isBlank()
&& null != empfehlung && !empfehlung.getString().isBlank()
) {
return Optional.of(String.format("%s\n%s", fragestellung.getString(), empfehlung.getString()));
return Optional.of(String.format("Fragestellung:\n%s\n\nEmpfehlung:\n%s", fragestellung.getString(), empfehlung.getString()));
} else if (null != fragestellung && !fragestellung.getString().isBlank()) {
return Optional.of(fragestellung.getString());
} else if (null != empfehlung && !empfehlung.getString().isBlank()) {