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

APCDR11.m

Go to the documentation of this file.
APCDR11 ; IHS/CMI/LAB - V IMMUNIZATION REVIEW ;
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
IMMUN ; Immunzation code.-CP 49-50.
 S APCDIMM=$P(^AUPNVIMM(APCDEDFN,0),U) I APCDIMM="" S APCDE="E009" D ERR G XIT
 I '$D(^AUTTIMM(APCDIMM,0)) S APCDE="E009" D ERR G XIT
 I $P(^AUTTIMM(APCDIMM,0),U,3)="" S APCDE="E009" D ERR G XIT
 ;
XIT ; Clean up and exit
 K APCDE,APCDIMM
 Q
ERR ;
 S APCDE("FILE")=9000010.11,APCDE("ENTRY")=APCDEDFN
 D ERR^APCDRV
 Q