From d8a5314cdbd1147f71e59c9913c5ae64cf414193 Mon Sep 17 00:00:00 2001 From: Bill Cutshall Date: Thu, 12 Dec 2024 14:10:13 -0500 Subject: [PATCH] [16143] Modification based on review. --- .../src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt b/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt index 0ab1ac76400..d243a85e593 100644 --- a/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt +++ b/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt @@ -144,9 +144,9 @@ fun Bundle.isElr(): Boolean { * @return RSMessageType of this Bundle. */ fun Bundle.getRSMessageType(): RSMessageType { - when { - isElr() -> return RSMessageType.LAB_RESULT - else -> return RSMessageType.UNKNOWN + return when { + isElr() -> RSMessageType.LAB_RESULT + else -> RSMessageType.UNKNOWN } }