anchor.diff:        }
       }
       log.debug('DcmBuf: $this');
  -    return aMap;
  +    return deMap;
     }
   
     //TODO: move to a utilities file for TypedData
  
positive.code: 
      log.debug('readSopInstance: fmi = $fmi');
      int start = readIndex;
      var aMap = readDataset();
      int lengthInBytes = readIndex - start;
      Dataset ds = new Dataset(aMap, false, lengthInBytes);
  
      Instance instance = ActivePatients.addSopDataset(path, lengthInBytes, fmi, ds);
  
  
negative.code:   /// This is the top-level entry point for reading a [Dataset].
    Map<int, Attribute> readDataset() {
      final Logger log = new Logger("readDataset");
      Map<int, Attribute> deMap = {};
      while (isReadable) {
        Attribute a = readAttribute();
        deMap[a.tag] = a;
        if (a.tag == kPixelData) {
          //print('PixelData(${tagToDcm(a.tag)}): ${a.vr}, length= ${a.length}');
          log.debug('PixelData(${tagToDcm(a.tag)}): ${a.vr}, length= ${a.length}');
  