IBDEI1MG ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
Q:'DIFQR(358.4) 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.4,1176,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^43^92
;;^UTILITY(U,$J,358.4,1177,0)
;;=SUBSTANCE DISORDER-INHALANT^36^92
;;^UTILITY(U,$J,358.4,1178,0)
;;=CLINICAL RESEARCH PROGRAM^4^92
;;^UTILITY(U,$J,358.4,1179,0)
;;=SOMATIC SYMPTOM & RELATED DISORDERS^31^92
;;^UTILITY(U,$J,358.4,1180,0)
;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^9^92
;;^UTILITY(U,$J,358.4,1181,0)
;;=ELIMINATION DISORDERS^12^92
;;^UTILITY(U,$J,358.4,1182,0)
;;=GAMBLING DISORDER^14^92
;;^UTILITY(U,$J,358.4,1183,0)
;;=OTHER MENTAL DISORDERS^21^92
;;^UTILITY(U,$J,358.4,1184,0)
;;=NEURODEVELOPMENTAL DISORDERS^19^92
;;^UTILITY(U,$J,358.4,1185,0)
;;=SUBSTANCE DISORDER-CAFFEINE^33^92
;;^UTILITY(U,$J,358.4,1186,0)
;;=SUICIDAL IDEATIONS/ATTEMPTS^42^92
;;^UTILITY(U,$J,358.4,1187,0)
;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^41^92
;;^UTILITY(U,$J,358.4,1188,0)
;;=SUBSTANCE DISORDER-STIMULANTS^39^92
;;^UTILITY(U,$J,358.4,1189,0)
;;=UNDERDOSING OF MEDICATION REGIMEN^44^92
;;^UTILITY(U,$J,358.4,1190,0)
;;=CWT^7^92
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1MG 1306 printed Nov 22, 2024@17:21:45 Page 2
IBDEI1MG ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+2 if 'DIFQR(358.4)
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.4,1176,0)
+2 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^43^92
+3 ;;^UTILITY(U,$J,358.4,1177,0)
+4 ;;=SUBSTANCE DISORDER-INHALANT^36^92
+5 ;;^UTILITY(U,$J,358.4,1178,0)
+6 ;;=CLINICAL RESEARCH PROGRAM^4^92
+7 ;;^UTILITY(U,$J,358.4,1179,0)
+8 ;;=SOMATIC SYMPTOM & RELATED DISORDERS^31^92
+9 ;;^UTILITY(U,$J,358.4,1180,0)
+10 ;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^9^92
+11 ;;^UTILITY(U,$J,358.4,1181,0)
+12 ;;=ELIMINATION DISORDERS^12^92
+13 ;;^UTILITY(U,$J,358.4,1182,0)
+14 ;;=GAMBLING DISORDER^14^92
+15 ;;^UTILITY(U,$J,358.4,1183,0)
+16 ;;=OTHER MENTAL DISORDERS^21^92
+17 ;;^UTILITY(U,$J,358.4,1184,0)
+18 ;;=NEURODEVELOPMENTAL DISORDERS^19^92
+19 ;;^UTILITY(U,$J,358.4,1185,0)
+20 ;;=SUBSTANCE DISORDER-CAFFEINE^33^92
+21 ;;^UTILITY(U,$J,358.4,1186,0)
+22 ;;=SUICIDAL IDEATIONS/ATTEMPTS^42^92
+23 ;;^UTILITY(U,$J,358.4,1187,0)
+24 ;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^41^92
+25 ;;^UTILITY(U,$J,358.4,1188,0)
+26 ;;=SUBSTANCE DISORDER-STIMULANTS^39^92
+27 ;;^UTILITY(U,$J,358.4,1189,0)
+28 ;;=UNDERDOSING OF MEDICATION REGIMEN^44^92
+29 ;;^UTILITY(U,$J,358.4,1190,0)
+30 ;;=CWT^7^92