IBDEI258 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,34233,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34233,1,3,0)
;;=3^Personal Hx of Military Deployment
;;^UTILITY(U,$J,358.3,34233,1,4,0)
;;=4^Z91.82
;;^UTILITY(U,$J,358.3,34233,2)
;;=^5063626
;;^UTILITY(U,$J,358.3,34234,0)
;;=Z91.89^^134^1733^18
;;^UTILITY(U,$J,358.3,34234,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34234,1,3,0)
;;=3^Personal Risk Factors,Other
;;^UTILITY(U,$J,358.3,34234,1,4,0)
;;=4^Z91.89
;;^UTILITY(U,$J,358.3,34234,2)
;;=^5063628
;;^UTILITY(U,$J,358.3,34235,0)
;;=Z72.9^^134^1733^19
;;^UTILITY(U,$J,358.3,34235,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34235,1,3,0)
;;=3^Problem Related to Lifestyle
;;^UTILITY(U,$J,358.3,34235,1,4,0)
;;=4^Z72.9
;;^UTILITY(U,$J,358.3,34235,2)
;;=^5063267
;;^UTILITY(U,$J,358.3,34236,0)
;;=Z91.19^^134^1733^5
;;^UTILITY(U,$J,358.3,34236,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34236,1,3,0)
;;=3^Nonadherence to Medical Treatment
;;^UTILITY(U,$J,358.3,34236,1,4,0)
;;=4^Z91.19
;;^UTILITY(U,$J,358.3,34236,2)
;;=^5063618
;;^UTILITY(U,$J,358.3,34237,0)
;;=E66.9^^134^1733^6
;;^UTILITY(U,$J,358.3,34237,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34237,1,3,0)
;;=3^Overweight or Obesity
;;^UTILITY(U,$J,358.3,34237,1,4,0)
;;=4^E66.9
;;^UTILITY(U,$J,358.3,34237,2)
;;=^5002832
;;^UTILITY(U,$J,358.3,34238,0)
;;=Z76.5^^134^1733^3
;;^UTILITY(U,$J,358.3,34238,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34238,1,3,0)
;;=3^Malingering
;;^UTILITY(U,$J,358.3,34238,1,4,0)
;;=4^Z76.5
;;^UTILITY(U,$J,358.3,34238,2)
;;=^5063302
;;^UTILITY(U,$J,358.3,34239,0)
;;=R41.83^^134^1733^2
;;^UTILITY(U,$J,358.3,34239,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34239,1,3,0)
;;=3^Borderline Intellectual Functioning
;;^UTILITY(U,$J,358.3,34239,1,4,0)
;;=4^R41.83
;;^UTILITY(U,$J,358.3,34239,2)
;;=^5019442
;;^UTILITY(U,$J,358.3,34240,0)
;;=Z56.82^^134^1733^4
;;^UTILITY(U,$J,358.3,34240,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34240,1,3,0)
;;=3^Military Deployment Status,Current
;;^UTILITY(U,$J,358.3,34240,1,4,0)
;;=4^Z56.82
;;^UTILITY(U,$J,358.3,34240,2)
;;=^5063115
;;^UTILITY(U,$J,358.3,34241,0)
;;=Z62.811^^134^1733^12
;;^UTILITY(U,$J,358.3,34241,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34241,1,3,0)
;;=3^Personal Hx of Childhood Psychological Abuse
;;^UTILITY(U,$J,358.3,34241,1,4,0)
;;=4^Z62.811
;;^UTILITY(U,$J,358.3,34241,2)
;;=^5063154
;;^UTILITY(U,$J,358.3,34242,0)
;;=Z62.812^^134^1733^10
;;^UTILITY(U,$J,358.3,34242,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34242,1,3,0)
;;=3^Personal Hx of Childhood Neglect
;;^UTILITY(U,$J,358.3,34242,1,4,0)
;;=4^Z62.812
;;^UTILITY(U,$J,358.3,34242,2)
;;=^5063155
;;^UTILITY(U,$J,358.3,34243,0)
;;=Z62.810^^134^1733^11
;;^UTILITY(U,$J,358.3,34243,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34243,1,3,0)
;;=3^Personal Hx of Childhood Phys/Sexual Abuse
;;^UTILITY(U,$J,358.3,34243,1,4,0)
;;=4^Z62.810
;;^UTILITY(U,$J,358.3,34243,2)
;;=^5063153
;;^UTILITY(U,$J,358.3,34244,0)
;;=Z91.83^^134^1733^22
;;^UTILITY(U,$J,358.3,34244,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34244,1,3,0)
;;=3^Wandering Associated w/ a Mental Disorder
;;^UTILITY(U,$J,358.3,34244,1,4,0)
;;=4^Z91.83
;;^UTILITY(U,$J,358.3,34244,2)
;;=^5063627
;;^UTILITY(U,$J,358.3,34245,0)
;;=Z91.412^^134^1733^7
;;^UTILITY(U,$J,358.3,34245,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI258 3747 printed Nov 22, 2024@17:32:11 Page 2
IBDEI258 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,34233,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,34233,1,3,0)
+4 ;;=3^Personal Hx of Military Deployment
+5 ;;^UTILITY(U,$J,358.3,34233,1,4,0)
+6 ;;=4^Z91.82
+7 ;;^UTILITY(U,$J,358.3,34233,2)
+8 ;;=^5063626
+9 ;;^UTILITY(U,$J,358.3,34234,0)
+10 ;;=Z91.89^^134^1733^18
+11 ;;^UTILITY(U,$J,358.3,34234,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,34234,1,3,0)
+14 ;;=3^Personal Risk Factors,Other
+15 ;;^UTILITY(U,$J,358.3,34234,1,4,0)
+16 ;;=4^Z91.89
+17 ;;^UTILITY(U,$J,358.3,34234,2)
+18 ;;=^5063628
+19 ;;^UTILITY(U,$J,358.3,34235,0)
+20 ;;=Z72.9^^134^1733^19
+21 ;;^UTILITY(U,$J,358.3,34235,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,34235,1,3,0)
+24 ;;=3^Problem Related to Lifestyle
+25 ;;^UTILITY(U,$J,358.3,34235,1,4,0)
+26 ;;=4^Z72.9
+27 ;;^UTILITY(U,$J,358.3,34235,2)
+28 ;;=^5063267
+29 ;;^UTILITY(U,$J,358.3,34236,0)
+30 ;;=Z91.19^^134^1733^5
+31 ;;^UTILITY(U,$J,358.3,34236,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,34236,1,3,0)
+34 ;;=3^Nonadherence to Medical Treatment
+35 ;;^UTILITY(U,$J,358.3,34236,1,4,0)
+36 ;;=4^Z91.19
+37 ;;^UTILITY(U,$J,358.3,34236,2)
+38 ;;=^5063618
+39 ;;^UTILITY(U,$J,358.3,34237,0)
+40 ;;=E66.9^^134^1733^6
+41 ;;^UTILITY(U,$J,358.3,34237,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,34237,1,3,0)
+44 ;;=3^Overweight or Obesity
+45 ;;^UTILITY(U,$J,358.3,34237,1,4,0)
+46 ;;=4^E66.9
+47 ;;^UTILITY(U,$J,358.3,34237,2)
+48 ;;=^5002832
+49 ;;^UTILITY(U,$J,358.3,34238,0)
+50 ;;=Z76.5^^134^1733^3
+51 ;;^UTILITY(U,$J,358.3,34238,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,34238,1,3,0)
+54 ;;=3^Malingering
+55 ;;^UTILITY(U,$J,358.3,34238,1,4,0)
+56 ;;=4^Z76.5
+57 ;;^UTILITY(U,$J,358.3,34238,2)
+58 ;;=^5063302
+59 ;;^UTILITY(U,$J,358.3,34239,0)
+60 ;;=R41.83^^134^1733^2
+61 ;;^UTILITY(U,$J,358.3,34239,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,34239,1,3,0)
+64 ;;=3^Borderline Intellectual Functioning
+65 ;;^UTILITY(U,$J,358.3,34239,1,4,0)
+66 ;;=4^R41.83
+67 ;;^UTILITY(U,$J,358.3,34239,2)
+68 ;;=^5019442
+69 ;;^UTILITY(U,$J,358.3,34240,0)
+70 ;;=Z56.82^^134^1733^4
+71 ;;^UTILITY(U,$J,358.3,34240,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,34240,1,3,0)
+74 ;;=3^Military Deployment Status,Current
+75 ;;^UTILITY(U,$J,358.3,34240,1,4,0)
+76 ;;=4^Z56.82
+77 ;;^UTILITY(U,$J,358.3,34240,2)
+78 ;;=^5063115
+79 ;;^UTILITY(U,$J,358.3,34241,0)
+80 ;;=Z62.811^^134^1733^12
+81 ;;^UTILITY(U,$J,358.3,34241,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,34241,1,3,0)
+84 ;;=3^Personal Hx of Childhood Psychological Abuse
+85 ;;^UTILITY(U,$J,358.3,34241,1,4,0)
+86 ;;=4^Z62.811
+87 ;;^UTILITY(U,$J,358.3,34241,2)
+88 ;;=^5063154
+89 ;;^UTILITY(U,$J,358.3,34242,0)
+90 ;;=Z62.812^^134^1733^10
+91 ;;^UTILITY(U,$J,358.3,34242,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,34242,1,3,0)
+94 ;;=3^Personal Hx of Childhood Neglect
+95 ;;^UTILITY(U,$J,358.3,34242,1,4,0)
+96 ;;=4^Z62.812
+97 ;;^UTILITY(U,$J,358.3,34242,2)
+98 ;;=^5063155
+99 ;;^UTILITY(U,$J,358.3,34243,0)
+100 ;;=Z62.810^^134^1733^11
+101 ;;^UTILITY(U,$J,358.3,34243,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,34243,1,3,0)
+104 ;;=3^Personal Hx of Childhood Phys/Sexual Abuse
+105 ;;^UTILITY(U,$J,358.3,34243,1,4,0)
+106 ;;=4^Z62.810
+107 ;;^UTILITY(U,$J,358.3,34243,2)
+108 ;;=^5063153
+109 ;;^UTILITY(U,$J,358.3,34244,0)
+110 ;;=Z91.83^^134^1733^22
+111 ;;^UTILITY(U,$J,358.3,34244,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,34244,1,3,0)
+114 ;;=3^Wandering Associated w/ a Mental Disorder
+115 ;;^UTILITY(U,$J,358.3,34244,1,4,0)
+116 ;;=4^Z91.83
+117 ;;^UTILITY(U,$J,358.3,34244,2)
+118 ;;=^5063627
+119 ;;^UTILITY(U,$J,358.3,34245,0)
+120 ;;=Z91.412^^134^1733^7
+121 ;;^UTILITY(U,$J,358.3,34245,1,0)
+122 ;;=^358.31IA^4^2