24.01.2014 Views

IHS RPMS Dictionaries (Patient) (AUPN) - Indian Health Service

IHS RPMS Dictionaries (Patient) (AUPN) - Indian Health Service

IHS RPMS Dictionaries (Patient) (AUPN) - Indian Health Service

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>IHS</strong> <strong>RPMS</strong> <strong>Dictionaries</strong> (<strong>Patient</strong>) (<strong>AUPN</strong>) Version 99.1<br />

3.0 Routine Descriptions<br />

3.1 Callable Routines/Functions<br />

This package has many published entry points. They are described below:<br />

3.1.1 Routine - <strong>AUPN</strong>PAT<br />

Data for the following function calls come from the PATIENT file, file 9000001, and<br />

from the Medicare Eligible, Medicaid Eligible, and Private Insurance Eligible files.<br />

SEX(p)<br />

Returns SEX of patient p<br />

arguments<br />

p - patient ien (DFN)<br />

examples<br />

W $$SEX^<strong>AUPN</strong>PAT(234)<br />

=> F<br />

DOB(p,f)<br />

Returns DATE OF BIRTH of patient p in format f<br />

arguments<br />

p - patient ien (DFN)<br />

f - optional format; if null, returns internal FileMan format of DOB<br />

E - external written-out format (MAR 05, 1995)<br />

examples<br />

W $$DOB^<strong>AUPN</strong>PAT(1234) => 2950305<br />

W $$DOB^<strong>AUPN</strong>PAT(1234,“E”) => MAR 05,1995<br />

SSN(p)<br />

Returns SSN of patient<br />

arguments<br />

p - patient ien (DFN)<br />

examples<br />

W $$SSN^<strong>AUPN</strong>PAT(234) => 123456789<br />

AGE(p,d,f) Returns AGE of patient p on date d in format f<br />

Technical Manual<br />

March 1999<br />

3<br />

Routine Descriptions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!