IBDEI1KN ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.3) 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.3,25482,0)
;;=Z56.82^^92^1159^4
;;^UTILITY(U,$J,358.3,25482,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25482,1,3,0)
;;=3^Military Deployment Status,Current
;;^UTILITY(U,$J,358.3,25482,1,4,0)
;;=4^Z56.82
;;^UTILITY(U,$J,358.3,25482,2)
;;=^5063115
;;^UTILITY(U,$J,358.3,25483,0)
;;=Z62.811^^92^1159^12
;;^UTILITY(U,$J,358.3,25483,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25483,1,3,0)
;;=3^Personal Hx of Childhood Psychological Abuse
;;^UTILITY(U,$J,358.3,25483,1,4,0)
;;=4^Z62.811
;;^UTILITY(U,$J,358.3,25483,2)
;;=^5063154
;;^UTILITY(U,$J,358.3,25484,0)
;;=Z62.812^^92^1159^10
;;^UTILITY(U,$J,358.3,25484,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25484,1,3,0)
;;=3^Personal Hx of Childhood Neglect
;;^UTILITY(U,$J,358.3,25484,1,4,0)
;;=4^Z62.812
;;^UTILITY(U,$J,358.3,25484,2)
;;=^5063155
;;^UTILITY(U,$J,358.3,25485,0)
;;=Z62.810^^92^1159^11
;;^UTILITY(U,$J,358.3,25485,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25485,1,3,0)
;;=3^Personal Hx of Childhood Phys/Sexual Abuse
;;^UTILITY(U,$J,358.3,25485,1,4,0)
;;=4^Z62.810
;;^UTILITY(U,$J,358.3,25485,2)
;;=^5063153
;;^UTILITY(U,$J,358.3,25486,0)
;;=Z91.83^^92^1159^23
;;^UTILITY(U,$J,358.3,25486,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25486,1,3,0)
;;=3^Wandering Associated w/ a Mental Disorder
;;^UTILITY(U,$J,358.3,25486,1,4,0)
;;=4^Z91.83
;;^UTILITY(U,$J,358.3,25486,2)
;;=^5063627
;;^UTILITY(U,$J,358.3,25487,0)
;;=Z91.412^^92^1159^7
;;^UTILITY(U,$J,358.3,25487,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25487,1,3,0)
;;=3^Personal Hx of Adult Neglect
;;^UTILITY(U,$J,358.3,25487,1,4,0)
;;=4^Z91.412
;;^UTILITY(U,$J,358.3,25487,2)
;;=^5063621
;;^UTILITY(U,$J,358.3,25488,0)
;;=Z91.411^^92^1159^9
;;^UTILITY(U,$J,358.3,25488,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25488,1,3,0)
;;=3^Personal Hx of Adult Psych Abuse
;;^UTILITY(U,$J,358.3,25488,1,4,0)
;;=4^Z91.411
;;^UTILITY(U,$J,358.3,25488,2)
;;=^5063620
;;^UTILITY(U,$J,358.3,25489,0)
;;=Z91.410^^92^1159^8
;;^UTILITY(U,$J,358.3,25489,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25489,1,3,0)
;;=3^Personal Hx of Adult Phys/Sexual Abuse
;;^UTILITY(U,$J,358.3,25489,1,4,0)
;;=4^Z91.410
;;^UTILITY(U,$J,358.3,25489,2)
;;=^5063619
;;^UTILITY(U,$J,358.3,25490,0)
;;=Z75.3^^92^1159^21
;;^UTILITY(U,$J,358.3,25490,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25490,1,3,0)
;;=3^Unavailable/Inaccessible to Health Care Facilities
;;^UTILITY(U,$J,358.3,25490,1,4,0)
;;=4^Z75.3
;;^UTILITY(U,$J,358.3,25490,2)
;;=^5063292
;;^UTILITY(U,$J,358.3,25491,0)
;;=Z75.4^^92^1159^22
;;^UTILITY(U,$J,358.3,25491,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25491,1,3,0)
;;=3^Unavailable/Inaccessible to Other Helping Agencies
;;^UTILITY(U,$J,358.3,25491,1,4,0)
;;=4^Z75.4
;;^UTILITY(U,$J,358.3,25491,2)
;;=^5063293
;;^UTILITY(U,$J,358.3,25492,0)
;;=Z62.813^^92^1159^13
;;^UTILITY(U,$J,358.3,25492,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25492,1,3,0)
;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
;;^UTILITY(U,$J,358.3,25492,1,4,0)
;;=4^Z62.813
;;^UTILITY(U,$J,358.3,25492,2)
;;=^5157627
;;^UTILITY(U,$J,358.3,25493,0)
;;=Z91.42^^92^1159^14
;;^UTILITY(U,$J,358.3,25493,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25493,1,3,0)
;;=3^Personal Hx of Forced Labor/Sexual Exploitation
;;^UTILITY(U,$J,358.3,25493,1,4,0)
;;=4^Z91.42
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1KN 3761 printed Dec 13, 2024@02:10:34 Page 2
IBDEI1KN ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.3)
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.3,25482,0)
+2 ;;=Z56.82^^92^1159^4
+3 ;;^UTILITY(U,$J,358.3,25482,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,25482,1,3,0)
+6 ;;=3^Military Deployment Status,Current
+7 ;;^UTILITY(U,$J,358.3,25482,1,4,0)
+8 ;;=4^Z56.82
+9 ;;^UTILITY(U,$J,358.3,25482,2)
+10 ;;=^5063115
+11 ;;^UTILITY(U,$J,358.3,25483,0)
+12 ;;=Z62.811^^92^1159^12
+13 ;;^UTILITY(U,$J,358.3,25483,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,25483,1,3,0)
+16 ;;=3^Personal Hx of Childhood Psychological Abuse
+17 ;;^UTILITY(U,$J,358.3,25483,1,4,0)
+18 ;;=4^Z62.811
+19 ;;^UTILITY(U,$J,358.3,25483,2)
+20 ;;=^5063154
+21 ;;^UTILITY(U,$J,358.3,25484,0)
+22 ;;=Z62.812^^92^1159^10
+23 ;;^UTILITY(U,$J,358.3,25484,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,25484,1,3,0)
+26 ;;=3^Personal Hx of Childhood Neglect
+27 ;;^UTILITY(U,$J,358.3,25484,1,4,0)
+28 ;;=4^Z62.812
+29 ;;^UTILITY(U,$J,358.3,25484,2)
+30 ;;=^5063155
+31 ;;^UTILITY(U,$J,358.3,25485,0)
+32 ;;=Z62.810^^92^1159^11
+33 ;;^UTILITY(U,$J,358.3,25485,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,25485,1,3,0)
+36 ;;=3^Personal Hx of Childhood Phys/Sexual Abuse
+37 ;;^UTILITY(U,$J,358.3,25485,1,4,0)
+38 ;;=4^Z62.810
+39 ;;^UTILITY(U,$J,358.3,25485,2)
+40 ;;=^5063153
+41 ;;^UTILITY(U,$J,358.3,25486,0)
+42 ;;=Z91.83^^92^1159^23
+43 ;;^UTILITY(U,$J,358.3,25486,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,25486,1,3,0)
+46 ;;=3^Wandering Associated w/ a Mental Disorder
+47 ;;^UTILITY(U,$J,358.3,25486,1,4,0)
+48 ;;=4^Z91.83
+49 ;;^UTILITY(U,$J,358.3,25486,2)
+50 ;;=^5063627
+51 ;;^UTILITY(U,$J,358.3,25487,0)
+52 ;;=Z91.412^^92^1159^7
+53 ;;^UTILITY(U,$J,358.3,25487,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,25487,1,3,0)
+56 ;;=3^Personal Hx of Adult Neglect
+57 ;;^UTILITY(U,$J,358.3,25487,1,4,0)
+58 ;;=4^Z91.412
+59 ;;^UTILITY(U,$J,358.3,25487,2)
+60 ;;=^5063621
+61 ;;^UTILITY(U,$J,358.3,25488,0)
+62 ;;=Z91.411^^92^1159^9
+63 ;;^UTILITY(U,$J,358.3,25488,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,25488,1,3,0)
+66 ;;=3^Personal Hx of Adult Psych Abuse
+67 ;;^UTILITY(U,$J,358.3,25488,1,4,0)
+68 ;;=4^Z91.411
+69 ;;^UTILITY(U,$J,358.3,25488,2)
+70 ;;=^5063620
+71 ;;^UTILITY(U,$J,358.3,25489,0)
+72 ;;=Z91.410^^92^1159^8
+73 ;;^UTILITY(U,$J,358.3,25489,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,25489,1,3,0)
+76 ;;=3^Personal Hx of Adult Phys/Sexual Abuse
+77 ;;^UTILITY(U,$J,358.3,25489,1,4,0)
+78 ;;=4^Z91.410
+79 ;;^UTILITY(U,$J,358.3,25489,2)
+80 ;;=^5063619
+81 ;;^UTILITY(U,$J,358.3,25490,0)
+82 ;;=Z75.3^^92^1159^21
+83 ;;^UTILITY(U,$J,358.3,25490,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,25490,1,3,0)
+86 ;;=3^Unavailable/Inaccessible to Health Care Facilities
+87 ;;^UTILITY(U,$J,358.3,25490,1,4,0)
+88 ;;=4^Z75.3
+89 ;;^UTILITY(U,$J,358.3,25490,2)
+90 ;;=^5063292
+91 ;;^UTILITY(U,$J,358.3,25491,0)
+92 ;;=Z75.4^^92^1159^22
+93 ;;^UTILITY(U,$J,358.3,25491,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,25491,1,3,0)
+96 ;;=3^Unavailable/Inaccessible to Other Helping Agencies
+97 ;;^UTILITY(U,$J,358.3,25491,1,4,0)
+98 ;;=4^Z75.4
+99 ;;^UTILITY(U,$J,358.3,25491,2)
+100 ;;=^5063293
+101 ;;^UTILITY(U,$J,358.3,25492,0)
+102 ;;=Z62.813^^92^1159^13
+103 ;;^UTILITY(U,$J,358.3,25492,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,25492,1,3,0)
+106 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation in Childhood
+107 ;;^UTILITY(U,$J,358.3,25492,1,4,0)
+108 ;;=4^Z62.813
+109 ;;^UTILITY(U,$J,358.3,25492,2)
+110 ;;=^5157627
+111 ;;^UTILITY(U,$J,358.3,25493,0)
+112 ;;=Z91.42^^92^1159^14
+113 ;;^UTILITY(U,$J,358.3,25493,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,25493,1,3,0)
+116 ;;=3^Personal Hx of Forced Labor/Sexual Exploitation
+117 ;;^UTILITY(U,$J,358.3,25493,1,4,0)
+118 ;;=4^Z91.42