+ "{\"BulkDataURI\":\"file:/PixelData\"}"
+ "]}}";
@Test
public void test() {
Attributes dataset = new Attributes();
dataset.setString(Tag.SpecificCharacterSet, VR.CS, null, "ISO 2022 IR 87");
dataset.setString(Tag.ImageType, VR.CS, "DERIVED", "PRIMARY");
Attributes item = new Attributes(2);
dataset.newSequence(Tag.SourceImageSequence, 1).add(item);
item.setString(Tag.ReferencedSOPClassUID, VR.UI, UID.CTImageStorage);
item.setString(Tag.ReferencedSOPInstanceUID, VR.UI, "1.2.3.4");
dataset.setString(Tag.PatientName, VR.PN, "af^ag=if^ig=pf^pg");
dataset.setBytes("PRIVATE", 0x00090002, VR.OB, BYTE01);
dataset.setDouble(Tag.FrameTime, VR.DS, 33.0);
dataset.setInt(Tag.SamplesPerPixel, VR.US, 1);
dataset.setInt(Tag.NumberOfFrames, VR.IS, 1);