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

APCDALI.m

Go to the documentation of this file.
  1. APCDALI ; IHS/CMI/LAB - prompt for line item value ;
  1. ;;2.0;IHS PCC SUITE;;MAY 14, 2009
  1. ;
  1. ;
  1. VALUE ;EP - called from input template to get value of line item
  1. I '$D(DA) S APCDTERR=1 Q
  1. I 'DA S APCDTERR=1 Q
  1. S APCDTF=$P(^AUPNVLI(DA,0),U)
  1. I 'APCDTF S APCDTERR=1 D EOJ Q
  1. S DIC("A")=" Enter the "_$P(^DIC(APCDTF,0),U)_" value:",DIC=APCDTF,DIC(0)="AEMQ" D ^DIC
  1. I Y=-1 W !!,"Invalid entry. Try again." G VALUE
  1. S APCDTLII=+Y
  1. EOJ ;
  1. K Y
  1. Q