IBDEI003 ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(358) 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,358)
;;=^IBE(358,
;;^UTILITY(U,$J,358,0)
;;=IMP/EXP ENCOUNTER FORM^358I^7^6
;;^UTILITY(U,$J,358,1,0)
;;=BUFFALO'S GENERAL MEDICINE^^SOAP, orders, insurance information (NO allergy info)^1^0^^1^^132^80^1
;;^UTILITY(U,$J,358,2,0)
;;=BUFFALO'S OUTPATIENT SURGERY^^doctors notes, CPT codes, insurance information (NO allergy info)^1^0^^1^^132^80^2
;;^UTILITY(U,$J,358,3,0)
;;=W/DX,CPT,NOTES,VISIT TYPE^^Dx codes, CPT codes, progress notes (unstructured),allergies, visit type^1^0^^1^^132^80^1
;;^UTILITY(U,$J,358,5,0)
;;=W/DX,CPT,VISIT TYPE^^Dx codes, CPT codes, allergies, type of visit^1^0^^1^^132^80^1
;;^UTILITY(U,$J,358,6,0)
;;=W/PROBLEMS,CPT,VISIT TYPE^^Problems List, CPT codes, allergies, type of visit^1^0^^1^^132^80^1
;;^UTILITY(U,$J,358,7,0)
;;=W/DX,CPT,SOAP^^Dx codes, CPT codes, SOAP, allergies, full demographics^1^0^^1^^132^80^1
IBDEI003 ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358)
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,358)
+2 ;;=^IBE(358,
+3 ;;^UTILITY(U,$J,358,0)
+4 ;;=IMP/EXP ENCOUNTER FORM^358I^7^6
+5 ;;^UTILITY(U,$J,358,1,0)
+6 ;;=BUFFALO'S GENERAL MEDICINE^^SOAP, orders, insurance information (NO allergy info)^1^0^^1^^132^80^1
+7 ;;^UTILITY(U,$J,358,2,0)
+8 ;;=BUFFALO'S OUTPATIENT SURGERY^^doctors notes, CPT codes, insurance information (NO allergy info)^1^0^^1^^132^80^2
+9 ;;^UTILITY(U,$J,358,3,0)
+10 ;;=W/DX,CPT,NOTES,VISIT TYPE^^Dx codes, CPT codes, progress notes (unstructured),allergies, visit type^1^0^^1^^132^80^1
+11 ;;^UTILITY(U,$J,358,5,0)
+12 ;;=W/DX,CPT,VISIT TYPE^^Dx codes, CPT codes, allergies, type of visit^1^0^^1^^132^80^1
+13 ;;^UTILITY(U,$J,358,6,0)
+14 ;;=W/PROBLEMS,CPT,VISIT TYPE^^Problems List, CPT codes, allergies, type of visit^1^0^^1^^132^80^1
+15 ;;^UTILITY(U,$J,358,7,0)
+16 ;;=W/DX,CPT,SOAP^^Dx codes, CPT codes, SOAP, allergies, full demographics^1^0^^1^^132^80^1