IBCNGP1 ;ALB/CKB - REPORT OF COVERAGE LIMITATIONS (COMPILE/PRINT) ; 07-OCT-2021
Source file <IBCNGP1.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
COMPILE(IBCNGPRTN,IBCNGP) | ; Entry Point called from EN^XUTMDEVQ.
; IBCNGPRTN = Routine name for ^TMP($J,... ; IBCNGP = Array of params ; Input: ; IBCNGP("IBI") 0-Selected, 1-All Insurance Companies ; IBCNGP("IBIA") 0-Active, 1-Both Active and Inactive, 2-Inactive Insurance Companies ; IBCNGP("IBIP") 0-Selected, 1-All Group Plans ; IBCNGP("IBIPA") 0-Active, 1-Both Active and Inactive, 2-Inactive Group Plans ; IBCNGP("IBIGN") 1-Group Name, 2-Group Number, 3-Both Group Name and Group Number ; IBCNGP("IBFIL") A^B^C where" ; A - 1-Begin with, 2-Contains, 3-Range ; B - A=1 Begin with text, A=2 Contains text, A=3 Range start text ; C - only if A=3 Range End text ; IBCNGP("IBICS") 1-Covered, 2-Not Covered, 3-Conditional ; 4-By Default (blank status), 5-All Coverage Statuses ; IBCNGP("IBOUT") E-EXCEL, R-REPORT |
|
GETDATA | ; Get Insurance Company and Group Plan data
; Input: IIEN - IEN of the Insurance Company, file 36 ; GIEN - IEN of the Group Plan, file 355.3 ; Output: ^TMP($J,"PR",INSNAME,ICT,GNAME,GCT,IBCAT,CCT)) - C1^C2^..^C4 Where: ; INSNAME - Insurance Company name ; ICT - Insurance Company counter from ^TMP("IBCNGP") ; GNAME - Group Plan name ; GCT - Group Plans counter from ^TMP("IBCNGP") ; IBCAT - Coverage Category ; CCT - Coverage Category counter ; C1=Coverage Category, C2=Effective Date ; C3=Coverage Status, C4=Limitation Comment ; |
|
CATARR | ; Loop thru CATARR, add the Categories that should be displayed to the Print array.
|
|
GETINS | ; Get Insurance info
|
|
GETGRP | ; Get Group Plan info
|
|
COVOK | ; If the Coverage matches what the user selected, flag the Category and set PRINT=1.
; This Coverage, it's Insurance and Group, will be displayed on the report. ; IBCNGP("IBICS") - 1-Covered, 2-Not Covered, 3-Conditional ; 4-By Default (blank status), 5-All Coverage Statuses |
|
;
; Input: ^TMP($J,"PR",INSNAME,ICT,GNAME,GCT,IBCAT,CCT)) - C1^C2^..^C4 Where: ; INSNAME - Insurance Company name ; ICT - Insurance Company counter from ^TMP("IBCNGP") ; GNAME - Group Plan name ; GCT - Group Plans counter from ^TMP("IBCNGP") ; IBCAT - Coverage Category ; CCT - Coverage Category counter ; C1=Coverage Category, C2=Effective Date ; C3=Coverage Status, C4=Limitation Comment |
||
EXIT | ; PRINT exit
|
|
PRT | ; Print report
|
|
PRTEX | ;
|
|
HEADER(HDRNAME,HDRDATE) | ; Report header
|
|
EHDR | ; EXCEL header
|
|
HDR1 | ; Report Header for Page 1 and Excel report
|
|
HDR2 | ; Column Headers for the Report format, for all pages
|
|
INSDATA | ; Insurance Company info
|
|
GPDATA | ; Group Plan info
|
|
COVDATA | ; Coverage info
|
|
LINE(DISPDATA) | ; Print data
|
|
LINEX | ;
|
|
CENTER(LINE,XWIDTH) | ;return centered line OFFSET
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^IBA(355.3 - [#355.3] | GET1^DIQ, GETS^DIQ |
^IBE(355.31 - [#355.31] | GET1^DIQ |
^IBA(355.32 - [#355.32] | GET1^DIQ |
^DIC(36 - [#36] | GET1^DIQ |