Last change
on this file since 1141 was 613, checked in by George Lilly, 15 years ago |
initial load of WorldVistAEHR
|
File size:
617 bytes
|
Line | |
---|
1 | DGCVEXP ;ALB/ERC - FIND VETS WIITH EXPIRED CV STATUS; 12/11/02
|
---|
2 | ;;5.3;Registration;**576**; Aug 13, 1993
|
---|
3 | ;
|
---|
4 | ;this API will list any veterans who have Combat Vet status that has
|
---|
5 | ;expired. This API will be called by IB to look for any vets who have
|
---|
6 | ;been billed for treatment on the last day of their CV eligibility.
|
---|
7 | ;
|
---|
8 | EN ;
|
---|
9 | N DGC,DGE,DGEX,DGFILE
|
---|
10 | K ^TMP("DGCVEX")
|
---|
11 | S DGC=""
|
---|
12 | S DGFILE=2
|
---|
13 | F S DGC=$O(^DPT("E",DGC)) Q:DGC'>0 D
|
---|
14 | . S DGE=""
|
---|
15 | . F S DGE=$O(^DPT("E",DGC,DGE)) Q:DGE'>0 D
|
---|
16 | . . S DGEX=$$GET1^DIQ(DGFILE,DGE_",",.5295,"I")
|
---|
17 | . . I $G(DGEX)']"" Q
|
---|
18 | . . I DT'>DGEX Q
|
---|
19 | . . S ^TMP("DGCVEX",$J,DGE,DGEX)=""
|
---|
20 | Q
|
---|
Note:
See
TracBrowser
for help on using the repository browser.