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

Package: Master Patient Index VistA

Routine: MPIFEDIT


Information

MPIFEDIT ;BHM/RGY-Request a CMOR for patient ;FEB 20, 1998

Source Information

Source file <MPIFEDIT.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
Master Patient Index VistA 6 ($$GETICN,$$GETVCCI,$$HL7CMOR)^MPIF001  $$MPILINK^MPIFAPI  $$CHK^MPIFEDIT  $$ADD^MPIFNEW  $$ICN^MPIFNQ  RESET^MPIFREQ  
VA FileMan 5 ^DIC  ^DIE  ^DIK  EN^DIQ1  ^DIR  
Health Level Seven 2 INIT^HLFNC2  GENERATE^HLMA  
Registration 2 $$EN^VAFCPID  $$SITE^VASITE  
Clinical Information Resource Network 1 (EXC,START,STOP)^RGHLLOG  
Kernel 1 $$IEN^XUAF4  

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

Package Total Caller Graph
Master Patient Index VistA 4 MPIFCMRP  MPIFEDIT  MPIFNEW  MPIFRCMP  

Entry Points

Name Comments DBIA/ICR reference
NEW ;
EDIT
REASON
REQNM
PHONE
APP
CHK(IEN) ;

External References

Name Field # of Occurrence
^DIC NEW+7, APP+14
^DIE NEW+21, NEW+28, REASON+3, REQNM+3, PHONE+3, APP+6
^DIK REASON+2, REQNM+2, PHONE+2, APP+3
EN^DIQ1 EDIT+3
^DIR REASONREQNMPHONEAPP+1
INIT^HLFNC2 APP+23
GENERATE^HLMA APP+43
$$GETICN^MPIF001 NEW+10
$$GETVCCI^MPIF001 NEW+11, NEW+12
$$HL7CMOR^MPIF001 NEW+24, APP+38
$$MPILINK^MPIFAPI APP+26
$$CHK^MPIFEDIT PHONE+4
$$ADD^MPIFNEW NEW+20
$$ICN^MPIFNQ APP+19
RESET^MPIFREQ APP+24, APP+31, APP+44
EXC^RGHLLOG APP+24, APP+29, APP+44
START^RGHLLOG APP+24, APP+28, APP+44
STOP^RGHLLOG APP+24, APP+30, APP+44
$$EN^VAFCPID APP+35
$$SITE^VASITE NEW+12, NEW+28, APP+11
$$IEN^XUAF4 NEW+26

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Patient doesn't have ICN, try again"
  • Line Location: NEW+10
Function Call: WRITE
  • Prompt: !!,"Patient doesn't have a CMOR, try again"
  • Line Location: NEW+11
Function Call: WRITE
  • Prompt: !!,"You are the CMOR, to push the CMOR to another site use option: PUSH CMOR REQUEST"
  • Line Location: NEW+12
Function Call: WRITE
  • Prompt: !!,"Already have request for this patient"
  • Line Location: NEW+17
Function Call: WRITE
  • Prompt: !,"REQUEST NUMBER:",REQ
  • Line Location: NEW+23
Function Call: WRITE
  • Prompt: !,"*** Current CMOR: "_$P(CMOR,"^",2)_" ("_$P(CMOR,"^")_") ***"
  • Line Location: NEW+27
Function Call: WRITE
  • Prompt: !,"Answer must be 3-60 characters in length."
  • Line Location: REASON+1
Function Call: WRITE
  • Prompt: "... Request deleted"
  • Line Location: REASON+2
Function Call: WRITE
  • Prompt: !,"Must pick valid user"
  • Line Location: REQNM+1
Function Call: WRITE
  • Prompt: "... Request deleted"
  • Line Location: REQNM+2
Function Call: WRITE
  • Prompt: !,"Answer must be 4-20 charaters in length."
  • Line Location: PHONE+1
Function Call: WRITE
  • Prompt: "... Request deleted"
  • Line Location: PHONE+2
Function Call: WRITE
  • Prompt: !,"This request is missing required data."
  • Line Location: PHONE+4
Function Call: WRITE
  • Prompt: "... Request deleted"
  • Line Location: APP+3
Function Call: WRITE
  • Prompt: !,"... Request will be sent"
  • Line Location: APP+6
Routine Call
  • DIC
  • Line Location:
    • NEW+7
    • APP+14
Routine Call
  • DIE
  • Line Location:
    • NEW+21
    • NEW+28
    • REASON+3
    • REQNM+3
    • PHONE+3
    • APP+6
