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 |  Local Variables  | All
Print Page as PDF
Routine: PSJCROC

Package: Inpatient Medications

Routine: PSJCROC


Information

PSJCROC ;HP/MJE - CLINICAL REMINDER ORDER CHECKS FOR IP OC ;09/22/11 5:00pm

Source Information

Source file <PSJCROC.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Inpatient Medications 2 PAUSE^PSJLMUT1  EN3^PSJRXI  
VA FileMan 2 $$GET1^DIQ  ^DIR  
Clinical Reminders 1 ORDERCHK^PXRMORCH  
Kernel 1 SIG^XUSESIG  

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

Package Total Caller Graph
Inpatient Medications 1 PSJOC  

Entry Points

Name Comments DBIA/ICR reference
CK(CDRG1) ;CHECK FOR CROCS AGAINST PROSPECTIVE DRUG
CKIVI ;Log IV interventions
CKIV(CDRG2,IVFLG) ;CHECK FOR CROCS AGAINST PROSPECTIVE IV ORDER
CKIVD ;DISPLAY IV CROCS
LONGTEXT(PSJTXT,PSJLEN) ;
; The ^DIWP can only handle up to 999 characters. This call is used for long text.
DSPLTXT(PSJOUT) ;

External References

Name Field # of Occurrence
$$GET1^DIQ CKIV+2, CKIV+3
^DIR CK+18, CK+23, CK+26, CK+30, CKIVI+6, CKIVI+17, CKIVD+14, CKIVD+19
PAUSE^PSJLMUT1 DSPLTXT+4
EN3^PSJRXI CK+29, CK+31, CKIVI+9, CKIVI+18
ORDERCHK^PXRMORCH CK+4, CKIV+5
SIG^XUSESIG CK+28, CKIVI+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "Now processing Clinical Reminder Order Checks. Please wait ..."
  • Line Location: CK+3
Function Call: WRITE
  • Prompt: !!,CROCLN
  • Line Location: CK+13
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CK+18
Function Call: WRITE
  • Prompt: !
  • Line Location: CK+23
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CK+23
Function Call: WRITE
  • Prompt: !!,"Signature Code not valid"
  • Line Location: CK+28
Function Call: WRITE
  • Prompt: !
  • Line Location: CK+30
Function Call: WRITE
  • Prompt: !!,"Signature Code not valid"
  • Line Location: CKIVI+8
Function Call: WRITE
  • Prompt: !!,CROCLN
  • Line Location: CKIVD+9
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CKIVD+14
Function Call: WRITE
  • Prompt: !
  • Line Location: CKIVD+19
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CKIVD+19
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DSPLTXT+4
Function Call: WRITE
  • Prompt: !,$G(PSJOUT(PSJX))
  • Line Location: DSPLTXT+5
