VASITE ;ALB/AAS - TIME SENSETIVE VA STATION NUMBER UTILITY ; [ 04/01/2004 5:17 PM ]
Source file <VASITE.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
YN | ; -input transform for is primary facility
|
|
SITE(DATE,DIV) | ;
; -Output= Institution file pointer^Institution name^station number with suffix |
|
CHK | ; -input transform for IS PRIMARY STATION? field
; -only 1 primary station number allowed per effective date |
|
CHKQ | ||
PRIM(DATE) | ; -returns medical center division of primary medical center division
; - input date, if date is null then date will be today |
|
IVDATE(DATE) | ; -- inverse date reference start
|
|
ALL(DATE) | ; -returns all possible station numbers
; -input date, if date is undefined, then date will be today ; - output VASITE= 1 or -1 if stations exist ; VASITE(station number)=station number |
|
NAME(DATE) | ; -returns the new name of medical centers that have integrated
|
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | SITE+12, SITE+14 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^DIC(4 - [#4] | GET1^DIQ |
^DG(40.8 - [#40.8] | GET1^DIQ |
^AUTTLOC - [#9999999.06] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("SITE" | SITE+11 |
^DG(40.8 - [#40.8] | SITE+9, SITE+11, SITE+23, PRIM+4 |
^DIC(4 - [#4] | SITE+23 |
^VA(389.9 - [#389.9] | SITE+21, ALL+9, CHK+3, CHK+4, CHK+5, YN+1, YN+2, YN+3, PRIM+7, NAME+4 |
Name | Line Occurrences |
---|---|
$$IVDATE | SITE+21, ALL+9, PRIM+7, NAME+4 |
$$PRIM | SITE+19 |
CHKQ | CHK+3, CHK+4, CHK+5 |
Name | Field # of Occurrence |
---|---|
^( | SITE+21, ALL+9, PRIM+7, NAME+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> DA | CHK+3, CHK+4, YN+1, YN+2, YN+3 |
DATE | SITE~, SITE+18*, SITE+19, SITE+20, SITE+21, ALL~, ALL+6*, ALL+9, IVDATE~, IVDATE+1 , PRIM~, PRIM+6*, PRIM+7, NAME~, NAME+3*, NAME+4 |
DIV | SITE~, SITE+9*, SITE+11*, SITE+12, SITE+19*, SITE+20, SITE+21, SITE+23, ALL+5~, ALL+9* |
DT | SITE+18, ALL+6, PRIM+6, NAME+3 |
DUZ(2 | SITE+9, PRIM+4 |
PRIM | SITE+17~, SITE+21*, SITE+22, ALL+5~, ALL+9*, PRIM+5~, PRIM+7*, PRIM+8 |
SITE | SITE+17~, SITE+22*, SITE+23*, SITE+24 |
U | SITE+14 |
>> VASITE | ALL+7*, ALL+9*, ALL+10 |
>> VASITE( | ALL+9* |
X | SITE+12~*, SITE+14, CHK+3!, CHK+4!, CHK+5!, YN+1!, YN+2!, YN+3!, YN+4*, YN+5! |