IBDEI0BX ; ; 01-AUG-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
Q:'DIFQR(358.98) 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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.98)
;;=^IBD(358.98,
;;^UTILITY(U,$J,358.98,0)
;;=IMP/EXP AICS DATA QUALIFIERS^358.98I^9^9
;;^UTILITY(U,$J,358.98,1,0)
;;=PRIMARY^P^P
;;^UTILITY(U,$J,358.98,2,0)
;;=SECONDARY^S^S
;;^UTILITY(U,$J,358.98,3,0)
;;=SERVICE CONNECTED^1^SC
;;^UTILITY(U,$J,358.98,4,0)
;;=AGENT ORANGE RELATED^1^AO
;;^UTILITY(U,$J,358.98,5,0)
;;=IONIZING RADIATION RELATED^1^IR
;;^UTILITY(U,$J,358.98,6,0)
;;=ENVIRONMENTAL CONTAMINANTS RELATED^1^EC
;;^UTILITY(U,$J,358.98,7,0)
;;=ADD TO PROBLEM LIST^1^ADD
;;^UTILITY(U,$J,358.98,8,0)
;;=ACTIVE^A^A
;;^UTILITY(U,$J,358.98,9,0)
;;=INACTIVE^I^I
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0BX 887 printed Dec 13, 2024@01:45:39 Page 2
IBDEI0BX ; ; 01-AUG-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;AUG 01, 2022
+2 if 'DIFQR(358.98)
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,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.98)
+2 ;;=^IBD(358.98,
+3 ;;^UTILITY(U,$J,358.98,0)
+4 ;;=IMP/EXP AICS DATA QUALIFIERS^358.98I^9^9
+5 ;;^UTILITY(U,$J,358.98,1,0)
+6 ;;=PRIMARY^P^P
+7 ;;^UTILITY(U,$J,358.98,2,0)
+8 ;;=SECONDARY^S^S
+9 ;;^UTILITY(U,$J,358.98,3,0)
+10 ;;=SERVICE CONNECTED^1^SC
+11 ;;^UTILITY(U,$J,358.98,4,0)
+12 ;;=AGENT ORANGE RELATED^1^AO
+13 ;;^UTILITY(U,$J,358.98,5,0)
+14 ;;=IONIZING RADIATION RELATED^1^IR
+15 ;;^UTILITY(U,$J,358.98,6,0)
+16 ;;=ENVIRONMENTAL CONTAMINANTS RELATED^1^EC
+17 ;;^UTILITY(U,$J,358.98,7,0)
+18 ;;=ADD TO PROBLEM LIST^1^ADD
+19 ;;^UTILITY(U,$J,358.98,8,0)
+20 ;;=ACTIVE^A^A
+21 ;;^UTILITY(U,$J,358.98,9,0)
+22 ;;=INACTIVE^I^I