SCRPPTA ;ALB/DJS - Patient Team Assignment Extract for PCMMR Data Validation; 04/03/14
Source file <SCRPPTA.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Scheduling | 1 | SCMC PAT TEAM ASSIGN EXTRACT |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENTER | ; Entry point
; ; Extract file will be a delimited text file (.TXT) that will provide information for PCMM data validation ; Delimiter is a pipe ("|") character |
|
SETREC | ||
COLHDR | ;Create column header for Patient Team Assignment extract file
|
|
END | ||
HFSOPEN(HANDLE,SCMCPATH,SCMCHFS,SCMCMODE) | ; Open File
|
|
HFSCLOSE(HANDLE,SCMHFS) | ;Close HFS and unload data
|
|
IOF() | ;used to reset position and insert page break flag when @IOF is executed.
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | GETS^DIQ |
^SCPT(404.42 - [#404.42] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SCPT(404.42 - [#404.42] | SETREC+2 |
^TMP("SCMC" | END+3, END+5, END+6*, END+7*, END+8*, END+9, HFSOPEN+3* |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ASGNTYPE | ENTER+26~, SETREC+11*, SETREC+22 |
DISCHDT | ENTER+26~, SETREC+12*, SETREC+22 |
HANDLE | HFSOPEN~, HFSOPEN+2, HFSCLOSE~, HFSCLOSE+1 |
I | END+1~, END+5*, END+6, END+7, END+8 |
ICNCHKSM | ENTER+26~, SETREC+20*, SETREC+22 |
IO | ENTER+30 |
IOF | ENTER+24~, HFSOPEN+4* |
LOCALICN | ENTER+26~, SETREC+21*, SETREC+22 |
MSG | ENTER+24~, END+3*, END+9* |
POP | HFSOPEN+1~, HFSOPEN+2 |
PTAIEN | ENTER+25~, SETREC+1*, SETREC+2*, SETREC+4, SETREC+22 |
PTDATA | ENTER+25~, SETREC+3! |
PTDATA(2 | SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20, SETREC+21 |
PTDOB | ENTER+25~, SETREC+16*, SETREC+22 |
PTDOD | ENTER+26~, SETREC+18*, SETREC+22 |
PTICN | ENTER+26~, SETREC+19*, SETREC+22 |
PTIEN | ENTER+25~, SETREC+6*, SETREC+14, SETREC+22 |
PTIENS | ENTER+25~, SETREC+14*, SETREC+15, SETREC+16, SETREC+17, SETREC+18, SETREC+19, SETREC+20, SETREC+21 |
PTNAME | ENTER+25~, SETREC+7*, SETREC+22 |
PTSSN | ENTER+25~, SETREC+17*, SETREC+22 |
SCDATA | ENTER+25~, SETREC+3! |
SCDATA( | SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12, SETREC+13 |
SCIENS | ENTER+25~, SETREC+4*, SETREC+5, SETREC+6, SETREC+7, SETREC+8, SETREC+9, SETREC+10, SETREC+11, SETREC+12 , SETREC+13 |
SCMCERR | ENTER+24~, ENTER+28*, ENTER+29, END+2, HFSOPEN+3* |
SCMCHFS | ENTER+24~, ENTER+28*, ENTER+29, END, HFSOPEN~, HFSOPEN+2 |
SCMCMODE | ENTER+24~, HFSOPEN~, HFSOPEN+2 |
SCMCPATH | ENTER+24~, ENTER+28*, ENTER+29, HFSOPEN~, HFSOPEN+2 |
SCMHFS | HFSCLOSE~ |
SITE | ENTER+24~, ENTER+27* |
STANUM | ENTER+25~, ENTER+27*, ENTER+28, SETREC+22 |
STATUS | ENTER+26~, SETREC+13*, SETREC+22 |
TANAME | ENTER+26~, SETREC+10*, SETREC+22 |
TIEN | ENTER+26~, SETREC+9*, SETREC+22 |
TMASGDT | ENTER+26~, SETREC+8*, SETREC+22 |