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

APCDRVH2.m

Go to the documentation of this file.
APCDRVH2 ; IHS/CMI/LAB - CONT. HOSP REVIEW ; 02 Nov 2015  11:43 AM
 ;;2.0;IHS PCC SUITE;**11,13**;MAY 14, 2009;Build 9
 ;;
 ;;BJPC v1.0 patch 1
START ;
 D CHKTS
 D DATES
 ;
XIT ;
 Q
 ;
 ;
ERR ;
 D ERR^APCDRV
 Q
CHKTS ;
 I APCDTS="07",AUPNDAYS]"",AUPNDAYS>1 S APCDE="E318",APCDE("FILE")=9000010.02,APCDE("ENTRY")=APCDVINP D ERR Q
 I APCDTS="05"!(APCDTS="08"),AUPNSEX'="F" S APCDE="E320",APCDE("FILE")="9000010.02",APCDE("ENTRY")=APCDVINP D ERR
 I APCDDS="05"!(APCDDS="08"),AUPNSEX'="F" S APCDE="E324",APCDE("FILE")="9000010.02",APCDE("ENTRY")=APCDVINP D ERR
 Q
DATES ;
 S X1=$P(APCDVINR,U),X2=$P(^AUPNVSIT(APCDVSIT,0),U) D ^%DTC I X<0 S APCDE("FILE")=9000010,APCDE("ENTRY")=APCDVSIT,APCDE="E326" D ERR Q
 Q