IBDEI1ZL ; ; 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,31711,1,4,0)
;;=4^O41.1213
;;^UTILITY(U,$J,358.3,31711,2)
;;=^5017270
;;^UTILITY(U,$J,358.3,31712,0)
;;=O41.1214^^126^1627^5
;;^UTILITY(U,$J,358.3,31712,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31712,1,3,0)
;;=3^Chorioamnionitis, first trimester, fetus 4
;;^UTILITY(U,$J,358.3,31712,1,4,0)
;;=4^O41.1214
;;^UTILITY(U,$J,358.3,31712,2)
;;=^5017271
;;^UTILITY(U,$J,358.3,31713,0)
;;=O41.1215^^126^1627^6
;;^UTILITY(U,$J,358.3,31713,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31713,1,3,0)
;;=3^Chorioamnionitis, first trimester, fetus 5
;;^UTILITY(U,$J,358.3,31713,1,4,0)
;;=4^O41.1215
;;^UTILITY(U,$J,358.3,31713,2)
;;=^5017272
;;^UTILITY(U,$J,358.3,31714,0)
;;=O41.1220^^126^1627^13
;;^UTILITY(U,$J,358.3,31714,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31714,1,3,0)
;;=3^Chorioamnionitis, second trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31714,1,4,0)
;;=4^O41.1220
;;^UTILITY(U,$J,358.3,31714,2)
;;=^5017274
;;^UTILITY(U,$J,358.3,31715,0)
;;=O41.1221^^126^1627^8
;;^UTILITY(U,$J,358.3,31715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31715,1,3,0)
;;=3^Chorioamnionitis, second trimester, fetus 1
;;^UTILITY(U,$J,358.3,31715,1,4,0)
;;=4^O41.1221
;;^UTILITY(U,$J,358.3,31715,2)
;;=^5017275
;;^UTILITY(U,$J,358.3,31716,0)
;;=O41.1222^^126^1627^9
;;^UTILITY(U,$J,358.3,31716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31716,1,3,0)
;;=3^Chorioamnionitis, second trimester, fetus 2
;;^UTILITY(U,$J,358.3,31716,1,4,0)
;;=4^O41.1222
;;^UTILITY(U,$J,358.3,31716,2)
;;=^5017276
;;^UTILITY(U,$J,358.3,31717,0)
;;=O41.1223^^126^1627^10
;;^UTILITY(U,$J,358.3,31717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31717,1,3,0)
;;=3^Chorioamnionitis, second trimester, fetus 3
;;^UTILITY(U,$J,358.3,31717,1,4,0)
;;=4^O41.1223
;;^UTILITY(U,$J,358.3,31717,2)
;;=^5017277
;;^UTILITY(U,$J,358.3,31718,0)
;;=O41.1224^^126^1627^11
;;^UTILITY(U,$J,358.3,31718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31718,1,3,0)
;;=3^Chorioamnionitis, second trimester, fetus 4
;;^UTILITY(U,$J,358.3,31718,1,4,0)
;;=4^O41.1224
;;^UTILITY(U,$J,358.3,31718,2)
;;=^5017278
;;^UTILITY(U,$J,358.3,31719,0)
;;=O41.1225^^126^1627^12
;;^UTILITY(U,$J,358.3,31719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31719,1,3,0)
;;=3^Chorioamnionitis, second trimester, fetus 5
;;^UTILITY(U,$J,358.3,31719,1,4,0)
;;=4^O41.1225
;;^UTILITY(U,$J,358.3,31719,2)
;;=^5017279
;;^UTILITY(U,$J,358.3,31720,0)
;;=O41.1230^^126^1627^19
;;^UTILITY(U,$J,358.3,31720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31720,1,3,0)
;;=3^Chorioamnionitis, third trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31720,1,4,0)
;;=4^O41.1230
;;^UTILITY(U,$J,358.3,31720,2)
;;=^5017281
;;^UTILITY(U,$J,358.3,31721,0)
;;=O41.1231^^126^1627^14
;;^UTILITY(U,$J,358.3,31721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31721,1,3,0)
;;=3^Chorioamnionitis, third trimester, fetus 1
;;^UTILITY(U,$J,358.3,31721,1,4,0)
;;=4^O41.1231
;;^UTILITY(U,$J,358.3,31721,2)
;;=^5017282
;;^UTILITY(U,$J,358.3,31722,0)
;;=O41.1232^^126^1627^15
;;^UTILITY(U,$J,358.3,31722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31722,1,3,0)
;;=3^Chorioamnionitis, third trimester, fetus 2
;;^UTILITY(U,$J,358.3,31722,1,4,0)
;;=4^O41.1232
;;^UTILITY(U,$J,358.3,31722,2)
;;=^5017283
;;^UTILITY(U,$J,358.3,31723,0)
;;=O41.1233^^126^1627^16
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1ZL 3759 printed Nov 22, 2024@17:29:03 Page 2
IBDEI1ZL ; ; 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,31711,1,4,0)
+2 ;;=4^O41.1213
+3 ;;^UTILITY(U,$J,358.3,31711,2)
+4 ;;=^5017270
+5 ;;^UTILITY(U,$J,358.3,31712,0)
+6 ;;=O41.1214^^126^1627^5
+7 ;;^UTILITY(U,$J,358.3,31712,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,31712,1,3,0)
+10 ;;=3^Chorioamnionitis, first trimester, fetus 4
+11 ;;^UTILITY(U,$J,358.3,31712,1,4,0)
+12 ;;=4^O41.1214
+13 ;;^UTILITY(U,$J,358.3,31712,2)
+14 ;;=^5017271
+15 ;;^UTILITY(U,$J,358.3,31713,0)
+16 ;;=O41.1215^^126^1627^6
+17 ;;^UTILITY(U,$J,358.3,31713,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,31713,1,3,0)
+20 ;;=3^Chorioamnionitis, first trimester, fetus 5
+21 ;;^UTILITY(U,$J,358.3,31713,1,4,0)
+22 ;;=4^O41.1215
+23 ;;^UTILITY(U,$J,358.3,31713,2)
+24 ;;=^5017272
+25 ;;^UTILITY(U,$J,358.3,31714,0)
+26 ;;=O41.1220^^126^1627^13
+27 ;;^UTILITY(U,$J,358.3,31714,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,31714,1,3,0)
+30 ;;=3^Chorioamnionitis, second trimester, not applicable or unsp
+31 ;;^UTILITY(U,$J,358.3,31714,1,4,0)
+32 ;;=4^O41.1220
+33 ;;^UTILITY(U,$J,358.3,31714,2)
+34 ;;=^5017274
+35 ;;^UTILITY(U,$J,358.3,31715,0)
+36 ;;=O41.1221^^126^1627^8
+37 ;;^UTILITY(U,$J,358.3,31715,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,31715,1,3,0)
+40 ;;=3^Chorioamnionitis, second trimester, fetus 1
+41 ;;^UTILITY(U,$J,358.3,31715,1,4,0)
+42 ;;=4^O41.1221
+43 ;;^UTILITY(U,$J,358.3,31715,2)
+44 ;;=^5017275
+45 ;;^UTILITY(U,$J,358.3,31716,0)
+46 ;;=O41.1222^^126^1627^9
+47 ;;^UTILITY(U,$J,358.3,31716,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,31716,1,3,0)
+50 ;;=3^Chorioamnionitis, second trimester, fetus 2
+51 ;;^UTILITY(U,$J,358.3,31716,1,4,0)
+52 ;;=4^O41.1222
+53 ;;^UTILITY(U,$J,358.3,31716,2)
+54 ;;=^5017276
+55 ;;^UTILITY(U,$J,358.3,31717,0)
+56 ;;=O41.1223^^126^1627^10
+57 ;;^UTILITY(U,$J,358.3,31717,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,31717,1,3,0)
+60 ;;=3^Chorioamnionitis, second trimester, fetus 3
+61 ;;^UTILITY(U,$J,358.3,31717,1,4,0)
+62 ;;=4^O41.1223
+63 ;;^UTILITY(U,$J,358.3,31717,2)
+64 ;;=^5017277
+65 ;;^UTILITY(U,$J,358.3,31718,0)
+66 ;;=O41.1224^^126^1627^11
+67 ;;^UTILITY(U,$J,358.3,31718,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,31718,1,3,0)
+70 ;;=3^Chorioamnionitis, second trimester, fetus 4
+71 ;;^UTILITY(U,$J,358.3,31718,1,4,0)
+72 ;;=4^O41.1224
+73 ;;^UTILITY(U,$J,358.3,31718,2)
+74 ;;=^5017278
+75 ;;^UTILITY(U,$J,358.3,31719,0)
+76 ;;=O41.1225^^126^1627^12
+77 ;;^UTILITY(U,$J,358.3,31719,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,31719,1,3,0)
+80 ;;=3^Chorioamnionitis, second trimester, fetus 5
+81 ;;^UTILITY(U,$J,358.3,31719,1,4,0)
+82 ;;=4^O41.1225
+83 ;;^UTILITY(U,$J,358.3,31719,2)
+84 ;;=^5017279
+85 ;;^UTILITY(U,$J,358.3,31720,0)
+86 ;;=O41.1230^^126^1627^19
+87 ;;^UTILITY(U,$J,358.3,31720,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,31720,1,3,0)
+90 ;;=3^Chorioamnionitis, third trimester, not applicable or unsp
+91 ;;^UTILITY(U,$J,358.3,31720,1,4,0)
+92 ;;=4^O41.1230
+93 ;;^UTILITY(U,$J,358.3,31720,2)
+94 ;;=^5017281
+95 ;;^UTILITY(U,$J,358.3,31721,0)
+96 ;;=O41.1231^^126^1627^14
+97 ;;^UTILITY(U,$J,358.3,31721,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,31721,1,3,0)
+100 ;;=3^Chorioamnionitis, third trimester, fetus 1
+101 ;;^UTILITY(U,$J,358.3,31721,1,4,0)
+102 ;;=4^O41.1231
+103 ;;^UTILITY(U,$J,358.3,31721,2)
+104 ;;=^5017282
+105 ;;^UTILITY(U,$J,358.3,31722,0)
+106 ;;=O41.1232^^126^1627^15
+107 ;;^UTILITY(U,$J,358.3,31722,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,31722,1,3,0)
+110 ;;=3^Chorioamnionitis, third trimester, fetus 2
+111 ;;^UTILITY(U,$J,358.3,31722,1,4,0)
+112 ;;=4^O41.1232
+113 ;;^UTILITY(U,$J,358.3,31722,2)
+114 ;;=^5017283
+115 ;;^UTILITY(U,$J,358.3,31723,0)
+116 ;;=O41.1233^^126^1627^16