source: FOIAVistA/trunk/r/DENTAL-DEN/DENT.m@ 1582

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

initial load of FOIAVistA 6/30/08 version

File size: 2.8 KB
Line 
1DENT ;ISC2/SAW,HAG-DENTAL PACKAGE MAIN DRIVER ; 12/22/88 3:03 PM ;
2V ;;VERSION 1.2
3 S %OPT="OPT"
4SE D:'$D(DT) DT^DICRW S U="^",S=";",%O=$T(@(%OPT))
5 I $D(^DOPT($P(%O,S,5),"VERSION")),($P($T(V),S,3)=^DOPT($P(%O,S,5),"VERSION")) G IN
6 K ^DOPT($P(%O,S,5))
7 F I=1:1 Q:$P($T(@(%OPT)+I),S,3)="" S %OP=I,^DOPT($P(%O,S,5),I,0)=$P($T(@(%OPT)+I),S,3),^DOPT($P(%O,S,5),"B",$P($P($T(@(%OPT)+I),S,3),"^",1),I)=""
8 S K=I-1,^DOPT($P(%O,S,5),0)=$P(%O,S,4)_U_1_U_K_U_K K I,K,X S ^DOPT($P(%O,S,5),"VERSION")=$P($T(V),S,3)
9IN I $P(%O,S,6)'="" D @($P(%O,S,6))
10PR Q:'$D(%OPT) S %O=$T(@(%OPT)),S=";",IOP=0 D ^%ZIS K IOP W:IOST'["PK-" @IOF
11 I $P(%O,S,7)'="" D @($P(%O,S,7))
12 I $P(%O,S,7)="" W !!,$P(%O,S,3),":",!,$P($T(V),S,3),$P(%O,S,5),!! I $P(%O,S,9)="" W $P(%O,S,4),"S:",!
13 F J=1:1 Q:$P($T(@(%OPT)+J),S,3)="" S %OP=J,K=$S(J<10:15,1:14) I $P(%O,S,9)="" W !,?K,J,". ",$P($T(@(%OPT)+J),S,3)
14RE W ! S DIC="^DOPT("_""""_$P($T(@(%OPT)),S,5)_""""_",",DIC(0)="AEQMN" D ^DIC G:X=""!(X=U) EXIT G:Y<0 RE K DIC,J,%O X $P($T(@(%OPT)+Y),S,4) G PR
15EXIT I $P($T(@(%OPT)+(%OP+1)),S,4)'="" X $P($T(@(%OPT)+(%OP+1)),S,4)
16 K DIC,G,J,%OP I $P(%O,S,8)'="" S %OPT=$P(%O,S,8) G SE
17OUT K DENTSTA,DIC,DR,I,J,K,O,S,X,Y,%O,%OPT Q
18INIT D:'$D(DT) DT^DICRW S:'$D(DTIME) DTIME=60 I '$D(ION) S IOP=$I D ^%ZIS K IOP Q
19OPT ;;DENTAL SERVICE MAIN MENU DRIVER;OPTION;DENT;INIT
20 ;;DENTAL ACTIVITY;S %OPT="DENTE" G SE
21 ;;DENTAL PATIENT INQUIRY;D ^DENTQ
22 ;;ENTER/EDIT APPT. SCHEDULING AID (CPM);D ^DENTCPM
23 ;;PRINT APPT. SCHEDULING AID (CPM);D PRINT^DENTCPM
24 ;;PROGRAM MANAGEMENT;S %OPT="DENTPM" G SE
25 ;;MAILMAN;D ^XM
26 ;;;
27DENTE ;;DENTAL ACTIVITY ENTER/EDIT;OPTION;DENTE;;;OPT
28 ;;ENTER DATA THRU CARD READER;D ^DENTCRD
29 ;;TREATMENT DATA ENTER/EDIT (FULL SCREEN);D TREAT0^DENTE1
30 ;;TREATMENT DATA ENTER/EDIT (LINE BY LINE);D TREAT^DENTE1
31 ;;CLASS I-VI (TYPE 3) ADMIN INFO;D ADMIN^DENTE1
32 ;;PERSONNEL INFO (TYPE 4);D PERS^DENTE1
33 ;;NON CLINICAL TIME;D NCLIN^DENTE0
34 ;;APPLICATIONS AND DENTAL FEE (TYPE 5);D FEE^DENTE1
35 ;;DENTAL REPORTS;S %OPT="DENTP" G SE
36 ;;REVIEW/RELEASE SERVICE REPORTS;D ^DENTAR
37 ;;;
38DENTPM ;;PROGRAM MANAGEMENT;OPTION;DENTPM;;;OPT
39 ;;PROVIDER EDIT;D PROV^DENTE3
40 ;;SITE PARAMETERS EDIT;D SITE^DENTE0
41 ;;TYPE OF SERVICE EDIT;D TSE^DENTE2
42 ;;INITIALIZE CARD READER;D ^DENTCRDI
43 ;;TREATMENT DATA ENTRY DELETE;D DELTR^DENTE1
44 ;;DELETE NON CLINICAL TIME ENTRY;D DELNC^DENTE0
45 ;;TREATMENT DATA ENTRY EDIT/RE-RELEASE (FULL SCREEN);D TSE1^DENTE2
46 ;;TREATMENT DATA ENTRY EDIT/RE-RELEASE (LINE BY LINE);D TDRR^DENTE2
47 ;;CLASS I-VI ENTRY (TYPE 3) EDIT/RE-RELEASE;D ARR^DENTE2
48 ;;PERSONNEL ENTRY (TYPE 4) EDIT/RE-RELEASE;D PRR^DENTE2
49 ;;APPLICATIONS AND FEE (TYPE 5) EDIT/RE-RELEASE;D FBRR^DENTE2
50 ;;;
51DENTP ;;OTHER DENTAL REPORTS;OPTION;DENTP;;;DENTE
52 ;;SERVICE REPORTS;D ^DENTA
53 ;;SITTINGS/VISITS REPORT;D ^DENTP1
54 ;;INPATIENTS REQUIRING DENTAL EXAM;D ^DENTPEX
55 ;;TYPE OF SERVICE REPORT;D TOS^DENTP1
56 ;;COST DISTRIBUTION REPORT;D ^DENTPCD
57 ;;;
Note: See TracBrowser for help on using the repository browser.