IBCNERP7 ;DAOU/BHS - IIV STATISTICAL REPORT ;10-JUN-2002 ;;2.0;INTEGRATED BILLING;**184**;21-MAR-94 ;;Per VHA Directive 10-93-142, this routine should not be modified. ; ; IIV - Insurance Identification and Verification Interface ; ; Input parameter: N/A ; Other relevant variables: ; IBCNERTN = "IBCNERP7" (current routine name for queueing the ; COMPILE process) ; IBCNESPC("BEGDTM") = start date/time for date/time range ; IBCNESPC("ENDDTM") = end date/time for date/time range ; IBCNESPC("SECTS") = list of sections to display on the report ; 1 = All (Outgoing, Incoming and General), ; 2 = Outgoing - Inquiry Response data, ; 3 = Incoming - Inquiry Transmission data, ; 4 = General - Ins Buffer data, Outstanding ; Inquiries, Communication Failures, Retries ; may equal a list of values if '1' is not the ; the only value ; IBCNESPC("MM") = "", not for MailMan message OR ; MAILGROUP, generate as MailMan message for this ; MAILGROUP as defined in IB site ; parameters ; ; Only enter routine from EN or MAILMSG tags Q ; ; Entry pt EN ; ; Init vars N STOP,IBCNERTN,POP,IBCNESPC ; S STOP=0 S IBCNERTN="IBCNERP7" W @IOF W !,"IIV Statistical Report",! W !,"Please select the timeframe for which to view the Insurance Identification" W !,"and Verification statistics and current status." ; ; Default to MailMan flag to No from the EN tag S IBCNESPC("MM")="" ; ; Prompts for Payer Report ; Date Range parameters S10 D DTMRNG I STOP G EXIT ; Sort by parameter - Payer or Total Inquiries (Payer Report) S20 D SECTS I STOP G:$$STOP^IBCNERP1 EXIT G S10 ; Select the output device S50 D DEVICE^IBCNERP1(IBCNERTN,.IBCNESPC) I STOP G:$$STOP^IBCNERP1 EXIT G S20 ; EXIT ; Quit this routine Q ; ; DTMRNG ; Determine the start and end date/times for the report ; Init vars N DIR,X,Y,DIRUT ; W ! ; S DIR(0)="DO^::ERX" S DIR("A")="Start DATE/TIME" S DIR("?",1)=" Enter Start DATE/TIME for report range." S DIR("?")=" The time element is required." D ^DIR K DIR I $D(DIRUT) S STOP=1 G DTMRNGX S IBCNESPC("BEGDTM")=Y ; DTMRNG1 S DIR(0)="D^::ERX" S DIR("A")=" End DATE/TIME" S DIR("?",1)=" Enter End DATE/TIME for report range." S DIR("?")=" The time element is required." D ^DIR K DIR I $D(DIRUT) S STOP=1 G DTMRNGX I Y