VAFCQRY1 ;BIR/DLR-Query for patient demographics ;10/30/02 13:58
Source file <VAFCQRY1.m>
Package | Total | Call Graph |
---|---|---|
Registration | 4 | KVA^VADPT NAME^VAFCPID2 CONT^VAFCQRY3 $$SITE^VASITE |
Kernel | 2 | $$HLNAME^XLFNAME $$STA^XUAF4 |
Health Level Seven | 1 | $$HLDATE^HLFNC |
Uncategorized | 1 | $$MPINODE^MPIFAPI |
VA Fileman | 1 | GETS^DIQ |
Package | Total | Caller Graph |
---|---|---|
Registration | 3 | VAFCQRY VAFCQRY3 VAFHLZTA |
Name | Comments | DBIA/ICR reference |
---|---|---|
ALIAS | ||
NAMEPID | ;patient name (last^first^middle^suffix^prefix^^"L" for legal)
|
|
HL7TXT(HL7STRG,HL,HLES) | ; Replace occurrences of embedded HL7 delimiters with
; HL7 escape sequence |
|
BLDPID(DFN,CNT,SEQ,PID,HL,ERR) | ;build PID from File #2
; Variable list ; DFN - internal PATIENT (#2) number ; CNT - value to be place in PID seq#1 (SET ID) ; SEQ - variable consisting of sequence numbers delimited by commas ; that will be used to build the message (default is ALL) ; PID (passed by reference) - array location to place PID segment ; result, the array can have existing values when passed. ; HL - array that contains the necessary HL variables (init^hlsub) ; ERR - array that is used to return an error |
|
MOTHER | ;mother's maiden name (last^first^middle^suffix^prefix^^"M" for maiden name)
|
Name | Field # of Occurrence |
---|---|
GETS^DIQ | BLDPID+24 |
$$HLDATE^HLFNC | BLDPID+45, BLDPID+54, BLDPID+68, BLDPID+79, MOTHER+7 |
$$MPINODE^MPIFAPI | BLDPID+21 |
KVA^VADPT | MOTHER+12 |
NAME^VAFCPID2 | NAMEPID+3 |
CONT^VAFCQRY3 | MOTHER+11 |
$$SITE^VASITE | BLDPID+31, BLDPID+45 |
$$HLNAME^XLFNAME | NAMEPID+3, ALIAS+3, MOTHER+4 |
$$STA^XUAF4 | BLDPID+46, BLDPID+47, BLDPID+49, BLDPID+54 |
FileNo | Call Tags |
---|---|
^DPT - [#2] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("TEST" | BLDPID+21 |
^DPT - [#2] | BLDPID+23, BLDPID+49, BLDPID+62, BLDPID+64, MOTHER+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ALIAS | ALIAS+1~, ALIAS+3*, ALIAS+4, ALIAS+5*, ALIAS+7, ALIAS+8*, ALIAS+10, ALIAS+11* |
ALIEN | ALIAS+1~, ALIAS+2*, ALIAS+3 |
APID | BLDPID+11~, MOTHER+11 |
APID( | BLDPID+32* |
APID(2 | BLDPID+33* |
APID(3 | BLDPID+35* |
APID(4 | BLDPID+38*, BLDPID+43*, BLDPID+45*, BLDPID+46*, BLDPID+47*, BLDPID+49*, BLDPID+56*, BLDPID+57*, BLDPID+59*, BLDPID+60* , BLDPID+65, BLDPID+70*, BLDPID+71*, BLDPID+73*, BLDPID+74*, BLDPID+76, BLDPID+79* |
APID(6 | NAMEPID+3*, ALIAS+7*, ALIAS+8*, ALIAS+10*, ALIAS+11*, ALIAS+13* |
APID(7 | MOTHER+2*, MOTHER+4*, MOTHER+5*, MOTHER+6* |
APID(8 | MOTHER+7* |
APID(9 | MOTHER+8* |
CITY | BLDPID+11~ |
CLAIM | BLDPID+11~, BLDPID+49* |
CNT | BLDPID~, BLDPID+33 |
COMP | BLDPID+11~, BLDPID+17*, BLDPID+43, BLDPID+45, BLDPID+46, BLDPID+47, BLDPID+49, BLDPID+54, BLDPID+68, BLDPID+79 , MOTHER+11 |
CT | BLDPID+26~*, BLDPID+27*, BLDPID+28, BLDPID+30, BLDPID+53*, BLDPID+54 |
DFN | BLDPID~, BLDPID+21, BLDPID+23, BLDPID+24, BLDPID+47, BLDPID+49, BLDPID+62, BLDPID+64, NAMEPID+3, MOTHER+3 , MOTHER+11 |
DT | BLDPID+45, BLDPID+54, BLDPID+64 |
EN | BLDPID+16~* |
ENT | BLDPID+26~*, BLDPID+28, BLDPID+30 |
ERR | BLDPID~, MOTHER+11 |
HIST | BLDPID+11~, BLDPID+62~*, BLDPID+64 |
HISTDT | BLDPID+11~, BLDPID+62*, BLDPID+64*, BLDPID+68, BLDPID+79 |
HL | BLDPID~, MOTHER+11, HL7TXT~ |
HL("COMP" | BLDPID+17*, HL7TXT+13*, HL7TXT+15 |
HL("ECH" | BLDPID+17, BLDPID+18, NAMEPID+3, ALIAS+3, ALIAS+5, MOTHER+4, MOTHER+5, HL7TXT+13 |
HL("FS" | BLDPID+17, HL7TXT+15 |
HL("Q" | BLDPID+17, BLDPID+54, ALIAS+13, MOTHER+2, MOTHER+4, MOTHER+6, MOTHER+7, MOTHER+8 |
HL("REP" | BLDPID+18*, HL7TXT+13*, HL7TXT+15 |
HL("SUBCOMP" | BLDPID+18*, HL7TXT+13*, HL7TXT+15 |
HL7STRG | HL7TXT~, HL7TXT+22, HL7TXT+23* |
HLECH | BLDPID+11~, BLDPID+17* |
HLES | BLDPID+11~, BLDPID+18*, MOTHER+11, HL7TXT~, HL7TXT+15, HL7TXT+23 |
HLES2 | HL7TXT+11~, HL7TXT+15*, HL7TXT+22 |
HLFS | BLDPID+11~, BLDPID+17* |
HLQ | BLDPID+11~, BLDPID+17* |
I | HL7TXT+11~, HL7TXT+23* |
LNGTH | BLDPID+11~, BLDPID+57*, BLDPID+60*, BLDPID+71*, BLDPID+74*, ALIAS+1~, ALIAS+8*, ALIAS+11* |
LVL | BLDPID+11~, BLDPID+50*, BLDPID+55, BLDPID+57*, BLDPID+58, BLDPID+59, BLDPID+60*, BLDPID+69, BLDPID+71*, BLDPID+72 , BLDPID+73, BLDPID+74* |
LVL6 | ALIAS+1~*, ALIAS+6, ALIAS+8*, ALIAS+9, ALIAS+10, ALIAS+11* |
NXT | BLDPID+11~, BLDPID+54*, BLDPID+56, BLDPID+57*, BLDPID+59, BLDPID+60*, BLDPID+68*, BLDPID+70, BLDPID+71*, BLDPID+73 , BLDPID+74* |
NXTC | BLDPID+11~, BLDPID+50*, BLDPID+57*, BLDPID+59, BLDPID+61*, BLDPID+71*, BLDPID+73, BLDPID+75*, ALIAS+1~*, ALIAS+8* , ALIAS+10, ALIAS+12* |
OCHR | HL7TXT+11~, HL7TXT+22*, HL7TXT+23 |
PID | BLDPID~, MOTHER+11 |
POS | BLDPID+16~* |
RCHR | HL7TXT+11~, HL7TXT+22*, HL7TXT+23 |
RCHRI | HL7TXT+11~, HL7TXT+19*, HL7TXT+22 |
REP | BLDPID+11~, BLDPID+18*, BLDPID+46, BLDPID+47, BLDPID+49, BLDPID+56, BLDPID+57, BLDPID+59, BLDPID+60, BLDPID+70 , BLDPID+71, BLDPID+73, BLDPID+74, ALIAS+7, ALIAS+8, ALIAS+10, ALIAS+11, MOTHER+11 |
SARY | BLDPID+11~, MOTHER+11 |
SARY( | BLDPID+16* |
SARY(2 | BLDPID+35 |
SARY(3 | BLDPID+37 |
SARY(5 | NAMEPID+1 |
SARY(6 | MOTHER+1 |
SARY(7 | MOTHER+7 |
SARY(8 | MOTHER+8 |
SEQ | BLDPID~, BLDPID+12*, BLDPID+13*, BLDPID+14, BLDPID+16, BLDPID+35, BLDPID+37, NAMEPID+1, MOTHER+1, MOTHER+7 , MOTHER+8, MOTHER+11 |
SITA | BLDPID+11~, BLDPID+41*, BLDPID+42*, BLDPID+43, BLDPID+66*, BLDPID+67*, BLDPID+68, BLDPID+77*, BLDPID+78*, BLDPID+79 |
SITE | BLDPID+11~, BLDPID+31*, BLDPID+46, BLDPID+47, BLDPID+49, BLDPID+54 |
SSN | BLDPID+11~, BLDPID+23*, BLDPID+46, MOTHER+11 |
STATE | BLDPID+11~ |
STATEIEN | BLDPID+11~ |
STN | BLDPID+11~, BLDPID+31*, BLDPID+41, BLDPID+42, BLDPID+66, BLDPID+67, BLDPID+77, BLDPID+78 |
SUBCOMP | BLDPID+11~, BLDPID+18*, BLDPID+43, BLDPID+46, BLDPID+47, BLDPID+49, BLDPID+54, BLDPID+68, BLDPID+79 |
TMP | BLDPID+32~* |
TYPE | HL7TXT+11~, HL7TXT+18*, HL7TXT+19 |
VAFCA | BLDPID+24~, BLDPID+26 |
VAFCA( | BLDPID+26, BLDPID+28, BLDPID+30 |
VAFCA1 | BLDPID+24~, BLDPID+51, ALIAS+2 |
VAFCA1( | BLDPID+28*, BLDPID+30*, BLDPID+53, BLDPID+54, ALIAS+2, ALIAS+3 |
VAFCHMN | BLDPID+11~, BLDPID+62*, BLDPID+64*, BLDPID+66, BLDPID+67, BLDPID+68, BLDPID+77, BLDPID+78, BLDPID+79 |
VAFCMMN | BLDPID+11~, MOTHER+3*, MOTHER+4 |
VAFCMN | BLDPID+11~, BLDPID+20*, BLDPID+21*, BLDPID+22*, BLDPID+35, BLDPID+40, BLDPID+41, BLDPID+42, BLDPID+43, BLDPID+45 , MOTHER+11 |
VAFCZN | BLDPID+11~, BLDPID+23*, NAMEPID+3, MOTHER+7, MOTHER+8 |
X | BLDPID+11~, BLDPID+21~*, NAMEPID+3~* |