- IBINI023 ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(350.71) 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(350.71,0,"GL")
- ;;=^IBE(350.71,
- ;;^DIC("B","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS",350.71)
- ;;=
- ;;^DIC(350.71,"%",0)
- ;;=^1.005^0^0
- ;;^DIC(350.71,"%D",0)
- ;;=^^6^6^2940214^^^^
- ;;^DIC(350.71,"%D",1,0)
- ;;=Contains the Sub-headers and Procedures associated with each ambulatory
- ;;^DIC(350.71,"%D",2,0)
- ;;=surgery check-off sheet. Defines the relationship between check-off sheets,
- ;;^DIC(350.71,"%D",3,0)
- ;;=Sub-headers, and Procedures. Also defines the print order of each entry on
- ;;^DIC(350.71,"%D",4,0)
- ;;=the check-off sheet.
- ;;^DIC(350.71,"%D",5,0)
- ;;=
- ;;^DIC(350.71,"%D",6,0)
- ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- ;;^DD(350.71,0)
- ;;=FIELD^^.08^7
- ;;^DD(350.71,0,"DDA")
- ;;=N
- ;;^DD(350.71,0,"DT")
- ;;=2920128
- ;;^DD(350.71,0,"IX","AG",350.71,.02)
- ;;=
- ;;^DD(350.71,0,"IX","AG1",350.71,.04)
- ;;=
- ;;^DD(350.71,0,"IX","AP",350.71,.06)
- ;;=
- ;;^DD(350.71,0,"IX","AP1",350.71,.05)
- ;;=
- ;;^DD(350.71,0,"IX","AS",350.71,.02)
- ;;=
- ;;^DD(350.71,0,"IX","AS1",350.71,.05)
- ;;=
- ;;^DD(350.71,0,"IX","B",350.71,.01)
- ;;=
- ;;^DD(350.71,0,"IX","G",350.71,.04)
- ;;=
- ;;^DD(350.71,0,"IX","P",350.71,.06)
- ;;=
- ;;^DD(350.71,0,"IX","S",350.71,.05)
- ;;=
- ;;^DD(350.71,0,"NM","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS")
- ;;=
- ;;^DD(350.71,0,"PT",350.71,.05)
- ;;=
- ;;^DD(350.71,.01,0)
- ;;=NAME^RFX^^0;1^S:$D(DA) IBCPX=DA D FFMT^IBEFUNC2 S IBLNGX=$S(IBLNGX=""!'$D(DA):59,$P(^IBE(350.71,DA,0),U,3)="P":$P(IBLNGX,U,3),1:$P(IBLNGX,U,2)) K:$L(X)<3!($L(X)>IBLNGX) X K IBLNGX,IBCPX
- ;;^DD(350.71,.01,1,0)
- ;;=^.1^^-1
- ;;^DD(350.71,.01,1,1,0)
- ;;=350.71^B
- ;;^DD(350.71,.01,1,1,1)
- ;;=S ^IBE(350.71,"B",$E(X,1,30),DA)=""
- ;;^DD(350.71,.01,1,1,2)
- ;;=K ^IBE(350.71,"B",$E(X,1,30),DA)
- ;;^DD(350.71,.01,3)
- ;;=Enter the text to be printed on the CPT list for this entry. Maximum length depends on number of columns and if charge is printed. DELETING A SUB-HEADER DELETES ALL THE SUB-HEADER'S PROCEDURES.
- ;;^DD(350.71,.01,4)
- ;;=I $D(DA) S IBCPX=DA D FFMT^IBEFUNC2 W !,?5,"Maximum length for this entry is now ",$S(IBLNGX="":59,$P(^IBE(350.71,DA,0),U,3)="P":$P(IBLNGX,U,3),1:$P(IBLNGX,U,2))," characters.",! K IBLNGX,IBCPX
- ;;^DD(350.71,.01,21,0)
- ;;=^^1^1^2920327^^^^
- ;;^DD(350.71,.01,21,1,0)
- ;;=Text printed on the check-off sheet for this entry.
- ;;^DD(350.71,.01,"DEL",1,0)
- ;;=I '$D(IBERSCE)
- ;;^DD(350.71,.01,"DT")
- ;;=2920327
- ;;^DD(350.71,.02,0)
- ;;=PRINT ORDER^RNJ4,0X^^0;2^K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X I $D(X),$D(DA) D FPO^IBEFUNC2 I 'X K X
- ;;^DD(350.71,.02,1,0)
- ;;=^.1
- ;;^DD(350.71,.02,1,1,0)
- ;;=350.71^AS^MUMPS
- ;;^DD(350.71,.02,1,1,1)
- ;;=I $P(^IBE(350.71,DA,0),"^",5) S ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)=""
- ;;^DD(350.71,.02,1,1,2)
- ;;=I $P(^IBE(350.71,DA,0),"^",5) K ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)
- ;;^DD(350.71,.02,1,1,3)
- ;;=DO NOT DELETE
- ;;^DD(350.71,.02,1,1,"%D",0)
- ;;=^^1^1^2920128^
- ;;^DD(350.71,.02,1,1,"%D",1,0)
- ;;=Quick index for sub-header members (procedures) and their print orders.
- ;;^DD(350.71,.02,1,1,"DT")
- ;;=2920128
- ;;^DD(350.71,.02,1,2,0)
- ;;=350.71^AG^MUMPS
- ;;^DD(350.71,.02,1,2,1)
- ;;=I $P(^IBE(350.71,DA,0),"^",4) S ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)=""
- ;;^DD(350.71,.02,1,2,2)
- ;;=I $P(^IBE(350.71,DA,0),"^",4) K ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)
- ;;^DD(350.71,.02,1,2,3)
- ;;=DO NOT DELETE
- ;;^DD(350.71,.02,1,2,"%D",0)
- ;;=^^1^1^2920128^^^^
- ;;^DD(350.71,.02,1,2,"%D",1,0)
- ;;=Quick cross-reference for all members (sub-header's) and their print orders, within a sheet.
- ;;^DD(350.71,.02,1,2,"DT")
- ;;=2911121
- IBINI023 ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(350.71)
- 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(350.71,0,"GL")
- +2 ;;=^IBE(350.71,
- +3 ;;^DIC("B","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS",350.71)
- +4 ;;=
- +5 ;;^DIC(350.71,"%",0)
- +6 ;;=^1.005^0^0
- +7 ;;^DIC(350.71,"%D",0)
- +8 ;;=^^6^6^2940214^^^^
- +9 ;;^DIC(350.71,"%D",1,0)
- +10 ;;=Contains the Sub-headers and Procedures associated with each ambulatory
- +11 ;;^DIC(350.71,"%D",2,0)
- +12 ;;=surgery check-off sheet. Defines the relationship between check-off sheets,
- +13 ;;^DIC(350.71,"%D",3,0)
- +14 ;;=Sub-headers, and Procedures. Also defines the print order of each entry on
- +15 ;;^DIC(350.71,"%D",4,0)
- +16 ;;=the check-off sheet.
- +17 ;;^DIC(350.71,"%D",5,0)
- +18 ;;=
- +19 ;;^DIC(350.71,"%D",6,0)
- +20 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- +21 ;;^DD(350.71,0)
- +22 ;;=FIELD^^.08^7
- +23 ;;^DD(350.71,0,"DDA")
- +24 ;;=N
- +25 ;;^DD(350.71,0,"DT")
- +26 ;;=2920128
- +27 ;;^DD(350.71,0,"IX","AG",350.71,.02)
- +28 ;;=
- +29 ;;^DD(350.71,0,"IX","AG1",350.71,.04)
- +30 ;;=
- +31 ;;^DD(350.71,0,"IX","AP",350.71,.06)
- +32 ;;=
- +33 ;;^DD(350.71,0,"IX","AP1",350.71,.05)
- +34 ;;=
- +35 ;;^DD(350.71,0,"IX","AS",350.71,.02)
- +36 ;;=
- +37 ;;^DD(350.71,0,"IX","AS1",350.71,.05)
- +38 ;;=
- +39 ;;^DD(350.71,0,"IX","B",350.71,.01)
- +40 ;;=
- +41 ;;^DD(350.71,0,"IX","G",350.71,.04)
- +42 ;;=
- +43 ;;^DD(350.71,0,"IX","P",350.71,.06)
- +44 ;;=
- +45 ;;^DD(350.71,0,"IX","S",350.71,.05)
- +46 ;;=
- +47 ;;^DD(350.71,0,"NM","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS")
- +48 ;;=
- +49 ;;^DD(350.71,0,"PT",350.71,.05)
- +50 ;;=
- +51 ;;^DD(350.71,.01,0)
- +52 ;;=NAME^RFX^^0;1^S:$D(DA) IBCPX=DA D FFMT^IBEFUNC2 S IBLNGX=$S(IBLNGX=""!'$D(DA):59,$P(^IBE(350.71,DA,0),U,3)="P":$P(IBLNGX,U,3),1:$P(IBLNGX,U,2)) K:$L(X)<3!($L(X)>IBLNGX) X K IBLNGX,IBCPX
- +53 ;;^DD(350.71,.01,1,0)
- +54 ;;=^.1^^-1
- +55 ;;^DD(350.71,.01,1,1,0)
- +56 ;;=350.71^B
- +57 ;;^DD(350.71,.01,1,1,1)
- +58 ;;=S ^IBE(350.71,"B",$E(X,1,30),DA)=""
- +59 ;;^DD(350.71,.01,1,1,2)
- +60 ;;=K ^IBE(350.71,"B",$E(X,1,30),DA)
- +61 ;;^DD(350.71,.01,3)
- +62 ;;=Enter the text to be printed on the CPT list for this entry. Maximum length depends on number of columns and if charge is printed. DELETING A SUB-HEADER DELETES ALL THE SUB-HEADER'S PROCEDURES.
- +63 ;;^DD(350.71,.01,4)
- +64 ;;=I $D(DA) S IBCPX=DA D FFMT^IBEFUNC2 W !,?5,"Maximum length for this entry is now ",$S(IBLNGX="":59,$P(^IBE(350.71,DA,0),U,3)="P":$P(IBLNGX,U,3),1:$P(IBLNGX,U,2))," characters.",! K IBLNGX,IBCPX
- +65 ;;^DD(350.71,.01,21,0)
- +66 ;;=^^1^1^2920327^^^^
- +67 ;;^DD(350.71,.01,21,1,0)
- +68 ;;=Text printed on the check-off sheet for this entry.
- +69 ;;^DD(350.71,.01,"DEL",1,0)
- +70 ;;=I '$D(IBERSCE)
- +71 ;;^DD(350.71,.01,"DT")
- +72 ;;=2920327
- +73 ;;^DD(350.71,.02,0)
- +74 ;;=PRINT ORDER^RNJ4,0X^^0;2^K:+X'=X!(X>9999)!(X<1)!(X?.E1"."1N.N) X I $D(X),$D(DA) D FPO^IBEFUNC2 I 'X K X
- +75 ;;^DD(350.71,.02,1,0)
- +76 ;;=^.1
- +77 ;;^DD(350.71,.02,1,1,0)
- +78 ;;=350.71^AS^MUMPS
- +79 ;;^DD(350.71,.02,1,1,1)
- +80 ;;=I $P(^IBE(350.71,DA,0),"^",5) S ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)=""
- +81 ;;^DD(350.71,.02,1,1,2)
- +82 ;;=I $P(^IBE(350.71,DA,0),"^",5) K ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)
- +83 ;;^DD(350.71,.02,1,1,3)
- +84 ;;=DO NOT DELETE
- +85 ;;^DD(350.71,.02,1,1,"%D",0)
- +86 ;;=^^1^1^2920128^
- +87 ;;^DD(350.71,.02,1,1,"%D",1,0)
- +88 ;;=Quick index for sub-header members (procedures) and their print orders.
- +89 ;;^DD(350.71,.02,1,1,"DT")
- +90 ;;=2920128
- +91 ;;^DD(350.71,.02,1,2,0)
- +92 ;;=350.71^AG^MUMPS
- +93 ;;^DD(350.71,.02,1,2,1)
- +94 ;;=I $P(^IBE(350.71,DA,0),"^",4) S ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)=""
- +95 ;;^DD(350.71,.02,1,2,2)
- +96 ;;=I $P(^IBE(350.71,DA,0),"^",4) K ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)
- +97 ;;^DD(350.71,.02,1,2,3)
- +98 ;;=DO NOT DELETE
- +99 ;;^DD(350.71,.02,1,2,"%D",0)
- +100 ;;=^^1^1^2920128^^^^
- +101 ;;^DD(350.71,.02,1,2,"%D",1,0)
- +102 ;;=Quick cross-reference for all members (sub-header's) and their print orders, within a sheet.
- +103 ;;^DD(350.71,.02,1,2,"DT")
- +104 ;;=2911121