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

IBCMDT1.m

Go to the documentation of this file.
  1. IBCMDT1 ;ALB/VD - INSURANCE PLANS MISSING DATA REPORT (DRIVER 1) ; 10-APR-15
  1. ;;2.0;INTEGRATED BILLING ;**549**; 10-APR-15;Build 54
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. SLAI ; Prompt user to select all or subset of insurance companies
  1. ; Count ins. companies with plans
  1. ;
  1. ; 0 -- user selects insurance companies
  1. ; 1 -- run report for all insurance companies with plans
  1. ;
  1. N A,B
  1. S (A,B)=0
  1. F S A=$O(^IBA(355.3,"B",A)) Q:'A S B=B+1
  1. S DIR(0)="SA^1:List All "_B_" Ins. Companies;2:List Only Ins. Companies That You Select"
  1. W !!," There are "_B_" insurance companies associated with plans.",!
  1. S DIR("A",1)="1. List All "_B_" Active Ins. Companies"
  1. S DIR("A",2)="2. List Only Active Ins. Companies That You Select"
  1. S DIR("A")=" SELECT 1 or 2: "
  1. S DIR("?",1)="Enter a code from the list: 1 or 2. Only insurance"
  1. S DIR("?")="companies with one or more plans can be selected."
  1. D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLAIQ
  1. S IBMDTSPC("IBAI")=(+Y=1) K Y
  1. SLAIQ ;
  1. Q
  1. ;
  1. SLAPL ; Prompt user to select all or subset of plans
  1. ;
  1. ; 0 -- whether some or all ins. co's., user selects plans (may be
  1. ; all for certain companies, some for other companies
  1. ; 1 -- whether some or all ins. co's., run report for all plans
  1. ; associated with those co's.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="There are "_$P(^IBA(355.3,0),"^",4)_" plans. List all plans for each company"
  1. S DIR("B")="No"
  1. S DIR("?",1)="If you say yes, the report will list all of the plans for each company."
  1. S DIR("?",2)="If you say no, you must make plan selections for each individual company"
  1. S DIR("?")="(anywhere from one plan to all)."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLAPLQ
  1. S IBMDTSPC("IBAPL")=+Y K Y
  1. SLAPLQ ;
  1. Q
  1. ;
  1. SLGRN ; Prompt user to report missing Group Numbers
  1. ;
  1. ; 0 -- Do not print missing Group Numbers.
  1. ; 1 -- Print missing Group Numbers.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing Group Number"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Group Number is missing."
  1. S DIR("?")="If you say no, missing Group Number will not be indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLGRNQ
  1. S IBMDTSPC("IBGRN")=+Y K Y
  1. SLGRNQ ;
  1. Q
  1. ;
  1. SLPTY ; Prompt user to report missing Type of Plan
  1. ;
  1. ; 0 -- Do not print missing Type of Plan.
  1. ; 1 -- Print missing Type of Plan.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing Type of Plan"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Type of Plan is missing."
  1. S DIR("?")="If you say no, missing Type of Plan will not be indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLPTYQ
  1. S IBMDTSPC("IBPTY")=+Y K Y
  1. SLPTYQ ;
  1. Q
  1. ;
  1. SLTFT ; Prompt user to report missing Timely Filing Time Frame
  1. ;
  1. ; 0 -- Do not print missing Timely Filing Time Frame.
  1. ; 1 -- Print missing Timely Filing Time Frame.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing Timely Filing Time Frame"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Timely Filing Time Frame"
  1. S DIR("?",2)="is missing."
  1. S DIR("?")="If you say no, missing Timely Filing Time Frame will not be indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLTFTQ
  1. S IBMDTSPC("IBTFT")=+Y K Y
  1. SLTFTQ ;
  1. Q
  1. ;
  1. SLEPT ; Prompt user to report missing Electronic Plan Type
  1. ;
  1. ; 0 -- Do not print missing Electronic Plan Type.
  1. ; 1 -- Print missing Electronic Plan Type.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing Electronic Plan Type"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Electronic Plan Type is missing."
  1. S DIR("?")="If you say no, missing Electronic Plan Type will not be indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLEPTQ
  1. S IBMDTSPC("IBEPT")=+Y K Y
  1. SLEPTQ ;
  1. Q
  1. ;
  1. SLCLM ; Prompt user to report missing Coverage Limitations
  1. ;
  1. ; 0 -- Do not print missing Coverage Limitations.
  1. ; 1 -- Print missing Coverage Limitations.
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing Coverage Limitations"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Coverage Limitations is missing."
  1. S DIR("?")="If you say no, missing Coverage Limitations will not be indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLCLMQ
  1. S IBMDTSPC("IBCLM")=+Y K Y
  1. SLCLMQ ;
  1. Q
  1. ;
  1. SLBIN ; Prompt user to report missing Banking Identification Numbers (BIN)
  1. ;
  1. ; 0 -- Do not print missing Banking Identification Numbers (BIN).
  1. ; 1 -- Print missing Banking Identification Numbers (BIN).
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing BIN"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Banking Identification Number"
  1. S DIR("?",2)="(BIN) is missing."
  1. S DIR("?",3)="If you say no, missing Banking Identification Number (BIN) will not be"
  1. S DIR("?")="indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLBINQ
  1. S IBMDTSPC("IBBIN")=+Y K Y
  1. SLBINQ ;
  1. Q
  1. ;
  1. SLPCN ; Prompt user to report missing Processor Control Numbers (PCN)
  1. ;
  1. ; 0 -- Do not print missing Processor Control Numbers (PCN).
  1. ; 1 -- Print missing Processor Control Numbers (PCN).
  1. ;
  1. S DIR(0)="YO"
  1. S DIR("A")="Display Active Group(s) missing PCN"
  1. S DIR("B")="YES"
  1. S DIR("?",1)="If you say yes, the report will print X's when Processor Control Number"
  1. S DIR("?",2)="(PCN) is missing."
  1. S DIR("?",3)="If you say no, missing Processor Control Number (PCN) will not be"
  1. S DIR("?")="indicated."
  1. W ! D ^DIR K DIR
  1. I $D(DIRUT) S STOP=1 G SLPCNQ
  1. S IBMDTSPC("IBPCN")=+Y K Y
  1. SLPCNQ ;
  1. Q
  1. ;