Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AMHVAG1

AMHVAG1.m

Go to the documentation of this file.
AMHVAG1 ; IHS/CMI/LAB - PATIENT DATA VIEW ;
 ;;4.0;IHS BEHAVIORAL HEALTH;;MAY 14, 2010
 ;IHS/ANMC/LJF 2/13/97
 ; -- copy of AGSEENLY with patient defined for browse call
 ;
 D ^AGVAR
L1 ;D ^AG W !!!?27,"Patient Data View System",!!
 ;D PTLK^AG
 I $D(DFN) S AGSEENLY="",AGPAGE=1 G L5
L2 K AG,AGSEENLY,DIC,AG("LKDATA"),AG("LKERR"),AG("LKPRINT"),AGPAGE
 Q
L5 ;D @($P($T(@AGPAGE),";;",2)) W:$Y<7 !?32,"NONE..." X AGLINE("EQ") W !?32,"Press RETURN  " D READ^AGED1
 D @($P($T(@AGPAGE),";;",2)) W:$Y<7 !?32,"NONE..."
 F I=1:1 Q:($Y#20=0)  W !
 ;X AGLINE("EQ")
 ;G L1:$D(DTOUT)!$D(DFOUT)
 ;I $D(DUOUT) S AGPAGE=AGPAGE-1 G L5:AGPAGE>0,L1
 ;I $D(AG("ED")) S AGPAGE=AG("ED") G L5
 S AGPAGE=AGPAGE+1 G L5:AGPAGE<14,L2
1 ;;^AGED1
2 ;;DRAW^AGED2
3 ;;DRAW^AGED3
4 ;;^AGED4
5 ;;^AGED5
6 ;;DRAW^AGED6
7 ;;^AGSEE7
8 ;;DRAW^AGED8
9 ;;DRAW^AGED9
10 ;;DRAW^AGED10
11 ;;DRAW^AGED11
12 ;;DRAW^AGED12
13 ;;DRAW^AGED13