Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSOFSIG

Package: Outpatient Pharmacy

Routine: PSOFSIG


Information

PSOFSIG ;BIR/RTR-Parse out and create Pharmacy Sig ;25-Sep-2006 10:55;DU

Source Information

Source file <PSOFSIG.m>

Caller Graph

Caller Graph Total: 16

Package Total Caller Graph
Outpatient Pharmacy 15 MEDICATION INSTRUCTIONS  PSODIR  PSONEW1  PSOORED1  PSOORED2  PSOORED3  PSOORED4  PSOORED5  
PSOORED6  PSOOREDX  PSOORFI2  PSOORFI4  PSOORNE4  PSOORNE6  PSOVER1  
IHS Changes To Pharmacy 1 APSPFNC2  

Entry Points

Name Comments DBIA/ICR reference
QUIT
NON ;
UPPER(PSOUCS) ;
FRAC ;
EN(PSOFX,PSOPTSIG) ;
VERB ;Check if verb and noun need to be added to SIG
DAYS
SSS ;
SIG1 ;
STUFF ;
FRACQ
VERBEX
LOWER(PSOLCS) ;
SET ;Set duration to proper format for storage
NUM ;
DUR ;Input Transform for duration
KILL ;kills duration data field
PTSIG ;

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "("
  • Line Location: PTSIG+3
