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

Package: Incident Reporting

Routine: QANUTL


Information

QANUTL ;;HISC/GJC-Utilities for Incident Reporting ; 5/11/12 2:55pm

Source Information

Source file <QANUTL.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Incident Reporting 1 $$QANPID^QANCDNT  
VA FileMan 1 ^DIE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Incident Reporting 2 QANUTL2  QANUTL5  

Entry Points

Name Comments DBIA/ICR reference
EN10 ;Medication Errors (Other).
DEATH ;Special broadcasts for 'Death' cases.
HOMCIDE ;Patient Abuse changed to Homicide.
SUIATMP ;Suicide Attempt changed to Suicide.
EN0 ;Sets up and builds the patients ID.
EN1 ;Used for DIC("W") used in QANMAIL and QANVAL.
ABUSE ;Abuse Message

External References

Name Field # of Occurrence
^DIE EN10+1, HOMCIDE+4, SUIATMP+4
$$QANPID^QANCDNT EN0+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $P(^QA(742.1,$P(^QA(742.4,+Y,0),U,2),0),U)
  • Line Location: EN1+1
Function Call: WRITE
  • Prompt: " "_$P(^QA(742.1,$P(^QA(742.4,+Y,0),U,2),0),U)
  • Line Location: EN1+2
Function Call: WRITE
  • Prompt: " "_Y
  • Line Location: EN1+3
Function Call: WRITE
  • Prompt: !!,*7,"Incident: Patient Abuse Severity Level: Death (3)"
  • Line Location: HOMCIDE+1
Function Call: WRITE
  • Prompt: !,"Changed to Incident: Homicide Severity Level: Death (3)",!!,*7
  • Line Location: HOMCIDE+2
Function Call: WRITE
  • Prompt: !!,*7,"Incident: Suicide Attempt Severity Level: Death (3)"
  • Line Location: SUIATMP+1
Function Call: WRITE
  • Prompt: !,"Changed to Incident: Suicide Severity Level: Death (3)",!!,*7
  • Line Location: SUIATMP+2
Routine Call
  • DIE
  • Line Location:
    • EN10+1
    • HOMCIDE+4
    • SUIATMP+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^QA(742 - [#742] Classic Fileman Calls
^QA(742.4 - [#742.4] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" EN1+1, EN1+3
^DPT - [#2] EN0+1
^QA(742.1 - [#742.1] EN1+1, EN1+2, HOMCIDE+4, HOMCIDE+6, SUIATMP+4, SUIATMP+6
^QA(742.14 - [#742.14] DEATH+1, DEATH+2, DEATH+3, DEATH+4, DEATH+5, DEATH+6, DEATH+7, DEATH+8, DEATH+9
^QA(742.4 - [#742.4] EN1+1, EN1+2, EN1+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA EN10+1*!, HOMCIDE+3!, HOMCIDE+4*, HOMCIDE+5!, SUIATMP+3!, SUIATMP+4*, SUIATMP+5!
DIE EN10+1!*, HOMCIDE+3!, HOMCIDE+4*, HOMCIDE+5!, SUIATMP+3!, SUIATMP+4*, SUIATMP+5!
DR EN10+1!*, HOMCIDE+3!, HOMCIDE+4*, HOMCIDE+5!, SUIATMP+3!, SUIATMP+4*, SUIATMP+5!
DTHQAN DEATH+19!
DTHQAN("48 HO URS" , DEATH+8*, DEATH+18
DTHQAN("CASES M.E." , DEATH+9*, DEATH+10
DTHQAN("DEATH CONJ PROC" , DEATH+1*, DEATH+11
DTHQAN("DIAG/TREAT" DEATH+3*, DEATH+13
DTHQAN("DURIN G ANES." , DEATH+2*, DEATH+12
DTHQAN("EQUIPT" DEATH+7*, DEATH+17
DTHQAN("MED C NTR GRNDS" , DEATH+4*, DEATH+14
DTHQAN("OR" DEATH+5*, DEATH+15
DTHQAN("RR" DEATH+6*, DEATH+16
>> MSSG0 ABUSE+2, DEATH+10, DEATH+17
>> MSSG1 ABUSE+1, ABUSE+2, DEATH+10, DEATH+11, DEATH+12, DEATH+13, DEATH+14, DEATH+15, DEATH+16, DEATH+17
, DEATH+18
>> MSSG2 ABUSE+1, ABUSE+2, DEATH+13, DEATH+17
QANAME EN0+1*, EN0+2, EN0+3!
>> QANDFN EN10+1
>> QANDFN(0 EN0+1*, EN0+3!
>> QANGLB1 ABUSE+1
>> QANGLB2 DEATH+10, DEATH+11, DEATH+12, DEATH+13, DEATH+14, DEATH+15, DEATH+16, DEATH+17, DEATH+18
>> QANIEN HOMCIDE+4, SUIATMP+4
>> QANIRIN HOMCIDE+6*, SUIATMP+6*
>> QANPID EN0+2*
QANSSN EN0+1*, EN0+3!
QANTEMP EN1+1*!, EN1+3*!
>> QANTYPE EN1+1, EN1+2, EN1+3
>> QANZERO(3 EN0+1*, EN0+3!
U EN0+1, EN1+1, EN1+2, EN1+3, ABUSE+1, DEATH+10, DEATH+11, DEATH+12, DEATH+13, DEATH+14
, DEATH+15, DEATH+16, DEATH+17, DEATH+18
>> X EN0+1
>> Y EN1+1*, EN1+2, EN1+3*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Local Variables |  All