What steps will reproduce the problem?
1. DcmDataset data = new DcmDataset(DcmTS.ExplicitVRLittleEndian);
2. data.AddElementWithValue(DcmTags.InstitutionAddress, "Baker St. 221b,
London, UK");
What is the expected output? What do you see instead?
Expected: a plain addition of Institution Address element to this DataSet
In real: an exception is thrown telling "Tried to create element with
incorrect VR".
Please provide any additional information below.
It's a copy-paste mistake, I believe.
In DcmVR.cs, changing the isString parameter from "false" to "true" in line
135 fixes the problem:
public static DcmVR ST = new DcmVR("ST", "Short Text", true, true, true,
PadSpace, 1024, 1, VrRestriction.Maximum);
Original issue reported on code.google.com by kkarma...@gmail.com on 9 Jul 2009 at 8:38
Original issue reported on code.google.com by
kkarma...@gmail.com
on 9 Jul 2009 at 8:38