From a0e29d555120446c937def8c14d422ee8e9c1f6d Mon Sep 17 00:00:00 2001 From: Benjamin Chenebault Date: Tue, 6 Jun 2023 16:33:55 +0200 Subject: [PATCH] fix Application Entity (AE) value parsing (#275) Signed-off-by: Benjamin Chenebault --- write.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write.go b/write.go index c18dc1aa..88a2b395 100644 --- a/write.go +++ b/write.go @@ -471,7 +471,7 @@ func writeStrings(w dicomio.Writer, values []string, vr string) error { switch vr { case vrraw.DateTime, vrraw.LongString, vrraw.LongText, vrraw.PersonName, vrraw.ShortString, vrraw.ShortText, vrraw.UnlimitedText, - vrraw.DecimalString, vrraw.CodeString, vrraw.Time, + vrraw.DecimalString, vrraw.CodeString, vrraw.Time, vrraw.ApplicationEntity, vrraw.IntegerString, vrraw.Unknown: if err := w.WriteString(" "); err != nil { // https://dicom.nema.org/medical/dicom/current/output/html/part05.html#sect_6.2 return err