AGGAGE ;VNGT/HS/ALA - Age Function calls ; 21 Apr 2010 9:50 AM
Source file <AGGAGE.m>
| Package | Total | Caller Graph | 
|---|---|---|
| Patient Registration GUI | 4 | AGGEXPRT AGGWTRIG AGGWVAL AGGWVAL1 | 
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| AGE(D0,PDATE,QUAL) | ;EP ; Description ; This program is copied from the computed AGE field (2,.033) which ; calculates the AGE of a person based on their DOB (date of birth) ; and either the current date (DT) or their DOD (date of death) ; ; It has been modified to use another date passed into this function ; instead of just the previous two dates, DT and DOD. ; ; Input ; D0 - Patient IEN ; PDATE - Other date to compare patient's date of birth with ; QUAL - Include qualifier (YRS, DYS, MOS) | 
| Name | Field # of Occurrence | 
|---|---|
| $$AGE^AUPNPAT | AGE+18 | 
| Name | Line Occurrences (* Changed, ! Killed) | 
|---|---|
| ^DPT - [#2] | AGE+17 | 
| >> | Not killed explicitly | 
| * | Changed | 
| ! | Killed | 
| ~ | Newed | 
| Name | Field # of Occurrence | 
|---|---|
| D0 | AGE~, AGE+17, AGE+18 | 
| PDATE | AGE~, AGE+16*, AGE+18 | 
| QUAL | AGE~, AGE+16*, AGE+18 | 
| U | AGE+17 |