IBDEI3AX ; ; 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,295,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^42
;;^UTILITY(U,$J,358.4,296,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^42
;;^UTILITY(U,$J,358.4,297,0)
;;=COUNSELING/MEDICAL ADVICE^5^42
;;^UTILITY(U,$J,358.4,298,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^29^42
;;^UTILITY(U,$J,358.4,299,0)
;;=PARAPHILIC DISORDERS^21^42
;;^UTILITY(U,$J,358.4,300,0)
;;=PERSONALITY DISORDERS^23^42
;;^UTILITY(U,$J,358.4,301,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^42
;;^UTILITY(U,$J,358.4,302,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^42
;;^UTILITY(U,$J,358.4,303,0)
;;=RELATIONAL PROBLEMS^25^42
;;^UTILITY(U,$J,358.4,304,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^42
;;^UTILITY(U,$J,358.4,305,0)
;;=SEXUAL DYSFUNCTIONS^27^42
;;^UTILITY(U,$J,358.4,306,0)
;;=SLEEP-WAKE DISORDERS^28^42
;;^UTILITY(U,$J,358.4,307,0)
;;=SUBSTANCE DISORDER-ALCOHOL^31^42
;;^UTILITY(U,$J,358.4,308,0)
;;=SUBSTANCE DISORDER-CANNABIS^33^42
;;^UTILITY(U,$J,358.4,309,0)
;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^42
;;^UTILITY(U,$J,358.4,310,0)
;;=SUBSTANCE DISORDER-OPIOID^36^42
;;^UTILITY(U,$J,358.4,311,0)
;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^42
;;^UTILITY(U,$J,358.4,312,0)
;;=SUBSTANCE DISORDER-TOBACCO^39^42
;;^UTILITY(U,$J,358.4,313,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^42
;;^UTILITY(U,$J,358.4,314,0)
;;=SUBSTANCE DISORDER-INHALANT^35^42
;;^UTILITY(U,$J,358.4,315,0)
;;=CLINICAL RESEARCH PROGRAM^4^42
;;^UTILITY(U,$J,358.4,316,0)
;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^42
;;^UTILITY(U,$J,358.4,317,0)
;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^42
;;^UTILITY(U,$J,358.4,318,0)
;;=ELIMINATION DISORDERS^11^42
;;^UTILITY(U,$J,358.4,319,0)
;;=GAMBLING DISORDER^13^42
;;^UTILITY(U,$J,358.4,320,0)
;;=OTHER MENTAL DISORDERS^20^42
;;^UTILITY(U,$J,358.4,321,0)
;;=NEURODEVELOPMENTAL DISORDERS^18^42
;;^UTILITY(U,$J,358.4,322,0)
;;=SUBSTANCE DISORDER-CAFFEINE^32^42
;;^UTILITY(U,$J,358.4,323,0)
;;=SUICIDAL IDEATIONS/ATTEMPTS^41^42
;;^UTILITY(U,$J,358.4,324,0)
;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^42
;;^UTILITY(U,$J,358.4,325,0)
;;=SUBSTANCE DISORDER-STIMULANTS^38^42
;;^UTILITY(U,$J,358.4,326,0)
;;=UNDERDOSING OF MEDICATION REGIMEN^43^42
;;^UTILITY(U,$J,358.4,327,0)
;;=ESTABLISHED PATIENT^1^43
;;^UTILITY(U,$J,358.4,328,0)
;;=CARE PLAN OVERSIGHT^1^44
;;^UTILITY(U,$J,358.4,329,0)
;;=OTHER SERVICES^4^44
;;^UTILITY(U,$J,358.4,330,0)
;;=CASE MANAGEMENT^2^44
;;^UTILITY(U,$J,358.4,331,0)
;;=EDUCATION^3^44
;;^UTILITY(U,$J,358.4,332,0)
;;=CARDIOVASCULAR DISORDERS^1^45
;;^UTILITY(U,$J,358.4,333,0)
;;=CONDITIONS AFFECTING HEALTH CARE STATUS^2^45
;;^UTILITY(U,$J,358.4,334,0)
;;=DIABETES^4^45
;;^UTILITY(U,$J,358.4,335,0)
;;=EYE & EAR DISORDERS^4^45
;;^UTILITY(U,$J,358.4,336,0)
;;=MENTAL HEALTH^5^45
;;^UTILITY(U,$J,358.4,337,0)
;;=NEOPLASMS^6^45
;;^UTILITY(U,$J,358.4,338,0)
;;=NEUROLOGICAL CONDITIONS^7^45
;;^UTILITY(U,$J,358.4,339,0)
;;=OTHER CONDITIONS^8^45
;;^UTILITY(U,$J,358.4,340,0)
;;=RESPIRATORY DISORDERS^9^45
;;^UTILITY(U,$J,358.4,341,0)
;;=DEMENTIA^3^45
;;^UTILITY(U,$J,358.4,342,0)
;;=AUDIOLOGIC FUNCTION TESTS^1^46
;;^UTILITY(U,$J,358.4,343,0)
;;=SCREENING^10^46
;;^UTILITY(U,$J,358.4,344,0)
;;=COCHLEAR IMPLANT^2^46
;;^UTILITY(U,$J,358.4,345,0)
;;=OTHER TREATMENT^7^46
;;^UTILITY(U,$J,358.4,346,0)
;;=DISPENSING^4^46
;;^UTILITY(U,$J,358.4,347,0)
;;=REMOVAL FOREIGN BODY/CERUMEN^9^46
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3AX 3756 printed Dec 13, 2024@02:45:13 Page 2
IBDEI3AX ; ; 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,295,0)
+2 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^42
+3 ;;^UTILITY(U,$J,358.4,296,0)
+4 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^42
+5 ;;^UTILITY(U,$J,358.4,297,0)
+6 ;;=COUNSELING/MEDICAL ADVICE^5^42
+7 ;;^UTILITY(U,$J,358.4,298,0)
+8 ;;=SOCIAL ENVIRONMENT PROBLEMS^29^42
+9 ;;^UTILITY(U,$J,358.4,299,0)
+10 ;;=PARAPHILIC DISORDERS^21^42
+11 ;;^UTILITY(U,$J,358.4,300,0)
+12 ;;=PERSONALITY DISORDERS^23^42
+13 ;;^UTILITY(U,$J,358.4,301,0)
+14 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^42
+15 ;;^UTILITY(U,$J,358.4,302,0)
+16 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^42
+17 ;;^UTILITY(U,$J,358.4,303,0)
+18 ;;=RELATIONAL PROBLEMS^25^42
+19 ;;^UTILITY(U,$J,358.4,304,0)
+20 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^42
+21 ;;^UTILITY(U,$J,358.4,305,0)
+22 ;;=SEXUAL DYSFUNCTIONS^27^42
+23 ;;^UTILITY(U,$J,358.4,306,0)
+24 ;;=SLEEP-WAKE DISORDERS^28^42
+25 ;;^UTILITY(U,$J,358.4,307,0)
+26 ;;=SUBSTANCE DISORDER-ALCOHOL^31^42
+27 ;;^UTILITY(U,$J,358.4,308,0)
+28 ;;=SUBSTANCE DISORDER-CANNABIS^33^42
+29 ;;^UTILITY(U,$J,358.4,309,0)
+30 ;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^42
+31 ;;^UTILITY(U,$J,358.4,310,0)
+32 ;;=SUBSTANCE DISORDER-OPIOID^36^42
+33 ;;^UTILITY(U,$J,358.4,311,0)
+34 ;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^42
+35 ;;^UTILITY(U,$J,358.4,312,0)
+36 ;;=SUBSTANCE DISORDER-TOBACCO^39^42
+37 ;;^UTILITY(U,$J,358.4,313,0)
+38 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^42
+39 ;;^UTILITY(U,$J,358.4,314,0)
+40 ;;=SUBSTANCE DISORDER-INHALANT^35^42
+41 ;;^UTILITY(U,$J,358.4,315,0)
+42 ;;=CLINICAL RESEARCH PROGRAM^4^42
+43 ;;^UTILITY(U,$J,358.4,316,0)
+44 ;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^42
+45 ;;^UTILITY(U,$J,358.4,317,0)
+46 ;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^42
+47 ;;^UTILITY(U,$J,358.4,318,0)
+48 ;;=ELIMINATION DISORDERS^11^42
+49 ;;^UTILITY(U,$J,358.4,319,0)
+50 ;;=GAMBLING DISORDER^13^42
+51 ;;^UTILITY(U,$J,358.4,320,0)
+52 ;;=OTHER MENTAL DISORDERS^20^42
+53 ;;^UTILITY(U,$J,358.4,321,0)
+54 ;;=NEURODEVELOPMENTAL DISORDERS^18^42
+55 ;;^UTILITY(U,$J,358.4,322,0)
+56 ;;=SUBSTANCE DISORDER-CAFFEINE^32^42
+57 ;;^UTILITY(U,$J,358.4,323,0)
+58 ;;=SUICIDAL IDEATIONS/ATTEMPTS^41^42
+59 ;;^UTILITY(U,$J,358.4,324,0)
+60 ;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^42
+61 ;;^UTILITY(U,$J,358.4,325,0)
+62 ;;=SUBSTANCE DISORDER-STIMULANTS^38^42
+63 ;;^UTILITY(U,$J,358.4,326,0)
+64 ;;=UNDERDOSING OF MEDICATION REGIMEN^43^42
+65 ;;^UTILITY(U,$J,358.4,327,0)
+66 ;;=ESTABLISHED PATIENT^1^43
+67 ;;^UTILITY(U,$J,358.4,328,0)
+68 ;;=CARE PLAN OVERSIGHT^1^44
+69 ;;^UTILITY(U,$J,358.4,329,0)
+70 ;;=OTHER SERVICES^4^44
+71 ;;^UTILITY(U,$J,358.4,330,0)
+72 ;;=CASE MANAGEMENT^2^44
+73 ;;^UTILITY(U,$J,358.4,331,0)
+74 ;;=EDUCATION^3^44
+75 ;;^UTILITY(U,$J,358.4,332,0)
+76 ;;=CARDIOVASCULAR DISORDERS^1^45
+77 ;;^UTILITY(U,$J,358.4,333,0)
+78 ;;=CONDITIONS AFFECTING HEALTH CARE STATUS^2^45
+79 ;;^UTILITY(U,$J,358.4,334,0)
+80 ;;=DIABETES^4^45
+81 ;;^UTILITY(U,$J,358.4,335,0)
+82 ;;=EYE & EAR DISORDERS^4^45
+83 ;;^UTILITY(U,$J,358.4,336,0)
+84 ;;=MENTAL HEALTH^5^45
+85 ;;^UTILITY(U,$J,358.4,337,0)
+86 ;;=NEOPLASMS^6^45
+87 ;;^UTILITY(U,$J,358.4,338,0)
+88 ;;=NEUROLOGICAL CONDITIONS^7^45
+89 ;;^UTILITY(U,$J,358.4,339,0)
+90 ;;=OTHER CONDITIONS^8^45
+91 ;;^UTILITY(U,$J,358.4,340,0)
+92 ;;=RESPIRATORY DISORDERS^9^45
+93 ;;^UTILITY(U,$J,358.4,341,0)
+94 ;;=DEMENTIA^3^45
+95 ;;^UTILITY(U,$J,358.4,342,0)
+96 ;;=AUDIOLOGIC FUNCTION TESTS^1^46
+97 ;;^UTILITY(U,$J,358.4,343,0)
+98 ;;=SCREENING^10^46
+99 ;;^UTILITY(U,$J,358.4,344,0)
+100 ;;=COCHLEAR IMPLANT^2^46
+101 ;;^UTILITY(U,$J,358.4,345,0)
+102 ;;=OTHER TREATMENT^7^46
+103 ;;^UTILITY(U,$J,358.4,346,0)
+104 ;;=DISPENSING^4^46
+105 ;;^UTILITY(U,$J,358.4,347,0)
+106 ;;=REMOVAL FOREIGN BODY/CERUMEN^9^46