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

Package: Order Entry Results Reporting

Routine: ORCDVBC1


Information

ORCDVBC1 ;SLC/MKB-Utility functions for VBECS dialogs cont ;2/11/08 11:03

Source Information

Source file <ORCDVBC1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 3 IX^DIC  ^DIE  ^DIR  
Order Entry Results Reporting 2 ($$DATETIME,$$PAD)^ORCHTAB  $$PKG^ORMPS1  
Kernel 1 $$HL7TFM^XLFDT  

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

Package Total Caller Graph
Order Entry Results Reporting 3 ORCDVBEC  ORCM VBECS OI EDIT  ^ORD(101.41  

Entry Points

Name Comments DBIA/ICR reference
PTINFO ; -- Show patient data [from EN^ORCDVBEC]
; Expects ORPNM, ORVB(attribute) from OEAPI^VBECA3
DATETIME(X) ; -- Return external form of YYYYMMDDHHNNSS date
OI ; -- Edit VBECS orderable item names
; Option = ORCM VBECS OI EDIT
NAME(DFLT) ; Enter/edit orderable item text (no lookup)
NM1
STRIP(X) ; -- remove leading spaces
LB(ORDER) ; -- Return Lab order number for specimen collection
; [Additional Text field #19 -- expects ORIFN from TEXT^ORQ12]

External References

Name Field # of Occurrence
IX^DIC OI+6
^DIE OI+8
^DIR NM1
$$DATETIME^ORCHTAB DATETIME+1
$$PAD^ORCHTAB PTINFO+13
$$PKG^ORMPS1 LB+3
$$HL7TFM^XLFDT DATETIME+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: " none",!
  • Line Location: PTINFO+3
Function Call: WRITE
  • Prompt: !!,"ABO/Rh: "_$TR($G(ORVB("ABORH")),"^"," "),!
  • Line Location: PTINFO+4
Function Call: WRITE
  • Prompt: !,"Antibodies Identified:"
  • Line Location: PTINFO+5
Function Call: WRITE
  • Prompt: "none",!
  • Line Location: PTINFO+6
Function Call: WRITE
  • Prompt: ?27,$G(ORVB("ABHIS",I)),!
  • Line Location: PTINFO+7
Function Call: WRITE
  • Prompt: !,"Units Available",?36,"Expiration D/T Division"
  • Line Location: PTINFO+8
Function Call: WRITE
  • Prompt: !,"---------------",?36,"-------------- --------"
  • Line Location: PTINFO+9
Function Call: WRITE
  • Prompt: !,$P(TYPE,U,2)_" Units:"
  • Line Location: PTINFO+12
Function Call: WRITE
  • Prompt: !," "_$$PAD^ORCHTAB($P(X,U),15)_$$PAD^ORCHTAB($P(X,U,2),19)_$$DATETIME($P(X,U,4))_" "_$P(X,U,3)
  • Line Location: PTINFO+13
Function Call: WRITE
  • Prompt: !," none"
  • Line Location: PTINFO+14
Function Call: WRITE
  • Prompt: !!,"Transfusion Reactions",?36,"Date/Time"
  • Line Location: PTINFO+15
Function Call: WRITE
  • Prompt: !,"---------------------",?36,"---------"
  • Line Location: PTINFO+16
Function Call: WRITE
  • Prompt: !," none"
  • Line Location: PTINFO+17
Function Call: WRITE
  • Prompt: !," "_$P(X,U),?36,$$DATETIME($P(X,U,2))
  • Line Location: PTINFO+18
Function Call: WRITE
  • Prompt: !
  • Line Location: PTINFO+19
Function Call: WRITE
  • Prompt: !
  • Line Location: OI+3
Function Call: WRITE
  • Prompt: $C(7),!!,"Orderable items may not be deleted!",!
  • Line Location: NM1+1
Routine Call
  • DIC
  • Line Location:
    • OI+6
Routine Call
  • DIE
  • Line Location:
    • OI+8
Routine Call
  • DIR
  • Line Location:
    • NM1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101.43 - [#101.43] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^OR(100 - [#100] LB+4

Label References

Name Line Occurrences
$$DATETIME PTINFO+13, PTINFO+18
$$NAME OI+7
NM1 NM1+1

Naked Globals

Name Field # of Occurrence
^(4 LB+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
D OI+2~, OI+6*
DA OI+2~, OI+8*
DFLT NAME~, NAME+3, NM1
DIC OI+2~, OI+6*, OI+8
DIC("A" OI+4*
DIC("W" OI+5*
DIC(0 OI+6*
DIE OI+2~, OI+8*
DIR NAME+1~
DIR("?" NAME+4*, NAME+5*
DIR("A" NAME+3*
DIR("B" NAME+3*
DIR(0 NAME+2*
DIROUT NAME+1~
DIRUT NAME+1~
DR OI+2~, OI+8*
DTOUT NAME+1~, NM1
DUOUT NAME+1~
I PTINFO+2~, PTINFO+7*, PTINFO+13*, PTINFO+18*, STRIP+1~, STRIP+2*, LB+2~, LB+4*
LR LB+2~, LB+3*, LB+4
NUM LB+2~, LB+3*, LB+4*, LB+5
ORDER LB~, LB+4
>> ORPNM PTINFO+3
ORUA PTINFO+2~, PTINFO+11*, PTINFO+14
>> ORVB("ABHIS" PTINFO+6, PTINFO+7
>> ORVB("ABORH" PTINFO+4
>> ORVB("TRHX" PTINFO+17, PTINFO+18
>> ORVB("UNIT" PTINFO+11, PTINFO+13
TYPE PTINFO+2~, PTINFO+10*, PTINFO+11, PTINFO+12*, PTINFO+13
U PTINFO+11, PTINFO+12, PTINFO+13, PTINFO+18, LB+4
X PTINFO+2~, PTINFO+13*, PTINFO+18*, DATETIME~, DATETIME+1, OI+2~, OI+7*, OI+8, NAME+1~, NM1
NM1+1, STRIP~, STRIP+2
Y DATETIME+1~*, DATETIME+2, OI+2~, OI+3, OI+6, OI+8*, NAME+1~, NM1*, NM1+2, STRIP+1~*
, STRIP+2*, STRIP+3
Y(0 OI+7
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 |  Naked Globals |  Local Variables  | All