Skip to content

Commit

Permalink
Fix Application Entity (AE) value serialization (#275) (#276)
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Chenebault <benjamin.chenebault@health-data-hub.fr>
  • Loading branch information
bench and Benjamin Chenebault authored Jun 9, 2023
1 parent 01c852a commit 5894fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion write.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5894fa3

Please sign in to comment.