- IBDEI00K ; ; 18-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(358.3) 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
- ;;^DD(358.3,.05,1,0)
- ;;=^.1
- ;;^DD(358.3,.05,1,1,0)
- ;;=358.3^APO2^MUMPS
- ;;^DD(358.3,.05,1,1,1)
- ;;=I $P(^IBE(358.3,DA,0),U,3),$P(^(0),U,4) S ^IBE(358.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)=""
- ;;^DD(358.3,.05,1,1,2)
- ;;=I $P(^IBE(358.3,DA,0),U,3),$P(^(0),U,4) K ^IBE(358.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)
- ;;^DD(358.3,.05,1,1,"DT")
- ;;=2921222
- ;;^DD(358.3,.05,3)
- ;;=Type a Number between 0 and 999.99, 2 Decimal Digits
- ;;^DD(358.3,.05,21,0)
- ;;=^^2^2^2921229^^^^
- ;;^DD(358.3,.05,21,1,0)
- ;;=Determines the order that this selection entry will appear in under the
- ;;^DD(358.3,.05,21,2,0)
- ;;=header for the selection group.
- ;;^DD(358.3,.05,"DT")
- ;;=2921229
- ;;^DD(358.3,1,0)
- ;;=SUBCOLUMN VALUE^358.31IA^^1;0
- ;;^DD(358.3,1,21,0)
- ;;=^^3^3^2930527^
- ;;^DD(358.3,1,21,1,0)
- ;;=
- ;;^DD(358.3,1,21,2,0)
- ;;=The selection can be composed of multiple fields. Each field occupies its
- ;;^DD(358.3,1,21,3,0)
- ;;=own subcolumn on the form.
- ;;^DD(358.31,0)
- ;;=SUBCOLUMN VALUE SUB-FIELD^^.02^2
- ;;^DD(358.31,0,"ID",.02)
- ;;=W " ",$P(^(0),U,2)
- ;;^DD(358.31,0,"IX","B",358.31,.01)
- ;;=
- ;;^DD(358.31,0,"NM","SUBCOLUMN VALUE")
- ;;=
- ;;^DD(358.31,0,"UP")
- ;;=358.3
- ;;^DD(358.31,.01,0)
- ;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(358.3,DA(1),1,"B",X))) X
- ;;^DD(358.31,.01,1,0)
- ;;=^.1
- ;;^DD(358.31,.01,1,1,0)
- ;;=358.31^B
- ;;^DD(358.31,.01,1,1,1)
- ;;=S ^IBE(358.3,DA(1),1,"B",$E(X,1,30),DA)=""
- ;;^DD(358.31,.01,1,1,2)
- ;;=K ^IBE(358.3,DA(1),1,"B",$E(X,1,30),DA)
- ;;^DD(358.31,.01,3)
- ;;=Which subcolumn is the value for?
- ;;^DD(358.31,.01,21,0)
- ;;=^^2^2^2930527^
- ;;^DD(358.31,.01,21,1,0)
- ;;=
- ;;^DD(358.31,.01,21,2,0)
- ;;=The order that the subcolumn should appear on the form.
- ;;^DD(358.31,.01,"DT")
- ;;=2930402
- ;;^DD(358.31,.02,0)
- ;;=SUBCOLUMN VALUE^F^^0;2^K:$L(X)>150!($L(X)<1) X
- ;;^DD(358.31,.02,3)
- ;;=What value should go in the subcolumn?
- ;;^DD(358.31,.02,21,0)
- ;;=^^2^2^2930527^
- ;;^DD(358.31,.02,21,1,0)
- ;;=
- ;;^DD(358.31,.02,21,2,0)
- ;;=The text that should appear in the subcolumn.
- ;;^DD(358.31,.02,"DT")
- ;;=2930401
- IBDEI00K ; ; 18-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(358.3)
- 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 ;;^DD(358.3,.05,1,0)
- +2 ;;=^.1
- +3 ;;^DD(358.3,.05,1,1,0)
- +4 ;;=358.3^APO2^MUMPS
- +5 ;;^DD(358.3,.05,1,1,1)
- +6 ;;=I $P(^IBE(358.3,DA,0),U,3),$P(^(0),U,4) S ^IBE(358.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)=""
- +7 ;;^DD(358.3,.05,1,1,2)
- +8 ;;=I $P(^IBE(358.3,DA,0),U,3),$P(^(0),U,4) K ^IBE(358.3,"APO",$P(^(0),U,3),$P(^(0),U,4),X,DA)
- +9 ;;^DD(358.3,.05,1,1,"DT")
- +10 ;;=2921222
- +11 ;;^DD(358.3,.05,3)
- +12 ;;=Type a Number between 0 and 999.99, 2 Decimal Digits
- +13 ;;^DD(358.3,.05,21,0)
- +14 ;;=^^2^2^2921229^^^^
- +15 ;;^DD(358.3,.05,21,1,0)
- +16 ;;=Determines the order that this selection entry will appear in under the
- +17 ;;^DD(358.3,.05,21,2,0)
- +18 ;;=header for the selection group.
- +19 ;;^DD(358.3,.05,"DT")
- +20 ;;=2921229
- +21 ;;^DD(358.3,1,0)
- +22 ;;=SUBCOLUMN VALUE^358.31IA^^1;0
- +23 ;;^DD(358.3,1,21,0)
- +24 ;;=^^3^3^2930527^
- +25 ;;^DD(358.3,1,21,1,0)
- +26 ;;=
- +27 ;;^DD(358.3,1,21,2,0)
- +28 ;;=The selection can be composed of multiple fields. Each field occupies its
- +29 ;;^DD(358.3,1,21,3,0)
- +30 ;;=own subcolumn on the form.
- +31 ;;^DD(358.31,0)
- +32 ;;=SUBCOLUMN VALUE SUB-FIELD^^.02^2
- +33 ;;^DD(358.31,0,"ID",.02)
- +34 ;;=W " ",$P(^(0),U,2)
- +35 ;;^DD(358.31,0,"IX","B",358.31,.01)
- +36 ;;=
- +37 ;;^DD(358.31,0,"NM","SUBCOLUMN VALUE")
- +38 ;;=
- +39 ;;^DD(358.31,0,"UP")
- +40 ;;=358.3
- +41 ;;^DD(358.31,.01,0)
- +42 ;;=SUBCOLUMN NUMBER^MRNJ1,0X^^0;1^K:+X'=X!(X>6)!(X<1)!(X?.E1"."1N.N)!($D(^IBE(358.3,DA(1),1,"B",X))) X
- +43 ;;^DD(358.31,.01,1,0)
- +44 ;;=^.1
- +45 ;;^DD(358.31,.01,1,1,0)
- +46 ;;=358.31^B
- +47 ;;^DD(358.31,.01,1,1,1)
- +48 ;;=S ^IBE(358.3,DA(1),1,"B",$E(X,1,30),DA)=""
- +49 ;;^DD(358.31,.01,1,1,2)
- +50 ;;=K ^IBE(358.3,DA(1),1,"B",$E(X,1,30),DA)
- +51 ;;^DD(358.31,.01,3)
- +52 ;;=Which subcolumn is the value for?
- +53 ;;^DD(358.31,.01,21,0)
- +54 ;;=^^2^2^2930527^
- +55 ;;^DD(358.31,.01,21,1,0)
- +56 ;;=
- +57 ;;^DD(358.31,.01,21,2,0)
- +58 ;;=The order that the subcolumn should appear on the form.
- +59 ;;^DD(358.31,.01,"DT")
- +60 ;;=2930402
- +61 ;;^DD(358.31,.02,0)
- +62 ;;=SUBCOLUMN VALUE^F^^0;2^K:$L(X)>150!($L(X)<1) X
- +63 ;;^DD(358.31,.02,3)
- +64 ;;=What value should go in the subcolumn?
- +65 ;;^DD(358.31,.02,21,0)
- +66 ;;=^^2^2^2930527^
- +67 ;;^DD(358.31,.02,21,1,0)
- +68 ;;=
- +69 ;;^DD(358.31,.02,21,2,0)
- +70 ;;=The text that should appear in the subcolumn.
- +71 ;;^DD(358.31,.02,"DT")
- +72 ;;=2930401