Skip to content

Commit

Permalink
more relaxing of validation
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth committed Jan 10, 2024
1 parent fecb72f commit daa5e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InformaticsGateway/Services/HealthLevel7/MllpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit daa5e85

Please sign in to comment.