From daa5e85aeb22bacff16e3e66c3910499fb62ccd8 Mon Sep 17 00:00:00 2001 From: Neil South Date: Wed, 10 Jan 2024 10:58:28 +0000 Subject: [PATCH] more relaxing of validation Signed-off-by: Neil South --- src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs b/src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs index fdf27504..be1cf2c0 100755 --- a/src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs +++ b/src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs @@ -218,7 +218,7 @@ private bool CreateMessage(int startIndex, int endIndex, ref string data, out Me var text = data.Substring(messageStartIndex, endIndex - messageStartIndex); _logger.Hl7GenerateMessage(text.Length, text); message = new Message(text); - message.ParseMessage(false); + message.ParseMessage(true); data = data.Length > endIndex ? data.Substring(messageEndIndex) : string.Empty; return true; }