IBDEI1RY ; ; 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,28345,1,3,0)
 ;;=3^Change of Job
 ;;^UTILITY(U,$J,358.3,28345,1,4,0)
 ;;=4^Z56.1
 ;;^UTILITY(U,$J,358.3,28345,2)
 ;;=^5063108
 ;;^UTILITY(U,$J,358.3,28346,0)
 ;;=Z56.2^^115^1390^9
 ;;^UTILITY(U,$J,358.3,28346,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28346,1,3,0)
 ;;=3^Threat of Job Loss
 ;;^UTILITY(U,$J,358.3,28346,1,4,0)
 ;;=4^Z56.2
 ;;^UTILITY(U,$J,358.3,28346,2)
 ;;=^5063109
 ;;^UTILITY(U,$J,358.3,28347,0)
 ;;=Z56.3^^115^1390^8
 ;;^UTILITY(U,$J,358.3,28347,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28347,1,3,0)
 ;;=3^Stressful Work Schedule
 ;;^UTILITY(U,$J,358.3,28347,1,4,0)
 ;;=4^Z56.3
 ;;^UTILITY(U,$J,358.3,28347,2)
 ;;=^5063110
 ;;^UTILITY(U,$J,358.3,28348,0)
 ;;=Z56.4^^115^1390^3
 ;;^UTILITY(U,$J,358.3,28348,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28348,1,3,0)
 ;;=3^Discord w/ Boss and Workmates
 ;;^UTILITY(U,$J,358.3,28348,1,4,0)
 ;;=4^Z56.4
 ;;^UTILITY(U,$J,358.3,28348,2)
 ;;=^5063111
 ;;^UTILITY(U,$J,358.3,28349,0)
 ;;=Z56.5^^115^1390^10
 ;;^UTILITY(U,$J,358.3,28349,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28349,1,3,0)
 ;;=3^Uncongenial Work Environment
 ;;^UTILITY(U,$J,358.3,28349,1,4,0)
 ;;=4^Z56.5
 ;;^UTILITY(U,$J,358.3,28349,2)
 ;;=^5063112
 ;;^UTILITY(U,$J,358.3,28350,0)
 ;;=Z56.6^^115^1390^4
 ;;^UTILITY(U,$J,358.3,28350,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28350,1,3,0)
 ;;=3^Physical & Mental Strain Related to Work,Other
 ;;^UTILITY(U,$J,358.3,28350,1,4,0)
 ;;=4^Z56.6
 ;;^UTILITY(U,$J,358.3,28350,2)
 ;;=^5063113
 ;;^UTILITY(U,$J,358.3,28351,0)
 ;;=Z56.89^^115^1390^6
 ;;^UTILITY(U,$J,358.3,28351,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28351,1,3,0)
 ;;=3^Problems Related to Employment,Other
 ;;^UTILITY(U,$J,358.3,28351,1,4,0)
 ;;=4^Z56.89
 ;;^UTILITY(U,$J,358.3,28351,2)
 ;;=^5063116
 ;;^UTILITY(U,$J,358.3,28352,0)
 ;;=Z56.9^^115^1390^7
 ;;^UTILITY(U,$J,358.3,28352,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28352,1,3,0)
 ;;=3^Problems Related to Employment,Unspec
 ;;^UTILITY(U,$J,358.3,28352,1,4,0)
 ;;=4^Z56.9
 ;;^UTILITY(U,$J,358.3,28352,2)
 ;;=^5063117
 ;;^UTILITY(U,$J,358.3,28353,0)
 ;;=F64.1^^115^1391^1
 ;;^UTILITY(U,$J,358.3,28353,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28353,1,3,0)
 ;;=3^Gender Dysphoria in Adolescents & Adults
 ;;^UTILITY(U,$J,358.3,28353,1,4,0)
 ;;=4^F64.1
 ;;^UTILITY(U,$J,358.3,28353,2)
 ;;=^5003647
 ;;^UTILITY(U,$J,358.3,28354,0)
 ;;=F64.8^^115^1391^2
 ;;^UTILITY(U,$J,358.3,28354,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28354,1,3,0)
 ;;=3^Gender Dysphoria,Other Specified
 ;;^UTILITY(U,$J,358.3,28354,1,4,0)
 ;;=4^F64.8
 ;;^UTILITY(U,$J,358.3,28354,2)
 ;;=^5003649
 ;;^UTILITY(U,$J,358.3,28355,0)
 ;;=F64.9^^115^1391^3
 ;;^UTILITY(U,$J,358.3,28355,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28355,1,3,0)
 ;;=3^Transsexualism
 ;;^UTILITY(U,$J,358.3,28355,1,4,0)
 ;;=4^F64.9
 ;;^UTILITY(U,$J,358.3,28355,2)
 ;;=^5003650
 ;;^UTILITY(U,$J,358.3,28356,0)
 ;;=Z59.2^^115^1392^1
 ;;^UTILITY(U,$J,358.3,28356,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28356,1,3,0)
 ;;=3^Discord w/ Neighbor,Lodger or Landlord
 ;;^UTILITY(U,$J,358.3,28356,1,4,0)
 ;;=4^Z59.2
 ;;^UTILITY(U,$J,358.3,28356,2)
 ;;=^5063131
 ;;^UTILITY(U,$J,358.3,28357,0)
 ;;=Z59.0^^115^1392^3
 ;;^UTILITY(U,$J,358.3,28357,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28357,1,3,0)
 ;;=3^Homelessness
 ;;^UTILITY(U,$J,358.3,28357,1,4,0)
 ;;=4^Z59.0
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RY   3744     printed  Sep 23, 2025@19:50:39                                                                                                                                                                                                    Page 2
IBDEI1RY  ; ; 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,28345,1,3,0)
 +2       ;;=3^Change of Job
 +3       ;;^UTILITY(U,$J,358.3,28345,1,4,0)
 +4       ;;=4^Z56.1
 +5       ;;^UTILITY(U,$J,358.3,28345,2)
 +6       ;;=^5063108
 +7       ;;^UTILITY(U,$J,358.3,28346,0)
 +8       ;;=Z56.2^^115^1390^9
 +9       ;;^UTILITY(U,$J,358.3,28346,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,28346,1,3,0)
 +12      ;;=3^Threat of Job Loss
 +13      ;;^UTILITY(U,$J,358.3,28346,1,4,0)
 +14      ;;=4^Z56.2
 +15      ;;^UTILITY(U,$J,358.3,28346,2)
 +16      ;;=^5063109
 +17      ;;^UTILITY(U,$J,358.3,28347,0)
 +18      ;;=Z56.3^^115^1390^8
 +19      ;;^UTILITY(U,$J,358.3,28347,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,28347,1,3,0)
 +22      ;;=3^Stressful Work Schedule
 +23      ;;^UTILITY(U,$J,358.3,28347,1,4,0)
 +24      ;;=4^Z56.3
 +25      ;;^UTILITY(U,$J,358.3,28347,2)
 +26      ;;=^5063110
 +27      ;;^UTILITY(U,$J,358.3,28348,0)
 +28      ;;=Z56.4^^115^1390^3
 +29      ;;^UTILITY(U,$J,358.3,28348,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,28348,1,3,0)
 +32      ;;=3^Discord w/ Boss and Workmates
 +33      ;;^UTILITY(U,$J,358.3,28348,1,4,0)
 +34      ;;=4^Z56.4
 +35      ;;^UTILITY(U,$J,358.3,28348,2)
 +36      ;;=^5063111
 +37      ;;^UTILITY(U,$J,358.3,28349,0)
 +38      ;;=Z56.5^^115^1390^10
 +39      ;;^UTILITY(U,$J,358.3,28349,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,28349,1,3,0)
 +42      ;;=3^Uncongenial Work Environment
 +43      ;;^UTILITY(U,$J,358.3,28349,1,4,0)
 +44      ;;=4^Z56.5
 +45      ;;^UTILITY(U,$J,358.3,28349,2)
 +46      ;;=^5063112
 +47      ;;^UTILITY(U,$J,358.3,28350,0)
 +48      ;;=Z56.6^^115^1390^4
 +49      ;;^UTILITY(U,$J,358.3,28350,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,28350,1,3,0)
 +52      ;;=3^Physical & Mental Strain Related to Work,Other
 +53      ;;^UTILITY(U,$J,358.3,28350,1,4,0)
 +54      ;;=4^Z56.6
 +55      ;;^UTILITY(U,$J,358.3,28350,2)
 +56      ;;=^5063113
 +57      ;;^UTILITY(U,$J,358.3,28351,0)
 +58      ;;=Z56.89^^115^1390^6
 +59      ;;^UTILITY(U,$J,358.3,28351,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,28351,1,3,0)
 +62      ;;=3^Problems Related to Employment,Other
 +63      ;;^UTILITY(U,$J,358.3,28351,1,4,0)
 +64      ;;=4^Z56.89
 +65      ;;^UTILITY(U,$J,358.3,28351,2)
 +66      ;;=^5063116
 +67      ;;^UTILITY(U,$J,358.3,28352,0)
 +68      ;;=Z56.9^^115^1390^7
 +69      ;;^UTILITY(U,$J,358.3,28352,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,28352,1,3,0)
 +72      ;;=3^Problems Related to Employment,Unspec
 +73      ;;^UTILITY(U,$J,358.3,28352,1,4,0)
 +74      ;;=4^Z56.9
 +75      ;;^UTILITY(U,$J,358.3,28352,2)
 +76      ;;=^5063117
 +77      ;;^UTILITY(U,$J,358.3,28353,0)
 +78      ;;=F64.1^^115^1391^1
 +79      ;;^UTILITY(U,$J,358.3,28353,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,28353,1,3,0)
 +82      ;;=3^Gender Dysphoria in Adolescents & Adults
 +83      ;;^UTILITY(U,$J,358.3,28353,1,4,0)
 +84      ;;=4^F64.1
 +85      ;;^UTILITY(U,$J,358.3,28353,2)
 +86      ;;=^5003647
 +87      ;;^UTILITY(U,$J,358.3,28354,0)
 +88      ;;=F64.8^^115^1391^2
 +89      ;;^UTILITY(U,$J,358.3,28354,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,28354,1,3,0)
 +92      ;;=3^Gender Dysphoria,Other Specified
 +93      ;;^UTILITY(U,$J,358.3,28354,1,4,0)
 +94      ;;=4^F64.8
 +95      ;;^UTILITY(U,$J,358.3,28354,2)
 +96      ;;=^5003649
 +97      ;;^UTILITY(U,$J,358.3,28355,0)
 +98      ;;=F64.9^^115^1391^3
 +99      ;;^UTILITY(U,$J,358.3,28355,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,28355,1,3,0)
 +102     ;;=3^Transsexualism
 +103     ;;^UTILITY(U,$J,358.3,28355,1,4,0)
 +104     ;;=4^F64.9
 +105     ;;^UTILITY(U,$J,358.3,28355,2)
 +106     ;;=^5003650
 +107     ;;^UTILITY(U,$J,358.3,28356,0)
 +108     ;;=Z59.2^^115^1392^1
 +109     ;;^UTILITY(U,$J,358.3,28356,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,28356,1,3,0)
 +112     ;;=3^Discord w/ Neighbor,Lodger or Landlord
 +113     ;;^UTILITY(U,$J,358.3,28356,1,4,0)
 +114     ;;=4^Z59.2
 +115     ;;^UTILITY(U,$J,358.3,28356,2)
 +116     ;;=^5063131
 +117     ;;^UTILITY(U,$J,358.3,28357,0)
 +118     ;;=Z59.0^^115^1392^3
 +119     ;;^UTILITY(U,$J,358.3,28357,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,28357,1,3,0)
 +122     ;;=3^Homelessness
 +123     ;;^UTILITY(U,$J,358.3,28357,1,4,0)
 +124     ;;=4^Z59.0