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

APCDR05.m

Go to the documentation of this file.
APCDR05 ; IHS/CMI/LAB - V DENTAL REVIEW ;
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
RESULT ;
 S APCDEREC=^AUPNVDEN(APCDEDFN,0)
 S APCDADA=$P(APCDEREC,U) I APCDADA="" S APCDE="E050" D ERR G XIT
 I '$D(^AUTTADA(APCDADA,0)) S APCDE="E050" D ERR G XIT
 S APCDADA=$P(^AUTTADA(APCDADA,0),U)
 I $L(APCDADA)'=4 S APCDE="E057" D ERR G XIT
 ; pedtp6
XIT ; Clean up and exit
 K APCDEREC,APCDADA,APCDE
 Q
ERR ;
 S APCDE("FILE")=9000010.05,APCDE("ENTRY")=APCDEDFN
 D ERR^APCDRV
 Q