while (instRec != null) {
String cuid = instRec.getString(Tag.ReferencedSOPClassUIDInFile);
String iuid = instRec.getString(Tag.ReferencedSOPInstanceUIDInFile);
String tsuid = instRec.getString(Tag.ReferencedTransferSyntaxUIDInFile);
String[] fileIDs = instRec.getStrings(Tag.ReferencedFileID);
String uri = ddr.toFile(fileIDs).toURI().toString();
list.add(new InstanceLocator(cuid, iuid, tsuid, uri));
if (sopIUIDs != null && sopIUIDs.length == 1)
break;
instRec = ddr.findNextInstanceRecord(instRec, true, sopIUIDs);