AUPNPAT ; IHS/CMI/LAB - POST SELECTION SETS FOR PATIENT LOOKUP ; [ 09/13/06 2:13 PM ]
Source file <AUPNPAT.m>
Package | Total | Call Graph |
---|---|---|
IHS Patient | 4 | $$BEN^AUPNPAT1 ($$MCD,$$MCDPN,$$MCR,$$PI,$$PIN,$$RRE)^AUPNPAT2 ($$AGE,$$BEN,$$CDEATH,$$COMMRES,$$DOB,$$DOD,$$ELIGSTAT,$$HRN,$$SEX,$$SSN,$$TRIBE)^AUPNPAT3 (DEC,ENC)^AUPNPAT4 |
VA Fileman | 1 | ^%DTC |
Name | Comments | DBIA/ICR reference |
---|---|---|
MCD(P,D) | ;PEP - Is patient P medicaid eligible on date D?
|
|
BEN(DFN,F) | ;PEP - returns classifications/beneficiary in format F.
|
|
DEC(PID) | ;PEP - RETURN DECRYPTED PATIENT IDENTIFIER
|
|
KILL | ;PEP - KILL VARIABLES SET BY THIS ROUTINE
|
|
AGE(DFN,D,F) | ;PEP - Given DFN, return Age.
|
|
DOD(DFN,F) | ;PEP - Given DFN, return Date of Death in FM format.
|
|
DOB(DFN,F) | ;PEP - Given DFN, return Date of Birth according to F.
|
|
ENC(DFN) | ;PEP
|
|
RR(P,D) | ;PEP - Is patient P railroad eligible on date D?
|
|
BENYN(DFN) | ;PEP - Return BEN/Non-BEN Status.
|
|
PIN(P,D,F) | ;PEP - return private insurer name for patient P on date D in form F.
|
|
SSN(DFN) | ;PEP - Given DFN, return SSN.
|
|
MCR(P,D) | ;PEP - Is patient P medicare eligible on date D?
|
|
SEX(DFN) | ;PEP - Given DFN, return Sex.
|
|
MCDPN(P,D,F) | ;PEP - return medicaid plan name for patient P on date D in form F.
|
|
TRIBE(DFN,F) | ;PEP - Given DFN, return Tribe in F format
|
|
COMMRES(DFN,F) | ;PEP - Given DFN, return comm of res in F format
|
|
START | ;
|
|
ELIGSTAT(DFN,F) | ;PEP - returns eligibility status in F format
|
|
HRN(DFN,L,F) | ;PEP
|
|
CDEATH(DFN,F) | ;PEP - returns Cause of Death in F format
|
|
PI(P,D) | ;PEP - Is patient P private insurance eligible on date D?
|
Name | Field # of Occurrence |
---|---|
^%DTC | START+5 |
$$BEN^AUPNPAT1 | BENYN+1 |
$$MCD^AUPNPAT2 | MCD+1 |
$$MCDPN^AUPNPAT2 | MCDPN+1 |
$$MCR^AUPNPAT2 | MCR+1 |
$$PI^AUPNPAT2 | PI+1 |
$$PIN^AUPNPAT2 | PIN+1 |
$$RRE^AUPNPAT2 | RR+1 |
$$AGE^AUPNPAT3 | AGE+2 |
$$BEN^AUPNPAT3 | BEN+1 |
$$CDEATH^AUPNPAT3 | CDEATH+1 |
$$COMMRES^AUPNPAT3 | COMMRES+1 |
$$DOB^AUPNPAT3 | DOB+1 |
$$DOD^AUPNPAT3 | DOD+1 |
$$ELIGSTAT^AUPNPAT3 | ELIGSTAT+1 |
$$HRN^AUPNPAT3 | HRN+2 |
$$SEX^AUPNPAT3 | SEX+1 |
$$SSN^AUPNPAT3 | SSN+1 |
$$TRIBE^AUPNPAT3 | TRIBE+1 |
DEC^AUPNPAT4 | DEC+1 |
ENC^AUPNPAT4 | ENC+1 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | START+3 |
Name | Line Occurrences |
---|---|
$$AGE | START+13 |
$$DOB | START+14 |
$$SEX | START+15 |
$$SSN | START+12 |
Name | Field # of Occurrence |
---|---|
^( | START+3 |
^(0 | START+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%T | START+10! |
%Y | START+10! |
AGE | START+13*, KILL+2! |
AUPNDAYS | START+6*, KILL+1! |
AUPNDOB | START+3*, START+4, KILL+1! |
AUPNDOD | START+3*, START+4, KILL+1! |
AUPNPAT | START+2*, START+3, START+11, START+12, START+13, START+14, START+15, KILL+1! |
AUPNPATX | START+1*, START+9, START+10! |
AUPNSEX | START+3*, KILL+1! |
D | AGE~, AGE+2, MCD~, MCD+1, MCDPN~, MCDPN+1, MCR~, MCR+1, PI~, PI+1 , PIN~, PIN+1, RR~, RR+1 |
DFN | START+11*, KILL+2!, AGE~, AGE+2, BEN~, BEN+1, BENYN~, BENYN+1, CDEATH~, CDEATH+1 , COMMRES~, COMMRES+1, ENC~, DOB~, DOB+1, DOD~, DOD+1, ELIGSTAT~, ELIGSTAT+1, HRN~ , HRN+2, SEX~, SEX+1, SSN~, SSN+1, TRIBE~, TRIBE+1 |
DOB | START+14*, KILL+2! |
DT | START+4 |
F | AGE~, AGE+2, BEN~, BEN+1, CDEATH~, CDEATH+1, COMMRES~, COMMRES+1, DOB~, DOB+1 , DOD~, DOD+1, ELIGSTAT~, ELIGSTAT+1, HRN~, HRN+2, MCDPN~, MCDPN+1, PIN~, PIN+1 , TRIBE~, TRIBE+1 |
L | HRN~, HRN+2 |
P | MCD~, MCD+1, MCDPN~, MCDPN+1, MCR~, MCR+1, PI~, PI+1, PIN~, PIN+1 , RR~, RR+1 |
PID | DEC~ |
SEX | START+15*, KILL+2! |
SSN | START+12*, KILL+2! |
U | START+3 |
X | START+1, START+6, START+8!, START+9* |
X1 | START+4*, START+8! |
X2 | START+4*, START+8! |
>> Y | START+2 |