IBDEI1Y6 ; ; 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,31125,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31125,1,3,0)
 ;;=3^Venous comp following an ectopic and molar pregnancy NEC
 ;;^UTILITY(U,$J,358.3,31125,1,4,0)
 ;;=4^O08.7
 ;;^UTILITY(U,$J,358.3,31125,2)
 ;;=^5016042
 ;;^UTILITY(U,$J,358.3,31126,0)
 ;;=O08.81^^126^1619^13
 ;;^UTILITY(U,$J,358.3,31126,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31126,1,3,0)
 ;;=3^Cardiac arrest following an ectopic and molar pregnancy
 ;;^UTILITY(U,$J,358.3,31126,1,4,0)
 ;;=4^O08.81
 ;;^UTILITY(U,$J,358.3,31126,2)
 ;;=^5016043
 ;;^UTILITY(U,$J,358.3,31127,0)
 ;;=O08.83^^126^1619^55
 ;;^UTILITY(U,$J,358.3,31127,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31127,1,3,0)
 ;;=3^Urinary tract infection fol an ectopic and molar pregnancy
 ;;^UTILITY(U,$J,358.3,31127,1,4,0)
 ;;=4^O08.83
 ;;^UTILITY(U,$J,358.3,31127,2)
 ;;=^5016045
 ;;^UTILITY(U,$J,358.3,31128,0)
 ;;=O08.89^^126^1619^14
 ;;^UTILITY(U,$J,358.3,31128,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31128,1,3,0)
 ;;=3^Complications following an ectopic and molar pregnancy NEC
 ;;^UTILITY(U,$J,358.3,31128,1,4,0)
 ;;=4^O08.89
 ;;^UTILITY(U,$J,358.3,31128,2)
 ;;=^5016046
 ;;^UTILITY(U,$J,358.3,31129,0)
 ;;=O20.0^^126^1619^54
 ;;^UTILITY(U,$J,358.3,31129,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31129,1,3,0)
 ;;=3^Threatened abortion
 ;;^UTILITY(U,$J,358.3,31129,1,4,0)
 ;;=4^O20.0
 ;;^UTILITY(U,$J,358.3,31129,2)
 ;;=^1287
 ;;^UTILITY(U,$J,358.3,31130,0)
 ;;=O44.01^^126^1619^21
 ;;^UTILITY(U,$J,358.3,31130,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31130,1,3,0)
 ;;=3^Placenta Previa,Complete w/o Hemorrhage,1st Trimester
 ;;^UTILITY(U,$J,358.3,31130,1,4,0)
 ;;=4^O44.01
 ;;^UTILITY(U,$J,358.3,31130,2)
 ;;=^5017437
 ;;^UTILITY(U,$J,358.3,31131,0)
 ;;=O44.02^^126^1619^22
 ;;^UTILITY(U,$J,358.3,31131,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31131,1,3,0)
 ;;=3^Placenta Previa,Complete w/o Hemorrhage,2nd Trimester
 ;;^UTILITY(U,$J,358.3,31131,1,4,0)
 ;;=4^O44.02
 ;;^UTILITY(U,$J,358.3,31131,2)
 ;;=^5017438
 ;;^UTILITY(U,$J,358.3,31132,0)
 ;;=O44.03^^126^1619^23
 ;;^UTILITY(U,$J,358.3,31132,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31132,1,3,0)
 ;;=3^Placenta Previa,Complete w/o Hemorrhage,3rd Trimester
 ;;^UTILITY(U,$J,358.3,31132,1,4,0)
 ;;=4^O44.03
 ;;^UTILITY(U,$J,358.3,31132,2)
 ;;=^5017439
 ;;^UTILITY(U,$J,358.3,31133,0)
 ;;=O44.11^^126^1619^18
 ;;^UTILITY(U,$J,358.3,31133,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31133,1,3,0)
 ;;=3^Placenta Previa,Complete w/ Hemorrhage,1st Trimester
 ;;^UTILITY(U,$J,358.3,31133,1,4,0)
 ;;=4^O44.11
 ;;^UTILITY(U,$J,358.3,31133,2)
 ;;=^5017441
 ;;^UTILITY(U,$J,358.3,31134,0)
 ;;=O44.12^^126^1619^19
 ;;^UTILITY(U,$J,358.3,31134,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31134,1,3,0)
 ;;=3^Placenta Previa,Complete w/ Hemorrhage,2nd Trimester
 ;;^UTILITY(U,$J,358.3,31134,1,4,0)
 ;;=4^O44.12
 ;;^UTILITY(U,$J,358.3,31134,2)
 ;;=^5017442
 ;;^UTILITY(U,$J,358.3,31135,0)
 ;;=O44.13^^126^1619^20
 ;;^UTILITY(U,$J,358.3,31135,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31135,1,3,0)
 ;;=3^Placenta Previa,Complete w/ Hemorrhage,3rd Trimester
 ;;^UTILITY(U,$J,358.3,31135,1,4,0)
 ;;=4^O44.13
 ;;^UTILITY(U,$J,358.3,31135,2)
 ;;=^5017443
 ;;^UTILITY(U,$J,358.3,31136,0)
 ;;=O45.8X1^^126^1619^48
 ;;^UTILITY(U,$J,358.3,31136,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,31136,1,3,0)
 ;;=3^Prem separtn of placenta, first trimester NEC
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1Y6   3761     printed  Sep 23, 2025@19:54:06                                                                                                                                                                                                    Page 2
IBDEI1Y6  ; ; 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,31125,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,31125,1,3,0)
 +4       ;;=3^Venous comp following an ectopic and molar pregnancy NEC
 +5       ;;^UTILITY(U,$J,358.3,31125,1,4,0)
 +6       ;;=4^O08.7
 +7       ;;^UTILITY(U,$J,358.3,31125,2)
 +8       ;;=^5016042
 +9       ;;^UTILITY(U,$J,358.3,31126,0)
 +10      ;;=O08.81^^126^1619^13
 +11      ;;^UTILITY(U,$J,358.3,31126,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,31126,1,3,0)
 +14      ;;=3^Cardiac arrest following an ectopic and molar pregnancy
 +15      ;;^UTILITY(U,$J,358.3,31126,1,4,0)
 +16      ;;=4^O08.81
 +17      ;;^UTILITY(U,$J,358.3,31126,2)
 +18      ;;=^5016043
 +19      ;;^UTILITY(U,$J,358.3,31127,0)
 +20      ;;=O08.83^^126^1619^55
 +21      ;;^UTILITY(U,$J,358.3,31127,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,31127,1,3,0)
 +24      ;;=3^Urinary tract infection fol an ectopic and molar pregnancy
 +25      ;;^UTILITY(U,$J,358.3,31127,1,4,0)
 +26      ;;=4^O08.83
 +27      ;;^UTILITY(U,$J,358.3,31127,2)
 +28      ;;=^5016045
 +29      ;;^UTILITY(U,$J,358.3,31128,0)
 +30      ;;=O08.89^^126^1619^14
 +31      ;;^UTILITY(U,$J,358.3,31128,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,31128,1,3,0)
 +34      ;;=3^Complications following an ectopic and molar pregnancy NEC
 +35      ;;^UTILITY(U,$J,358.3,31128,1,4,0)
 +36      ;;=4^O08.89
 +37      ;;^UTILITY(U,$J,358.3,31128,2)
 +38      ;;=^5016046
 +39      ;;^UTILITY(U,$J,358.3,31129,0)
 +40      ;;=O20.0^^126^1619^54
 +41      ;;^UTILITY(U,$J,358.3,31129,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,31129,1,3,0)
 +44      ;;=3^Threatened abortion
 +45      ;;^UTILITY(U,$J,358.3,31129,1,4,0)
 +46      ;;=4^O20.0
 +47      ;;^UTILITY(U,$J,358.3,31129,2)
 +48      ;;=^1287
 +49      ;;^UTILITY(U,$J,358.3,31130,0)
 +50      ;;=O44.01^^126^1619^21
 +51      ;;^UTILITY(U,$J,358.3,31130,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,31130,1,3,0)
 +54      ;;=3^Placenta Previa,Complete w/o Hemorrhage,1st Trimester
 +55      ;;^UTILITY(U,$J,358.3,31130,1,4,0)
 +56      ;;=4^O44.01
 +57      ;;^UTILITY(U,$J,358.3,31130,2)
 +58      ;;=^5017437
 +59      ;;^UTILITY(U,$J,358.3,31131,0)
 +60      ;;=O44.02^^126^1619^22
 +61      ;;^UTILITY(U,$J,358.3,31131,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,31131,1,3,0)
 +64      ;;=3^Placenta Previa,Complete w/o Hemorrhage,2nd Trimester
 +65      ;;^UTILITY(U,$J,358.3,31131,1,4,0)
 +66      ;;=4^O44.02
 +67      ;;^UTILITY(U,$J,358.3,31131,2)
 +68      ;;=^5017438
 +69      ;;^UTILITY(U,$J,358.3,31132,0)
 +70      ;;=O44.03^^126^1619^23
 +71      ;;^UTILITY(U,$J,358.3,31132,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,31132,1,3,0)
 +74      ;;=3^Placenta Previa,Complete w/o Hemorrhage,3rd Trimester
 +75      ;;^UTILITY(U,$J,358.3,31132,1,4,0)
 +76      ;;=4^O44.03
 +77      ;;^UTILITY(U,$J,358.3,31132,2)
 +78      ;;=^5017439
 +79      ;;^UTILITY(U,$J,358.3,31133,0)
 +80      ;;=O44.11^^126^1619^18
 +81      ;;^UTILITY(U,$J,358.3,31133,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,31133,1,3,0)
 +84      ;;=3^Placenta Previa,Complete w/ Hemorrhage,1st Trimester
 +85      ;;^UTILITY(U,$J,358.3,31133,1,4,0)
 +86      ;;=4^O44.11
 +87      ;;^UTILITY(U,$J,358.3,31133,2)
 +88      ;;=^5017441
 +89      ;;^UTILITY(U,$J,358.3,31134,0)
 +90      ;;=O44.12^^126^1619^19
 +91      ;;^UTILITY(U,$J,358.3,31134,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,31134,1,3,0)
 +94      ;;=3^Placenta Previa,Complete w/ Hemorrhage,2nd Trimester
 +95      ;;^UTILITY(U,$J,358.3,31134,1,4,0)
 +96      ;;=4^O44.12
 +97      ;;^UTILITY(U,$J,358.3,31134,2)
 +98      ;;=^5017442
 +99      ;;^UTILITY(U,$J,358.3,31135,0)
 +100     ;;=O44.13^^126^1619^20
 +101     ;;^UTILITY(U,$J,358.3,31135,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,31135,1,3,0)
 +104     ;;=3^Placenta Previa,Complete w/ Hemorrhage,3rd Trimester
 +105     ;;^UTILITY(U,$J,358.3,31135,1,4,0)
 +106     ;;=4^O44.13
 +107     ;;^UTILITY(U,$J,358.3,31135,2)
 +108     ;;=^5017443
 +109     ;;^UTILITY(U,$J,358.3,31136,0)
 +110     ;;=O45.8X1^^126^1619^48
 +111     ;;^UTILITY(U,$J,358.3,31136,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,31136,1,3,0)
 +114     ;;=3^Prem separtn of placenta, first trimester NEC