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

IBYCPT.m

Go to the documentation of this file.
  1. IBYCPT ;ALB/CPM - PATCH IB*2*34 POST-INITIALIZATION ; 21-JUN-95
  1. ;;Version 2.0 ; INTEGRATED BILLING ;**34**; 21-MAR-94
  1. ;
  1. EN ; Patch IB*2*34 post initialization.
  1. ;
  1. D LTR ; add reminder letter to file #354.6
  1. D OPT ; add new option to the Copay Exemption menu
  1. Q
  1. ;
  1. ;
  1. LTR ; Add the reminder letter to the IB FORM LETTER (#354.6) file.
  1. Q:$D(^IBE(354.6,"B","IB INCOME TEST REMINDER"))
  1. W !!,">>> Adding the Reminder Letter into the IB FORM LETTER (#354.6) file..."
  1. S DIC(0)="",DIC="^IBE(354.6,",X="IB INCOME TEST REMINDER"
  1. K DO,DD D FILE^DICN S IBLET=+Y
  1. I IBLET'>0 W !?4,*7,"Unable to add the letter! Contact your supporting ISC for assistance." G LTRQ
  1. ;
  1. S $P(^IBE(354.6,IBLET,0),"^",2,4)="Income Test Reminder Letter^2^15"
  1. ;
  1. ; - build letter body
  1. S ^IBE(354.6,IBLET,1,0)="^^13^13^"_DT_"^^^^"
  1. S ^IBE(354.6,IBLET,1,1,0)="The VA is required by law to charge veterans who receive medications"
  1. S ^IBE(354.6,IBLET,1,2,0)="on an outpatient basis for the treatment of nonservice-connected"
  1. S ^IBE(354.6,IBLET,1,3,0)="conditions, a copayment of $2.00 for each 30-day (or less) supply"
  1. S ^IBE(354.6,IBLET,1,4,0)="of medication provided. Based on the income information requested"
  1. S ^IBE(354.6,IBLET,1,5,0)="each year, some veterans may be exempt from the copayment."
  1. S ^IBE(354.6,IBLET,1,6,0)=" "
  1. S ^IBE(354.6,IBLET,1,7,0)="Our records indicate that your medication copayment exemption"
  1. S ^IBE(354.6,IBLET,1,8,0)="status will expire on |VAR(""IBEXPD"")|."
  1. S ^IBE(354.6,IBLET,1,9,0)=" "
  1. S ^IBE(354.6,IBLET,1,10,0)="<enter a third paragraph which provides instructions to the veteran>"
  1. S ^IBE(354.6,IBLET,1,11,0)=" "
  1. S ^IBE(354.6,IBLET,1,12,0)=" "
  1. S ^IBE(354.6,IBLET,1,13,0)="<enter a signature title if desired>"
  1. ;
  1. ; - build letter header
  1. S ^IBE(354.6,IBLET,2,0)="^^6^6^"_DT_"^^^^"
  1. S ^IBE(354.6,IBLET,2,1,0)="Department of Veterans Affairs Medical Center"
  1. S ^IBE(354.6,IBLET,2,2,0)="<enter the facility street here>"
  1. S ^IBE(354.6,IBLET,2,3,0)="<enter the facility city/state/zip here>"
  1. S ^IBE(354.6,IBLET,2,4,0)=" "
  1. S ^IBE(354.6,IBLET,2,5,0)=" "
  1. S ^IBE(354.6,IBLET,2,6,0)=" "
  1. ;
  1. LTRQ K DIC,IBLET,X,Y
  1. Q
  1. ;
  1. OPT ; Add the option to reprint a reminder to the Copay Exemption menu.
  1. S Y=$O(^DIC(19,"B","IB RX EXEMPTION MENU",0)) I Y="" G OPTQ
  1. S X=$O(^DIC(19,"B","IB RX REPRINT REMINDER",0)) I X="" G OPTQ
  1. W !!,">>> Adding IB RX REPRINT REMINDER option to the IB RX EXEMPTION MENU..."
  1. I '$D(^DIC(19,+Y,10,0)) S ^DIC(19,+Y,10,0)="^19.01IP^0^0"
  1. S (DA,D0)=+Y,DIC="^DIC(19,"_+Y_",10,",DIC(0)="L",DA(1)=+Y,DLAYGO=19.01,X="IB RX REPRINT REMINDER" D ^DIC
  1. S DA=+Y,DIE="^DIC(19,"_DA(1)_",10,",DR="2///^S X=""REPR""" D ^DIE
  1. OPTQ K DIC,DIE,DA,DR,X,Y
  1. Q