Last change
on this file since 1383 was 636, checked in by George Lilly, 15 years ago |
WorldVistAEHR overlayed on FOIAVistA
|
File size:
574 bytes
|
Line | |
---|
1 | SDAMBAE2 ;ALB/BOK - ADD/EDIT CON'T ;11/21/91 12:15 ;
|
---|
2 | ;;5.3;Scheduling;**15,79,111,132**;Aug 13, 1993;Build 1
|
---|
3 | ;
|
---|
4 | APP ; -- screen on APPOINTMENT TYPE field in VISIT file CLINIC STOP multiple
|
---|
5 | ; Z - zeroth node of app type file - NAKED REFERENCE - ^SD(409.1,IFN,0)
|
---|
6 | ; P - pt ifn
|
---|
7 | ; E - pt's elig code
|
---|
8 | ; V - elig code is vet code
|
---|
9 | ;
|
---|
10 | N Z,P,E,V
|
---|
11 | S Z=^(0),P=+$P(^SDV(DA(1),0),U,2),E=$S($D(^DPT(P,.36)):+^(.36),1:0),V=$S($D(^DIC(8,E,0)):$P(^(0),U,5),1:"")
|
---|
12 | I '$P(Z,U,3),$S(V["Y":1,1:$P(Z,U,5)),$S('$P(Z,U,6):1,$D(^DPT(P,"E",$P(Z,U,6),0)):1,1:E=$P(Z,U,6))
|
---|
13 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.