MPIFDEL ;SF/MJM,CMC-DELETE PATIENT FROM MPI ;JUL 14, 1998
Source file <MPIFDEL.m>
Package | Total | Call Graph |
---|---|---|
Registration | 4 | $$EN^VAFCPID $$DELALLTF^VAFCTFU $$QUERYTF^VAFCTFU1 $$SITE^VASITE |
Health Level Seven | 3 | $$HLDATE^HLFNC INIT^HLFNC2 GENERATE^HLMA |
Kernel | 3 | ^%ZTLOAD ($$FMADD,$$NOW)^XLFDT $$LKUP^XUAF4 |
Master Patient Index VistA | 3 | ($$CMOR2,$$GETICN,$$GETVCCI)^MPIF001 ($$MPINODE,$$UPDATE)^MPIFAPI $$PAT^MPIFNQ |
VA FileMan | 3 | NOW^%DTC ^DIC ^DIR |
Clinical Information Resource Network | 1 | (EXC,START,STOP)^RGHLLOG |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Master Patient Index VistA | 2 | MPIF A29 SERVER MPIFRPC |
Kernel | 1 | ^ORD(101 |
Name | Comments | DBIA/ICR reference |
---|---|---|
INTER | ;
|
|
HL7(DFN,ERROR) | ; create HL7 message
; check if no subscribers |
|
PAT1 | ;entry point for tasked job from .01 in Patient file for ZZ patients
|
|
PAT(DFN,ERROR) | ;Programmer API to Delete MPI entry and remove ICN data from DPT
; if CMOR not defined but is a local CMOR, inactivate and don't log exception |
|
DELETE(DFN) | ;
|
|
EXC(DFN,ERROR,TYPE) | ; subscribers, log exception
|
|
ZZSET(DA,NAME) | ;this entry point checks to see if .01 of Patient file entry
|
|
ZZKILL(DA,NAME) | ;This entry point checks if there is an ICN present, if so
|
|
SSET(DA,SSN) | ; this entry point checks to see if the SSN has been changed
; to 5 leading zeros and if the ICN is present, if so, it will be ; inactivated. |
Name | Field # of Occurrence |
---|---|
NOW^%DTC | HL7+12 |
^%ZTLOAD | ZZSET+11, SSET+8 |
^DIC | INTER+5 |
^DIR | INTER+15 |
$$HLDATE^HLFNC | HL7+12 |
INIT^HLFNC2 | HL7+14 |
GENERATE^HLMA | HL7+19 |
$$CMOR2^MPIF001 | INTER+10 |
$$GETICN^MPIF001 | INTER+11, HL7+4, PAT+4, PAT+5, PAT+7, ZZSET+7, ZZKILL+4, SSET+4 |
$$GETVCCI^MPIF001 | INTER+8 |
$$MPINODE^MPIFAPI | INTER+6 |
$$UPDATE^MPIFAPI | DELETE+4 |
$$PAT^MPIFNQ | INTER+10, PAT+5 |
EXC^RGHLLOG | EXC+2 |
START^RGHLLOG | EXC+1 |
STOP^RGHLLOG | EXC+3 |
$$EN^VAFCPID | HL7+17 |
$$DELALLTF^VAFCTFU | INTER+19, PAT+7 |
$$QUERYTF^VAFCTFU1 | HL7+7 |
$$SITE^VASITE | INTER+10, HL7+5, HL7+9, PAT+5 |
$$FMADD^XLFDT | ZZSET+10, SSET+7 |
$$NOW^XLFDT | ZZSET+10, SSET+7 |
$$LKUP^XUAF4 | INTER+8 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
HL7 Protocol Name | Call Tags |
---|---|
MPIF A29 SERVER | PAT |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT("INAC" | PAT1+4, PAT1+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | HL7+2~, HL7+12 |
ARR | DELETE+3*, DELETE+4, DELETE+5! |
ARRAY | DELETE+1~ |
ARRAY( | DELETE+2* |
CNT | INTER+3~, HL7+2~, HL7+13*, HL7+16*, HL7+17* |
DA | INTER+3~, PAT1+3, PAT1+4, PAT1+6, ZZSET~, ZZSET+7, ZZSET+9, ZZKILL~, ZZKILL+4, SSET~ , SSET+4, SSET+6 |
DATE | INTER+3~ |
DFN | INTER+3~, INTER+5*, INTER+6, INTER+8, INTER+10, INTER+11, INTER+18, INTER+19, HL7~, HL7+4 , HL7+10, HL7+15, HL7+17, HL7+20, PAT~, PAT+3, PAT+4, PAT+5, PAT+6, PAT+7 , DELETE~, DELETE+4, EXC~, EXC+2 |
DIC | INTER+3~, INTER+5* |
DIC(0 | INTER+5* |
DIR | INTER+13~, INTER+16! |
DIR("A" | INTER+14* |
DIR("B" | INTER+13* |
DIR(0 | INTER+13* |
DTOUT | INTER+3~, INTER+17 |
DUTOUT | INTER+3~, INTER+17 |
ERR | PAT1+1~, PAT1+2*, PAT1+6, ZZKILL+3~*, ZZKILL+4 |
ERROR | INTER+3~, INTER+4*, INTER+18, INTER+19*, INTER+20, INTER+21, HL7~, HL7+4*, HL7+10*, HL7+11 , HL7+15*, HL7+20*, PAT~, PAT+2*, PAT+3*, PAT+5*, PAT+6, PAT+7*, EXC~, EXC+2 |
HL | INTER+3~, HL7+2~, HL7+13*, HL7+14, HL7+15, HL7+19 |
HL("FS" | HL7+16 |
>> HLA("HLS" | HL7+16*, HL7+17* |
HLDATE | HL7+2~, HL7+12*, HL7+16 |
HLL | HL7+3! |
HLRST | INTER+3~, HL7+19, HL7+20 |
ICN | INTER+3~, INTER+6*, INTER+7, INTER+11*, INTER+19, HL7+2~, HL7+4*, HL7+5, HL7+7 |
IEN | HL7+2~, HL7+9* |
MPIFCMOR | INTER+3~, INTER+8*, INTER+9 |
MPIFDEL | HL7+3!, HL7+8, HL7+21! |
MPIFDEL( | HL7+9 |
NAME | ZZSET~, ZZSET+5, ZZSET+9, ZZKILL~ |
SSN | SSET~, SSET+3 |
SUB | HL7+2~, HL7+7* |
TDA | PAT1+1~, PAT1+3*, PAT1+8 |
TFC | HL7+2~, HL7+7*, HL7+9*, HL7+10 |
TMP | DELETE+1~, DELETE+4* |
TYPE | EXC~, EXC+2 |
Y | INTER+5, INTER+13~, INTER+17 |
ZTDESC | ZZSET+8*, ZZSET+12!, SSET+5*, SSET+9! |
ZTDTH | ZZSET+10*, ZZSET+12!, SSET+7*, SSET+9! |
ZTIO | ZZSET+9*, ZZSET+12!, SSET+6*, SSET+9! |
ZTREQ | PAT1+7*, ZZSET+12!, SSET+9! |
ZTRTN | ZZSET+8*, ZZSET+12!, SSET+5*, SSET+9! |
ZTSAVE | ZZSET+12!, SSET+9! |
ZTSAVE("DA" | ZZSET+9*, SSET+6* |
ZTSAVE("NAME" | ZZSET+9* |
ZTSAVE("SSN" | SSET+6* |