Closed lamyj closed 7 years ago
In the Python API, the tags are implicitly converted from string to Tag (provided they exist in the dictionary), but this is not the case for the VR. If we want to explicitley specify the VR, we must write
odil.add("PatientName", ["Doe^John"], odil.VR.PN)
The following would be more coherent:
odil.add("PatientName", ["Doe^John"], "PN")
In the Python API, the tags are implicitly converted from string to Tag (provided they exist in the dictionary), but this is not the case for the VR. If we want to explicitley specify the VR, we must write
The following would be more coherent: