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

IBINI049.m

Go to the documentation of this file.
  1. IBINI049 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(354.6) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
  1. Q Q
  1. ;;^DIC(354.6,0,"GL")
  1. ;;=^IBE(354.6,
  1. ;;^DIC("B","IB FORM LETTER",354.6)
  1. ;;=
  1. ;;^DIC(354.6,"%D",0)
  1. ;;=^^8^8^2940214^^
  1. ;;^DIC(354.6,"%D",1,0)
  1. ;;=This file contains the Header and Main body of letters that are
  1. ;;^DIC(354.6,"%D",2,0)
  1. ;;=generated by the IB package. Sites should edit the header of the
  1. ;;^DIC(354.6,"%D",3,0)
  1. ;;=letter to their own address. Sites may edit the main body of the
  1. ;;^DIC(354.6,"%D",4,0)
  1. ;;=letter to change the signer of the letter or add in contact persons
  1. ;;^DIC(354.6,"%D",5,0)
  1. ;;=and phone numbers. The text of the letters have been approved
  1. ;;^DIC(354.6,"%D",6,0)
  1. ;;=by MCCR VACO.
  1. ;;^DIC(354.6,"%D",7,0)
  1. ;;=
  1. ;;^DIC(354.6,"%D",8,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(354.6,0)
  1. ;;=FIELD^^2^6
  1. ;;^DD(354.6,0,"DDA")
  1. ;;=N
  1. ;;^DD(354.6,0,"DT")
  1. ;;=2930507
  1. ;;^DD(354.6,0,"IX","B",354.6,.01)
  1. ;;=
  1. ;;^DD(354.6,0,"NM","IB FORM LETTER")
  1. ;;=
  1. ;;^DD(354.6,.01,0)
  1. ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
  1. ;;^DD(354.6,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(354.6,.01,1,1,0)
  1. ;;=354.6^B
  1. ;;^DD(354.6,.01,1,1,1)
  1. ;;=S ^IBE(354.6,"B",$E(X,1,30),DA)=""
  1. ;;^DD(354.6,.01,1,1,2)
  1. ;;=K ^IBE(354.6,"B",$E(X,1,30),DA)
  1. ;;^DD(354.6,.01,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(354.6,.01,21,0)
  1. ;;=^^5^5^2930504^^^
  1. ;;^DD(354.6,.01,21,1,0)
  1. ;;=Enter the name of the form letter. Normally the names will begin with
  1. ;;^DD(354.6,.01,21,2,0)
  1. ;;=the IB namespace. The entries in this file will normally
  1. ;;^DD(354.6,.01,21,3,0)
  1. ;;=be sent out with each release in the approved format from VACO.
  1. ;;^DD(354.6,.01,21,4,0)
  1. ;;=Local editing of the Header and of the signature line in the main body
  1. ;;^DD(354.6,.01,21,5,0)
  1. ;;=is permitted.
  1. ;;^DD(354.6,.01,22)
  1. ;;=
  1. ;;^DD(354.6,.01,"DT")
  1. ;;=2930504
  1. ;;^DD(354.6,.02,0)
  1. ;;=LONG NAME^F^^0;2^K:$L(X)>60!($L(X)<3) X
  1. ;;^DD(354.6,.02,3)
  1. ;;=Answer must be 3-60 characters in length.
  1. ;;^DD(354.6,.02,21,0)
  1. ;;=^^1^1^2940213^^
  1. ;;^DD(354.6,.02,21,1,0)
  1. ;;=This is the full descriptive name of this letter.
  1. ;;^DD(354.6,.02,"DT")
  1. ;;=2930427
  1. ;;^DD(354.6,.03,0)
  1. ;;=TYPE^S^1:INITAL EXEMPTION;^0;3^Q
  1. ;;^DD(354.6,.03,21,0)
  1. ;;=^^2^2^2940213^^^
  1. ;;^DD(354.6,.03,21,1,0)
  1. ;;=This field tells what type of application the letter is for. Currently
  1. ;;^DD(354.6,.03,21,2,0)
  1. ;;=only one type is defined.
  1. ;;^DD(354.6,.03,"DT")
  1. ;;=2930427
  1. ;;^DD(354.6,.04,0)
  1. ;;=STARTING ADDRESS LINE^NJ2,0^^0;4^K:+X'=X!(X>25)!(X<10)!(X?.E1"."1N.N) X
  1. ;;^DD(354.6,.04,3)
  1. ;;=Type a Number between 10 and 25, 0 Decimal Digits
  1. ;;^DD(354.6,.04,21,0)
  1. ;;=^^6^6^2930507^^
  1. ;;^DD(354.6,.04,21,1,0)
  1. ;;=This is the line number that the patient address should start on. The
  1. ;;^DD(354.6,.04,21,2,0)
  1. ;;=default if this is unanswered is line 15.
  1. ;;^DD(354.6,.04,21,3,0)
  1. ;;=
  1. ;;^DD(354.6,.04,21,4,0)
  1. ;;=To account for slight differences in printers and automated letter folders
  1. ;;^DD(354.6,.04,21,5,0)
  1. ;;=the line that the address starts on is now a parameter. Set this to the
  1. ;;^DD(354.6,.04,21,6,0)
  1. ;;=correct value for the printer and folder combination for your facility.
  1. ;;^DD(354.6,.04,"DT")
  1. ;;=2930507
  1. ;;^DD(354.6,1,0)
  1. ;;=MAIN BODY^354.61^^1;0
  1. ;;^DD(354.6,1,21,0)
  1. ;;=^^2^2^2930504^^^
  1. ;;^DD(354.6,1,21,1,0)
  1. ;;=This field contains the main body of the letter that will be printed
  1. ;;^DD(354.6,1,21,2,0)
  1. ;;=after the salutation and includes the signature line.
  1. ;;^DD(354.6,1,23,0)
  1. ;;=^^3^3^2930429^
  1. ;;^DD(354.6,1,23,1,0)
  1. ;;=The data in this field will be printed as it is entered. VA FileMan
  1. ;;^DD(354.6,1,23,2,0)
  1. ;;=utilities are not used to format the data, hence, any imbedded functions