IBDEI1M4 ; ; 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,472,0)
;;=NEUROCOGNITIVE DISORDERS^26^42
;;^UTILITY(U,$J,358.4,473,0)
;;=DEPRESSIVE DISORDERS^10^42
;;^UTILITY(U,$J,358.4,474,0)
;;=DISSOCIATIVE DISORDERS ^12^42
;;^UTILITY(U,$J,358.4,475,0)
;;=FEEDING & EATING DISORDERS^16^42
;;^UTILITY(U,$J,358.4,476,0)
;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^13^42
;;^UTILITY(U,$J,358.4,477,0)
;;=GENDER DYSPHORIA^18^42
;;^UTILITY(U,$J,358.4,478,0)
;;=MEDICATION-INDUCED MOVEMENT DISORDERS^23^42
;;^UTILITY(U,$J,358.4,479,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^29^42
;;^UTILITY(U,$J,358.4,480,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^33^42
;;^UTILITY(U,$J,358.4,481,0)
;;=COUNSELING/MEDICAL ADVICE^8^42
;;^UTILITY(U,$J,358.4,482,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^47^42
;;^UTILITY(U,$J,358.4,483,0)
;;=PARAPHILIC DISORDERS^32^42
;;^UTILITY(U,$J,358.4,484,0)
;;=PERSONALITY DISORDERS^36^42
;;^UTILITY(U,$J,358.4,485,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^9^42
;;^UTILITY(U,$J,358.4,486,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^40^42
;;^UTILITY(U,$J,358.4,487,0)
;;=RELATIONAL PROBLEMS^41^42
;;^UTILITY(U,$J,358.4,488,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^43^42
;;^UTILITY(U,$J,358.4,489,0)
;;=SEXUAL DYSFUNCTIONS^45^42
;;^UTILITY(U,$J,358.4,490,0)
;;=SLEEP-WAKE DISORDERS^46^42
;;^UTILITY(U,$J,358.4,491,0)
;;=SUBSTANCE USE DISORDER-ALCOHOL^49^42
;;^UTILITY(U,$J,358.4,492,0)
;;=SUBSTANCE USE DISORDER-CANNABIS^51^42
;;^UTILITY(U,$J,358.4,493,0)
;;=SUBSTANCE USE DISORDER-HALLUCINOGEN^52^42
;;^UTILITY(U,$J,358.4,494,0)
;;=SUBSTANCE USE DISORDER-OPIOID^54^42
;;^UTILITY(U,$J,358.4,495,0)
;;=SUBSTANCE USE DISORDER-SEDATIVE/HYPNOTIC^55^42
;;^UTILITY(U,$J,358.4,496,0)
;;=SUBSTANCE USE DISORDER-TOBACCO^57^42
;;^UTILITY(U,$J,358.4,497,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^60^42
;;^UTILITY(U,$J,358.4,498,0)
;;=SUBSTANCE USE DISORDER-INHALANT^53^42
;;^UTILITY(U,$J,358.4,499,0)
;;=CLINICAL RESEARCH PROGRAM^5^42
;;^UTILITY(U,$J,358.4,500,0)
;;=SOMATIC SYMPTOM & RELATED DISORDERS^48^42
;;^UTILITY(U,$J,358.4,501,0)
;;=DISRUPTIVE,IMPULSE-CONTROL DISORDERS^11^42
;;^UTILITY(U,$J,358.4,502,0)
;;=ELIMINATION DISORDERS^14^42
;;^UTILITY(U,$J,358.4,503,0)
;;=GAMBLING DISORDER^17^42
;;^UTILITY(U,$J,358.4,504,0)
;;=OTHER MENTAL DISORDERS^31^42
;;^UTILITY(U,$J,358.4,505,0)
;;=NEURODEVELOPMENTAL DISORDERS^28^42
;;^UTILITY(U,$J,358.4,506,0)
;;=SUBSTANCE USE DISORDER-CAFFEINE^50^42
;;^UTILITY(U,$J,358.4,507,0)
;;=SUICIDAL IDEATION^59^42
;;^UTILITY(U,$J,358.4,508,0)
;;=SUBSTANCE USE DISORDER-UNKNOWN SUBSTANCE^58^42
;;^UTILITY(U,$J,358.4,509,0)
;;=SUBSTANCE USE DISORDER-STIMULANTS^56^42
;;^UTILITY(U,$J,358.4,510,0)
;;=ADMINISTRATIVE PURPOSES^2^42
;;^UTILITY(U,$J,358.4,511,0)
;;=CONDITIONS INFLUENCING HEALTH^6^42
;;^UTILITY(U,$J,358.4,512,0)
;;=CONVALENSCENCE/PALLIATIVE CARE^7^42
;;^UTILITY(U,$J,358.4,513,0)
;;=FAMILY CIRCUMSTANCES^15^42
;;^UTILITY(U,$J,358.4,514,0)
;;=HOUSING/ECONOMIC CIRCUMSTANCES^19^42
;;^UTILITY(U,$J,358.4,515,0)
;;=LIFESTYLE PROBLEMS^20^42
;;^UTILITY(U,$J,358.4,516,0)
;;=LOWER LIMB AMPUTATION STATUS^21^42
;;^UTILITY(U,$J,358.4,517,0)
;;=MACHINE/DEVICE DEPENDENCE^22^42
;;^UTILITY(U,$J,358.4,518,0)
;;=MENTAL/BEHAVIORAL PROBLEMS^24^42
;;^UTILITY(U,$J,358.4,519,0)
;;=MENTAL/DEVELOPMENTAL SCRN^25^42
;;^UTILITY(U,$J,358.4,520,0)
;;=ORGAN/TISSUE REPLACED^30^42
;;^UTILITY(U,$J,358.4,521,0)
;;=PERSONAL HX OF HAZARDS TO HEALTH^34^42
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1M4 3775 printed Dec 13, 2024@02:11:23 Page 2
IBDEI1M4 ; ; 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,472,0)
+2 ;;=NEUROCOGNITIVE DISORDERS^26^42
+3 ;;^UTILITY(U,$J,358.4,473,0)
+4 ;;=DEPRESSIVE DISORDERS^10^42
+5 ;;^UTILITY(U,$J,358.4,474,0)
+6 ;;=DISSOCIATIVE DISORDERS ^12^42
+7 ;;^UTILITY(U,$J,358.4,475,0)
+8 ;;=FEEDING & EATING DISORDERS^16^42
+9 ;;^UTILITY(U,$J,358.4,476,0)
+10 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^13^42
+11 ;;^UTILITY(U,$J,358.4,477,0)
+12 ;;=GENDER DYSPHORIA^18^42
+13 ;;^UTILITY(U,$J,358.4,478,0)
+14 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^23^42
+15 ;;^UTILITY(U,$J,358.4,479,0)
+16 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^29^42
+17 ;;^UTILITY(U,$J,358.4,480,0)
+18 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^33^42
+19 ;;^UTILITY(U,$J,358.4,481,0)
+20 ;;=COUNSELING/MEDICAL ADVICE^8^42
+21 ;;^UTILITY(U,$J,358.4,482,0)
+22 ;;=SOCIAL ENVIRONMENT PROBLEMS^47^42
+23 ;;^UTILITY(U,$J,358.4,483,0)
+24 ;;=PARAPHILIC DISORDERS^32^42
+25 ;;^UTILITY(U,$J,358.4,484,0)
+26 ;;=PERSONALITY DISORDERS^36^42
+27 ;;^UTILITY(U,$J,358.4,485,0)
+28 ;;=CRIME/LEGAL SYSTEM PROBLEMS^9^42
+29 ;;^UTILITY(U,$J,358.4,486,0)
+30 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^40^42
+31 ;;^UTILITY(U,$J,358.4,487,0)
+32 ;;=RELATIONAL PROBLEMS^41^42
+33 ;;^UTILITY(U,$J,358.4,488,0)
+34 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^43^42
+35 ;;^UTILITY(U,$J,358.4,489,0)
+36 ;;=SEXUAL DYSFUNCTIONS^45^42
+37 ;;^UTILITY(U,$J,358.4,490,0)
+38 ;;=SLEEP-WAKE DISORDERS^46^42
+39 ;;^UTILITY(U,$J,358.4,491,0)
+40 ;;=SUBSTANCE USE DISORDER-ALCOHOL^49^42
+41 ;;^UTILITY(U,$J,358.4,492,0)
+42 ;;=SUBSTANCE USE DISORDER-CANNABIS^51^42
+43 ;;^UTILITY(U,$J,358.4,493,0)
+44 ;;=SUBSTANCE USE DISORDER-HALLUCINOGEN^52^42
+45 ;;^UTILITY(U,$J,358.4,494,0)
+46 ;;=SUBSTANCE USE DISORDER-OPIOID^54^42
+47 ;;^UTILITY(U,$J,358.4,495,0)
+48 ;;=SUBSTANCE USE DISORDER-SEDATIVE/HYPNOTIC^55^42
+49 ;;^UTILITY(U,$J,358.4,496,0)
+50 ;;=SUBSTANCE USE DISORDER-TOBACCO^57^42
+51 ;;^UTILITY(U,$J,358.4,497,0)
+52 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^60^42
+53 ;;^UTILITY(U,$J,358.4,498,0)
+54 ;;=SUBSTANCE USE DISORDER-INHALANT^53^42
+55 ;;^UTILITY(U,$J,358.4,499,0)
+56 ;;=CLINICAL RESEARCH PROGRAM^5^42
+57 ;;^UTILITY(U,$J,358.4,500,0)
+58 ;;=SOMATIC SYMPTOM & RELATED DISORDERS^48^42
+59 ;;^UTILITY(U,$J,358.4,501,0)
+60 ;;=DISRUPTIVE,IMPULSE-CONTROL DISORDERS^11^42
+61 ;;^UTILITY(U,$J,358.4,502,0)
+62 ;;=ELIMINATION DISORDERS^14^42
+63 ;;^UTILITY(U,$J,358.4,503,0)
+64 ;;=GAMBLING DISORDER^17^42
+65 ;;^UTILITY(U,$J,358.4,504,0)
+66 ;;=OTHER MENTAL DISORDERS^31^42
+67 ;;^UTILITY(U,$J,358.4,505,0)
+68 ;;=NEURODEVELOPMENTAL DISORDERS^28^42
+69 ;;^UTILITY(U,$J,358.4,506,0)
+70 ;;=SUBSTANCE USE DISORDER-CAFFEINE^50^42
+71 ;;^UTILITY(U,$J,358.4,507,0)
+72 ;;=SUICIDAL IDEATION^59^42
+73 ;;^UTILITY(U,$J,358.4,508,0)
+74 ;;=SUBSTANCE USE DISORDER-UNKNOWN SUBSTANCE^58^42
+75 ;;^UTILITY(U,$J,358.4,509,0)
+76 ;;=SUBSTANCE USE DISORDER-STIMULANTS^56^42
+77 ;;^UTILITY(U,$J,358.4,510,0)
+78 ;;=ADMINISTRATIVE PURPOSES^2^42
+79 ;;^UTILITY(U,$J,358.4,511,0)
+80 ;;=CONDITIONS INFLUENCING HEALTH^6^42
+81 ;;^UTILITY(U,$J,358.4,512,0)
+82 ;;=CONVALENSCENCE/PALLIATIVE CARE^7^42
+83 ;;^UTILITY(U,$J,358.4,513,0)
+84 ;;=FAMILY CIRCUMSTANCES^15^42
+85 ;;^UTILITY(U,$J,358.4,514,0)
+86 ;;=HOUSING/ECONOMIC CIRCUMSTANCES^19^42
+87 ;;^UTILITY(U,$J,358.4,515,0)
+88 ;;=LIFESTYLE PROBLEMS^20^42
+89 ;;^UTILITY(U,$J,358.4,516,0)
+90 ;;=LOWER LIMB AMPUTATION STATUS^21^42
+91 ;;^UTILITY(U,$J,358.4,517,0)
+92 ;;=MACHINE/DEVICE DEPENDENCE^22^42
+93 ;;^UTILITY(U,$J,358.4,518,0)
+94 ;;=MENTAL/BEHAVIORAL PROBLEMS^24^42
+95 ;;^UTILITY(U,$J,358.4,519,0)
+96 ;;=MENTAL/DEVELOPMENTAL SCRN^25^42
+97 ;;^UTILITY(U,$J,358.4,520,0)
+98 ;;=ORGAN/TISSUE REPLACED^30^42
+99 ;;^UTILITY(U,$J,358.4,521,0)
+100 ;;=PERSONAL HX OF HAZARDS TO HEALTH^34^42