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

ABMDE31X.m

Go to the documentation of this file.
ABMDE31X ; IHS/SD/SDR - ERROR CHECKING - PAGE 3A ;      
 ;;2.6;IHS 3P BILLING SYSTEM;;NOV 12, 2009
 ;
 ; IHS/SD/SDR - v2.5 p8 - task 6
 ;   New routine to do error checking on page 3A
 ; IHS/SD/SDR - v2.6 CSV
 ;
 S ABMAREC=$G(^ABMDCLM(DUZ(2),ABMP("CDFN"),12))  ;ambulance info
 I $P(ABMAREC,U,2)="" S ABME(204)=""
 I $P(ABMAREC,U,6)="" S ABME(205)=""
 I $P(ABMAREC,U,7)="" S ABME(206)=""
 I $P(ABMAREC,U,15)="" S ABME(207)=""
 I $P(ABMAREC,U,11)="" D
 .S ABMCIEN=0
 .S ABMCFLG=0
 .F ABMSUBF=43,47 D
 ..F  S ABMCIEN=$O(^ABMDCLM(DUZ(2),ABMP("CDFN"),ABMSUBF,"B",ABMCIEN)) Q:ABMCIEN=""  D  Q:ABMCFLG=1
 ...I $P($$CPT^ABMCVAPI(ABMCIEN,ABMP("VDT")),U,2)="A0424" S ABMCFLG=1  ;CSV-c
 .I ABMCFLG=1 S ABME(208)=""
 K ABMCIEN,ABMCFLG
 I $P(ABMAREC,U,8)=""&($P(ABMAREC,U,9)="") S ABME(211)=""
XIT Q
ERR ;
 D ABMDE31X
 S ABME("TITL")="PAGE 3A - AMBULANCE QUESTIONS"
 G XIT
 Q