From ba59c4c967b60a6e7db663ebd776b527e5d40cde Mon Sep 17 00:00:00 2001 From: Marcel Erpenbeck Date: Tue, 30 Jan 2024 10:56:54 +0100 Subject: [PATCH] chore: return patId instead of empty string if patId cannot be converted --- .../miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java index 6b479ced..b157a664 100644 --- a/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java +++ b/src/main/java/org/miracum/streams/ume/obdstofhir/mapper/ObdsToFhirMapper.java @@ -61,6 +61,7 @@ protected static String convertId(String id) { convertedId = matcher.group(); } else { log.warn("Identifier to convert does not have 9 digits without leading '0': " + id); + return id; } return convertedId; }