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

Package: ODS

Routine: A1B2ADM


Information

A1B2ADM ;ALB/MIR - Create ODS ADMISSION record from past admission record ;23 JAN 91

Source Information

Source file <A1B2ADM.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
VA FileMan 3 ^DIC  YN^DICN  ^DIE  
ODS 2 ON^A1B2UTL  UPD^A1B2XFR  
Registration 2 EN^DGPMUTL  ADM^DGPMVODS  

Entry Points

Name Comments DBIA/ICR reference
PAT ;ask patient, check if ODS
ASK
ADD ;
Q

External References

Name Field # of Occurrence
ON^A1B2UTL A1B2ADM+3
UPD^A1B2XFR ADD+3
EN^DGPMUTL PAT+3
ADM^DGPMVODS ADD+1
^DIC PAT+1
YN^DICN ASK
^DIE ADD+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"ODS software is not on...you can not use this option"
  • Line Location: A1B2ADM+3
Function Call: WRITE
  • Prompt: !!?5,"Patient does not have a period of service of ODS"
  • Line Location: PAT+2
Function Call: WRITE
  • Prompt: !!,"Do you want to create an ODS ADMISSION entry for "
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: Y
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: !?2,"Enter 'Y'es if this admission was for care related to Operation",!?2,"Desert Shield. Otherwise, respond 'N'o."
  • Line Location: ASK+2
Function Call: WRITE
  • Prompt: !,"Record Created"
  • Line Location: ADD+4
Routine Call
  • DIC
  • Line Location:
    • PAT+1
Routine Call
  • DIE
  • Line Location:
    • ADD+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls
^DGPM - [#405] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" ASK
^DIC(21 - [#21] PAT+2
^DPT - [#2] PAT+2

Label References

Name Line Occurrences
ASK ASK+2
PAT PAT+2, PAT+4, ASK+1
Q A1B2ADM+3, PAT+1, ASK

Naked Globals

Name Field # of Occurrence
^( PAT+2
^(0 PAT+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ASK*, ASK+1, ASK+2, Q!
%Y Q!
A1B2MVT PAT+3*, ADD+1, ADD+2, Q!
A1B2ODS A1B2ADM+3, Q!
A1B2Y ADD+3*, Q!
DA ADD+2*, Q!
DFN PAT+1*, PAT+2, Q!
DGODSE ADD+3, Q!
DGPMA ADD+1*, Q!
DGPMDA ADD+1*, Q!
DIC PAT+1!*, Q!
DIC("S" PAT+3*
DIC(0 PAT+1*
DIE ADD+2*, Q!
DR ADD+2*, Q!
DTOUT ASK, Q!
I Q!
J Q!
X ADD+3*, Q!
Y PAT+1, PAT+3, PAT+4, ASK*, Q!
Info |  Source |  Call 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