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

IBINI023.m

Go to the documentation of this file.
  1. IBINI023 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DIC(350.71,0,"GL")
  1. ;;=^IBE(350.71,
  1. ;;^DIC("B","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS",350.71)
  1. ;;=
  1. ;;^DIC(350.71,"%",0)
  1. ;;=^1.005^0^0
  1. ;;^DIC(350.71,"%D",0)
  1. ;;=^^6^6^2940214^^^^
  1. ;;^DIC(350.71,"%D",1,0)
  1. ;;=Contains the Sub-headers and Procedures associated with each ambulatory
  1. ;;^DIC(350.71,"%D",2,0)
  1. ;;=surgery check-off sheet. Defines the relationship between check-off sheets,
  1. ;;^DIC(350.71,"%D",3,0)
  1. ;;=Sub-headers, and Procedures. Also defines the print order of each entry on
  1. ;;^DIC(350.71,"%D",4,0)
  1. ;;=the check-off sheet.
  1. ;;^DIC(350.71,"%D",5,0)
  1. ;;=
  1. ;;^DIC(350.71,"%D",6,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(350.71,0)
  1. ;;=FIELD^^.08^7
  1. ;;^DD(350.71,0,"DDA")
  1. ;;=N
  1. ;;^DD(350.71,0,"DT")
  1. ;;=2920128
  1. ;;^DD(350.71,0,"IX","AG",350.71,.02)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","AG1",350.71,.04)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","AP",350.71,.06)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","AP1",350.71,.05)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","AS",350.71,.02)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","AS1",350.71,.05)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","B",350.71,.01)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","G",350.71,.04)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","P",350.71,.06)
  1. ;;=
  1. ;;^DD(350.71,0,"IX","S",350.71,.05)
  1. ;;=
  1. ;;^DD(350.71,0,"NM","AMBULATORY SURG. CHECK-OFF SHEET PRINT FIELDS")
  1. ;;=
  1. ;;^DD(350.71,0,"PT",350.71,.05)
  1. ;;=
  1. ;;^DD(350.71,.01,0)
  1. ;;=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
  1. ;;^DD(350.71,.01,1,0)
  1. ;;=^.1^^-1
  1. ;;^DD(350.71,.01,1,1,0)
  1. ;;=350.71^B
  1. ;;^DD(350.71,.01,1,1,1)
  1. ;;=S ^IBE(350.71,"B",$E(X,1,30),DA)=""
  1. ;;^DD(350.71,.01,1,1,2)
  1. ;;=K ^IBE(350.71,"B",$E(X,1,30),DA)
  1. ;;^DD(350.71,.01,3)
  1. ;;=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.
  1. ;;^DD(350.71,.01,4)
  1. ;;=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
  1. ;;^DD(350.71,.01,21,0)
  1. ;;=^^1^1^2920327^^^^
  1. ;;^DD(350.71,.01,21,1,0)
  1. ;;=Text printed on the check-off sheet for this entry.
  1. ;;^DD(350.71,.01,"DEL",1,0)
  1. ;;=I '$D(IBERSCE)
  1. ;;^DD(350.71,.01,"DT")
  1. ;;=2920327
  1. ;;^DD(350.71,.02,0)
  1. ;;=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
  1. ;;^DD(350.71,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(350.71,.02,1,1,0)
  1. ;;=350.71^AS^MUMPS
  1. ;;^DD(350.71,.02,1,1,1)
  1. ;;=I $P(^IBE(350.71,DA,0),"^",5) S ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)=""
  1. ;;^DD(350.71,.02,1,1,2)
  1. ;;=I $P(^IBE(350.71,DA,0),"^",5) K ^IBE(350.71,"AS",$P(^(0),"^",5),X,DA)
  1. ;;^DD(350.71,.02,1,1,3)
  1. ;;=DO NOT DELETE
  1. ;;^DD(350.71,.02,1,1,"%D",0)
  1. ;;=^^1^1^2920128^
  1. ;;^DD(350.71,.02,1,1,"%D",1,0)
  1. ;;=Quick index for sub-header members (procedures) and their print orders.
  1. ;;^DD(350.71,.02,1,1,"DT")
  1. ;;=2920128
  1. ;;^DD(350.71,.02,1,2,0)
  1. ;;=350.71^AG^MUMPS
  1. ;;^DD(350.71,.02,1,2,1)
  1. ;;=I $P(^IBE(350.71,DA,0),"^",4) S ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)=""
  1. ;;^DD(350.71,.02,1,2,2)
  1. ;;=I $P(^IBE(350.71,DA,0),"^",4) K ^IBE(350.71,"AG",$P(^(0),"^",4),X,DA)
  1. ;;^DD(350.71,.02,1,2,3)
  1. ;;=DO NOT DELETE
  1. ;;^DD(350.71,.02,1,2,"%D",0)
  1. ;;=^^1^1^2920128^^^^
  1. ;;^DD(350.71,.02,1,2,"%D",1,0)
  1. ;;=Quick cross-reference for all members (sub-header's) and their print orders, within a sheet.
  1. ;;^DD(350.71,.02,1,2,"DT")
  1. ;;=2911121