Routine Call
  • DIR
  • Line Location:
    • CK+18
    • CK+23
    • CK+26
    • CK+30
    • CKIVI+6
    • CKIVI+17
    • CKIVD+14
    • CKIVD+19

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORD(101.43 - [#101.43] CKIV+4
^TMP($J CK+7, CK+9, CK+11, CK+16, CK+21, CK+24!, CKIVI+4, CKIVI+5, CKIVI+6, CKIVI+10
CKIVI+12, CKIVI+13, CKIVI+14, CKIVI+15, CKIVI+16, CKIVI+17, CKIVI+19!, CKIV+6, CKIV+8, CKIV+9*
, CKIV+10*, CKIV+12, CKIV+13, CKIV+14*, CKIV+15!, CKIVD+3, CKIVD+5, CKIVD+7, CKIVD+12, CKIVD+17
CKIVD+20!

Label References

Name Line Occurrences
CKIVI CKIVD+20
DSPLTXT LONGTEXT+8, LONGTEXT+20
LONGTEXT CK+21, CKIVD+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CDRG1 CK~, CK+4, CK+7, CK+9, CK+11, CK+16, CK+21, CK+24, CK+25!, CK+29
, CK+31, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+11*
CDRG2 CKIV~, CKIV+2, CKIV+3, CKIV+15!
>> CRIV CKIV+9, CKIV+10
CROCCTR CKIV+1*, CKIV+11*, CKIV+15!
CROCDNM CK+6*, CK+11*, CK+15, CK+16, CK+21, CK+25!, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+1*
CKIVD+7*, CKIVD+11, CKIVD+12, CKIVD+17
CROCDNM2 CKIV+1*, CKIV+12*, CKIV+13, CKIV+14, CKIV+15!
CROCHFLG CK+6*, CK+8*, CK+10*, CK+25!, CK+26, CK+27, CK+28, CK+29, CK+30, CK+31
, CK+32!, CKIVI+2!, CKIVI+3, CKIVI+10, CKIVI+19!, CKIVD+1*, CKIVD+4*, CKIVD+6*
CROCHFLG2 CKIV+15!
CROCIXN1 CKIVI+4*, CKIVI+5, CKIVI+6, CKIVI+12*, CKIVI+13, CKIVI+14, CKIVI+15, CKIVI+16, CKIVI+17, CKIVI+19!
CROCIXN2 CKIVI+5*, CKIVI+6, CKIVI+13*, CKIVI+14, CKIVI+15, CKIVI+16, CKIVI+17, CKIVI+19!
CROCIXN3 CKIVI+16*, CKIVI+17, CKIVI+19!
CROCLN CK+2*, CK+13, CK+25!, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+9
CROCLN2 CK+2*, CK+23, CK+25!, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+19
CROCNMF CKIVD+1*, CKIVD+11*, CKIVD+20!
>> CROCNR CK+8*, CKIV+7*
CROCNUM CK+6*, CK+16*, CK+21, CK+25!, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+1*, CKIVD+12*, CKIVD+17
CROCNUM2 CKIV+1*, CKIV+13*, CKIV+14, CKIV+15!
CROCSTA CK+6*, CK+9*, CK+10, CK+11, CK+12, CK+16, CK+21, CK+25!, CK+32!, CKIVI+2!
CKIVI+19!, CKIVD+1*, CKIVD+5*, CKIVD+6, CKIVD+7, CKIVD+8, CKIVD+12, CKIVD+17
CROCSTA2 CK+12*, CK+14, CKIV+1*, CKIV+8*, CKIV+9, CKIV+10, CKIV+12, CKIV+13, CKIV+14, CKIV+15!
CKIVD+8*, CKIVD+10
CROCSTR CK+6*, CK+25!, CK+32!, CKIVI+2!, CKIVI+19!, CKIVD+1*
CROCSTR2 CKIV+15!
>> DFN CK+4, CKIV+5
DIR CK+18!, CK+23!, CK+26!, CK+30!, CKIVI+6!, CKIVI+17!, CKIVD+14!, CKIVD+19!
DIR("A" CK+18*, CK+23*, CK+26*, CK+30*, CKIVI+6*, CKIVI+17*, CKIVD+14*, CKIVD+19*
DIR("B" CK+26*, CK+30*, CKIVI+6*, CKIVI+17*
DIR(0 CK+18*, CK+23*, CK+26*, CK+30*, CKIVI+6*, CKIVI+17*, CKIVD+14*, CKIVD+19*
DIRUT CK+6~, CK+27, CKIVI+1~, CKIVI+7
IOF CK+18, CK+23, CKIVD+14, CKIVD+19, DSPLTXT+4
IOSL CK+17, CK+23, CKIVD+13, CKIVD+19, DSPLTXT+4
IOST CK+17, CK+23, CKIVD+13, CKIVD+19
IVFLG CKIV~, CKIV+2, CKIV+3, CKIV+9, CKIV+10, CKIV+15!
ODRI CKIV+4*, CKIV+5, CKIV+6, CKIV+8, CKIV+12, CKIV+13, CKIV+14, CKIV+15!
PHROI CKIV+1~, CKIV+2*, CKIV+3*, CKIV+4
>> PSGORQF CK+9, CK+11, CK+16, CK+27*, CK+28*, CKIVI+4, CKIVI+5, CKIVI+7*, CKIVI+8*, CKIVI+11
CKIVD+5, CKIVD+7, CKIVD+12
PSJCNT LONGTEXT+4~, LONGTEXT+5*, LONGTEXT+12*, LONGTEXT+13, LONGTEXT+17*, LONGTEXT+19
>> PSJCROCF CK+22*, CKIVD+18*
>> PSJDGCK CK+25, CKIVI+2
PSJFIRST CK+1~, CK+13*, CKIVD+2~, CKIVD+9*
PSJLEN LONGTEXT~, LONGTEXT+3*, LONGTEXT+8, LONGTEXT+9, LONGTEXT+11, LONGTEXT+17
PSJLINE LONGTEXT+4~, LONGTEXT+5*, LONGTEXT+9*, LONGTEXT+10
PSJOUT LONGTEXT+4~, LONGTEXT+8, LONGTEXT+20, DSPLTXT~, DSPLTXT+1
PSJOUT( LONGTEXT+12*, LONGTEXT+13*, LONGTEXT+19*, DSPLTXT+3, DSPLTXT+5
PSJSTR LONGTEXT+4~, LONGTEXT+5*, LONGTEXT+11*, LONGTEXT+12*, LONGTEXT+17*, LONGTEXT+18*, LONGTEXT+19
PSJSTRB LONGTEXT+4~, LONGTEXT+5*, LONGTEXT+12*, LONGTEXT+13
PSJSTRE LONGTEXT+4~, LONGTEXT+5*, LONGTEXT+11*, LONGTEXT+12, LONGTEXT+13
PSJSTRL LONGTEXT+4~, LONGTEXT+5*
PSJTXT LONGTEXT~, LONGTEXT+2, LONGTEXT+8, LONGTEXT+9, LONGTEXT+12, LONGTEXT+13, LONGTEXT+16, LONGTEXT+17, LONGTEXT+18
PSJX LONGTEXT+4~, LONGTEXT+10*, LONGTEXT+11, LONGTEXT+16*, LONGTEXT+17, LONGTEXT+18, DSPLTXT+2~, DSPLTXT+3*, DSPLTXT+5
>> PSPDRG(1 CKIVI+9, CKIVI+18
>> TMPDRG1("AD" CKIV+9
>> TMPDRG1("SOL" CKIV+10
>> X1 CK+28, CK+29, CKIVI+8, CKIVI+9
Y CK+27, CK+31, CK+32!, CKIVI+7, CKIVI+18, CKIVI+19!
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 |  Local Variables  | All