Routine Call
  • DIR
  • Line Location:
    • REASON
    • REQNM
    • PHONE
    • APP+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls
^VA(200 - [#200] Classic Fileman Calls
^MPIF(984.9 - [#984.9] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^MPIF(984.9 - [#984.9] NEW+15, NEW+16, NEW+22, NEW+24, EDIT+1, APP+9, APP+17, APP+38, CHK+3, CHK+5

Label References

Name Line Occurrences
EDIT PHONE+4
NEW NEW+10, NEW+11, NEW+12, NEW+17
PHONE PHONE+1
REASON REASON+1, APP+5
REQNM REQNM+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CMOR NEW+19~, NEW+24*, NEW+26, NEW+27, APP+38*, APP+39
CMORI NEW+19~, NEW+26*, NEW+28
CNT APP+9*, APP+35*, APP+36, APP+37*, APP+39, APP+40*, APP+41, APP+45!
DA NEW+19~, NEW+20*, NEW+22, NEW+24, NEW+31, EDIT+2~*, PHONE+4, APP+8, APP+38
DIC NEW+5~, NEW+6*, EDIT+2~*, APP+12~, APP+13*
DIC("A" NEW+6*
DIC(0 NEW+6*, APP+13*
DIE NEW+19~, NEW+21*, NEW+28*, REASON+3*, REQNM+3*, PHONE+3*, APP+6*
DIK NEW+19~, REASON+2*, REQNM+2*, PHONE+2*, APP+3*
DIQ EDIT+2~*
DIQ(0 EDIT+2*
DIR NEW+19~, APP+1!
DIR("?" REASON*, REQNM*, PHONE*
DIR("A" REASON*, REQNM*, PHONE*, APP*
DIR("B" REQNM*!, PHONE*!, APP*
DIR(0 REASON*, REQNM*, PHONE*, APP*
DIRUT NEW+19~, APP+2
DR NEW+19~, NEW+21*, NEW+28*, EDIT+2*, REASON+3*, REQNM+3*, PHONE+3*, APP+6*
DTOUT NEW+5~, NEW+8
DUOUT NEW+5~, NEW+8
DUZ EDITEDIT+1, EDIT+2, EDIT+4, EDIT+5
ENT NEW+14~, NEW+15*, NEW+16
ERROR NEW+19~, APP+10*, APP+32*, CHK+1~, CHK+2*, CHK+4*, CHK+5*, CHK+6
>> HL APP+23, APP+43
>> HL("" APP+24
>> HL("FS" APP+39, APP+41
HLA APP+22!
HLA("HLS" APP+36*, APP+39*, APP+41*
>> HLL("LINKS" APP+25!, APP+34*
ICN APP+19*, APP+24, APP+29, APP+44, APP+45!
ID APP+21*, APP+39, APP+45!
IEN CHK~, CHK+3, CHK+5
INST APP+11*, APP+39, APP+45!
MPIFREQ NEW+19~, EDIT+4*, EDIT+5*, REQNM
MPIFREQ(200 EDIT+4
MPILK APP+25~, APP+26*, APP+27, APP+34
N0 NEW+19~, APP+9*, APP+10, APP+13, APP+18, APP+19, APP+20, APP+21, APP+24, APP+29
APP+35, APP+44, CHK+1~, CHK+3*, CHK+4
NDATE APP+18*, APP+41, APP+45!
PAT NEW+5~, NEW+9*, NEW+10, NEW+11, NEW+12, NEW+15, NEW+21
PHONE NEW+19~, EDIT+1*, EDIT+5*, PHONEAPP+20*, APP+39
PID APP+35*, APP+36, APP+45!
REASON APP+17*, APP+39, APP+45!
REQ NEW+19~, NEW+22*, NEW+23, NEW+31*, APP+8*, APP+9, APP+10, APP+17, APP+24, APP+29
APP+31, APP+44
RGL APP+45!
RLST APP+42~, APP+43, APP+44
STOP NEW+14~, NEW+15*, NEW+16*, NEW+17
USER APP+15*, APP+16*, APP+41, APP+45!
X NEW+5~, REASON+3, PHONE+3, APP+12~, APP+13*, CHK+1~, CHK+4*
XX APP+45!
Y NEW+5~, NEW+8, NEW+9, NEW+19~, REASON+1, REASON+2, REQNM+1, REQNM+2, REQNM+3, PHONE+1
PHONE+2, APP+2, APP+5, APP+12~, APP+15, APP+16
Y(0 APP+16
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