VSITVID ;ISL/dee - Computes the Visit Id ;4/17/97
Source file <VSITVID.m>
Package | Total | Call Graph |
---|---|---|
PCE Patient Care Encounter | 1 | UPD^VSIT |
VA FileMan | 1 | CHK^DIE |
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 |
---|---|---|
Scheduling | 3 | SD53103A SDECALV SDES2CRTVISIT |
PCE Patient Care Encounter | 1 | VSITDEF |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETVID() | ;Sets the VSIT("VID") node with the next unique Visit Id
|
|
NEXT(SEQNUMB) | ;Pass in the last sequence number and returns the next unique number in the sequence
|
|
NEXTDIG | ||
TEST | ;This prints every 100,000 number in base 27 then base 10
|
|
TESTNEXT | ||
FIXVID(VSITIEN) | ;If the Visit ID is not valued then get a new id and store it
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^AUPNVSIT - [#9000010] | CHK^DIE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVSIT - [#9000010] | FIXVID+7, FIXVID+9, FIXVID+24*, FIXVID+28 |
^AUPNVSIT("VID" | FIXVID+25! |
^DIC(150.9 - [#150.9] | GETVID+3, GETVID+5, GETVID+11*, GETVID+12 |
^VSIT(150.2 - [#150.2] | GETVID+7, FIXVID+17 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
COUNT | TEST+2*, TESTNEXT+1*, TESTNEXT+2, TESTNEXT+4! |
LASTONE | GETVID+1~, GETVID+5*, GETVID+6, GETVID+7 |
LASTSEQ | GETVID+1~, GETVID+6*, GETVID+9 |
LASTUSED | GETVID+1~ |
NEXTSEQ | GETVID+1~, GETVID+9*, GETVID+11, GETVID+14 |
NUM | TEST+3*, TESTNEXT*, TESTNEXT+2, TESTNEXT+4! |
SEQNUMB | NEXT~, NEXT+5, NEXTDIG, NEXTDIG+1*, NEXTDIG+2*, NEXTDIG+3 |
SITE | GETVID+1~, GETVID+7*, GETVID+14 |
VSIT | FIXVID+20~ |
VSIT("IEN" | FIXVID+26* |
VSIT("VID" | FIXVID+21*, FIXVID+22, FIXVID+28 |
VSITDIG | NEXT+2~, NEXTDIG*, NEXTDIG+1, NEXTDIG+2 |
VSITIEN | FIXVID~, FIXVID+6, FIXVID+7, FIXVID+9, FIXVID+24, FIXVID+25, FIXVID+26, FIXVID+28 |
VSITPLAC | NEXT+2~, NEXT+5*, NEXTDIG, NEXTDIG+1, NEXTDIG+2* |
VSITSTR | NEXT+2~, NEXT+4*, NEXTDIG |
VSITTEST | FIXVID+5~, FIXVID+11, FIXVID+13, FIXVID+16*, FIXVID+17* |
VSITVID | FIXVID+5~, FIXVID+9*, FIXVID+11, FIXVID+13, FIXVID+16, FIXVID+17, FIXVID+23, FIXVID+25 |