IBINI03L ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(353.2) 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
;;^UTILITY(U,$J,353.2)
;;=^IBE(353.2,
;;^UTILITY(U,$J,353.2,0)
;;=TYPE OF SERVICE^353.2I^21^21
;;^UTILITY(U,$J,353.2,1,0)
;;=1^MEDICAL CARE^MEDICAL CARE
;;^UTILITY(U,$J,353.2,2,0)
;;=2^SURGERY^SURGERY
;;^UTILITY(U,$J,353.2,3,0)
;;=3^CONSULTATION^CONSULTATION
;;^UTILITY(U,$J,353.2,4,0)
;;=4^DIAGNOSTIC X-RAY^DIAGNOSTIC X-RAY
;;^UTILITY(U,$J,353.2,5,0)
;;=5^DIAGNOSTIC LABORATORY^DIAGNOSTIC LAB
;;^UTILITY(U,$J,353.2,6,0)
;;=6^RADIATION THERAPY^RADIATION THERAPY
;;^UTILITY(U,$J,353.2,7,0)
;;=7^ANESTHESIA^ANESTHESIA
;;^UTILITY(U,$J,353.2,8,0)
;;=8^ASSISTANCE AT SURGERY^SURGERY ASSISTANCE
;;^UTILITY(U,$J,353.2,9,0)
;;=9^OTHER MEDICAL SERVICE^OTHER MED SERVICE
;;^UTILITY(U,$J,353.2,10,0)
;;=0^BLOOD OR PACKED RED CELLS^BLD/PACKED RED CELLS
;;^UTILITY(U,$J,353.2,11,0)
;;=A^USED DME^USED DME
;;^UTILITY(U,$J,353.2,12,0)
;;=B^AMBULATORY SURGICAL CENTER^AMB. SURG. CENTER
;;^UTILITY(U,$J,353.2,13,0)
;;=H^HOSPICE^HOSPICE
;;^UTILITY(U,$J,353.2,14,0)
;;=L^RENTAL SUPPLIES IN THE HOME^RENTAL SUPPLIES/HOME
;;^UTILITY(U,$J,353.2,15,0)
;;=M^ALTERNATE PAYMENT FOR MAINTENANCE DIALYSIS^ALT PMT/MNT DIALYSIS
;;^UTILITY(U,$J,353.2,16,0)
;;=N^KIDNEY DONOR^KIDNEY DONOR
;;^UTILITY(U,$J,353.2,17,0)
;;=V^PNEUMOCOCCAL VACCINE^PNEUMOCOCCAL VACCINE
;;^UTILITY(U,$J,353.2,18,0)
;;=Y^SECOND OPINION ON ELECTIVE SURGERY^2ND OPIN/ELECT SURG
;;^UTILITY(U,$J,353.2,19,0)
;;=Z^THIRD OPINION ON ELECTIVE SURGERY^3RD OPIN/ELECT SURG
;;^UTILITY(U,$J,353.2,20,0)
;;=43^DIAGNOSTIC X-RAY/PROFESSIONAL COMPONENT^DIAG XRAY/PROF CMNT
;;^UTILITY(U,$J,353.2,21,0)
;;=53^DIAGNOSTIC LAB/PROFESSIONAL COMPONENT^DIAG LAB/PROF CMNT
IBINI03L ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(353.2)
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 ;;^UTILITY(U,$J,353.2)
+2 ;;=^IBE(353.2,
+3 ;;^UTILITY(U,$J,353.2,0)
+4 ;;=TYPE OF SERVICE^353.2I^21^21
+5 ;;^UTILITY(U,$J,353.2,1,0)
+6 ;;=1^MEDICAL CARE^MEDICAL CARE
+7 ;;^UTILITY(U,$J,353.2,2,0)
+8 ;;=2^SURGERY^SURGERY
+9 ;;^UTILITY(U,$J,353.2,3,0)
+10 ;;=3^CONSULTATION^CONSULTATION
+11 ;;^UTILITY(U,$J,353.2,4,0)
+12 ;;=4^DIAGNOSTIC X-RAY^DIAGNOSTIC X-RAY
+13 ;;^UTILITY(U,$J,353.2,5,0)
+14 ;;=5^DIAGNOSTIC LABORATORY^DIAGNOSTIC LAB
+15 ;;^UTILITY(U,$J,353.2,6,0)
+16 ;;=6^RADIATION THERAPY^RADIATION THERAPY
+17 ;;^UTILITY(U,$J,353.2,7,0)
+18 ;;=7^ANESTHESIA^ANESTHESIA
+19 ;;^UTILITY(U,$J,353.2,8,0)
+20 ;;=8^ASSISTANCE AT SURGERY^SURGERY ASSISTANCE
+21 ;;^UTILITY(U,$J,353.2,9,0)
+22 ;;=9^OTHER MEDICAL SERVICE^OTHER MED SERVICE
+23 ;;^UTILITY(U,$J,353.2,10,0)
+24 ;;=0^BLOOD OR PACKED RED CELLS^BLD/PACKED RED CELLS
+25 ;;^UTILITY(U,$J,353.2,11,0)
+26 ;;=A^USED DME^USED DME
+27 ;;^UTILITY(U,$J,353.2,12,0)
+28 ;;=B^AMBULATORY SURGICAL CENTER^AMB. SURG. CENTER
+29 ;;^UTILITY(U,$J,353.2,13,0)
+30 ;;=H^HOSPICE^HOSPICE
+31 ;;^UTILITY(U,$J,353.2,14,0)
+32 ;;=L^RENTAL SUPPLIES IN THE HOME^RENTAL SUPPLIES/HOME
+33 ;;^UTILITY(U,$J,353.2,15,0)
+34 ;;=M^ALTERNATE PAYMENT FOR MAINTENANCE DIALYSIS^ALT PMT/MNT DIALYSIS
+35 ;;^UTILITY(U,$J,353.2,16,0)
+36 ;;=N^KIDNEY DONOR^KIDNEY DONOR
+37 ;;^UTILITY(U,$J,353.2,17,0)
+38 ;;=V^PNEUMOCOCCAL VACCINE^PNEUMOCOCCAL VACCINE
+39 ;;^UTILITY(U,$J,353.2,18,0)
+40 ;;=Y^SECOND OPINION ON ELECTIVE SURGERY^2ND OPIN/ELECT SURG
+41 ;;^UTILITY(U,$J,353.2,19,0)
+42 ;;=Z^THIRD OPINION ON ELECTIVE SURGERY^3RD OPIN/ELECT SURG
+43 ;;^UTILITY(U,$J,353.2,20,0)
+44 ;;=43^DIAGNOSTIC X-RAY/PROFESSIONAL COMPONENT^DIAG XRAY/PROF CMNT
+45 ;;^UTILITY(U,$J,353.2,21,0)
+46 ;;=53^DIAGNOSTIC LAB/PROFESSIONAL COMPONENT^DIAG LAB/PROF CMNT