IBINI03S ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(354.1) 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.1,.03,21,2,0)
;;=exemption will have its own record.
;;^DD(354.1,.03,23,0)
;;=^^2^2^2930429^^^^
;;^DD(354.1,.03,23,1,0)
;;=Currently there is only one type of record. Pharmacy Copay Exemptions
;;^DD(354.1,.03,23,2,0)
;;=based on income.
;;^DD(354.1,.03,"DT")
;;=2930204
;;^DD(354.1,.04,0)
;;=STATUS^RSI^1:EXEMPT;0:NON-EXEMPT;^0;4^Q
;;^DD(354.1,.04,.1)
;;=EXEMPTION STATUS
;;^DD(354.1,.04,1,0)
;;=^.1
;;^DD(354.1,.04,1,1,0)
;;=354.1^AS
;;^DD(354.1,.04,1,1,1)
;;=S ^IBA(354.1,"AS",$E(X,1,30),DA)=""
;;^DD(354.1,.04,1,1,2)
;;=K ^IBA(354.1,"AS",$E(X,1,30),DA)
;;^DD(354.1,.04,1,1,"%D",0)
;;=^^1^1^2921110^
;;^DD(354.1,.04,1,1,"%D",1,0)
;;=Cross-reference of Status.
;;^DD(354.1,.04,1,1,"DT")
;;=2921110
;;^DD(354.1,.04,21,0)
;;=^^3^3^2921209^^
;;^DD(354.1,.04,21,1,0)
;;=This is the Exemption Status of this record. Enter whether the
;;^DD(354.1,.04,21,2,0)
;;=patient is exempt or not exempt from the TYPE of billing of this
;;^DD(354.1,.04,21,3,0)
;;=record. Generally this data element will be entered by the system.
;;^DD(354.1,.04,"DT")
;;=2930204
;;^DD(354.1,.05,0)
;;=EXEMPTION REASON^RP354.2'I^IBE(354.2,^0;5^Q
;;^DD(354.1,.05,1,0)
;;=^.1
;;^DD(354.1,.05,1,1,0)
;;=354.1^AR
;;^DD(354.1,.05,1,1,1)
;;=S ^IBA(354.1,"AR",$E(X,1,30),DA)=""
;;^DD(354.1,.05,1,1,2)
;;=K ^IBA(354.1,"AR",$E(X,1,30),DA)
;;^DD(354.1,.05,1,1,"%D",0)
;;=^^1^1^2921110^
;;^DD(354.1,.05,1,1,"%D",1,0)
;;=Cross-reference of Exemption Reasons.
;;^DD(354.1,.05,1,1,"DT")
;;=2921110
;;^DD(354.1,.05,21,0)
;;=^^6^6^2930429^^^
;;^DD(354.1,.05,21,1,0)
;;=Enter the reason that the patient is exempt or not exempt from this type
;;^DD(354.1,.05,21,2,0)
;;=of billing. Entry of this field will automatically update the STATUS
;;^DD(354.1,.05,21,3,0)
;;=of this exemption record to the STATUS of the Exemption Reason.
;;^DD(354.1,.05,21,4,0)
;;=For exmple, an exemption reason of "In Receipt of Pension" will
;;^DD(354.1,.05,21,5,0)
;;=automatically trigger a STATUS of Exempt for the Pharmacy Copay
;;^DD(354.1,.05,21,6,0)
;;=Income Exemption.
;;^DD(354.1,.05,"DT")
;;=2930204
;;^DD(354.1,.06,0)
;;=HOW ADDED^S^1:SYSTEM;2:MANUAL;^0;6^Q
;;^DD(354.1,.06,21,0)
;;=^^4^4^2930429^^^^
;;^DD(354.1,.06,21,1,0)
;;=This field indicates whether this record was automatically added
;;^DD(354.1,.06,21,2,0)
;;=by the system or manually entered by a user.
;;^DD(354.1,.06,21,3,0)
;;=
;;^DD(354.1,.06,21,4,0)
;;=This field will always be entered by the system.
;;^DD(354.1,.06,23,0)
;;=^^5^5^2930429^^
;;^DD(354.1,.06,23,1,0)
;;=This field is updated to manual whenever a user creates an entry that
;;^DD(354.1,.06,23,2,0)
;;=does not appear to be consistent with the data returned from MAS or
;;^DD(354.1,.06,23,3,0)
;;=when adding a hardship exemption. Whenever this field is set to
;;^DD(354.1,.06,23,4,0)
;;=manual an electronic signature should be required and a bulletin or
;;^DD(354.1,.06,23,5,0)
;;=alert sent to an appropriate group.
;;^DD(354.1,.06,"DT")
;;=2921209
;;^DD(354.1,.07,0)
;;=USER ADDING ENTRY^P200'I^VA(200,^0;7^Q
;;^DD(354.1,.07,21,0)
;;=^^8^8^2930430^^^^
;;^DD(354.1,.07,21,1,0)
;;=This is the user who was responsible for adding this entry. If the
;;^DD(354.1,.07,21,2,0)
;;=entry was SYSTEM added then the user would be the signed
;;^DD(354.1,.07,21,3,0)
;;=on user when the exemption was created. This may be a user who
;;^DD(354.1,.07,21,4,0)
;;=edited the patient record or who entered a prescription or a
;;^DD(354.1,.07,21,5,0)
;;=user who corrected an exemption. All changes except Hardship
IBINI03S ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(354.1)
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.1,.03,21,2,0)
+2 ;;=exemption will have its own record.
+3 ;;^DD(354.1,.03,23,0)
+4 ;;=^^2^2^2930429^^^^
+5 ;;^DD(354.1,.03,23,1,0)
+6 ;;=Currently there is only one type of record. Pharmacy Copay Exemptions
+7 ;;^DD(354.1,.03,23,2,0)
+8 ;;=based on income.
+9 ;;^DD(354.1,.03,"DT")
+10 ;;=2930204
+11 ;;^DD(354.1,.04,0)
+12 ;;=STATUS^RSI^1:EXEMPT;0:NON-EXEMPT;^0;4^Q
+13 ;;^DD(354.1,.04,.1)
+14 ;;=EXEMPTION STATUS
+15 ;;^DD(354.1,.04,1,0)
+16 ;;=^.1
+17 ;;^DD(354.1,.04,1,1,0)
+18 ;;=354.1^AS
+19 ;;^DD(354.1,.04,1,1,1)
+20 ;;=S ^IBA(354.1,"AS",$E(X,1,30),DA)=""
+21 ;;^DD(354.1,.04,1,1,2)
+22 ;;=K ^IBA(354.1,"AS",$E(X,1,30),DA)
+23 ;;^DD(354.1,.04,1,1,"%D",0)
+24 ;;=^^1^1^2921110^
+25 ;;^DD(354.1,.04,1,1,"%D",1,0)
+26 ;;=Cross-reference of Status.
+27 ;;^DD(354.1,.04,1,1,"DT")
+28 ;;=2921110
+29 ;;^DD(354.1,.04,21,0)
+30 ;;=^^3^3^2921209^^
+31 ;;^DD(354.1,.04,21,1,0)
+32 ;;=This is the Exemption Status of this record. Enter whether the
+33 ;;^DD(354.1,.04,21,2,0)
+34 ;;=patient is exempt or not exempt from the TYPE of billing of this
+35 ;;^DD(354.1,.04,21,3,0)
+36 ;;=record. Generally this data element will be entered by the system.
+37 ;;^DD(354.1,.04,"DT")
+38 ;;=2930204
+39 ;;^DD(354.1,.05,0)
+40 ;;=EXEMPTION REASON^RP354.2'I^IBE(354.2,^0;5^Q
+41 ;;^DD(354.1,.05,1,0)
+42 ;;=^.1
+43 ;;^DD(354.1,.05,1,1,0)
+44 ;;=354.1^AR
+45 ;;^DD(354.1,.05,1,1,1)
+46 ;;=S ^IBA(354.1,"AR",$E(X,1,30),DA)=""
+47 ;;^DD(354.1,.05,1,1,2)
+48 ;;=K ^IBA(354.1,"AR",$E(X,1,30),DA)
+49 ;;^DD(354.1,.05,1,1,"%D",0)
+50 ;;=^^1^1^2921110^
+51 ;;^DD(354.1,.05,1,1,"%D",1,0)
+52 ;;=Cross-reference of Exemption Reasons.
+53 ;;^DD(354.1,.05,1,1,"DT")
+54 ;;=2921110
+55 ;;^DD(354.1,.05,21,0)
+56 ;;=^^6^6^2930429^^^
+57 ;;^DD(354.1,.05,21,1,0)
+58 ;;=Enter the reason that the patient is exempt or not exempt from this type
+59 ;;^DD(354.1,.05,21,2,0)
+60 ;;=of billing. Entry of this field will automatically update the STATUS
+61 ;;^DD(354.1,.05,21,3,0)
+62 ;;=of this exemption record to the STATUS of the Exemption Reason.
+63 ;;^DD(354.1,.05,21,4,0)
+64 ;;=For exmple, an exemption reason of "In Receipt of Pension" will
+65 ;;^DD(354.1,.05,21,5,0)
+66 ;;=automatically trigger a STATUS of Exempt for the Pharmacy Copay
+67 ;;^DD(354.1,.05,21,6,0)
+68 ;;=Income Exemption.
+69 ;;^DD(354.1,.05,"DT")
+70 ;;=2930204
+71 ;;^DD(354.1,.06,0)
+72 ;;=HOW ADDED^S^1:SYSTEM;2:MANUAL;^0;6^Q
+73 ;;^DD(354.1,.06,21,0)
+74 ;;=^^4^4^2930429^^^^
+75 ;;^DD(354.1,.06,21,1,0)
+76 ;;=This field indicates whether this record was automatically added
+77 ;;^DD(354.1,.06,21,2,0)
+78 ;;=by the system or manually entered by a user.
+79 ;;^DD(354.1,.06,21,3,0)
+80 ;;=
+81 ;;^DD(354.1,.06,21,4,0)
+82 ;;=This field will always be entered by the system.
+83 ;;^DD(354.1,.06,23,0)
+84 ;;=^^5^5^2930429^^
+85 ;;^DD(354.1,.06,23,1,0)
+86 ;;=This field is updated to manual whenever a user creates an entry that
+87 ;;^DD(354.1,.06,23,2,0)
+88 ;;=does not appear to be consistent with the data returned from MAS or
+89 ;;^DD(354.1,.06,23,3,0)
+90 ;;=when adding a hardship exemption. Whenever this field is set to
+91 ;;^DD(354.1,.06,23,4,0)
+92 ;;=manual an electronic signature should be required and a bulletin or
+93 ;;^DD(354.1,.06,23,5,0)
+94 ;;=alert sent to an appropriate group.
+95 ;;^DD(354.1,.06,"DT")
+96 ;;=2921209
+97 ;;^DD(354.1,.07,0)
+98 ;;=USER ADDING ENTRY^P200'I^VA(200,^0;7^Q
+99 ;;^DD(354.1,.07,21,0)
+100 ;;=^^8^8^2930430^^^^
+101 ;;^DD(354.1,.07,21,1,0)
+102 ;;=This is the user who was responsible for adding this entry. If the
+103 ;;^DD(354.1,.07,21,2,0)
+104 ;;=entry was SYSTEM added then the user would be the signed
+105 ;;^DD(354.1,.07,21,3,0)
+106 ;;=on user when the exemption was created. This may be a user who
+107 ;;^DD(354.1,.07,21,4,0)
+108 ;;=edited the patient record or who entered a prescription or a
+109 ;;^DD(354.1,.07,21,5,0)
+110 ;;=user who corrected an exemption. All changes except Hardship