- IBINI03O ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(354) 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(354,.04,21,10,0)
- ;;=pension level, he is exempt.
- ;;^DD(354,.04,23,0)
- ;;=^^6^6^2930429^^^
- ;;^DD(354,.04,23,1,0)
- ;;=
- ;;^DD(354,.04,23,2,0)
- ;;=This field will be updated by the Copay Exemption software every time
- ;;^DD(354,.04,23,3,0)
- ;;=a new current exemption is added. It should not be edited.
- ;;^DD(354,.04,23,4,0)
- ;;=
- ;;^DD(354,.04,23,5,0)
- ;;=Programmers must 4 slash stuff data into this field to bypass the input
- ;;^DD(354,.04,23,6,0)
- ;;=transform.
- ;;^DD(354,.04,"DT")
- ;;=2930210
- ;;^DD(354,.05,0)
- ;;=COPAY EXEMPTION REASON^R*P354.2'^IBE(354.2,^0;5^S DIC("S")="I Y=$P(^IBA(354,DA,0),U,5)!($G(IBJOB)>10)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
- ;;^DD(354,.05,1,0)
- ;;=^.1
- ;;^DD(354,.05,1,1,0)
- ;;=354^AC
- ;;^DD(354,.05,1,1,1)
- ;;=S ^IBA(354,"AC",$E(X,1,30),DA)=""
- ;;^DD(354,.05,1,1,2)
- ;;=K ^IBA(354,"AC",$E(X,1,30),DA)
- ;;^DD(354,.05,1,1,"DT")
- ;;=2930120
- ;;^DD(354,.05,9)
- ;;=^
- ;;^DD(354,.05,12)
- ;;=This field can only be edited/updated by the Copay Exemption software.
- ;;^DD(354,.05,12.1)
- ;;=S DIC("S")="I Y=$P(^IBA(354,DA,0),U,5)!($G(IBJOB)>10)"
- ;;^DD(354,.05,21,0)
- ;;=^^4^4^2930429^^^^
- ;;^DD(354,.05,21,1,0)
- ;;=DO NOT EDIT THIS FIELD. It is maintained by the Copay Exemption Software.
- ;;^DD(354,.05,21,2,0)
- ;;=
- ;;^DD(354,.05,21,3,0)
- ;;=This is the exemption reason for the current copay exemption. It will
- ;;^DD(354,.05,21,4,0)
- ;;=be entered by the system.
- ;;^DD(354,.05,23,0)
- ;;=^^6^6^2930429^^^
- ;;^DD(354,.05,23,1,0)
- ;;=
- ;;^DD(354,.05,23,2,0)
- ;;=This field will be updated by the Copay Exemption software every time
- ;;^DD(354,.05,23,3,0)
- ;;=a new current exemption is added. It should not be edited.
- ;;^DD(354,.05,23,4,0)
- ;;=
- ;;^DD(354,.05,23,5,0)
- ;;=Programmers must 4 slash stuff data into this field to bypass the input
- ;;^DD(354,.05,23,6,0)
- ;;=transform.
- ;;^DD(354,.05,"DT")
- ;;=2930210
- IBINI03O ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(354)
- 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(354,.04,21,10,0)
- +2 ;;=pension level, he is exempt.
- +3 ;;^DD(354,.04,23,0)
- +4 ;;=^^6^6^2930429^^^
- +5 ;;^DD(354,.04,23,1,0)
- +6 ;;=
- +7 ;;^DD(354,.04,23,2,0)
- +8 ;;=This field will be updated by the Copay Exemption software every time
- +9 ;;^DD(354,.04,23,3,0)
- +10 ;;=a new current exemption is added. It should not be edited.
- +11 ;;^DD(354,.04,23,4,0)
- +12 ;;=
- +13 ;;^DD(354,.04,23,5,0)
- +14 ;;=Programmers must 4 slash stuff data into this field to bypass the input
- +15 ;;^DD(354,.04,23,6,0)
- +16 ;;=transform.
- +17 ;;^DD(354,.04,"DT")
- +18 ;;=2930210
- +19 ;;^DD(354,.05,0)
- +20 ;;=COPAY EXEMPTION REASON^R*P354.2'^IBE(354.2,^0;5^S DIC("S")="I Y=$P(^IBA(354,DA,0),U,5)!($G(IBJOB)>10)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
- +21 ;;^DD(354,.05,1,0)
- +22 ;;=^.1
- +23 ;;^DD(354,.05,1,1,0)
- +24 ;;=354^AC
- +25 ;;^DD(354,.05,1,1,1)
- +26 ;;=S ^IBA(354,"AC",$E(X,1,30),DA)=""
- +27 ;;^DD(354,.05,1,1,2)
- +28 ;;=K ^IBA(354,"AC",$E(X,1,30),DA)
- +29 ;;^DD(354,.05,1,1,"DT")
- +30 ;;=2930120
- +31 ;;^DD(354,.05,9)
- +32 ;;=^
- +33 ;;^DD(354,.05,12)
- +34 ;;=This field can only be edited/updated by the Copay Exemption software.
- +35 ;;^DD(354,.05,12.1)
- +36 ;;=S DIC("S")="I Y=$P(^IBA(354,DA,0),U,5)!($G(IBJOB)>10)"
- +37 ;;^DD(354,.05,21,0)
- +38 ;;=^^4^4^2930429^^^^
- +39 ;;^DD(354,.05,21,1,0)
- +40 ;;=DO NOT EDIT THIS FIELD. It is maintained by the Copay Exemption Software.
- +41 ;;^DD(354,.05,21,2,0)
- +42 ;;=
- +43 ;;^DD(354,.05,21,3,0)
- +44 ;;=This is the exemption reason for the current copay exemption. It will
- +45 ;;^DD(354,.05,21,4,0)
- +46 ;;=be entered by the system.
- +47 ;;^DD(354,.05,23,0)
- +48 ;;=^^6^6^2930429^^^
- +49 ;;^DD(354,.05,23,1,0)
- +50 ;;=
- +51 ;;^DD(354,.05,23,2,0)
- +52 ;;=This field will be updated by the Copay Exemption software every time
- +53 ;;^DD(354,.05,23,3,0)
- +54 ;;=a new current exemption is added. It should not be edited.
- +55 ;;^DD(354,.05,23,4,0)
- +56 ;;=
- +57 ;;^DD(354,.05,23,5,0)
- +58 ;;=Programmers must 4 slash stuff data into this field to bypass the input
- +59 ;;^DD(354,.05,23,6,0)
- +60 ;;=transform.
- +61 ;;^DD(354,.05,"DT")
- +62 ;;=2930210