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

Package: Pharmacy Data Management

Routine: PSSDSAPA


Information

PSSDSAPA ;BIR/RTR,TMK-Dose Check APIs routine (continued) ;27 Oct 2009 12:22 PM

Source Information

Source file <PSSDSAPA.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Pharmacy Data Management 5 EXCPS^PSSDSAPD  ($$EXMT,$$UNIT)^PSSDSAPI  INFERRS^PSSDSAPK  CHKCFREQ^PSSDSUTA  UPCPRS^PSSDSUTL  
Kernel 1 $$UP^XLFSTR  
National Drug File 1 ($$DFSU,$$PROD0)^PSNAPIS  
VA FileMan 1 GETS^DIQ  

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: 6

Package Total Caller Graph
Pharmacy Data Management 4 PSSDSAPD  PSSDSAPK  PSSDSAPM  PSSDSEXC  
Order Entry Results Reporting 2 ORCDPSIV  ORWDPS33  

Entry Points

Name Comments DBIA/ICR reference
IV(PSSADFOI) ;Return Additive Frequency default to CPRS, Forum DBIA 5504 ; 27 Oct 2009 12:16 PM
  • ICR #5504
    • Status: Pending
    • Usage: Private
    RESET ;Reset array to set flag to show General Dosing Guideline for last unique combination of Drug and Route
    SGEN ;General Dosing Guidelines for last dosing sequence of a complex order when there is an error
    SGENA ;
    REM ;Remove certian output globals to comply with 2.1 requirements
    SQX(PSSQBSS) ;returns Dosage check exclusion information based on Schedule
    SQXLP ;
    SXCL ;Set exclusion fields in PSSDBCAR array
    NOTS ;Set flag for not screened
    SOL(PSSLGTOI) ;
    IPM(PSSLGTOI) ;
    ONT ;Look for one to one relationship from Dispense Drug to Orderable Item for application
    TLS(PSSTLS1,PSSTLS2) ;
    INRATE ;Infusion Rate error, default data already set in Inpatient
    INFRQ ;Frequency error
    DUNIT() ;Find unit

    External References

    Name Field # of Occurrence
    GETS^DIQ IV+8
    $$DFSU^PSNAPIS TLS+2, DUNIT+8
    $$PROD0^PSNAPIS ONT+10
    EXCPS^PSSDSAPD INRATE+3, INRATE+6, INRATE+7, INFRQ+4
    $$EXMT^PSSDSAPI ONT+5
    $$UNIT^PSSDSAPI DUNIT+10, DUNIT+19
    INFERRS^PSSDSAPK INRATE+6
    CHKCFREQ^PSSDSUTA REM+27
    UPCPRS^PSSDSUTL REM+29
    $$UP^XLFSTR SQX+5, SQX+9, NOTS+3

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PS(52.6 - [#52.6] GETS^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PS(50.606 - [#50.606] DUNIT+17, DUNIT+18
    ^PS(50.607 - [#50.607] TLS+5
    ^PS(50.7 - [#50.7] SOL+7, IPM+5, DUNIT+16
    ^PS(51.1 - [#51.1] SQXLP+1, SQXLP+2
    ^PS(51.24 - [#51.24] DUNIT+13
    ^PS(52.6 - [#52.6] IV+5, IPM+12
    ^PS(52.7 - [#52.7] SOL+10, SOL+11, SOL+12
    ^PSDRUG - [#50] IPM+8, IPM+10, ONT+3, ONT+6, ONT+7, ONT+9, ONT+13, DUNIT+6, DUNIT+11, DUNIT+12
    , DUNIT+15
    ^PSDRUG("ASP" IPM+7, ONT+4
    ^TMP($J SGENA+3, SGENA+4*, SGENA+5*, REM+4, REM+5, REM+6!, REM+7, REM+8!, REM+10!, REM+11!
    REM+12!, REM+16, REM+17*, REM+18!, REM+19!, REM+20, REM+22*, REM+34*, NOTS+2, INFRQ+8*
    INFRQ+10*

    Label References

    Name Line Occurrences
    $$SOL IPM+15
    $$SQX SXCL+3
    SGENA SGEN+3
    SQXLP SQX+4, SQX+5, SQX+8, SQX+9

    Naked Globals

    Name Field # of Occurrence
    ^( REM+16

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DT IV+12, SOL+8, SOL+12, IPM+6, IPM+9, ONT+6
    PSSAD IPM+2~, IPM+4*, IPM+12, IPM+13*, IPM+14
    PSSADFCT IV+2~, IV+3*, IV+16*
    PSSADFER IV+2~, IV+7!
    PSSADFER("DIERR" IV+9
    PSSADFHD IV+2~, IV+10*, IV+14, IV+16, IV+19
    PSSADFIN IV+2~, IV+10*, IV+12
    PSSADFLD IV+2~, IV+7!
    PSSADFLD( IV+10
    PSSADFLP IV+2~, IV+5*, IV+7
    PSSADFNN IV+2~, IV+7*, IV+8, IV+10
    PSSADFOI IV~, IV+4, IV+5
    PSSADFRS IV+2~, IV+3*, IV+4, IV+16*, IV+19, IV+21*, IV+22
    PSSADFXX IV+2~, IV+3*, IV+5, IV+14*, IV+19*, IV+21
    PSSDADO REM+26~, REM+27*
    >> PSSDBASA SGENA+4, REM+29
    >> PSSDBASB SGENA+5, REM+3, REM+25, REM+33
    >> PSSDBASE SGENA+3, SGENA+4, SGENA+5, REM+27, NOTS+2, INFRQ+8, INFRQ+10
    >> PSSDBASF SGENA+4
    >> PSSDBASG SGENA+5, REM+4, REM+5, REM+6, REM+7, REM+8, REM+10, REM+11, REM+12, REM+16
    REM+17, REM+18, REM+19, REM+20, REM+22, REM+27, REM+34
    >> PSSDBCAR REM+27
    >> PSSDBCAR( SGENA+1, REM+6, REM+8*, REM+12, REM+15, REM+21, REM+27, REM+31, REM+32, REM+33
    REM+34, SXCL+4*, SXCL+5*, NOTS+4*, INRATE+5*, INRATE+8*, INRATE+10*, INRATE+11*, INFRQ+5*, INFRQ+6*
    INFRQ+12*, DUNIT+4
    >> PSSDBCAZ( INRATE+7
    PSSDBCD1 RESET+1~, RESET+2*, RESET+3, RESET+4
    PSSDBCD2 RESET+1~, RESET+3*, RESET+4
    PSSDBCD3 RESET+1~, RESET+4*, RESET+5
    PSSDBCD4 RESET+1~
    PSSDBCD5 SGEN+1~, SGEN+3*, SGENA+1, SGENA+3, SGENA+4, SGENA+5
    PSSDBCD6 SGEN+1~, SGEN+2*, SGENA+3*, SGENA+4, SGENA+5
    PSSDBCD7 SGEN+1~, SGENA+1*, SGENA+2, SGENA+3, SGENA+4, SGENA+5
    PSSDBCD8 SGEN+1~, SGENA+1*, SGENA+2, SGENA+3, SGENA+4, SGENA+5
    >> PSSDBCDA( RESET+2, RESET+3, RESET+4
    >> PSSDBCDP( RESET+5*, SGEN+3
    >> PSSDBEB1 INRATE+5, INRATE+7, INRATE+8, INRATE+10, INRATE+11, INFRQ+5, INFRQ+6, INFRQ+8, INFRQ+10, INFRQ+12
    , DUNIT+4
    >> PSSDBEB2 INRATE+3, INFRQ+2
    >> PSSDBEB3 INRATE+2, INFRQ+1
    PSSDBEG1 DUNIT+2~, DUNIT+4*, DUNIT+5, DUNIT+6, DUNIT+11, DUNIT+12, DUNIT+15
    PSSDBEG2 DUNIT+2~, DUNIT+6*, DUNIT+7, DUNIT+8, DUNIT+11*, DUNIT+12, DUNIT+15*, DUNIT+16
    PSSDBEG3 DUNIT+2~, DUNIT+6*, DUNIT+7, DUNIT+8, DUNIT+12*, DUNIT+13, DUNIT+16*, DUNIT+17, DUNIT+18
    PSSDBEG4 DUNIT+2~, DUNIT+3*, DUNIT+5, DUNIT+10*, DUNIT+11, DUNIT+13*, DUNIT+14, DUNIT+17, DUNIT+19*, DUNIT+20
    PSSDBEG5 DUNIT+2~, DUNIT+8*, DUNIT+9, DUNIT+17*, DUNIT+18
    PSSDBEG6 DUNIT+2~, DUNIT+9*, DUNIT+10, DUNIT+18*, DUNIT+19
    PSSDBEG7 DUNIT+2~, DUNIT+10*, DUNIT+19*
    >> PSSDBFDB( ONT+14*, ONT+15*
    >> PSSDBFDB("PACKAGE" ONT+8
    >> PSSDBFRC( SXCL+2
    >> PSSDBIFG ONT+3, ONT+4, ONT+13, ONT+15
    >> PSSDBIFL ONT+13*
    >> PSSDBKLP SXCL+2, SXCL+4, SXCL+5
    >> PSSDBLP ONT+14, ONT+15
    >> PSSDBRLS RESET+5
    >> PSSDSDPL( REM+31
    >> PSSDWE5 SGEN+3, SGENA+4, SGENA+5
    PSSDWIEN REM+14~, REM+15*, REM+16, REM+17
    >> PSSDWL1 NOTS+2
    >> PSSDWLP NOTS+2, NOTS+4
    PSSIEN IPM+2~, IPM+7*, IPM+8, IPM+10, IPM+12*
    PSSINADT SOL+7*, SOL+8, IPM+2~, IPM+5*, IPM+6, IPM+8*, IPM+9
    PSSLGT1 SOL+5~, SOL+10*, SOL+11, SOL+12
    PSSLGT2 SOL+5~, SOL+9*, SOL+10, SOL+13*, SOL+16
    PSSLGT3 SOL+5~, SOL+12*
    PSSLGTOI SOL~, SOL+6, SOL+7, SOL+10, IPM~, IPM+3, IPM+5, IPM+7, IPM+12, IPM+15
    PSSNSCRE NOTS+1~, NOTS+2*, NOTS+3
    PSSNSCRU NOTS+1~, NOTS+3*, NOTS+4
    PSSOTOA ONT+1~, ONT+7*, ONT+8
    PSSOTOB1 ONT+1~, ONT+9*, ONT+10
    PSSOTOB2 ONT+1~, ONT+9*
    PSSOTOB3 ONT+1~, ONT+9*, ONT+10
    PSSOTOB4 ONT+1~, ONT+10*
    PSSOTOD ONT+1~, ONT+6*
    PSSOTOF ONT+1~, ONT+2*, ONT+4, ONT+11*, ONT+12
    PSSOTOI ONT+1~, ONT+3*, ONT+4
    PSSOTOL ONT+1~, ONT+4*, ONT+5, ONT+6, ONT+7, ONT+9
    PSSOTON ONT+1~, ONT+13*, ONT+14
    PSSPERR REM+1~, REM+21*, REM+22
    PSSPRE SOL+5~, SOL+9*, SOL+11*, SOL+13, SOL+15
    PSSQBA1 SQX+1~, SQXLP+1*, SQXLP+2
    PSSQBA2 SQX+1~, SQXLP+2*, SQXLP+3
    PSSQBA3 SQX+1~, SQX+5*, SQX+9*
    PSSQBA4 SQX+1~, SQX+5*, SQX+9*
    PSSQBA5 SQX+1~, SQX+7*, SQX+8
    PSSQBA6 SQX+1~, SQX+7*, SQX+8
    PSSQBARS SQX+1~, SQX+2*, SQX+3, SQX+4, SQX+5, SQX+6, SQX+7, SQX+8, SQX+10, SQXLP+3*
    PSSQBFLG SQX+1~, SQX+2*, SQX+4, SQX+5, SQX+8, SQXLP+1, SQXLP+3*
    PSSQBGR SXCL+1~, SXCL+2*, SXCL+3
    PSSQBGT SXCL+1~, SXCL+3*, SXCL+4, SXCL+5
    PSSQBSS SQX~, SQX+3, SQX+4, SQX+5, SQX+6, SQX+7, SQX+8
    PSSQBSTM SQX+1~, SQX+4*, SQX+5*, SQX+8*, SQX+9*, SQXLP+1
    PSSQBSTP SQX+1~, SQX+8*, SQX+9
    PSSRMV1 REM+1~, REM+4*, REM+5, REM+6, REM+7, REM+8, REM+10, REM+11, REM+12, REM+16
    REM+17, REM+18, REM+19, REM+20, REM+22
    PSSRMV2 REM+1~, REM+5*, REM+6, REM+7, REM+8, REM+10, REM+11, REM+12, REM+15, REM+16
    REM+17, REM+18, REM+19, REM+20, REM+21, REM+22
    PSSRMV3 REM+1~
    PSSRMV4 REM+1~
    PSSRMV5 REM+1~
    PSSRMV6 REM+1~
    PSSRMV7 REM+1~, REM+7*, REM+8, REM+10, REM+11
    PSSRMV8 REM+1~, REM+31*, REM+32, REM+33, REM+34
    PSSRMV9 REM+1~
    PSSRMVX REM+1~, REM+32*, REM+34
    PSSSOL SOL+5~, SOL+9*, SOL+14*, SOL+15, SOL+16, IPM+2~, IPM+4*, IPM+15*, IPM+17
    PSSTLS1 TLS~, TLS+2
    PSSTLS2 TLS~, TLS+2
    PSSTLS5 TLS+1~, TLS+2*, TLS+3
    PSSTLS6 TLS+1~, TLS+3*, TLS+4, TLS+6
    PSSTLS7 TLS+1~, TLS+3*, TLS+4, TLS+5
    PSSUD IPM+2~, IPM+4*, IPM+7, IPM+10*, IPM+11
    U SOL+6, SOL+7, SOL+8, SOL+15, SOL+16, IPM+5, IPM+8, IPM+10, IPM+17
    X DUNIT+2~
    Y DUNIT+2~
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All