Working with patient age |
Top Previous Next |
Age values in DICOM tags (AS-type) are represented as a string of characters with one of the following formats -- nnnD, nnnW, nnnM, nnnY; where nnn shall contain the number of days for D, weeks for W, months for M, or years for Y. For e.g. 018M would represent an age of 18 months.
This makes it difficult to search on age values because it contains a combination of numbers and text. To simplify this, Easy DICOM Search offers the following functions to work with the PatientAge (0010,1010) tag.
The above functions return the patient age as a number value, so you can use the number functions to write your search condition(s).
|