MPIFSAQ ;SF/CMC-STAND ALONE QUERY ; 10/7/08 12:41pm
Source file <MPIFSAQ.m>
Package | Total | Call Graph |
---|---|---|
VA FileMan | 3 | ^DIC EN^DIQ1 ^DIR |
Master Patient Index VistA | 1 | VTQ^MPIFSA2 |
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 |
---|---|---|
Clinical Information Resource Network | 1 | RGEX03 |
Master Patient Index VistA | 1 | MPIF DISPLAY ONLY QUERY TO MPI |
Registration | 1 | VAFCEHLM |
Name | Comments | DBIA/ICR reference |
---|---|---|
VTQ(MPIVAR) | ;
|
|
INTACTV | ;Interactive standalone query - Display Only patient doesn't have to be in Patient file
|
|
END | ||
CLEAN(NAM) | ;NAM is the name to be cleaned up, Returned from this function is a clean name
|
|
PAT(MPIVAR) | ;patient is in local Patient file
|
|
PATA | ||
NOPAT(MPIVAR) | ; patient is not in the local Patient file
; Story 603957 (elz) change Gender to Birth Sex |
|
NAME | ||
DOB | ||
SSN | ; ssn is optional
|
|
GENDER | ; Gender is optional
; Story 603957 (elz) Change Gender to Birth Sex |
|
PHONE | ; Phone is optional
|
|
ADDR1 | ;Address line 1 is optional
|
|
ADDR2 | ;Address line 2 is optional
|
|
ADDR3 | ;Address line 3 is optional
|
|
CITY | ;City is optional
|
|
SEG(SEGMENT,PIECE,CODE) | ;Return segment from MPIDC array and kill node
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | Classic Fileman Calls |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | NAME~, NAME+6* |
CODE | SEG~, SEG+6 |
DA | PATA~, PATA+4*! |
DFN | PATA~, PATA+4*, PATA+5, PATA+6, PATA+7, PATA+8 |
DIC | PATA~, PATA+1*, PATA+4* |
DIC("A" | PATA+1* |
DIC(0 | PATA+1* |
DIQ | PATA~, PATA+4* |
DIQ(0 | PATA+4* |
DIR | INTACTV+1!, INTACTV+7!, END!, NAME~, DOB!, SSN+1!, GENDER+2!, PHONE+1!, ADDR1+1!, ADDR2+1! , ADDR3+1!, CITY+1! |
DIR("?" | NAME+2* |
DIR("A" | INTACTV+1*, NAME+1*, DOB*, SSN+1*, GENDER+2*, PHONE+1*, ADDR1+1*, ADDR2+1*, ADDR3+1*, CITY+1* |
DIR("B" | INTACTV+1* |
DIR(0 | INTACTV+1*, NAME+1*, DOB*, SSN+1*, GENDER+2*, PHONE+1*, ADDR1+1*, ADDR2+1*, ADDR3+1*, CITY+1* |
DIRUT | END! |
DR | PATA~, PATA+4* |
DTOUT | END!, PATA~, PATA+2, NAME~, NAME+3, DOB+1, SSN+2, GENDER+3, PHONE+2, ADDR1+2 , ADDR2+2, ADDR3+2, CITY+2 |
DUOUT | END!, PATA~, PATA+2, NAME~, NAME+3, DOB+1, SSN+2, GENDER+3, PHONE+2, ADDR1+2 , ADDR2+2, ADDR3+2, CITY+2 |
FLG | INTACTV+1*, INTACTV+3*, INTACTV+5, INTACTV+7! |
>> HL("ECH" | SEG+2 |
>> HL("FS" | SEG+6 |
HOLD | SEG+1~ |
HOLD( | SEG+6*, SEG+7*, SEG+8 |
I | CLEAN+1~, CLEAN+2* |
MPIC | SEG+1~, SEG+2*, SEG+6 |
MPIDATA | SEG+1~, SEG+5*, SEG+6, SEG+7*, SEG+9 |
>> MPIDC( | SEG+4, SEG+5, SEG+7, SEG+8! |
MPIDONE | SEG+1~!, SEG+4, SEG+6*, SEG+8, SEG+9 |
MPIFAR | PATA~ |
MPIFAR(2 | PATA+5, PATA+6, PATA+7, PATA+8 |
MPINODE | SEG+1~, SEG+3*, SEG+4*, SEG+5, SEG+6, SEG+7*, SEG+8* |
MPIVAR | VTQ~, VTQ+1, INTACTV+3, INTACTV+4, INTACTV+7!, END!, PAT~, NOPAT~ |
MPIVAR("ADDR1" | PATA+7*, ADDR1+3* |
MPIVAR("ADDR2" | PATA+7*, ADDR2+3* |
MPIVAR("ADDR3" | PATA+8*, ADDR3+3* |
MPIVAR("CITY" | PATA+8*, CITY+3* |
MPIVAR("DFN" | INTACTV+5, PATA+4* |
MPIVAR("DOB" | INTACTV+6, PATA+5*, DOB+2* |
MPIVAR("NM" | PATA+4*, NAME+7* |
MPIVAR("PHONE" | PATA+6*, PHONE+3* |
MPIVAR("SEX" | PATA+6*, GENDER+4* |
MPIVAR("SSN" | PATA+5*, SSN+4* |
NAM | CLEAN~, CLEAN+2*, CLEAN+3*, CLEAN+4*, CLEAN+5 |
PIECE | SEG~, SEG+6 |
SEGMENT | SEG~, SEG+6, SEG+7 |
X | INTACTV+1!, INTACTV+7!, END!, PATA~, PATA+2, NAME~, DOB!, SSN+1!, GENDER+2!, PHONE+1! , ADDR1+1!, ADDR2+1!, ADDR3+1!, CITY+1! |
Y | INTACTV+1!, INTACTV+2, INTACTV+3, INTACTV+4, INTACTV+7!, END!, PATA~, PATA+2, PATA+3, PATA+4 , NAME~, NAME+3, NAME+4, NAME+5, NAME+6*, NAME+7, DOB!, DOB+2, SSN+1!, SSN+3 , SSN+4, GENDER+2!, GENDER+4, PHONE+1!, PHONE+3, ADDR1+1!, ADDR1+3, ADDR2+1!, ADDR2+3, ADDR3+1! , ADDR3+3, CITY+1!, CITY+3 |
Y(0 | PATA+4 |
YY | CLEAN+1~, CLEAN+3* |