ORQPTQ3 ; SLC/CLA/KER - Demographic Functions ; 01/09/2003
Source file <ORQPTQ3.m>
Package | Total | Call Graph |
---|---|---|
Registration | 2 | (ADD,DEM,INP)^VADPT $$LOWER^VALM1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
DOB(Y,DFN) | ; RETURN PATIENT'S DATE OF BIRTH
|
|
WRB(Y,DFN) | ;return patient's ward, room-bed: ward ien^ward name room-bed
|
|
ATTPRIM(ORY,DFN) | ; return patient's attending physician and primary provider
; format: ATTEND DUZ^ATTEND NAME;PRIMARY DUZ^PRIMARY NAME |
|
WARD(Y,DFN) | ; RETURN PATIENT'S WARD
|
|
SEX(Y,DFN) | ; RETURN PATIENT'S SEX
|
|
DEMOG(Y,DFN) | ; RETURN PATIENT'S DEMOGRAPHIC INFO
|
|
ATTEND(Y,DFN) | ; RETURN PATIENT'S ATTENDING PHYSICIAN
|
|
RMBED(Y,DFN) | ; RETURN PATIENT'S ROOM-BED
|
|
AGE(Y,DFN) | ; RETURN PATIENT'S AGE
|
|
SSN(Y,DFN) | ; RETURN PATIENT'S SSN
|
|
ADDR(Y,DFN) | ; RETURN PATIENT'S ADDRESS & PHONE NUMBER
|
|
NAME(ORY,DFN) | ; return patient's name in mixed case
|
RPC Name | Call Tags |
---|---|
ORQPT WARDRMBED | WRB |
ORQPT ATTENDING/PRIMARY | ATTPRIM |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(42 - [#42] | WRB+2 |
^DPT - [#2] | WRB+2, WRB+3, NAME+1, NAME+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ATTDUZ | DEMOG+3~ |
DFN | DEMOG~, WRB~, WRB+2, WRB+3, NAME~, NAME+1, NAME+2, ADDR~, ATTPRIM~, WARD~ , RMBED~, ATTEND~, SSN~, DOB~, AGE~, SEX~ |
ORD | DEMOG+3~, DEMOG+4*, DEMOG+6* |
ORE | DEMOG+3~, DEMOG+4*, DEMOG+5*, DEMOG+8*, DEMOG+9 |
ORI | DEMOG+3~, DEMOG+4*, DEMOG+6* |
ORO | DEMOG+3~, DEMOG+8* |
ORPTDEMO | DEMOG+3~, DEMOG+9*, DEMOG+12 |
ORR | DEMOG+3~, DEMOG+6*, DEMOG+7*, DEMOG+8, DEMOG+9 |
ORY | NAME~, NAME+1*, NAME+2*, ATTPRIM~, ATTPRIM+4*, ATTPRIM+5* |
PRIMDUZ | DEMOG+3~ |
U | DEMOG+8, DEMOG+9, DEMOG+12, WRB+3, NAME+2 |
VA200 | DEMOG+10*, DEMOG+13!, ATTPRIM+2*, ATTPRIM+6! |
VADM | DEMOG+10!, SSN+3!, DOB+3!, AGE+3!, SEX+3! |
VADM(10 | DEMOG+9 |
VADM(11 | DEMOG+4, DEMOG+8 |
VADM(12 | DEMOG+6, DEMOG+8 |
VADM(2 | DEMOG+9, SSN+2 |
VADM(3 | DEMOG+9, DOB+2 |
VADM(4 | DEMOG+9, AGE+2 |
VADM(5 | DEMOG+9, SEX+2 |
VADM(8 | DEMOG+8 |
VADM(9 | DEMOG+9 |
VAERR | DEMOG+10!, DEMOG+13! |
VAIN | DEMOG+13!, ATTPRIM+6!, WARD+3!, RMBED+3! |
VAIN(11 | DEMOG+12, ATTPRIM+4 |
VAIN(2 | DEMOG+12, ATTPRIM+5 |
VAIN(4 | DEMOG+12, WARD+2 |
VAIN(5 | DEMOG+12, RMBED+2 |
VAINDT | DEMOG+10!, ATTPRIM+2! |
VAPA | ADDR+3! |
VAPA(1 | ADDR+2 |
VAPA(2 | ADDR+2 |
VAPA(3 | ADDR+2 |
VAPA(4 | ADDR+2 |
VAPA(5 | ADDR+2 |
VAPA(6 | ADDR+2 |
VAPA(8 | ADDR+2 |
WIEN | WRB+1~*, WRB+2*, WRB+3 |
WNAME | WRB+1~, WRB+2*, WRB+3 |
Y | DEMOG~, DEMOG+12*, WRB~, WRB+1*, WRB+3*, ADDR~, ADDR+2*, WARD~, WARD+2*, RMBED~ , RMBED+2*, ATTEND~, SSN~, SSN+2*, DOB~, DOB+2*, AGE~, AGE+2*, SEX~, SEX+2* |