source: FOIAVistA/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBODIV.m@ 1154

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

initial load of FOIAVistA 6/30/08 version

File size: 2.1 KB
Line 
1IBODIV ;BSN/GRR - MULTI-DIVISION SELECT ; 27 FEB 84 9:40 am
2 ;;2.0;INTEGRATED BILLING;**124**;21-MAR-94
3 ;
4 ; -- copied for scheduling v5.3 routine SDDIV
5 ;
6ROUT S DIC("A")="ROUTING SLIPS FOR WHICH DIVISION: " G ASK
7APLST S DIC("A")="APPOINTMENT LIST FOR WHICH DIVISION: " G ASK
8FRLST S DIC("A")="FILE ROOM LIST FOR WHICH DIVISION: " G ASK
9CLST S DIC("A")="CLINIC LIST FOR WHICH DIVISION: " G ASK
10PALST S DIC("A")="PRE-APPOINTMENT LETTERS FOR WHICH DIVISION: " G DIC
11CNLET S DIC("A")="CANCELLATION LETTERS FOR WHICH DIVISION: " G DIC
12PCNLET S DIC("A")="APPOINTMENT CANCELLATION LETTERS FOR WHICH DIVISION: " G DIC
13NSLET S DIC("A")="NO-SHOW LETTERS/AUTO REBOOK REPORT FOR WHICH DIVISION: " G ASK
14NSLET1 S DIC("A")="NO-SHOW LETTERS FOR WHICH DIVISION: " G DIC
15RALST S DIC("A")="RADIOLOGY LIST FOR WHICH DIVISION: " G ASK
16A223 S DIC("A")="AMIS SEGMENT 223 FOR WHICH DIVISION: " G ASK
17CSSD S DIC("A")="CREATE SURVEY DISPOSITIONING RECORDS FOR WHICH DIVISION (ENTER 'ALL' FOR ALL DIVISIONS): " G ASK
18SDCP S DIC("A")="CLINIC PROFILES FOR WHICH DIVISION: " G ASK
19DSSA S DIC("A")="DISPOSITION SURVEY APPOINTMENTS FOR WHICH DIVISION: " G ASK
20PSDR S DIC("A")="DIVISION (ENTER 'ALL' FOR ALL DIVISIONS): " G ASK2
21CSEE S DIC("A")="ENTER VISIT DATA FOR WHICH DIVISION: " G ASK
22CALST S DIC("A")="CLINIC ASSIGNMENT LIST FOR WHICH DIVISION: " G ASK
23CACTLST S DIC("A")="CLINIC WORKLOAD LIST FOR WHICH DIVISION: " G ASK
24 Q
25 ;
26ASK S ALL=0,SDEF=$$PRIM^VASITE G:'$D(^DG(40.8,SDEF,0)) ERR W !,DIC("A")," ",$P(^(0),"^"),"// " R X:DTIME I X["^" G ERR
27 I X="ALL" S ALL=1 I $D(SDALL),'SDALL S X="?",ALL=0 W *7," ??"
28 S:X="" DIV=SDEF G:X=""!(X="ALL") AWAY S DIC="^DG(40.8,",DIC(0)="EQMN" I X["?",$S('$D(SDALL):1,SDALL:1,1:0) W " Enter 'ALL' for all divisions or"
29DIC D ^DIC G:X["?"!((Y<0)&('$D(SDLT))) ASK Q:$D(SDLT)&(Y'>0) S:$D(SDLT) SDV1=+Y S DIV=+Y K DIC Q
30AWAY S Y=1 K DIC,SDEF Q
31ERR S Y=-1 K DIC,SDALL,SDEF Q
32ASK2 S (VAUTD,Y)=0 I '$D(^DG(40.8,$O(^DG(40.8,0)),0)) W !,*7,"***WARNING...MEDICAL CENTER DIVISION FILE IS NOT SET UP" G ERR
33 I $D(^DG(43,1,"GL")),$P(^("GL"),U,2) G DIVISION^VAUTOMA
34 S I=$O(^DG(40.8,0)) G:'$D(^DG(40.8,I,0)) ERR S VAUTD(I)=$P(^(0),U) K DIC Q
Note: See TracBrowser for help on using the repository browser.