or :
public static final int[] tag = {
0x00080020,
0x00080022,
};
*FileInputStream fis = new FileInputStream(fileInput);
*DicomInputStream dis = new DicomInputStream(fis);
*DicomObject obj = dis.readDicomObject();
*String nounValue[] =getValue(obj,tag);
And so on,
If problem for metadata send email me that find in the header DisplayTag.



or :
public static final int[] tag = {
0x00080020,
0x00080022,
};
*FileInputStream fis = new FileInputStream(fileInput);
*DicomInputStream dis = new DicomInputStream(fis);
*DicomObject obj = dis.readDicomObject();
*String nounValue[] =getValue(obj,tag);
And so on,
If problem for medata send email me that find in the header DisplatTag.
/**
* Remove string ^ in file dicom
* @param num
* @return
*/
public static String texteDicom(String num) {
num = num.replaceAll("\\^+", " ");
return num;
}
For Dicom is writing that nnnD or nnnW or nnnY or nnM with D : Day, W: Week, M:Months and Y: Years
M : Male
F:Female
O = other