IBDEI3BN ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,1733,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^134
;;^UTILITY(U,$J,358.4,1734,0)
;;=COUNSELING/MEDICAL ADVICE^5^134
;;^UTILITY(U,$J,358.4,1735,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^29^134
;;^UTILITY(U,$J,358.4,1736,0)
;;=PARAPHILIC DISORDERS^21^134
;;^UTILITY(U,$J,358.4,1737,0)
;;=PERSONALITY DISORDERS^23^134
;;^UTILITY(U,$J,358.4,1738,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^134
;;^UTILITY(U,$J,358.4,1739,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^134
;;^UTILITY(U,$J,358.4,1740,0)
;;=RELATIONAL PROBLEMS^25^134
;;^UTILITY(U,$J,358.4,1741,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^134
;;^UTILITY(U,$J,358.4,1742,0)
;;=SEXUAL DYSFUNCTIONS^27^134
;;^UTILITY(U,$J,358.4,1743,0)
;;=SLEEP-WAKE DISORDERS^28^134
;;^UTILITY(U,$J,358.4,1744,0)
;;=SUBSTANCE DISORDER-ALCOHOL^31^134
;;^UTILITY(U,$J,358.4,1745,0)
;;=SUBSTANCE DISORDER-CANNABIS^33^134
;;^UTILITY(U,$J,358.4,1746,0)
;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^134
;;^UTILITY(U,$J,358.4,1747,0)
;;=SUBSTANCE DISORDER-OPIOID^36^134
;;^UTILITY(U,$J,358.4,1748,0)
;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^134
;;^UTILITY(U,$J,358.4,1749,0)
;;=SUBSTANCE DISORDER-TOBACCO^39^134
;;^UTILITY(U,$J,358.4,1750,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^134
;;^UTILITY(U,$J,358.4,1751,0)
;;=SUBSTANCE DISORDER-INHALANT^35^134
;;^UTILITY(U,$J,358.4,1752,0)
;;=CLINICAL RESEARCH PROGRAM^4^134
;;^UTILITY(U,$J,358.4,1753,0)
;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^134
;;^UTILITY(U,$J,358.4,1754,0)
;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^134
;;^UTILITY(U,$J,358.4,1755,0)
;;=ELIMINATION DISORDERS^11^134
;;^UTILITY(U,$J,358.4,1756,0)
;;=GAMBLING DISORDER^13^134
;;^UTILITY(U,$J,358.4,1757,0)
;;=OTHER MENTAL DISORDERS^20^134
;;^UTILITY(U,$J,358.4,1758,0)
;;=NEURODEVELOPMENTAL DISORDERS^18^134
;;^UTILITY(U,$J,358.4,1759,0)
;;=SUBSTANCE DISORDER-CAFFEINE^32^134
;;^UTILITY(U,$J,358.4,1760,0)
;;=SUICIDAL IDEATIONS/ATTEMPTS^41^134
;;^UTILITY(U,$J,358.4,1761,0)
;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^134
;;^UTILITY(U,$J,358.4,1762,0)
;;=SUBSTANCE DISORDER-STIMULANTS^38^134
;;^UTILITY(U,$J,358.4,1763,0)
;;=UNDERDOSING OF MEDICATION REGIMEN^43^134
;;^UTILITY(U,$J,358.4,1764,0)
;;=INPT H&P-NEW ADMISSION^4^135
;;^UTILITY(U,$J,358.4,1765,0)
;;=INITIAL OBSERVATION^1^135
;;^UTILITY(U,$J,358.4,1766,0)
;;=INPT CONSULTATIONS^5^135
;;^UTILITY(U,$J,358.4,1767,0)
;;=INPT-ESTABLISHED PATIENT CARE^6^135
;;^UTILITY(U,$J,358.4,1768,0)
;;=INPT DISCHARGES^7^135
;;^UTILITY(U,$J,358.4,1769,0)
;;=SUBSEQUENT OBSERVATION^2^135
;;^UTILITY(U,$J,358.4,1770,0)
;;=OBSERVATION DISCHARGE^3^135
;;^UTILITY(U,$J,358.4,1771,0)
;;=INJECTIONS/DRUGS^7^136
;;^UTILITY(U,$J,358.4,1772,0)
;;=WOUND CARE^15^136
;;^UTILITY(U,$J,358.4,1773,0)
;;=MD PROCEDURES^1^136
;;^UTILITY(U,$J,358.4,1774,0)
;;=MUSCLE NERVE TESTS^9^136
;;^UTILITY(U,$J,358.4,1775,0)
;;=TEAM CONFERENCE^12^136
;;^UTILITY(U,$J,358.4,1776,0)
;;=ACUPUNCTURE^2^136
;;^UTILITY(U,$J,358.4,1777,0)
;;=CHEMODENERVATION^6^136
;;^UTILITY(U,$J,358.4,1778,0)
;;=OTHER^10^136
;;^UTILITY(U,$J,358.4,1779,0)
;;=BACLOFEN PUMP^3^136
;;^UTILITY(U,$J,358.4,1780,0)
;;=BOTOX^4^136
;;^UTILITY(U,$J,358.4,1781,0)
;;=CARPAL TUNNEL INJECTION^5^136
;;^UTILITY(U,$J,358.4,1782,0)
;;=JNT BURSA INJ W/ US^8^136
;;^UTILITY(U,$J,358.4,1783,0)
;;=TRIGGER POINT INJECTION^13^136
;;^UTILITY(U,$J,358.4,1784,0)
;;=ULTRASOUND^14^136
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3BN 3765 printed Dec 13, 2024@02:45:37 Page 2
IBDEI3BN ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,1733,0)
+2 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^134
+3 ;;^UTILITY(U,$J,358.4,1734,0)
+4 ;;=COUNSELING/MEDICAL ADVICE^5^134
+5 ;;^UTILITY(U,$J,358.4,1735,0)
+6 ;;=SOCIAL ENVIRONMENT PROBLEMS^29^134
+7 ;;^UTILITY(U,$J,358.4,1736,0)
+8 ;;=PARAPHILIC DISORDERS^21^134
+9 ;;^UTILITY(U,$J,358.4,1737,0)
+10 ;;=PERSONALITY DISORDERS^23^134
+11 ;;^UTILITY(U,$J,358.4,1738,0)
+12 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^134
+13 ;;^UTILITY(U,$J,358.4,1739,0)
+14 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^134
+15 ;;^UTILITY(U,$J,358.4,1740,0)
+16 ;;=RELATIONAL PROBLEMS^25^134
+17 ;;^UTILITY(U,$J,358.4,1741,0)
+18 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^134
+19 ;;^UTILITY(U,$J,358.4,1742,0)
+20 ;;=SEXUAL DYSFUNCTIONS^27^134
+21 ;;^UTILITY(U,$J,358.4,1743,0)
+22 ;;=SLEEP-WAKE DISORDERS^28^134
+23 ;;^UTILITY(U,$J,358.4,1744,0)
+24 ;;=SUBSTANCE DISORDER-ALCOHOL^31^134
+25 ;;^UTILITY(U,$J,358.4,1745,0)
+26 ;;=SUBSTANCE DISORDER-CANNABIS^33^134
+27 ;;^UTILITY(U,$J,358.4,1746,0)
+28 ;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^134
+29 ;;^UTILITY(U,$J,358.4,1747,0)
+30 ;;=SUBSTANCE DISORDER-OPIOID^36^134
+31 ;;^UTILITY(U,$J,358.4,1748,0)
+32 ;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^134
+33 ;;^UTILITY(U,$J,358.4,1749,0)
+34 ;;=SUBSTANCE DISORDER-TOBACCO^39^134
+35 ;;^UTILITY(U,$J,358.4,1750,0)
+36 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^134
+37 ;;^UTILITY(U,$J,358.4,1751,0)
+38 ;;=SUBSTANCE DISORDER-INHALANT^35^134
+39 ;;^UTILITY(U,$J,358.4,1752,0)
+40 ;;=CLINICAL RESEARCH PROGRAM^4^134
+41 ;;^UTILITY(U,$J,358.4,1753,0)
+42 ;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^134
+43 ;;^UTILITY(U,$J,358.4,1754,0)
+44 ;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^134
+45 ;;^UTILITY(U,$J,358.4,1755,0)
+46 ;;=ELIMINATION DISORDERS^11^134
+47 ;;^UTILITY(U,$J,358.4,1756,0)
+48 ;;=GAMBLING DISORDER^13^134
+49 ;;^UTILITY(U,$J,358.4,1757,0)
+50 ;;=OTHER MENTAL DISORDERS^20^134
+51 ;;^UTILITY(U,$J,358.4,1758,0)
+52 ;;=NEURODEVELOPMENTAL DISORDERS^18^134
+53 ;;^UTILITY(U,$J,358.4,1759,0)
+54 ;;=SUBSTANCE DISORDER-CAFFEINE^32^134
+55 ;;^UTILITY(U,$J,358.4,1760,0)
+56 ;;=SUICIDAL IDEATIONS/ATTEMPTS^41^134
+57 ;;^UTILITY(U,$J,358.4,1761,0)
+58 ;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^134
+59 ;;^UTILITY(U,$J,358.4,1762,0)
+60 ;;=SUBSTANCE DISORDER-STIMULANTS^38^134
+61 ;;^UTILITY(U,$J,358.4,1763,0)
+62 ;;=UNDERDOSING OF MEDICATION REGIMEN^43^134
+63 ;;^UTILITY(U,$J,358.4,1764,0)
+64 ;;=INPT H&P-NEW ADMISSION^4^135
+65 ;;^UTILITY(U,$J,358.4,1765,0)
+66 ;;=INITIAL OBSERVATION^1^135
+67 ;;^UTILITY(U,$J,358.4,1766,0)
+68 ;;=INPT CONSULTATIONS^5^135
+69 ;;^UTILITY(U,$J,358.4,1767,0)
+70 ;;=INPT-ESTABLISHED PATIENT CARE^6^135
+71 ;;^UTILITY(U,$J,358.4,1768,0)
+72 ;;=INPT DISCHARGES^7^135
+73 ;;^UTILITY(U,$J,358.4,1769,0)
+74 ;;=SUBSEQUENT OBSERVATION^2^135
+75 ;;^UTILITY(U,$J,358.4,1770,0)
+76 ;;=OBSERVATION DISCHARGE^3^135
+77 ;;^UTILITY(U,$J,358.4,1771,0)
+78 ;;=INJECTIONS/DRUGS^7^136
+79 ;;^UTILITY(U,$J,358.4,1772,0)
+80 ;;=WOUND CARE^15^136
+81 ;;^UTILITY(U,$J,358.4,1773,0)
+82 ;;=MD PROCEDURES^1^136
+83 ;;^UTILITY(U,$J,358.4,1774,0)
+84 ;;=MUSCLE NERVE TESTS^9^136
+85 ;;^UTILITY(U,$J,358.4,1775,0)
+86 ;;=TEAM CONFERENCE^12^136
+87 ;;^UTILITY(U,$J,358.4,1776,0)
+88 ;;=ACUPUNCTURE^2^136
+89 ;;^UTILITY(U,$J,358.4,1777,0)
+90 ;;=CHEMODENERVATION^6^136
+91 ;;^UTILITY(U,$J,358.4,1778,0)
+92 ;;=OTHER^10^136
+93 ;;^UTILITY(U,$J,358.4,1779,0)
+94 ;;=BACLOFEN PUMP^3^136
+95 ;;^UTILITY(U,$J,358.4,1780,0)
+96 ;;=BOTOX^4^136
+97 ;;^UTILITY(U,$J,358.4,1781,0)
+98 ;;=CARPAL TUNNEL INJECTION^5^136
+99 ;;^UTILITY(U,$J,358.4,1782,0)
+100 ;;=JNT BURSA INJ W/ US^8^136
+101 ;;^UTILITY(U,$J,358.4,1783,0)
+102 ;;=TRIGGER POINT INJECTION^13^136
+103 ;;^UTILITY(U,$J,358.4,1784,0)
+104 ;;=ULTRASOUND^14^136