AMHDVD ; IHS/CMI/LAB - Visit display 18-MAY-1995 ;
;;4.0;IHS BEHAVIORAL HEALTH;;MAY 14, 2010
;; ;
EN ;EP -- main entry point for AMH VISIT DISPLAY
K ^TMP("AMHVDSG",$J)
Q:'$G(AMHR)
D EP^AMHVDSG(AMHR)
D EN^VALM("AMH RECORD DISPLAY")
K ^TMP("AMHVDSG",$J),AMHBROW
D CLEAR^VALM1
D FULL^VALM1
Q
;
EN1 ;EP - called from input templates
D EN^XBNEW("EN^AMHVD","AMHR")
K Y
Q
HDR ; -- header code
Q
;
INIT ; -- init variables and list array
S VALMCNT=$O(^TMP("AMHVDSG",$J,""),-1)
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
Q
;
EXPND ; -- expand code
Q
;
AMHDVD ; IHS/CMI/LAB - Visit display 18-MAY-1995 ;
+1 ;;4.0;IHS BEHAVIORAL HEALTH;;MAY 14, 2010
+2 ;; ;
EN ;EP -- main entry point for AMH VISIT DISPLAY
+1 KILL ^TMP("AMHVDSG",$JOB)
+2 IF '$GET(AMHR)
QUIT
+3 DO EP^AMHVDSG(AMHR)
+4 DO EN^VALM("AMH RECORD DISPLAY")
+5 KILL ^TMP("AMHVDSG",$JOB),AMHBROW
+6 DO CLEAR^VALM1
+7 DO FULL^VALM1
+8 QUIT
+9 ;
EN1 ;EP - called from input templates
+1 DO EN^XBNEW("EN^AMHVD","AMHR")
+2 KILL Y
+3 QUIT
HDR ; -- header code
+1 QUIT
+2 ;
INIT ; -- init variables and list array
+1 SET VALMCNT=$ORDER(^TMP("AMHVDSG",$JOB,""),-1)
+2 QUIT
+3 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 QUIT
+2 ;
EXPND ; -- expand code
+1 QUIT
+2 ;