IBINI0BV ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(399.4) 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,399.4)
;;=^DGCR(399.4,
;;^UTILITY(U,$J,399.4,0)
;;=MCCR INCONSISTENT DATA ELEMENTS^399.4^99^50
;;^UTILITY(U,$J,399.4,1,0)
;;=PROVIDER NAME,ADDRESS,PHONE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,3,0)
;;=PATIENT CONTROL NUMBER (SSN) UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,4,0)
;;=TYPE OF BILL UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,5,0)
;;=BC/BS PROVIDER NUMBER UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,6,0)
;;=FEDERAL TAX NUMBER (EIN) UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,10,0)
;;=PATIENT NAME UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,11,0)
;;=PATIENT ADDRESS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,12,0)
;;=PATIENT DATE OF BIRTH UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,13,0)
;;=PATIENT SEX UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,14,0)
;;=PATIENT MARITAL STATUS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,15,0)
;;=ADMISSION DATE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,16,0)
;;=ADMISSION HOUR UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,17,0)
;;=ADMISSION TYPE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,18,0)
;;=ADMISSION SOURCE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,19,0)
;;=ACCIDENT HOUR UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,20,0)
;;=DISCHARGE HOUR UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,21,0)
;;=PATIENT (DISCHARGE) STATUS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,22,0)
;;=STATEMENT COVERS PERIOD UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,28,0)
;;=OCCURRENCE CODE(S)/DATE(S) UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,33,0)
;;=OCCURRENCE SPAN CODE/DATES UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,34,0)
;;=RESPONSIBLE PARTY NAME/ADDRESS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,35,0)
;;=CONDITION CODE(S) UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,50,0)
;;=REVENUE DESCRIPTION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,51,0)
;;=REVENUE CODE(S) UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,52,0)
;;=UNITS OF SERVICE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,53,0)
;;=TOTAL CHARGES UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,57,0)
;;=PAYER IDENTIFICATION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,58,0)
;;=R.O.I. CERTIFICATION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,59,0)
;;=ASSIGNMENT OF BENEFITS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,65,0)
;;=INSURED'S NAME UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,66,0)
;;=INSURED'S SEX UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,67,0)
;;=PT. RELATIONSHIP TO INSURED UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,68,0)
;;=INSURANCE POLICY NUMBER UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,69,0)
;;=INSURANCE GROUP NAME UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,70,0)
;;=INSURANCE GROUP NUMBER UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,71,0)
;;=EMPLOYMENT INFORMATION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,72,0)
;;=EMPLOYMENT STATUS CODE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,73,0)
;;=EMPLOYER NAME UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,74,0)
;;=EMPLOYEE ID NUMBER UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,75,0)
;;=EMPLOYER LOCATION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,76,0)
;;=DIAGNOSIS DESCRIPTION UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,77,0)
;;=PRINCIPAL DIAGNOSIS CODE UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,78,0)
;;=OTHER DIAGNOSES CODES UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,82,0)
;;=PROCEDURE CODING METHOD UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,83,0)
;;=PROCEDURE DESCRIPTIONS UNSPECIFIED/INCORRECT
;;^UTILITY(U,$J,399.4,84,0)
;;=PRINCIPAL PROCEDURE CODE/DATE UNSPECIFIED/INCORRECT
IBINI0BV ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(399.4)
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,399.4)
+2 ;;=^DGCR(399.4,
+3 ;;^UTILITY(U,$J,399.4,0)
+4 ;;=MCCR INCONSISTENT DATA ELEMENTS^399.4^99^50
+5 ;;^UTILITY(U,$J,399.4,1,0)
+6 ;;=PROVIDER NAME,ADDRESS,PHONE UNSPECIFIED/INCORRECT
+7 ;;^UTILITY(U,$J,399.4,3,0)
+8 ;;=PATIENT CONTROL NUMBER (SSN) UNSPECIFIED/INCORRECT
+9 ;;^UTILITY(U,$J,399.4,4,0)
+10 ;;=TYPE OF BILL UNSPECIFIED/INCORRECT
+11 ;;^UTILITY(U,$J,399.4,5,0)
+12 ;;=BC/BS PROVIDER NUMBER UNSPECIFIED/INCORRECT
+13 ;;^UTILITY(U,$J,399.4,6,0)
+14 ;;=FEDERAL TAX NUMBER (EIN) UNSPECIFIED/INCORRECT
+15 ;;^UTILITY(U,$J,399.4,10,0)
+16 ;;=PATIENT NAME UNSPECIFIED/INCORRECT
+17 ;;^UTILITY(U,$J,399.4,11,0)
+18 ;;=PATIENT ADDRESS UNSPECIFIED/INCORRECT
+19 ;;^UTILITY(U,$J,399.4,12,0)
+20 ;;=PATIENT DATE OF BIRTH UNSPECIFIED/INCORRECT
+21 ;;^UTILITY(U,$J,399.4,13,0)
+22 ;;=PATIENT SEX UNSPECIFIED/INCORRECT
+23 ;;^UTILITY(U,$J,399.4,14,0)
+24 ;;=PATIENT MARITAL STATUS UNSPECIFIED/INCORRECT
+25 ;;^UTILITY(U,$J,399.4,15,0)
+26 ;;=ADMISSION DATE UNSPECIFIED/INCORRECT
+27 ;;^UTILITY(U,$J,399.4,16,0)
+28 ;;=ADMISSION HOUR UNSPECIFIED/INCORRECT
+29 ;;^UTILITY(U,$J,399.4,17,0)
+30 ;;=ADMISSION TYPE UNSPECIFIED/INCORRECT
+31 ;;^UTILITY(U,$J,399.4,18,0)
+32 ;;=ADMISSION SOURCE UNSPECIFIED/INCORRECT
+33 ;;^UTILITY(U,$J,399.4,19,0)
+34 ;;=ACCIDENT HOUR UNSPECIFIED/INCORRECT
+35 ;;^UTILITY(U,$J,399.4,20,0)
+36 ;;=DISCHARGE HOUR UNSPECIFIED/INCORRECT
+37 ;;^UTILITY(U,$J,399.4,21,0)
+38 ;;=PATIENT (DISCHARGE) STATUS UNSPECIFIED/INCORRECT
+39 ;;^UTILITY(U,$J,399.4,22,0)
+40 ;;=STATEMENT COVERS PERIOD UNSPECIFIED/INCORRECT
+41 ;;^UTILITY(U,$J,399.4,28,0)
+42 ;;=OCCURRENCE CODE(S)/DATE(S) UNSPECIFIED/INCORRECT
+43 ;;^UTILITY(U,$J,399.4,33,0)
+44 ;;=OCCURRENCE SPAN CODE/DATES UNSPECIFIED/INCORRECT
+45 ;;^UTILITY(U,$J,399.4,34,0)
+46 ;;=RESPONSIBLE PARTY NAME/ADDRESS UNSPECIFIED/INCORRECT
+47 ;;^UTILITY(U,$J,399.4,35,0)
+48 ;;=CONDITION CODE(S) UNSPECIFIED/INCORRECT
+49 ;;^UTILITY(U,$J,399.4,50,0)
+50 ;;=REVENUE DESCRIPTION UNSPECIFIED/INCORRECT
+51 ;;^UTILITY(U,$J,399.4,51,0)
+52 ;;=REVENUE CODE(S) UNSPECIFIED/INCORRECT
+53 ;;^UTILITY(U,$J,399.4,52,0)
+54 ;;=UNITS OF SERVICE UNSPECIFIED/INCORRECT
+55 ;;^UTILITY(U,$J,399.4,53,0)
+56 ;;=TOTAL CHARGES UNSPECIFIED/INCORRECT
+57 ;;^UTILITY(U,$J,399.4,57,0)
+58 ;;=PAYER IDENTIFICATION UNSPECIFIED/INCORRECT
+59 ;;^UTILITY(U,$J,399.4,58,0)
+60 ;;=R.O.I. CERTIFICATION UNSPECIFIED/INCORRECT
+61 ;;^UTILITY(U,$J,399.4,59,0)
+62 ;;=ASSIGNMENT OF BENEFITS UNSPECIFIED/INCORRECT
+63 ;;^UTILITY(U,$J,399.4,65,0)
+64 ;;=INSURED'S NAME UNSPECIFIED/INCORRECT
+65 ;;^UTILITY(U,$J,399.4,66,0)
+66 ;;=INSURED'S SEX UNSPECIFIED/INCORRECT
+67 ;;^UTILITY(U,$J,399.4,67,0)
+68 ;;=PT. RELATIONSHIP TO INSURED UNSPECIFIED/INCORRECT
+69 ;;^UTILITY(U,$J,399.4,68,0)
+70 ;;=INSURANCE POLICY NUMBER UNSPECIFIED/INCORRECT
+71 ;;^UTILITY(U,$J,399.4,69,0)
+72 ;;=INSURANCE GROUP NAME UNSPECIFIED/INCORRECT
+73 ;;^UTILITY(U,$J,399.4,70,0)
+74 ;;=INSURANCE GROUP NUMBER UNSPECIFIED/INCORRECT
+75 ;;^UTILITY(U,$J,399.4,71,0)
+76 ;;=EMPLOYMENT INFORMATION UNSPECIFIED/INCORRECT
+77 ;;^UTILITY(U,$J,399.4,72,0)
+78 ;;=EMPLOYMENT STATUS CODE UNSPECIFIED/INCORRECT
+79 ;;^UTILITY(U,$J,399.4,73,0)
+80 ;;=EMPLOYER NAME UNSPECIFIED/INCORRECT
+81 ;;^UTILITY(U,$J,399.4,74,0)
+82 ;;=EMPLOYEE ID NUMBER UNSPECIFIED/INCORRECT
+83 ;;^UTILITY(U,$J,399.4,75,0)
+84 ;;=EMPLOYER LOCATION UNSPECIFIED/INCORRECT
+85 ;;^UTILITY(U,$J,399.4,76,0)
+86 ;;=DIAGNOSIS DESCRIPTION UNSPECIFIED/INCORRECT
+87 ;;^UTILITY(U,$J,399.4,77,0)
+88 ;;=PRINCIPAL DIAGNOSIS CODE UNSPECIFIED/INCORRECT
+89 ;;^UTILITY(U,$J,399.4,78,0)
+90 ;;=OTHER DIAGNOSES CODES UNSPECIFIED/INCORRECT
+91 ;;^UTILITY(U,$J,399.4,82,0)
+92 ;;=PROCEDURE CODING METHOD UNSPECIFIED/INCORRECT
+93 ;;^UTILITY(U,$J,399.4,83,0)
+94 ;;=PROCEDURE DESCRIPTIONS UNSPECIFIED/INCORRECT
+95 ;;^UTILITY(U,$J,399.4,84,0)
+96 ;;=PRINCIPAL PROCEDURE CODE/DATE UNSPECIFIED/INCORRECT