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

Package: PCE Patient Care Encounter

Routine: PXBUTL


Information

PXBUTL ;ISL/JVS,ESW - UTILITIES FOR PROMPTS ; 10/31/02 12:13pm

Source Information

Source file <PXBUTL.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
PCE Patient Care Encounter 6 (LOC,TERM,UNDOFF,UNDON)^PXBCC  RSET^PXBDREQ  POV^PXBGPOV  PRV^PXBGPRV  EN0^PXBSTOR  EN1^PXKMAIN  
VA Fileman 2 (H,YX)^%DTC  EN^DIQ1  
DRG Grouper 1 $$CPT^ICPTCOD  

Caller Graph

Caller Graph Total: 26

Package Total Caller Graph
PCE Patient Care Encounter 26 PXBDCPT  PXBDPOV  PXBDPRV  PXBDSTP  PXBDVST  PXBGCPT  PXBGCPT2  PXBGVST  
PXBMCPT  PXBMCPT2  PXBMPOV  PXBMPRV  PXBMSTP  PXBPCPT  PXBPMOD  PXBPPOV  
PXBPPRV  PXBPSTP  PXBPVST  PXCACPT  PXQDVST  PXQDVST2  PXQDVST3  PXQGVST1  
PXQPVST  PXQPVST2  

Entry Points

