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

Package: IHS RPMS CHR System

Routine: BCHEGR2


Information

BCHEGR2 ; IHS/CMI/LAB - GROUP DEFINTION ENTRY OF PATIENTS ;

Source Information

Source file <BCHEGR2.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 4 ^DIC  YN^DICN  ^DIE  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS RPMS CHR System 1 BCHEGR  

Entry Points

Name Comments DBIA/ICR reference
NOREG ;
GETPAT ;EP

External References

Name Field # of Occurrence
^DIC GETPAT+27, NOREG+7
YN^DICN GETPAT+29
^DIE NOREG+12, NOREG+19
^DIR GETPAT+24, NOREG+3, NOREG+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: GETPAT+1
Function Call: WRITE
  • Prompt: !!?15,"****** P A T I E N T I N F O R M A T I O N ******",!!
  • Line Location: GETPAT+4
Function Call: WRITE
  • Prompt: !,"If this encounter involved a particular patient, please enter the patient's",!,"chart # or name now. If this is not a single patient encounter,",!,"but a group encounter, simply HIT the RETURN key to continue.",!
  • Line Location: GETPAT+5
Function Call: WRITE
  • Prompt: !,"Please enter the patient information now.",!
  • Line Location: GETPAT+6
Function Call: WRITE
  • Prompt: "You have entered records for: "
  • Line Location: GETPAT+22
Function Call: WRITE
  • Prompt: !!
  • Line Location: GETPAT+22
Function Call: WRITE
  • Prompt: !?5,$P($G(^BCHR(X,11)),U)
  • Line Location: GETPAT+23
Function Call: WRITE
  • Prompt: !!,"No patient entered!! - Required",!
  • Line Location: GETPAT+25
Function Call: WRITE
  • Prompt: !,"No patient entered!! - Required."
  • Line Location: GETPAT+26
Function Call: WRITE
  • Prompt: !!,"Try again.",!
  • Line Location: GETPAT+29
Function Call: WRITE
  • Prompt: !,"That patient cannot be found in the Registration database."
  • Line Location: NOREG+2
Function Call: WRITE
  • Prompt: !
  • Line Location: NOREG+3
Function Call: WRITE
  • Prompt: !,"Exiting..."
  • Line Location: NOREG+4
Function Call: WRITE
  • Prompt: !!,"Please select a patient from the Non-Registered Patient Database",!,"or enter a new Non-Registered Patient.",!
  • Line Location: NOREG+6
Function Call: WRITE
  • Prompt: !!,"A patient is Required"
  • Line Location: NOREG+8
Routine Call
  • DIE
  • Line Location:
    • NOREG+12
    • NOREG+19
Routine Call
  • DIC
  • Line Location:
    • GETPAT+27
    • NOREG+7
Routine Call
  • DIR
  • Line Location:
    • GETPAT+24
    • NOREG+3
    • NOREG+16

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNPAT - [#9000001] Classic Fileman Calls
^BCHRPAT - [#90002.11] Classic Fileman Calls

Label References

Name Line Occurrences
GETPAT GETPAT+25, GETPAT+29, NOREG+5, NOREG+8
NOREG GETPAT+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % GETPAT+29*
BCHAGAIN NOREG+1!
>> BCHNAME GETPAT+27*
>> BCHNRPAT NOREG+9*, NOREG+12, NOREG+19
>> BCHPT GETPAT+3*, GETPAT+30*, NOREG+9*
>> BCHPTT GETPAT+3*, GETPAT+31*, NOREG+9*
>> BCHQUIT GETPAT+26*, NOREG+4*
DA NOREG+12*!, NOREG+16!, NOREG+19*!
>> DFN GETPAT+7*
DIC GETPAT+27*!, NOREG+7*!
DIC(0 GETPAT+27*, NOREG+7*
DIE NOREG+12*!, NOREG+19*!
DIR GETPAT+24!, NOREG+3!, NOREG+16!
DIR("?" GETPAT+9*, GETPAT+10*, GETPAT+11*, GETPAT+12*, GETPAT+13*, GETPAT+14*, GETPAT+15*, GETPAT+16*, GETPAT+17*, GETPAT+18*
, GETPAT+19*, GETPAT+20*
DIR("A" GETPAT+8*, NOREG+3*, NOREG+16*
DIR("B" NOREG+3*, NOREG+16*
DIR(0 GETPAT+8*, NOREG+3*, NOREG+16*
>> DIRUT GETPAT+24*, GETPAT+26, NOREG+3*, NOREG+4, NOREG+18
DR NOREG+12*!, NOREG+19*!
>> DUOUT GETPAT+24, NOREG+3
U NOREG+10
>> X GETPAT+27*
>> Y GETPAT+25, GETPAT+27, GETPAT+28, GETPAT+30, NOREG+5, NOREG+8, NOREG+9, NOREG+10, NOREG+17
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables |  All