- IBINI049 ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- 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
- Q Q
- ;;^DIC(354.6,0,"GL")
- ;;=^IBE(354.6,
- ;;^DIC("B","IB FORM LETTER",354.6)
- ;;=
- ;;^DIC(354.6,"%D",0)
- ;;=^^8^8^2940214^^
- ;;^DIC(354.6,"%D",1,0)
- ;;=This file contains the Header and Main body of letters that are
- ;;^DIC(354.6,"%D",2,0)
- ;;=generated by the IB package. Sites should edit the header of the
- ;;^DIC(354.6,"%D",3,0)
- ;;=letter to their own address. Sites may edit the main body of the
- ;;^DIC(354.6,"%D",4,0)
- ;;=letter to change the signer of the letter or add in contact persons
- ;;^DIC(354.6,"%D",5,0)
- ;;=and phone numbers. The text of the letters have been approved
- ;;^DIC(354.6,"%D",6,0)
- ;;=by MCCR VACO.
- ;;^DIC(354.6,"%D",7,0)
- ;;=
- ;;^DIC(354.6,"%D",8,0)
- ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- ;;^DD(354.6,0)
- ;;=FIELD^^2^6
- ;;^DD(354.6,0,"DDA")
- ;;=N
- ;;^DD(354.6,0,"DT")
- ;;=2930507
- ;;^DD(354.6,0,"IX","B",354.6,.01)
- ;;=
- ;;^DD(354.6,0,"NM","IB FORM LETTER")
- ;;=
- ;;^DD(354.6,.01,0)
- ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
- ;;^DD(354.6,.01,1,0)
- ;;=^.1
- ;;^DD(354.6,.01,1,1,0)
- ;;=354.6^B
- ;;^DD(354.6,.01,1,1,1)
- ;;=S ^IBE(354.6,"B",$E(X,1,30),DA)=""
- ;;^DD(354.6,.01,1,1,2)
- ;;=K ^IBE(354.6,"B",$E(X,1,30),DA)
- ;;^DD(354.6,.01,3)
- ;;=Answer must be 3-30 characters in length.
- ;;^DD(354.6,.01,21,0)
- ;;=^^5^5^2930504^^^
- ;;^DD(354.6,.01,21,1,0)
- ;;=Enter the name of the form letter. Normally the names will begin with
- ;;^DD(354.6,.01,21,2,0)
- ;;=the IB namespace. The entries in this file will normally
- ;;^DD(354.6,.01,21,3,0)
- ;;=be sent out with each release in the approved format from VACO.
- ;;^DD(354.6,.01,21,4,0)
- ;;=Local editing of the Header and of the signature line in the main body
- ;;^DD(354.6,.01,21,5,0)
- ;;=is permitted.
- ;;^DD(354.6,.01,22)
- ;;=
- ;;^DD(354.6,.01,"DT")
- ;;=2930504
- ;;^DD(354.6,.02,0)
- ;;=LONG NAME^F^^0;2^K:$L(X)>60!($L(X)<3) X
- ;;^DD(354.6,.02,3)
- ;;=Answer must be 3-60 characters in length.
- ;;^DD(354.6,.02,21,0)
- ;;=^^1^1^2940213^^
- ;;^DD(354.6,.02,21,1,0)
- ;;=This is the full descriptive name of this letter.
- ;;^DD(354.6,.02,"DT")
- ;;=2930427
- ;;^DD(354.6,.03,0)
- ;;=TYPE^S^1:INITAL EXEMPTION;^0;3^Q
- ;;^DD(354.6,.03,21,0)
- ;;=^^2^2^2940213^^^
- ;;^DD(354.6,.03,21,1,0)
- ;;=This field tells what type of application the letter is for. Currently
- ;;^DD(354.6,.03,21,2,0)
- ;;=only one type is defined.
- ;;^DD(354.6,.03,"DT")
- ;;=2930427
- ;;^DD(354.6,.04,0)
- ;;=STARTING ADDRESS LINE^NJ2,0^^0;4^K:+X'=X!(X>25)!(X<10)!(X?.E1"."1N.N) X
- ;;^DD(354.6,.04,3)
- ;;=Type a Number between 10 and 25, 0 Decimal Digits
- ;;^DD(354.6,.04,21,0)
- ;;=^^6^6^2930507^^
- ;;^DD(354.6,.04,21,1,0)
- ;;=This is the line number that the patient address should start on. The
- ;;^DD(354.6,.04,21,2,0)
- ;;=default if this is unanswered is line 15.
- ;;^DD(354.6,.04,21,3,0)
- ;;=
- ;;^DD(354.6,.04,21,4,0)
- ;;=To account for slight differences in printers and automated letter folders
- ;;^DD(354.6,.04,21,5,0)
- ;;=the line that the address starts on is now a parameter. Set this to the
- ;;^DD(354.6,.04,21,6,0)
- ;;=correct value for the printer and folder combination for your facility.
- ;;^DD(354.6,.04,"DT")
- ;;=2930507
- ;;^DD(354.6,1,0)
- ;;=MAIN BODY^354.61^^1;0
- ;;^DD(354.6,1,21,0)
- ;;=^^2^2^2930504^^^
- ;;^DD(354.6,1,21,1,0)
- ;;=This field contains the main body of the letter that will be printed
- ;;^DD(354.6,1,21,2,0)
- ;;=after the salutation and includes the signature line.
- ;;^DD(354.6,1,23,0)
- ;;=^^3^3^2930429^
- ;;^DD(354.6,1,23,1,0)
- ;;=The data in this field will be printed as it is entered. VA FileMan
- ;;^DD(354.6,1,23,2,0)
- ;;=utilities are not used to format the data, hence, any imbedded functions
- IBINI049 ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(354.6)
- QUIT
- FOR I=1:2
- SET X=$TEXT(Q+I)
- IF X=""
- QUIT
- SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
- SET X=$EXTRACT(X,4,999)
- IF $ASCII(Y)=126
- SET I=I+1
- SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
- IF $ASCII(Y)=61
- SET Y=$EXTRACT(Y,2,999)
- XECUTE NO
- IF '$TEST
- SET @X=Y
- Q QUIT
- +1 ;;^DIC(354.6,0,"GL")
- +2 ;;=^IBE(354.6,
- +3 ;;^DIC("B","IB FORM LETTER",354.6)
- +4 ;;=
- +5 ;;^DIC(354.6,"%D",0)
- +6 ;;=^^8^8^2940214^^
- +7 ;;^DIC(354.6,"%D",1,0)
- +8 ;;=This file contains the Header and Main body of letters that are
- +9 ;;^DIC(354.6,"%D",2,0)
- +10 ;;=generated by the IB package. Sites should edit the header of the
- +11 ;;^DIC(354.6,"%D",3,0)
- +12 ;;=letter to their own address. Sites may edit the main body of the
- +13 ;;^DIC(354.6,"%D",4,0)
- +14 ;;=letter to change the signer of the letter or add in contact persons
- +15 ;;^DIC(354.6,"%D",5,0)
- +16 ;;=and phone numbers. The text of the letters have been approved
- +17 ;;^DIC(354.6,"%D",6,0)
- +18 ;;=by MCCR VACO.
- +19 ;;^DIC(354.6,"%D",7,0)
- +20 ;;=
- +21 ;;^DIC(354.6,"%D",8,0)
- +22 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- +23 ;;^DD(354.6,0)
- +24 ;;=FIELD^^2^6
- +25 ;;^DD(354.6,0,"DDA")
- +26 ;;=N
- +27 ;;^DD(354.6,0,"DT")
- +28 ;;=2930507
- +29 ;;^DD(354.6,0,"IX","B",354.6,.01)
- +30 ;;=
- +31 ;;^DD(354.6,0,"NM","IB FORM LETTER")
- +32 ;;=
- +33 ;;^DD(354.6,.01,0)
- +34 ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
- +35 ;;^DD(354.6,.01,1,0)
- +36 ;;=^.1
- +37 ;;^DD(354.6,.01,1,1,0)
- +38 ;;=354.6^B
- +39 ;;^DD(354.6,.01,1,1,1)
- +40 ;;=S ^IBE(354.6,"B",$E(X,1,30),DA)=""
- +41 ;;^DD(354.6,.01,1,1,2)
- +42 ;;=K ^IBE(354.6,"B",$E(X,1,30),DA)
- +43 ;;^DD(354.6,.01,3)
- +44 ;;=Answer must be 3-30 characters in length.
- +45 ;;^DD(354.6,.01,21,0)
- +46 ;;=^^5^5^2930504^^^
- +47 ;;^DD(354.6,.01,21,1,0)
- +48 ;;=Enter the name of the form letter. Normally the names will begin with
- +49 ;;^DD(354.6,.01,21,2,0)
- +50 ;;=the IB namespace. The entries in this file will normally
- +51 ;;^DD(354.6,.01,21,3,0)
- +52 ;;=be sent out with each release in the approved format from VACO.
- +53 ;;^DD(354.6,.01,21,4,0)
- +54 ;;=Local editing of the Header and of the signature line in the main body
- +55 ;;^DD(354.6,.01,21,5,0)
- +56 ;;=is permitted.
- +57 ;;^DD(354.6,.01,22)
- +58 ;;=
- +59 ;;^DD(354.6,.01,"DT")
- +60 ;;=2930504
- +61 ;;^DD(354.6,.02,0)
- +62 ;;=LONG NAME^F^^0;2^K:$L(X)>60!($L(X)<3) X
- +63 ;;^DD(354.6,.02,3)
- +64 ;;=Answer must be 3-60 characters in length.
- +65 ;;^DD(354.6,.02,21,0)
- +66 ;;=^^1^1^2940213^^
- +67 ;;^DD(354.6,.02,21,1,0)
- +68 ;;=This is the full descriptive name of this letter.
- +69 ;;^DD(354.6,.02,"DT")
- +70 ;;=2930427
- +71 ;;^DD(354.6,.03,0)
- +72 ;;=TYPE^S^1:INITAL EXEMPTION;^0;3^Q
- +73 ;;^DD(354.6,.03,21,0)
- +74 ;;=^^2^2^2940213^^^
- +75 ;;^DD(354.6,.03,21,1,0)
- +76 ;;=This field tells what type of application the letter is for. Currently
- +77 ;;^DD(354.6,.03,21,2,0)
- +78 ;;=only one type is defined.
- +79 ;;^DD(354.6,.03,"DT")
- +80 ;;=2930427
- +81 ;;^DD(354.6,.04,0)
- +82 ;;=STARTING ADDRESS LINE^NJ2,0^^0;4^K:+X'=X!(X>25)!(X<10)!(X?.E1"."1N.N) X
- +83 ;;^DD(354.6,.04,3)
- +84 ;;=Type a Number between 10 and 25, 0 Decimal Digits
- +85 ;;^DD(354.6,.04,21,0)
- +86 ;;=^^6^6^2930507^^
- +87 ;;^DD(354.6,.04,21,1,0)
- +88 ;;=This is the line number that the patient address should start on. The
- +89 ;;^DD(354.6,.04,21,2,0)
- +90 ;;=default if this is unanswered is line 15.
- +91 ;;^DD(354.6,.04,21,3,0)
- +92 ;;=
- +93 ;;^DD(354.6,.04,21,4,0)
- +94 ;;=To account for slight differences in printers and automated letter folders
- +95 ;;^DD(354.6,.04,21,5,0)
- +96 ;;=the line that the address starts on is now a parameter. Set this to the
- +97 ;;^DD(354.6,.04,21,6,0)
- +98 ;;=correct value for the printer and folder combination for your facility.
- +99 ;;^DD(354.6,.04,"DT")
- +100 ;;=2930507
- +101 ;;^DD(354.6,1,0)
- +102 ;;=MAIN BODY^354.61^^1;0
- +103 ;;^DD(354.6,1,21,0)
- +104 ;;=^^2^2^2930504^^^
- +105 ;;^DD(354.6,1,21,1,0)
- +106 ;;=This field contains the main body of the letter that will be printed
- +107 ;;^DD(354.6,1,21,2,0)
- +108 ;;=after the salutation and includes the signature line.
- +109 ;;^DD(354.6,1,23,0)
- +110 ;;=^^3^3^2930429^
- +111 ;;^DD(354.6,1,23,1,0)
- +112 ;;=The data in this field will be printed as it is entered. VA FileMan
- +113 ;;^DD(354.6,1,23,2,0)
- +114 ;;=utilities are not used to format the data, hence, any imbedded functions