Name Comments DBIA/ICR reference
CASE ;--CHANGE LOWER CASE TO UPPER CASE
PRIMD ;--PRIMARY DIAGNOSIS
CPTSCREN(CODE,IDATE) ;
  • ICR #1994
    • Status: Active
    • Usage: Private
    PRIM ;--PRIMARY PROVIDER
    W
    CPTOK(CODE,IDATE) ;--check the historical date to see if it was active
  • ICR #1994
    • Status: Active
    • Usage: Private
    NONE(NO) ;----Display's a None message to the screen if none is found
    TIMES(ENT) ;--Number of time the selection appears in v file from PXBKY
    HDR3(DFN,NO,PXBIOF) ;--Header for each screen PATIENT and DATE/TIME of Visit
    CONPRV(PRV) ;---FUNCTION-Convert internal form or provider to external form
    HDR2(FROM) ;--SECOND LINE IN THE HEADER
    HDR(PXBVST,NO,PXBIOF) ;--Header for each screen PATIENT and DATE/TIME of Visit
    WAIT ;--SPINNING CURSOR

    External References

    Name Field # of Occurrence
    H^%DTC CPTOK+8
    YX^%DTC CPTOK+8
    EN^DIQ1 HDR+4, HDR3+9, CONPRV+2
    $$CPT^ICPTCOD CPTOK+7, CPTSCREN+3
    LOC^PXBCC HDR2+2, HDR2+13
    TERM^PXBCC HDR+3, HDR3+8
    UNDOFF^PXBCC HDR2+9, HDR2+20
    UNDON^PXBCC HDR2+6, HDR2+17
    RSET^PXBDREQ PRIM+6, PRIMD+5
    POV^PXBGPOV PRIMD+1
    PRV^PXBGPRV PRIM+2
    EN0^PXBSTOR PRIM+11, PRIMD+10
    EN1^PXKMAIN PRIM+12, PRIMD+11

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: IOCUB,"\"
    • Line Location: WAIT+1
    Function Call: WRITE
    • Prompt: IOCUB,"|"
    • Line Location: WAIT+2
    Function Call: WRITE
    • Prompt: IOCUB,"/"
    • Line Location: WAIT+3
    Function Call: WRITE
    • Prompt: IOCUB,"-"
    • Line Location: WAIT+4
    Function Call: WRITE
    • Prompt: @IOF
    • Line Location: HDR+13
    Function Call: WRITE
    • Prompt: !
    • Line Location: HDR+15
    Function Call: WRITE
    • Prompt: "STOP CODE: ..There are ",$G(PXBCNT)," STOP CODES associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+3
    Function Call: WRITE
    • Prompt: "STOP CODE: ..There is ",$G(PXBCNT)," STOP CODE associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+4
    Function Call: WRITE
    • Prompt: "STOP CODE: ..There are ",$G(PXBCNT)," STOP CODES associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+5
    Function Call: WRITE
    • Prompt: $C(32)
    • Line Location: HDR2+8
    Function Call: WRITE
    • Prompt: "PROVIDER: ..There are ",$G(PXBCNT)," PROVIDERS associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+14
    Function Call: WRITE
    • Prompt: "PROVIDER: ..There is ",$G(PXBCNT)," PROVIDER associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+15
    Function Call: WRITE
    • Prompt: "PROVIDER: ..There are ",$G(PXBCNT)," PROVIDERS associated with this ENCOUNTER",IOELEOL
    • Line Location: HDR2+16
    Function Call: WRITE
    • Prompt: $C(32)
    • Line Location: HDR2+19
    Function Call: WRITE
    • Prompt: @IOF
    • Line Location: HDR3+3
    Function Call: WRITE
    • Prompt: @IOF
    • Line Location: HDR3+16
    Function Call: WRITE
    • Prompt: !
    • Line Location: HDR3+18
    Function Call: WRITE
    • Prompt: IOINHI,!,IOCUU,"PAT/SEX/AGE/SSN: ",$E(NAME,1,18)," ",SEX," ",AGE_" Years ",?67,SSN
    • Line Location: HDR3+19
    Function Call: WRITE
    • Prompt: IOINLOW
    • Line Location: HDR3+19
    Function Call: WRITE
    • Prompt: W
    • Line Location: W+0
    Function Call: WRITE
    • Prompt: !,?(IOM-$L(X))\2,IOINHI,X,IOINLOW
    • Line Location: W+0

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^AUPNVPOV - [#9000010.07] PRIMD+8
    ^AUPNVPRV - [#9000010.06] PRIM+9

    Label References

    Name Line Occurrences
    W NONE+2, NONE+3, NONE+4, NONE+5, NONE+6, NONE+7

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    %H CPTOK+8!
    %T CPTOK+8!
    %Y CPTOK+8!
    AGE HDR3+7~, HDR3+12*, HDR3+19
    AMANDA HDR+12!, HDR3+15!
    AMANDA(2 HDR3+10, HDR3+11, HDR3+12, HDR3+13
    AMANDA(9000010 HDR+5, HDR+6, HDR+7, HDR+8, HDR+9, HDR+10
    >> CLINIC HDR+9*
    CLINICE HDR+2~, HDR+10*, HDR+11*, HDR+17
    CODE CPTOK~, CPTOK+7, CPTSCREN~, CPTSCREN+3
    DA HDR+1~, HDR+4*, HDR3+6~, HDR3+9*, CONPRV+1~, CONPRV+2*
    >> DATA CASE+1*
    DATE HDR+1~, HDR+7*, HDR+17, HDR3+6~, CPTOK+5~, CPTOK+6*, CPTOK+7, CPTSCREN+1~, CPTSCREN+2*, CPTSCREN+3
    DFN HDR3~, HDR3+9, HDR3+10, HDR3+11, HDR3+12, HDR3+13
    DIC HDR+1~, HDR+4*, HDR3+6~, HDR3+9*, CONPRV+1~, CONPRV+2*
    DIQ HDR+1~, HDR+4*, HDR3+6~, HDR3+9*, CONPRV+1~, CONPRV+2*
    DIQ(0 HDR+4*, HDR3+9*, CONPRV+2*
    DR HDR+1~, HDR+4*, HDR3+6~, HDR3+9*, CONPRV+1~, CONPRV+2*
    >> EDATA CASE+2*
    EDATE CPTOK+5~, CPTOK+8*, CPTOK+9
    ENT TIMES~, TIMES+3
    FPRI PRIM+1~, PRIM+2
    FROM HDR2~, HDR2+1, HDR2+2, HDR2+13
    IDATE HDR+8*, CPTOK~, CPTOK+6, CPTSCREN~, CPTSCREN+2
    >> IOCUB WAIT+1, WAIT+2, WAIT+3, WAIT+4
    >> IOCUU HDR+17, HDR3+19
    >> IOELEOL HDR2+3, HDR2+4, HDR2+5, HDR2+14, HDR2+15, HDR2+16
    IOF HDR+13, HDR3+16
    >> IOINHI HDR+17, HDR3+19, W
    >> IOINLOW HDR+17, HDR3+19, W
    IOM HDR+17, HDR2+8, HDR2+19, W
    >> IORVON HDR+3, HDR3+8
    N TIMES+2~, TIMES+3*
    NAME HDR+6*, HDR+17, HDR3+7~, HDR3+10*, HDR3+19
    >> NARR CASE+3*
    NO HDR~, HDR+15, HDR+16, HDR3~, HDR3+18, HDR3+19, NONE~, NONE+2, NONE+3, NONE+4
    , NONE+5, NONE+6, NONE+7
    OK CPTOK+7*, CPTOK+9, CPTSCREN+1~, CPTSCREN+3*, CPTSCREN+4
    >> PATIENT PRIM+11, PRIMD+10, HDR+5*
    PRV CONPRV~, CONPRV+2, CONPRV+3*, CONPRV+4
    PRVA CONPRV+3!
    PRVA(200 CONPRV+3
    PRVDR PRIM+1~, PRIM+2, PRIM+3
    PXBCNT PRIM+1~, PRIM+2, HDR2+3, HDR2+4, HDR2+5, HDR2+14, HDR2+15, HDR2+16
    PXBIOF HDR~, HDR+13, HDR3~, HDR3+16
    PXBKY PRIM+1~, PRIM+2
    PXBKY( TIMES+3
    >> PXBMOD WAIT+1, WAIT+2, WAIT+3, WAIT+4
    PXBPRV CONPRV+1~, CONPRV+4
    PXBSAM PRIM+1~, PRIM+2
    PXBSKY PRIM+1~, PRIM+2, PRIM+4, PRIMD+3
    PXBSKY(1 PRIM+7, PRIM+9, PRIMD+6, PRIMD+8
    PXBVST PRIM+2, PRIM+11, PRIMD+1, PRIMD+10, HDR~, HDR+4, HDR+5, HDR+6, HDR+7, HDR+8
    , HDR+9, HDR+10
    >> PXDIGNS PRIMD+2
    >> Q TIMES+3*
    >> Q( TIMES+3*
    >> REQI PRIM+7*, PRIM+8*, PRIM+9*, PRIM+11, PRIMD+6*, PRIMD+7*, PRIMD+8*, PRIMD+10
    SEX HDR3+7~, HDR3+11*, HDR3+19
    SSN HDR3+7~, HDR3+13*, HDR3+14*, HDR3+19
    STADATE CPTOK+5~, CPTOK+7*, CPTOK+8, CPTOK+9
    STAFLAG CPTOK+5~
    STATUS CPTOK+5~, CPTOK+7*
    U CPTOK+7, CPTSCREN+3
    X CPTOK+8*!, NONE+1~, NONE+2*, NONE+3*, NONE+4*, NONE+5*, NONE+6*, NONE+7*, W
    Y CPTOK+5~, CPTOK+8!
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All