DESCRIPTION |
The duration function works on a single finding and its action depends
Immunization findings can have associated contraindications and refusals.
To use them in the DUR function, precede the finding numbers with a 'C'
or 'R'. For example, if finding 1 is an immunization and we need to
determine if there has been more than 1 contraindication within the last
60 days the function string is:
(COUNT(C1)>1)&(DUR(C1)<61)
on the type of finding. For findings with a start and stop date, the
function returns the number of days between the start and stop dates.
For findings that have a single date, duration works in conjunction with
Occurrence Count and returns the number of days between the first
occurrence and the last occurrence.
Example: DUR(2)>120 would be true if the duration of finding 2 is
greater than 120 days.
|