source: FOIAVistA/trunk/r/ENROLLMENT_APPLICATION_SYSTEM-EAS/EASECSC.m@ 1499

Last change on this file since 1499 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.7 KB
Line 
1EASECSC ;ALB/LBD - LTC Co-Pay Test Screen Driver ;10 AUG 2001
2 ;;1.0;ENROLLMENT APPLICATION SYSTEM;**5,7**;Mar 15, 2001
3 ;
4 ;A series of screens used to collect the LTC Co-pay Test data
5 ; Input -- DFN Patient IEN
6 ; DGMTACT Menu Action (ie, ADD to Add a New Test)
7 ; DGMTDT Date of Test
8 ; DGMTI Annual Means Test IEN
9 ; DGMTYPT Type of Test 3=LTC COPAY
10 ; DGMTROU Option Routine Return
11 ; Output -- None
12 ;NOTE: This routine was modified from DGMTSC for LTC Co-pay
13 ;
14EN ;Entry point for LTC co-pay test screen driver
15 D HOME^%ZIS,SETUP^EASECSCU I DGERR D MG G Q1
16EN1 ;Entry point to edit LTC co-pay test if incomplete
17 S DGMTSCI=+$O(DGMTSC(0)) G @($$ROU^EASECSCU(DGMTSCI))
18 ;
19Q I DGMTACT'="VEW" D:$G(DGX)'="^" EN^EASECSCC I DGERR G EN1:$$EDT
20Q1 ;
21 K %,DGBL,DGDC,DGDEP,DGDR,DGFCOL,DGFL,DGMT0,DGMTA,DGMTINF,DGMTOUT,DGMTP,DGMTPAR,DGMTSC,DGMTSCI,DGREL,DGRNG,DGRPPR,DGSCOL,DGSEL,DGSELTY,DGVI,DGVINI,DGVIRI,DGVO,DGVPRI,DGX,DGY,DTOUT,DUOUT,Y,Z
22 ;
23 ;Update the TEST-DETERMINED STATUS field (#2.03) in the ANNUAL MEANS
24 ;TEST file (408.31) when adding a means or copay test, completing a
25 ;means test, or editing a means or copay test.
26 ;I "ADDCOMEDT"[DGMTACT D SAVESTAT^DGMTU4(DGMTI,DGERR)
27 K DGERR
28 ;
29 G @(DGMTROU)
30 ;
31MG ;Print set-up error messages
32 I $D(DGVPRI),DGVPRI'>0 W !!?3,"Patient Relation cannot be setup for patient."
33 I $D(DGVINI),DGVINI'>0 W !!?3,"Individual Annual Income cannot be setup for patient."
34 ;I $D(DGMTPAR),DGMTPAR']"",DGMTYPT=1 W !!?3,"Means Test Thresholds are not defined."
35 W !?3,*7,"Please contact your site manager."
36 Q
37 ;
38EDT() ;Edit means/copay test if incomplete
39 N DIR,Y
40 S DIR("A")="Do you wish to edit the LTC copay test"
41 S DIR("B")="YES",DIR(0)="Y" D ^DIR
42 Q +$G(Y)
Note: See TracBrowser for help on using the repository browser.