grailbio / go-netdicom

DICOM network protocol library for golang
Apache License 2.0
64 stars 41 forks source link

Removing Check for bits 2 to 7 of Message Control Headers in PDVs #2

Closed jmcoelloidonia closed 5 years ago

jmcoelloidonia commented 5 years ago

According to P3.8, E.2 (http://dicom.nema.org/medical/dicom/current/output/html/part08.html#sect_E.2), "Bits 2 through 7 are always set to 0 by the sender and never checked by the receiver.".

jmcoelloidonia commented 5 years ago

Hi,

I've found some implementations that doesn't follow this rule and use those 6 bits for something (I'm not sure for what). Even if it's a violation of the standard, this package shouldn't produce an error, because that is also a violation of the standard.

yasushi-saito commented 5 years ago

Fine with me.