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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: YSCLTST5

Package: Mental Health

Routine: YSCLTST5


Information

YSCLTST5 ;HINOI/RSJ-TRANSMISSION DATA FOR CLOZAPINE ORDERS ;7 May 2020 17:31:44

Source Information

Source file <YSCLTST5.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
VA FileMan 6 ^%DT  (,C)^%DTC  LIST^DIC  ^DIE  ($$GET1,GETS)^DIQ  ^DIR  
Mental Health 5 START^YSCLDIS  LAB^YSCLTST1  TRANSMIT^YSCLTST2  TRANSMIT^YSCLTST3  DEMOG^YSCLTST9  
Kernel 2 $$S^%ZTLOAD  ($$DT,$$FMADD,$$FMTE,$$NOW)^XLFDT  
Registration 2 (ADD,DEM)^VADPT  $$SITE^VASITE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 12

Package Total Caller Graph
Mental Health 7 YSCL DAILY TRANSMISSION  YSCL154P  YSCLDIS  YSCLSERV  YSCLTST2  YSCLTST6  YSCLTST9  
Inpatient Medications 4 PSGOD  PSGOEE  PSJCOM1  PSJOE  
Kernel 1 ^DIC(19  

Entry Points

Name Comments DBIA/ICR reference
INPSND ; Build inpatient clozapine data for transmision
  • ICR #7188
    • Status: Active
    • Usage: Controlled Subscription
    DMG ; Called by YSCLDIS
    DMG1 ; GATHER FACILITY INFORMATION
    GET ; GATHER PATIENT DEMOGRAPHICS
    GETINP ;Inpatient Medications
    INPCHK ;for data to send
    LOAD ;
    Z2
    DOSE ; GET DOSE
    FRQ ; GET ADMIN FREQUENCY
    XMIT ;
    REXMIT ;
    ORDBLD ;
    REX ; Alternate retransmit
    XTMPZRO ; YS*5.01*154

    External References

    Name Field # of Occurrence
    ^%DT REXMIT+1
    ^%DTC REX+18
    C^%DTC DMG1+1, DMG1+2, DMG1+3, REX+22, REX+23
    $$S^%ZTLOAD DMG+7, GET+1, GETINP+1, INPCHK+2, INPCHK+25, LOAD+1, REXMIT+14
    LIST^DIC DMG+5, GET+15, DOSE+4
    ^DIE INPCHK+17
    $$GET1^DIQ DMG+3, DMG+8, GET+2, GET+3, GET+6, GETINP+5, GETINP+7, INPCHK+4, INPCHK+7, INPCHK+8
    INPCHK+9, INPCHK+10, INPCHK+11, INPCHK+14, INPCHK+16, INPCHK+18, INPCHK+21, INPCHK+23, INPCHK+26, INPCHK+28
    DOSE+2, DOSE+3, FRQ+2, FRQ+4, FRQ+5, REXMIT+9, REXMIT+15
    GETS^DIQ DMG1+5
    ^DIR REX+8, REX+15
    ADD^VADPT GET+7
    DEM^VADPT GET+7, GETINP+1, INPCHK+3
    $$SITE^VASITE DMG1+4, LOAD+5
    $$DT^XLFDT XTMPZRO+2
    $$FMADD^XLFDT XTMPZRO+2
    $$FMTE^XLFDT Z2+3, Z2+4
    $$NOW^XLFDT XTMPZRO+3
    START^YSCLDIS XMIT+1
    LAB^YSCLTST1 INPCHK+6
    TRANSMIT^YSCLTST2 REXMIT+32
    TRANSMIT^YSCLTST3 REXMIT+17
    DEMOG^YSCLTST9 XMIT+2

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"Aborting retransmit",!
    • Line Location: REX+9
    Function Call: WRITE
    • Prompt: !,"Aborting retransmit",!
    • Line Location: REX+16
    Function Call: WRITE
    • Prompt: !,"The ending date cannot be before the start date!",!
    • Line Location: REX+18
    Routine Call
    • DIC
    • Line Location:
      • DMG+5
      • GET+15
      • DOSE+4
    Routine Call
    • DIE
    • Line Location:
      • INPCHK+17
    Routine Call
    • DIR
    • Line Location:
      • REX+8
      • REX+15

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^OR(100 - [#100] GET1^DIQ
    ^DPT - [#2] GET1^DIQ
    ^VA(200 - [#200] GET1^DIQ
    ^DIC(4 - [#4] GET1^DIQ,  GETS^DIQ
    ^DIC(42 - [#42] GET1^DIQ
    ^SC - [#44] GET1^DIQ
    ^PSDRUG - [#50] GET1^DIQ
    ^PS(53.8 - [#53.8] GET1^DIQ
    ^PS(55 - [#55] GET1^DIQ
    55.06 GET1^DIQ
    55.07 LIST^DIC
    ^PS(59 - [#59] LIST^DIC
    ^YSCL(603.01 - [#603.01] GET1^DIQ,  LIST^DIC
    ^YSCL(603.03 - [#603.03] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DIC(5 - [#5] DMG1+9
    ^DPT - [#2] Z2+3
    ^PS(53.8 - [#53.8] INPCHK+20
    ^TMP("PSJCOM" INPCHK+16, INPCHK+17
    ^TMP("YSCL" INPSND+7!, DMG+4!, GET+21*, GET+22*, GET+23*, GET+24*, GET+25*, GET+29*, GET+30*, Z2+3*
    Z2+4*, Z2+5, Z2+6, REXMIT+10!, REXMIT+19!, REXMIT+35!, ORDBLD+7*, REX+3!
    ^TMP("YSCLL" INPSND+7!, GET+4, GET+5*, GET+27*, REXMIT+10!, REXMIT+19!, REXMIT+35!
    ^TMP($J INPSND+7!, DMG+4!, GET+19*, LOAD+6*, Z2Z2+1, REXMIT+10!, ORDBLD+5*, ORDBLD+6*, REX+3!
    ^XTMP("YSCLDEM" XMIT+4, REXMIT+2, REXMIT+8, REXMIT+12, REXMIT+16*, REXMIT+18*, REXMIT+20*
    ^XTMP("YSCLTRN" INPSND+3*, INPCHK+30, INPCHK+32, INPCHK+33, INPCHK+37*, INPCHK+38*, Z2+1*, Z2+6*, Z2+8*, REXMIT+25
    REXMIT+28, REXMIT+29, REXMIT+32, REXMIT+34*, REXMIT+36*, ORDBLD+2, ORDBLD+3, ORDBLD+4, ORDBLD+5, ORDBLD+6
    ORDBLD+7, XTMPZRO+2, XTMPZRO+4*
    ^YSCL(603.01 - [#603.01] REXMIT+13

    Label References

    Name Line Occurrences
    DMG INPSND+4
    DMG1 INPSND+4
    FRQ DOSE+7
    GET DMG+8, REXMIT+15
    GETINP INPSND+4
    INPCHK INPSND+4
    LOAD INPSND+5
    ORDBLD REXMIT+31
    REX REX+18
    REXMIT REX+24
    XTMPZRO INPSND+2, REXMIT+20

    Naked Globals

    Name Field # of Occurrence
    ^(0 Z2+3

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    >> %DT REXMIT+1*
    AGE INPCHK+3!*
    ARRAY DMG+5~, DOSE+4~
    ARRAY("DILIST" DMG+6, DMG+8, DOSE+5, DOSE+6
    ARRAY59 GET+15~
    ARRAY59("DILIST" GET+16
    C XTMPZRO+1~, XTMPZRO+2*, XTMPZRO+3*, XTMPZRO+4
    DA INPCHK+17*, REX+2~
    DA(1 INPCHK+17*
    DATE REX+2~
    DFN INPSND+1, INPSND+6*, DMG+1, DMG+3, DMG+5, DMG+8, DMG+11*, GET+2, GET+3, GET+4
    GET+5, GET+6, GET+27, GETINP+5, GETINP+7, INPCHK+4, INPCHK+7, INPCHK+8, INPCHK+9, INPCHK+14
    INPCHK+16, INPCHK+17, INPCHK+18, INPCHK+30, INPCHK+32, INPCHK+33, INPCHK+37, INPCHK+38, Z2+1, Z2+3
    Z2+6, DOSE+2, DOSE+3, DOSE+4, REXMIT+6~, REXMIT+12*, REXMIT+13, REXMIT+15, REXMIT+16, REX+2~
    >> DIE INPCHK+17*
    DIR REX+2~
    DIR("?" REX+6*, REX+7*, REX+13*, REX+14*
    DIR("A" REX+5*, REX+12*
    DIR(0 REX+4*
    >> DIRUT REX+9, REX+16
    DOB INPCHK+3!*
    >> DR INPCHK+17*
    DT INPSND+3, DMG1+1, GET+7, GETINP+3, INPCHK+30, INPCHK+32, INPCHK+33, INPCHK+37, INPCHK+38, Z2+1
    Z2+6, Z2+8, REXMIT+4~*, REXMIT+8, REXMIT+25, REXMIT+33*, ORDBLD+3
    DTRUT REX+2~
    IOF INPSND+1, INPSND+6*
    J DMG1+12!, XTMPZRO+1~, XTMPZRO+2*, XTMPZRO+3
    PNM INPCHK+3!*
    PSDFN DMG+2~, DMG+3*, DMG+11, REXMIT+6~
    >> PSGDN INPCHK+28
    PSGLI INPCHK+15, INPCHK+30, INPCHK+31, INPCHK+36~*, INPCHK+37, INPCHK+38, LOAD+7~*, Z2+1, Z2+6
    PSGLI1 INPCHK+36*, LOAD+7, Z2+6!
    >> PSGORD GETINP+5, GETINP+7, INPCHK+7, INPCHK+8, INPCHK+9, INPCHK+16, INPCHK+17, INPCHK+18
    >> PSGSD INPCHK+4, INPCHK+5
    PSGTIM INPSND+1~, INPCHK+31*, INPCHK+32, INPCHK+34, INPCHK+35*, INPCHK+36
    >> PSHLI1 INPCHK+31*, INPCHK+35*
    >> PSHLI2 INPCHK+33*, INPCHK+34, INPCHK+35
    PSJDI FRQ+1~, FRQ+9*, FRQ+10, FRQ+12, FRQ+13, FRQ+15
    PSJDIV INPCHK+8~, INPCHK+10*, INPCHK+11
    >> PSJDOSE DOSE+2*, DOSE+6*, DOSE+7*
    >> PSJFRQ DOSE+7, FRQ+4*, FRQ+6, FRQ+8, FRQ+9, FRQ+10, FRQ+11*, FRQ+12, FRQ+13, FRQ+14*
    FRQ+15, FRQ+16*, FRQ+18*
    >> PSJFRQ(0 FRQ+2*, FRQ+3, FRQ+6*, FRQ+7, FRQ+13*, FRQ+15*, FRQ+17*, FRQ+18
    PSJINST INPCHK+8~, INPCHK+10*
    PSJIOF INPSND+1~*, INPSND+6
    >> PSJOR GETINP+7*, INPCHK+20, INPCHK+37, DOSE+2
    PSJPAT INPSND+1~*, INPSND+6
    PSJWRD INPCHK+8~*, INPCHK+9*, INPCHK+10
    SEX INPCHK+3!*
    SSN INPCHK+3!*
    U INPCHK+3, REXMIT+25, REXMIT+36, XTMPZRO+3
    VA REXMIT+6~
    VACNTRY REXMIT+6~
    VADM REXMIT+6~
    VADM(1 GET+7, GET+21, GETINP+2, INPCHK+3
    VADM(11 GET+10, GET+20, GET+25, GET+28
    VADM(12 GET+12, GET+20, GET+24, GET+28
    VADM(2 GET+7, GET+21, GETINP+2, INPCHK+3
    VADM(3 GET+7, INPCHK+3
    VADM(4 INPCHK+3
    VADM(5 GET+7, GET+20, GET+22, INPCHK+3
    VAERR INPCHK+3, REXMIT+6~
    VAPA REXMIT+6~
    VAPA(6 GET+7, GET+20, GET+23
    X INPSND+1~, DMG1+1, DMG1+2, DMG1+3, DMG1+12!, REXMIT+1*, REX+2~, REX+18, REX+22, REX+23
    X1 INPSND+1~, DMG1+1*, DMG1+2*, DMG1+3*, REX+18*, REX+22*, REX+23*
    X2 INPSND+1~, DMG1+1*, DMG1+2*, DMG1+3*, REX+18*, REX+22*, REX+23*
    XMDUN REXMIT+6~
    XMDUZ REXMIT+6~
    XMZ REXMIT+6~
    Y REXMIT+1, REXMIT+6~, REX+2~, REX+10, REX+11!, REX+17
    YCLSCNTR INPSND+1~*, INPCHK+29*, INPCHK+38, Z2+1*, Z2+6*
    YSCL GET+7*, GET+13*, GET+17*, GET+19, INPCHK+6*, REXMIT+6~
    >> YSCLA("" INPCHK+6
    YSCLC DMG+8*, GET+7, GETINP+3, REXMIT+7~, REXMIT+11*, REXMIT+15*
    YSCLCNT ORDBLD+1~, ORDBLD+4*, ORDBLD+5, ORDBLD+6, ORDBLD+7
    YSCLCNTR REXMIT+7~, REXMIT+11*, REXMIT+16*, REXMIT+18, REXMIT+22*, REXMIT+30*, ORDBLD+5*, ORDBLD+6*
    YSCLCT REXMIT+22*, ORDBLD+7*, REX+2~
    >> YSCLD INPCHK+11*
    YSCLDEA GET+6*, GET+13, REXMIT+6~
    >> YSCLDEMO DMG1+6*, DMG1+7*, DMG1+8*, DMG1+9*, DMG1+10*, DMG1+11*, GETINP+3, LOAD+6
    YSCLDFN DOSE+1~, DOSE+2*, FRQ+2, FRQ+4, FRQ+5, ORDBLD+1~, ORDBLD+2*, ORDBLD+3, ORDBLD+4, ORDBLD+5
    ORDBLD+6, ORDBLD+7
    YSCLDOSE DOSE+1~, DOSE+3*, DOSE+6
    YSCLDT XMIT+3~, REXMIT+1~*, REXMIT+20, REXMIT+36, REX+2~
    >> YSCLED DMG1+1*, DMG1+2, DMG1+3
    YSCLEDDT REXMIT+4, REXMIT+26, REXMIT+33, REX+2~, REX+17*, REX+18, REX+23*
    YSCLEND REXMIT+6~, REXMIT+25*, REXMIT+26*, REXMIT+29
    YSCLF DMG1+12!
    YSCLFF DMG1+12!
    YSCLFF(4 DMG1+6, DMG1+7, DMG1+8, DMG1+9, DMG1+10
    YSCLGL REXMIT+6~
    YSCLIEN DMG+4*, DMG+6*, REXMIT+7~, REXMIT+10*, REXMIT+13*, REXMIT+15
    YSCLIF DMG1+4*, DMG1+5, DMG1+6, DMG1+7, DMG1+8, DMG1+9, DMG1+10, DMG1+12!
    YSCLJ GET+16*, GET+17, REXMIT+6~
    >> YSCLLD LOAD+2
    >> YSCLLLN DMG1+1*, Z2+3*, Z2+4, Z2+6
    YSCLLN DMG+4*, DMG1+1*, GET+19*, LOAD+6*, Z2Z2+1, REXMIT+7~, REXMIT+10*, REXMIT+17, REXMIT+32*
    REX+2~
    >> YSCLLO INPCHK+20*, INPCHK+21, INPCHK+23
    >> YSCLLST XMIT+4*
    >> YSCLM180 DMG1+2*, INPCHK+5
    >> YSCLM28 DMG1+1*, LOAD+2
    >> YSCLM56 DMG1+3*
    >> YSCLM7 DMG1+1*
    YSCLNO DMG+4*, GET+21, GET+22, GET+23, GET+24, GET+25, GET+26*, GET+29*, GET+30*, REXMIT+7~
    REXMIT+10*
    >> YSCLNST1 LOAD+5*, LOAD+6
    >> YSCLNSTE LOAD+4*, LOAD+5*, LOAD+6
    YSCLORD REXMIT+7~, ORDBLD+3*, ORDBLD+4, ORDBLD+5, ORDBLD+6, ORDBLD+7
    YSCLP GET+6*, GET+13, REXMIT+7~
    >> YSCLPHY GETINP+3*, INPCHK+26*, LOAD+6
    YSCLPS55 DOSE+1~, DOSE+2*, DOSE+3, DOSE+4, FRQ+2, FRQ+4, FRQ+5
    YSCLPTR DOSE+1~, DOSE+5*, DOSE+6
    >> YSCLRET INPSND+1*, LOAD+6
    YSCLREX REXMIT+4, REXMIT+25, REXMIT+33, REX+2~, REX+21*
    >> YSCLRXPR INPCHK+7*, INPCHK+26
    YSCLSTDT REXMIT+26, REX+2~, REX+10*, REX+18, REX+22*, REX+23
    >> YSCLT INPSND+5, INPCHK+1*, INPCHK+6*, INPCHK+7*
    YSCLTRDT XMIT+3~, XMIT+4*, REXMIT+2, REXMIT+8*, REXMIT+12, REXMIT+16, REXMIT+18, REXMIT+25*, REXMIT+26*, REXMIT+28
    REXMIT+29*, REXMIT+32, REXMIT+34, ORDBLD+2, ORDBLD+3, ORDBLD+4, ORDBLD+5, ORDBLD+6, ORDBLD+7, REX+2~
    REX+23*
    >> YSCLWBC INPCHK+1*, LOAD+2
    YSCLX GETINP+2*, GETINP+3*, INPCHK+11*, INPCHK+14*, INPCHK+15*, INPCHK+18*, INPCHK+21*, INPCHK+22*, INPCHK+23*, INPCHK+26*
    INPCHK+28*, INPCHK+38, LOAD+4, LOAD+6*, Z2+3, Z2+4, REXMIT+7~
    YSDEBUG DMG+3*, REXMIT+7~, REXMIT+9*
    YSRACE GET+9*, GET+10*, GET+11*, GET+12*, GET+13, REXMIT+7~
    YSRC GET+10*, GET+12*, REXMIT+7~
    YSSTOP DMG+7*, GET+1*, GETINP+5*, INPCHK+2*, INPCHK+25*, LOAD+1*, REXMIT+7~, REXMIT+14*
    >> YSSTRT GETINP+5*
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All