Function Call: WRITE
  • Prompt: ")",!
  • Line Location: PTSIG+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(50.606 - [#50.606] EN+7, NON+3
^PS(50.7 - [#50.7] EN+7
^PS(51 - [#51] EN+24, EN+31
^PS(51.1 - [#51.1] EN+22, EN+29
^PS(51.2 - [#51.2] EN+14

Label References

Name Line Occurrences
$$LOWER VERB+5, VERB+6, VERB+14, VERB+15
$$UPPER EN+48, EN+50, VERB+4, VERB+6, VERB+13, VERB+15
FRAC EN+35
FRACQ FRAC+3, FRAC+19
NUM FRAC+3, FRAC+20
PTSIG STUFF+3
QUIT STUFF+2, PTSIG+1
SSS EN+34
VERB EN+34
VERBEX VERB+7, VERB+8

Naked Globals

Name Field # of Occurrence
^( EN+24, EN+31
^(0 EN+14, EN+22, EN+29, NON+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> CT STUFF+5*, STUFF+6
DCOUNT EN+3~, STUFF+1*, QUIT!
>> FF STUFF+5*, STUFF+6
FFF EN+3~, EN+33*, EN+34, EN+36, EN+39, EN+40, EN+41, EN+42, EN+44, EN+45
, EN+46, EN+48, QUIT!, SIG1+1*, VERB+2, VERB+7, VERB+8, VERB+9, VERB+10, VERB+11
, SSS+2, SSS+3, SSS+4, SSS+6, SSS+8, SSS+9, FRAC+2, FRAC+3, FRAC+6
GGG EN+3~, EN+20*, EN+21, EN+22, EN+24, EN+25, EN+27, EN+32, QUIT!
GGGZ EN+2~, EN+27*, EN+29, EN+31
>> II STUFF+4*, STUFF+5*, STUFF+9
INTERVAL EN+2~, EN+17, EN+18*, EN+19*
LIM EN+1~, STUFF+5, STUFF+7*
MEDEXP EN+2~
MEDEXP( EN+14*, EN+41
>> NN STUFF+5*
NOUN EN+2~, NON+3*
PDAYS EN+2~
PDAYS( EN+15*, EN+16*, EN+17, EN+18
PREP EN+3~, EN+7*, EN+41, QUIT!
PSDUR EN+2~
PSDUR( EN+17*, EN+18, EN+44, EN+46
PSNOUN EN+2~
PSNOUN( EN+11*, EN+34, EN+41, NON+1*, NON+3*, VERB+7, VERB+9, VERB+10, VERB+11, SSS+2
, SSS+3, SSS+6, SSS+8*, SSS+9*
PSOBDCT EN+3~, EN+33*, EN+37*, EN+50*
PSOCJ EN+2~, EN+45*, EN+46
PSODCT EN+3~, EN+50*
>> PSODRUG("OI" EN+7
PSOFNL SSS+1!, SSS+6*, SSS+7, SSS+9
PSOFNLF SSS+1!
PSOFNLX SSS+1!
PSOFRAC EN+36, EN+38!, FRAC+1!, FRAC+3*, FRAC+4!, FRAC+5*, FRAC+10*, FRAC+11*, FRAC+12*, FRAC+13*
, FRAC+14*, FRAC+15*, FRAC+16*, FRAC+17*, FRAC+18*, FRAC+19!, FRAC+20*
PSOFRAC1 FRAC+1!, FRAC+3*, FRAC+4!, FRAC+5, FRAC+6*, FRAC+20, FRACQ!, NUM+1, NUM+4*, NUM+5*
, NUM+6*, NUM+7*, NUM+8*, NUM+9*, NUM+10*, NUM+11*, NUM+12*, NUM+13*
PSOFRAC2 FRAC+1!, FRAC+6*, FRAC+7, FRACQ!
PSOFRACX EN+38!, FRAC+1!, FRAC+7*, FRAC+10, FRAC+11, FRAC+12, FRAC+13, FRAC+14, FRAC+15, FRAC+16
, FRAC+17
PSOFX EN~
PSOFX("CONJUNCTION" EN+44, EN+45, EN+46
PSOFX("DOSE O RDERED" , EN+9, EN+36, SSS+4, SSS+8, SSS+9, FRAC+2, FRAC+3, FRAC+6
PSOFX("DOSE" EN+5, EN+9, EN+36
PSOFX("DURATION" EN+15, EN+16, EN+19
PSOFX("NOUN" EN+11
PSOFX("ROUTE" EN+12, EN+14
PSOFX("SCHEDULE" EN+20
PSOFX("SIG" EN+50
PSOFX("VERB" EN+10
PSOISL VERB+1!, VERB+2*, VERB+4, VERB+5, VERB+6, VERB+8*, VERB+12, VERB+13, VERB+14, VERB+15
, VERBEX!
PSOLCS VERB+1!, VERBEX!, LOWER~, LOWER+1
PSOPTSIG EN~, PTSIG+1
PSOROUTE EN+3~, QUIT!
PSOROUTE( EN+14*, EN+39, EN+40, EN+42
PSOSG1 EN+3~, EN+34!, EN+36, EN+47!, QUIT!, VERB+4*, VERB+5*, VERB+6*
PSOSG2 EN+3~, EN+34!, EN+41, EN+47!, QUIT!, VERB+13*, VERB+14*, VERB+15*
PSOUCS EN+48!, EN+50!, VERB+1!, VERB+3*, VERB+4*, VERB+5*, VERB+6*, VERB+10*, VERB+11*, VERB+13*
, VERB+14*, VERB+15*, VERBEX!, UPPER~, UPPER+1
PSOVL VERB+1!, VERB+2*, VERB+9*, VERB+10, VERB+11, VERBEX!
RTC EN+3~, EN+8!, EN+12*, EN+13, EN+33*, EN+39, EN+40*
RTCA EN+3~, EN+8!, EN+12*, EN+13, EN+33*, EN+39*, EN+41, EN+42
RTCF EN+3~, EN+8!, EN+13*, EN+39
RTCNT EN+3~, EN+8*, EN+12*, EN+13
SCHED EN+2~
SCHED( EN+21*, EN+22*, EN+24*, EN+32*, EN+44
SCHHOLD EN+2~, EN+27!
SCHHOLD( EN+27*, EN+29*, EN+31*, EN+32
SDF EN+2~
SDL EN+2~, EN+27*, EN+28, EN+29, EN+31
SGLFLAG EN+2~, EN+22*, EN+23, EN+29*, EN+30, EN+32*
SGLOOP EN+2~
SIG EN+4!
SIG( STUFF+5*, STUFF+9*, PTSIG+2, PTSIG+4
SIG(0 PTSIG+2, PTSIG+5
SIG(1 STUFF+3*
SIG0 EN+2~
SIG0( EN+9*, EN+33, EN+44, EN+46, SIG1+1, NON+1, VERB+2, VERB+8
>> SIG1( DAYS*
SIG2 EN+2~
SIG2( EN+36*, EN+41*, EN+42*, EN+44*, EN+46*, EN+48*, EN+50*, STUFF+5, STUFF+6, SIG1+1*
SIG2(1 STUFF+2, STUFF+3
SIG3 EN+2~
SIGDS EN+3~, EN+7*, QUIT!, NON+3
SIGRT EN+3~, QUIT!
SPFG EN+2~
SSS EN+3~, EN+8*, EN+9, EN+10, EN+11, EN+12, EN+14, EN+15, EN+16, EN+17
, EN+18, EN+19, QUIT!, NON+1, NON+3
SSZZ EN+2~
SZZ EN+2~, EN+25*
TODOSE EN+2~, EN+5*, EN+6, EN+8, EN+20
TT EN+3~, QUIT!, DAYS
VAR EN+1~, STUFF+4*, STUFF+5*, STUFF+7, STUFF+8*, STUFF+9
VAR1 EN+1~, STUFF+4*, STUFF+5, STUFF+6*, STUFF+8
VERB EN+3~, EN+34*, EN+36, QUIT!, VERB+2, VERB+3
VERBX EN+3~
VERBX( EN+10*, EN+34
WW EN+2~, EN+5*, EN+22*, EN+29*, EN+32*, PTSIG+2*, PTSIG+4
WWFL EN+2~, PTSIG+2*, PTSIG+3, PTSIG+4*
X DUR+1!, DUR+2!
ZSCHED EN+2~
ZSCHED( EN+20*, EN+21, EN+22, EN+24, EN+25, EN+27
ZZS EN+2~, EN+25*
ZZSB EN+2~, EN+25*, EN+26*, EN+27, EN+32
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All