Skip to content

Commit

Permalink
fix study export
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Oct 12, 2023
1 parent d0eeca3 commit 8e6693a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/de/uzl/lied/mtbexporter/tasks/CsvExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ public static Befund exportDiagnosticReport(DiagnosticReport report, List<BefThe
case "associated-therapy":
bef.setTherapie("Klinische Studie");
List<String> studies = new ArrayList<>();
oc.getValueCodeableConcept().getCoding().forEach(c -> studies.add(c.getCode()));
oc.getValueCodeableConcept().getCoding()
.forEach(c -> studies.add(c.getCode() == null ? c.getDisplay() : c.getCode()));
bef.setRegistrierungsnummer(String.join(", ", studies));
break;
default:
Expand Down

0 comments on commit 8e6693a

Please sign in to comment.