AG ; IHS/ASDS/EFG - INITIAL ROUTINE AND UTILITY SUB-ROUTINES ;
Source file <AG.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CPI | ;EP
|
|
HDR | ;EP - Print menu header.
|
|
CTR | ;EP - Center X.
|
|
YN | ;EP
|
|
READ | ;EP - Standard READ sub-routine for Registration.
|
|
LINES | ;EP "Standard" lines of characters.
|
|
PHDR | ;EP - Print parent menu header.
|
|
SHDR | ;EP - Screen header.
|
|
KILL | ;PEP - USED BY TPB TO CLEAN UP VARIABLES
|
|
LINE | ;EP - Standard writeline sub-routine.
|
|
PTLK | ;EP - Standard pt lookup using DIC.
|
|
CURPATCH() | ;EP - GET CURRENT PATCH LEVEL FOR HEADER
|
|
VIDEO | ;EP
|
|
PTLKNKIL | ;
|
|
DFNTR | ;EP - External Packages
|
|
SITE | ;EP - From options.
|
|
CHKRHI | ;EP - CHECK PATIENT FOR RESTRICTED HEALTH INFORMATION
|
|
L4 | ;
|
|
T | ;EP - DISPLAY TIME IN HH:MM (AM/PM) FORMAT
|
|
RTRN | ;EP
|
|
CHKNPP | ;EP - CHECK PATIENT FOR NOTICE OF PRIVACY PRACTICES ENTRY
|
|
NOW | ;EP - Set AGTIME to time now.
|
Name | Field # of Occurrence |
---|---|
DD^%DT | AG+14, NOW+3 |
NOW^%DTC | NOW+1, T+1 |
^%ZIS | AG+18, SHDR+3 |
^AG | PHDR+6 |
CHKRHI^AG | PTLKNKIL+5 |
^AGBADATA | DFNTR+3 |
^AGDATCK | DFNTR+2 |
$$CHKDEATH^AGEDERR | PTLKNKIL+10 |
^AGVAR | HDR+2 |
$$S^AGVDF | AG+19, PTLKNKIL+7, SHDR+5 |
^DIC | PTLKNKIL+3 |
^DIR | RTRN+4 |
SET^XBSITE | SITE+1 |
$$FMTE^XLFDT | AG+32, AG+33 |
$$CJ^XLFSTR | SITE+3, SITE+4, SITE+5, SHDR+10, SHDR+11, SHDR+12 |
$$LAST^XPDUTL | AG+32, AG+33 |
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: READ |
|
Function Call: READ |
|
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^AUPNPAT - [#9000001] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZIS(2 - [#3.2] | VIDEO+1 |
^AUPNNPP("B" | CHKNPP+2 |
^AUPNRHI - [#9000039] | CHKRHI+4 |
^AUPNRHI("B" | CHKRHI+3 |
^DIC(19 - [#19] | HDR+3, PHDR+4, PHDR+5 |
^DIC(4 - [#4] | SITE+2, SHDR+7 |
^DIC(9.4 - [#9.4] | AG+9, AG+10, AG+11, AG+13, CURPATCH+2, CURPATCH+3, CURPATCH+4, CURPATCH+5 |
^UTILITY("DIQ1" | KILL+1! |
^XUTL("XQ" | PHDR+2, PHDR+3, PHDR+4, PHDR+5 |
Name | Line Occurrences |
---|---|
CTR | SHDR+4 |
KILL | PHDR+1 |
L4 | SITE+1 |
READ | READ+2 |
SHDR | HDR+5 |
Name | Field # of Occurrence |
---|---|
^(0 | SITE+2, SHDR+7 |
^(5 | VIDEO+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | CURPATCH+1~, NOW+2, T+2 |
%DT | KILL+2! |
A | KILL+2! |
AG | L4+2!, KILL+2!, DFNTR+4! |
AG("*" | LINES+5*, LINES+6* |
AG("-" | LINES+1*, LINES+2* |
AG("=" | LINES+3*, LINES+4* |
AG("AMPM" | T+5*, T+7*, T+9 |
AG("DENT" | KILL+3! |
AG("HOUR" | T+3*, T+6, T+8*, T+9 |
AG("LI" | LINE+2* |
AG("LINE" | LINE+2 |
AG("MINUTE" | T+4*, T+9 |
AG("RPT" | SHDR+9 |
AG("TIME" | T+2*, T+3, T+4 |
AG("TRBCODE" | KILL+4! |
AG("VERDT" | AG+6*, AG+15*, L4+2! |
AG("VERSION" | AG+7*, AG+10*, AG+11, L4+2!, CURPATCH+3 |
AGAIN | KILL+5! |
AGCHRT | KILL+2! |
AGI | KILL+2! |
>> AGIEN | AG+9*, AG+13 |
AGL | KILL+3! |
AGLINE | KILL+2! |
AGNEW | KILL+4! |
AGNEWINS | HDR+1! |
AGOPT | KILL+2!, HDR+2, PHDR+1, DFNTR+4! |
AGPAT | KILL+2! |
>> AGPATDFN | PTLKNKIL+5* |
AGPCC | KILL+4! |
AGQI | DFNTR+4! |
AGQT | DFNTR+4! |
AGSCRN | KILL+4! |
AGSELECT | KILL+6! |
AGSITE | KILL+2! |
AGTEMP | KILL+4! |
>> AGTIME | NOW+4* |
AGTMP | AG+31~, AG+32*, AG+33* |
AGTP | DFNTR+4! |
AGUPDT | KILL+2! |
C | KILL+3! |
DFN | KILL+3!, PTLK+1!, PTLKNKIL+5*, PTLKNKIL+10, CHKNPP+2, CHKRHI+1, CHKRHI+3 |
DFOUT | READ+2!, READ+3*, KILL+3! |
DIC | KILL+3!, PTLK+2!, PTLKNKIL+1* |
DIC(0 | PTLKNKIL+2* |
DIE | KILL+3! |
DIR | RTRN+5!, HDR+1! |
DIR(0 | RTRN+3* |
DIRUT | READ+1! |
DLOUT | READ+2!, READ+4*, KILL+3! |
DQOUT | READ+2!, READ+6*, KILL+3! |
DTIME | READ+2 |
DTOUT | READ+2!*, KILL+3! |
DUOUT | READ+2!, READ+5*, KILL+3! |
DUZ(2 | SITE+1, SITE+2, SHDR+7 |
G | KILL+3! |
I | AG+20*, AG+36*, L4+2!, CURPATCH+1~, CURPATCH+2*, CURPATCH+3, CURPATCH+4, CURPATCH+5, KILL+3! |
IOF | AG+16, SHDR+1 |
IOM | SITE+3, SITE+4, SITE+5, SHDR+10, SHDR+11, SHDR+12 |
ION | AG+17 |
>> IOP | AG+17*, SHDR+2* |
IOST | RTRN+2 |
IOST(0 | VIDEO+1 |
J | CURPATCH+1~ |
L | KILL+3! |
NPPFLAG | CHKNPP+1!, CHKNPP+4* |
>> PENTRY | CURPATCH+3*, CURPATCH+4, CURPATCH+5 |
>> PVER | CURPATCH+4*, CURPATCH+5*, CURPATCH+6 |
REC | CHKNPP+1!, CHKNPP+2*, CHKNPP+3, CHKRHI+2*, CHKRHI+3*, CHKRHI+4 |
RHIFLAG | PTLK+1!, PTLKNKIL+6, PTLKNKIL+7, CHKRHI+2*, CHKRHI+4* |
U | AG+13, SITE+2, CURPATCH+5, READ+6, HDR+3, PHDR+4, PHDR+5, SHDR+7, CHKRHI+4 |
X | CTR+1*, KILL+4!, HDR+3*, PHDR+4*, SHDR+4, SHDR+8 |
XY | KILL+4!, VIDEO+1* |
XYER | KILL+4!, VIDEO+1*, VIDEO+2* |
Y | AG+8*, AG+9*, AG+10, AG+11*, AG+12, AG+13*, AG+15, READ+2*, READ+3*, READ+4 , READ+5*, READ+6*, RTRN+1*, NOW+2*, NOW+4, KILL+4!, PTLKNKIL+5, HDR+4*, PHDR+5*, PHDR+6 , SHDR+6 |