Ejemplo n.º 1
0
 // Get the dcm4che name of a DICOM element,
 // given the DICOM tag instruction element.
 private static String getDicomElementName(Element element) {
   int tag = getTag(element);
   if (tag == -1) return "UNKNOWN DICOM ELEMENT";
   String tagName = DicomObject.getElementName(tag);
   if (tagName != null) return tagName;
   tagName = element.getAttribute("desc");
   if (!tagName.equals("")) return tagName;
   return "UNKNOWN DICOM ELEMENT";
 }