source: WorldVistAEHR/trunk/r/CLINICAL_REMINDERS-PXRM/PXRMGEN.m@ 1800

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

initial load of WorldVistAEHR

File size: 1.5 KB
RevLine 
[613]1PXRMGEN ; SLC/PJH - PXRM General Edit/Inquiry ;01/21/2000
2 ;;2.0;CLINICAL REMINDERS;;Feb 04, 2005
3 ;
4 ;Labels called from list 'PXRM GENERAL EDIT/LIST'
5 ;
6START(HEADER,PXRMGTYP,IEN) ;
7 N PXRMREAD,PXRMSRC,PXRMVARM
8 N VALM,VALMAR,VALMBCK,VALMBG,VALMCNT,VALMHDR,VALMSG,X,XMZ
9 S X="IORESET"
10 D ENDR^%ZISS,EN^VALM("PXRM GENERAL EDIT/LIST")
11 W IORESET
12 D KILL^%ZISS
13 Q
14 ;
15EXIT ;Exit code
16 D CLEAN^VALM10,FULL^VALM1
17 S VALMBCK="Q"
18 K ^TMP("PXRMGEN",$J)
19 Q
20 ;
21HDR ; Header code
22 S VALMHDR(1)=HEADER
23 S VALMSG="+ Next Screen - Prev Screen ?? More Actions"
24 Q
25 ;
26HELP ;Help code
27 N ORU,ORUPRMT,XQORM,PXRMTAG S PXRMTAG="G"_PXRMGTYP
28 D EN^VALM("PXRM DIALOG MAIN HELP")
29 Q
30 ;
31INIT ;Init
32 S VALMCNT=0
33 D BUILD
34 Q
35 ;
36 ;Load details (also called from edit PXRMGEDIT)
37BUILD I PXRMGTYP="DTAX" D DTAX^PXRMTDLG(PXRMTIEN)
38 I PXRMGTYP="FIP" D FIP^PXRMFIP(PXRMFIP)
39 I PXRMGTYP="FPAR" D FPAR^PXRMFIND
40 I PXRMGTYP="RCAT" D CAT^PXRMCAT(PXRMCAT)
41 I PXRMGTYP="RESN" D RESN^PXRMRESN(PXRMRESN)
42 I PXRMGTYP="SHFR" D SHFR^PXRMSHF(PXRMSHF)
43 ;Reset Header
44 D HDR
45 Q
46 ;
47INQUIRE W IORESET
48 I PXRMGTYP="DTAX" D INQ^PXRMTDLG(PXRMTIEN)
49 I PXRMGTYP="RCAT" D INQ^PXRMCLST(PXRMCAT)
50 I PXRMGTYP="DLG" D INQ^PXRMDLST(PXRMDIEN)
51 I PXRMGTYP="DLGR" D INQ^PXRMDLST(PXRMDIEN)
52 I PXRMGTYP="FIP" D INQ^PXRMFIP(PXRMFIP)
53 I PXRMGTYP="FPAR" D INQ^PXRMFLST(PXRMFIEN)
54 I PXRMGTYP="RESN" D INQ^PXRMSLST(PXRMRESN)
55 I PXRMGTYP="SHFR" D INQ^PXRMSHF(PXRMSHF)
56 ;
57 N DIR S DIR(0)="E" D ^DIR
58 ;
59 S VALMBCK="R"
60 Q
61 ;
62PEXIT ;PXRM GENERAL MENU protocol exit code
63 S VALMSG="+ Next Screen - Prev Screen ?? More Actions"
64 Q
Note: See TracBrowser for help on using the repository browser.