SROQADM ;BIR/ADM - ADMISSIONS WITHIN 14 DAYS OF OUTPATIENT SURGERY ;09/22/98
Source file <SROQADM.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CASE | ; examine case
|
|
TMP | ; set TMP global
|
|
AC | ||
EN | ||
END | ||
HDR | ; print heading
|
|
ADM | ; check for admission within 14 days of surgery
|
|
PAGE | ||
PRESS | ||
IO | ||
; print case information
|
||
SEL | ; select date range and specialty
|
|
OCC | ; get post-op occurrences
|
Name | Field # of Occurrence |
---|---|
C^%DTC | ADM+1 |
NOW^%DTC | EN+3 |
^%ZIS | IO+1 |
^%ZISC | END+2 |
^%ZTLOAD | IO+2 |
$$GET1^DIQ | EN+2 |
^DIR | PRESS |
TECH^SROPRIN | PRINT+4 |
^SROSTOP | HDR+1 |
DATE^SROUTL | SEL+1 |
PROC^SROUTL | PRINT+1 |
SPEC^SROUTL | SEL+1 |
$$INST^SROUTL0 | SEL+2 |
$$MANDIV^SROUTL0 | AC |
$$NODATA^SROUTL0 | EN+5 |
$$SITE^SROVAR | EN+2 |
^SRSKILL | END+2 |
DEM^VADPT | PRINT+3 |
IN5^VADPT | CASE+3 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DIC(4 - [#4] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | EN, EN+3, PRINT+2, PRINT+3 |
^DGPM("APTT1" | ADM+2 |
^SRF - [#130] | AC, CASE+1, CASE+2, CASE+4, ADM+1, PRINT+2, OCC+2 |
^SRF("AC" | AC |
^SRO(136.5 - [#136.5] | OCC+4 |
^SRO(137.45 - [#137.45] | PRINT+2 |
^TMP("SR" | EN!, EN+6, END+2!, TMP+1* |
^VA(200 - [#200] | PRINT+2 |
Name | Line Occurrences |
---|---|
AC | EN+4 |
CASE | AC |
END | SEL+1, SEL+2, IO+1, IO+2, EN+5, EN+7 |
HDR | EN+4, PAGE |
OCC | PRINT+4 |
PAGE | EN+7, PRINT+1 |
PRESS | END+1, PAGE+1 |
EN+6 | |
TMP | AC |
Name | Field # of Occurrence |
---|---|
^(0 | OCC+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | EN+3 |
%ZIS | IO+1!* |
%ZIS("A" | IO+1* |
%ZIS("B" | IO+1* |
>> DFN | CASE+2*, ADM+2, TMP+1, PRINT+2* |
DIR | PRESS! |
DIR(0 | PRESS* |
>> DTOUT | PRESS |
>> DUOUT | PRESS |
>> EDATE | SEL+1, EN |
>> ENDATE | EN*, EN+1 |
>> I | PRINT+7*, HDR+6* |
IO | EN |
IO("Q" | IO+1!, IO+2! |
IOF | SROQADM+8, END, END+2, HDR+2 |
IOM | HDR+2, HDR+3, HDR+6 |
IOP | IO+1! |
IOSL | EN+7, PRINT+1 |
IOST | END, END+1, PAGE, HDR+2 |
POP | IO+1! |
>> SDATE | SEL+1, EN |
>> SR(0 | CASE+2*, CASE+3 |
SR14 | END+2!, ADM+1*, ADM+2 |
SRADM | END+2!, AC!, PRINT+2*, PRINT+5 |
SRADM( | ADM+2* |
SRADM(0 | AC, TMP+1 |
SRADMT | EN*, EN+5, EN+7, END+2!, ADM+2* |
>> SRAGE | PRINT+3*, PRINT+6 |
>> SRANES | PRINT+4*, PRINT+5 |
>> SRCAT | OCC+2*, OCC+4 |
>> SRDOC | PRINT+2*, PRINT+5 |
>> SRED | EN*, AC |
SRFRTO | EN+1*, END+2!, HDR+2 |
>> SRHALT | HDR+1 |
>> SRHDR | EN*, PAGE, HDR+6* |
>> SRINST | SEL+2*, EN+2*, HDR+2 |
SRINSTP | SEL+2~*, EN+2, AC |
SRIO | END+2!, CASE+3*, CASE+4 |
SRIOT | END+2! |
>> SRL | PRINT+1* |
SROCC | END+2!, OCC+1*, OCC+2* |
>> SRP | OCC+1*, OCC+4* |
>> SRPAGE | EN*, HDR+2, HDR+6* |
SRPOST | OCC+1! |
SRPOST( | PRINT+7, OCC+4* |
>> SRPRINT | EN+3*, HDR+2 |
>> SRPROC( | PRINT+7 |
>> SRPROC(1 | PRINT+6 |
SRRPT | EN+1*, END+2!, HDR+2 |
>> SRSD | EN*, EN+6*, AC*, CASE+3, TMP+1, PRINT+3 |
>> SRSDATE | ADM+1*, ADM+2*, TMP+1*, PRINT+3*, PRINT+5 |
>> SRSNM | PRINT+3*, PRINT+5 |
>> SRSOUT | SROQADM+8*, SEL+1, IO+1*, IO+2*, EN*, EN+6, EN+7, END+1, AC, PRINT+1 , PRESS*, PAGE+1, HDR+1* |
>> SRSPEC | SROQADM+8*, CASE+2, PRINT+5, HDR+3, HDR+4 |
>> SRSPECN | HDR+3 |
>> SRSS | CASE+2*, TMP+1, PRINT+2*, PRINT+5 |
>> SRSSN | PRINT+3*, PRINT+6 |
>> SRSUPCPT | PRINT+1* |
>> SRTECH | PRINT+4 |
SRTN | EN+6*, END+2!, AC*, CASE+1, CASE+2, CASE+4, ADM+1, TMP+1, PRINT+2, PRINT+6 , OCC+2 |
>> SRZ | EN+6*, PRINT+2 |
>> STARTDT | EN*, EN+1 |
>> VA("PID" | PRINT+3 |
>> VADM(1 | PRINT+3 |
>> VADM(3 | PRINT+3 |
VAIP | CASE+3! |
VAIP("D" | CASE+3* |
VAIP(13 | CASE+3 |
>> X | ADM+1, OCC+2*, OCC+3, HDR+3* |
>> X1 | ADM+1* |
>> X2 | ADM+1* |
>> Y | EN*, EN+3*, PRINT+2*, PRINT+3* |
>> Z | OCC+3*, OCC+4 |
>> ZTDESC | IO+2* |
>> ZTQUEUED | END, HDR+1 |
>> ZTREQ | END* |
>> ZTRTN | IO+2* |
>> ZTSAVE("EDATE" | IO+2* |
>> ZTSAVE("SDATE" | IO+2* |
>> ZTSAVE("SRINSTP" | IO+2* |
>> ZTSAVE("SRSITE*" | IO+2* |
>> ZTSAVE("SRSPEC*" | IO+2* |
>> ZTSTOP | END |