SDECPAT ;ALB/SAT - VISTA SCHEDULING RPCS ;JAN 15, 2016
Source file <SDECPAT.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| START(SDDFN,DFN,SSN,AGE,DOB,SEX) | ;
 | 
|
| KILL | ;PEP - KILL VARIABLES SET BY THIS ROUTINE
 | 
|
| AGE(DFN,D,F) | ;PEP - Given DFN, return Age.
 | 
|
| CDEATH(DFN,F) | ;PEP - returns Cause of Death in F format
 | 
|
| DEC(PID) | ;PEP - RETURN DECRYPTED PATIENT IDENTIFIER
 | 
|
| ENC(DFN) | ;PEP
 | 
|
| DOB(DFN,F) | ;PEP - Given DFN, return Date of Birth according to F.
 | 
|
| DOD(DFN,F) | ;PEP - Given DFN, return Date of Death in FM format.
 | 
|
| ELIGSTAT(DFN,F) | ;PEP - returns eligibility status in F format
 | 
|
| HRN(DFN,L,F) | ;PEP
 | 
|
| MCD(P,D) | ;PEP - Is patient P medicaid eligible on date D?
 | 
|
| MCDPN(P,D,F) | ;PEP - return medicaid plan name for patient P on date D in form F.
 | 
|
| MCR(P,D) | ;PEP - Is patient P medicare eligible on date D?
 | 
|
| PI(P,D) | ;PEP - Is patient P private insurance eligible on date D?
 | 
|
| PIN(P,D,F) | ;PEP - return private insurer name for patient P on date D in form F.
 | 
|
| SEX(DFN) | ;PEP - Given DFN, return Sex.
 | 
|
| SSN(DFN) | ;PEP - Given DFN, return SSN.
 | 
|
| RR(P,D) | ;PEP -  Is patient P railroad eligible on date D?
 |