IBDEI3CH ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.5) 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.5,278,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,279,0)
;;=SSN^331^2
;;^UTILITY(U,$J,358.5,279,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,279,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,280,0)
;;=Age^331^3
;;^UTILITY(U,$J,358.5,280,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,280,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,280,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,281,0)
;;=HEADER^334
;;^UTILITY(U,$J,358.5,281,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,281,2,1,0)
;;=NATIONAL ACSC DIAGNOSES^^^0^0
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3CH 861 printed Dec 13, 2024@02:46:05 Page 2
IBDEI3CH ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.5)
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.5,278,2,1,0)
+2 ;;=Name:^^^1^1^1^7^30^1
+3 ;;^UTILITY(U,$J,358.5,279,0)
+4 ;;=SSN^331^2
+5 ;;^UTILITY(U,$J,358.5,279,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,279,2,1,0)
+8 ;;=SSN:^^^39^1^1^44^15^1
+9 ;;^UTILITY(U,$J,358.5,280,0)
+10 ;;=Age^331^3
+11 ;;^UTILITY(U,$J,358.5,280,2,0)
+12 ;;=^358.52^2^2
+13 ;;^UTILITY(U,$J,358.5,280,2,1,0)
+14 ;;=DOB:^^^60^1^1^65^12^1
+15 ;;^UTILITY(U,$J,358.5,280,2,2,0)
+16 ;;=Age:^^^78^1^1^83^3^2
+17 ;;^UTILITY(U,$J,358.5,281,0)
+18 ;;=HEADER^334
+19 ;;^UTILITY(U,$J,358.5,281,2,0)
+20 ;;=^358.52^1^1
+21 ;;^UTILITY(U,$J,358.5,281,2,1,0)
+22 ;;=NATIONAL ACSC DIAGNOSES^^^0^0