IBDEI1M2 ; ; 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,354,0)
;;=CONSULTATIONS^3^35
;;^UTILITY(U,$J,358.4,355,0)
;;=ESOPHAGUS^4^36
;;^UTILITY(U,$J,358.4,356,0)
;;=COLON^3^36
;;^UTILITY(U,$J,358.4,357,0)
;;=LIVER^6^36
;;^UTILITY(U,$J,358.4,358,0)
;;=PANCREAS^8^36
;;^UTILITY(U,$J,358.4,359,0)
;;=SMALL INTESTINE^11^36
;;^UTILITY(U,$J,358.4,360,0)
;;=STOMACH^12^36
;;^UTILITY(U,$J,358.4,361,0)
;;=POST SURGERY STATES^9^36
;;^UTILITY(U,$J,358.4,362,0)
;;=SYMPTOMS^14^36
;;^UTILITY(U,$J,358.4,363,0)
;;=SCREENING^10^36
;;^UTILITY(U,$J,358.4,364,0)
;;=BILIARY^2^36
;;^UTILITY(U,$J,358.4,365,0)
;;=COMOBIDITIES^15^36
;;^UTILITY(U,$J,358.4,366,0)
;;=ANORECTAL^1^36
;;^UTILITY(U,$J,358.4,367,0)
;;=INFLAMMATORY BOWEL DISEASE^5^36
;;^UTILITY(U,$J,358.4,368,0)
;;=OTHER^7^36
;;^UTILITY(U,$J,358.4,369,0)
;;=SUICIDE IDEATIONS/ATTEMPTS^13^36
;;^UTILITY(U,$J,358.4,370,0)
;;=EGD^3^37
;;^UTILITY(U,$J,358.4,371,0)
;;=SMALL INTESTINE ENDOSCOPY^14^37
;;^UTILITY(U,$J,358.4,372,0)
;;=SIGMOIDOSCOPY^13^37
;;^UTILITY(U,$J,358.4,373,0)
;;=COLONOSCOPY^2^37
;;^UTILITY(U,$J,358.4,374,0)
;;=ERCP^4^37
;;^UTILITY(U,$J,358.4,375,0)
;;=G-TUBE^6^37
;;^UTILITY(U,$J,358.4,376,0)
;;=MISCELLANEOUS^9^37
;;^UTILITY(U,$J,358.4,377,0)
;;=IMMUNIZATION^7^37
;;^UTILITY(U,$J,358.4,378,0)
;;=MOTILITY^11^37
;;^UTILITY(U,$J,358.4,379,0)
;;=EUS^5^37
;;^UTILITY(U,$J,358.4,380,0)
;;=LIVER^8^37
;;^UTILITY(U,$J,358.4,381,0)
;;=MODERATE SEDATION^10^37
;;^UTILITY(U,$J,358.4,382,0)
;;=MOST COMMONLY USED^1^37
;;^UTILITY(U,$J,358.4,383,0)
;;=PROLONGED SERVICES^12^37
;;^UTILITY(U,$J,358.4,384,0)
;;=NEW PATIENT HOME VISIT^2^38
;;^UTILITY(U,$J,358.4,385,0)
;;=ESTAB PATIENT HOME VISIT^1^38
;;^UTILITY(U,$J,358.4,386,0)
;;=PC COMMON DIAGNOSES^1^39
;;^UTILITY(U,$J,358.4,387,0)
;;=ADMINISTRATIVE TOPICS^15^39
;;^UTILITY(U,$J,358.4,388,0)
;;=ANGINA^16^39
;;^UTILITY(U,$J,358.4,389,0)
;;=ATHEROSCLEROSIS^17^39
;;^UTILITY(U,$J,358.4,390,0)
;;=CARDIOVASCULAR^18^39
;;^UTILITY(U,$J,358.4,391,0)
;;=DERMATOLOGY^22^39
;;^UTILITY(U,$J,358.4,392,0)
;;=EAR DISORDERS^24^39
;;^UTILITY(U,$J,358.4,393,0)
;;=EENT^25^39
;;^UTILITY(U,$J,358.4,394,0)
;;=ENDOCRINE/METABOLIC^26^39
;;^UTILITY(U,$J,358.4,395,0)
;;=EYE DISORDERS^27^39
;;^UTILITY(U,$J,358.4,396,0)
;;=EYE INJURY^28^39
;;^UTILITY(U,$J,358.4,397,0)
;;=GASTROENTEROLOGY^29^39
;;^UTILITY(U,$J,358.4,398,0)
;;=GU/RENAL^30^39
;;^UTILITY(U,$J,358.4,399,0)
;;=HEADACHE^31^39
;;^UTILITY(U,$J,358.4,400,0)
;;=HEART VALVE DISEASE^32^39
;;^UTILITY(U,$J,358.4,401,0)
;;=HEMATOLOGY/ONCOLOGY^33^39
;;^UTILITY(U,$J,358.4,402,0)
;;=HISTORY OF ILLNESS^34^39
;;^UTILITY(U,$J,358.4,403,0)
;;=INFECTIOUS DISEASE^35^39
;;^UTILITY(U,$J,358.4,404,0)
;;=LIVER DISEASE^36^39
;;^UTILITY(U,$J,358.4,405,0)
;;=MENTAL HEALTH^38^39
;;^UTILITY(U,$J,358.4,406,0)
;;=MOVEMENT DISORDERS^39^39
;;^UTILITY(U,$J,358.4,407,0)
;;=MUSCULOSKELETAL^40^39
;;^UTILITY(U,$J,358.4,408,0)
;;=NEUROLOGY^41^39
;;^UTILITY(U,$J,358.4,409,0)
;;=PAIN^42^39
;;^UTILITY(U,$J,358.4,410,0)
;;=PREVENTIVE HEALTH^43^39
;;^UTILITY(U,$J,358.4,411,0)
;;=PULMONARY^44^39
;;^UTILITY(U,$J,358.4,412,0)
;;=SEXUAL TRAUMA^45^39
;;^UTILITY(U,$J,358.4,413,0)
;;=SIGNS,SYMPTOMS,CONDITIONS^46^39
;;^UTILITY(U,$J,358.4,414,0)
;;=SPRAIN/STRAIN-INITIAL ENCOUNTER^47^39
;;^UTILITY(U,$J,358.4,415,0)
;;=SUBSTANCE DISORDERS^48^39
;;^UTILITY(U,$J,358.4,416,0)
;;=VARICOSE VEINS^50^39
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1M2 3779 printed Dec 13, 2024@02:11:21 Page 2
IBDEI1M2 ; ; 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,354,0)
+2 ;;=CONSULTATIONS^3^35
+3 ;;^UTILITY(U,$J,358.4,355,0)
+4 ;;=ESOPHAGUS^4^36
+5 ;;^UTILITY(U,$J,358.4,356,0)
+6 ;;=COLON^3^36
+7 ;;^UTILITY(U,$J,358.4,357,0)
+8 ;;=LIVER^6^36
+9 ;;^UTILITY(U,$J,358.4,358,0)
+10 ;;=PANCREAS^8^36
+11 ;;^UTILITY(U,$J,358.4,359,0)
+12 ;;=SMALL INTESTINE^11^36
+13 ;;^UTILITY(U,$J,358.4,360,0)
+14 ;;=STOMACH^12^36
+15 ;;^UTILITY(U,$J,358.4,361,0)
+16 ;;=POST SURGERY STATES^9^36
+17 ;;^UTILITY(U,$J,358.4,362,0)
+18 ;;=SYMPTOMS^14^36
+19 ;;^UTILITY(U,$J,358.4,363,0)
+20 ;;=SCREENING^10^36
+21 ;;^UTILITY(U,$J,358.4,364,0)
+22 ;;=BILIARY^2^36
+23 ;;^UTILITY(U,$J,358.4,365,0)
+24 ;;=COMOBIDITIES^15^36
+25 ;;^UTILITY(U,$J,358.4,366,0)
+26 ;;=ANORECTAL^1^36
+27 ;;^UTILITY(U,$J,358.4,367,0)
+28 ;;=INFLAMMATORY BOWEL DISEASE^5^36
+29 ;;^UTILITY(U,$J,358.4,368,0)
+30 ;;=OTHER^7^36
+31 ;;^UTILITY(U,$J,358.4,369,0)
+32 ;;=SUICIDE IDEATIONS/ATTEMPTS^13^36
+33 ;;^UTILITY(U,$J,358.4,370,0)
+34 ;;=EGD^3^37
+35 ;;^UTILITY(U,$J,358.4,371,0)
+36 ;;=SMALL INTESTINE ENDOSCOPY^14^37
+37 ;;^UTILITY(U,$J,358.4,372,0)
+38 ;;=SIGMOIDOSCOPY^13^37
+39 ;;^UTILITY(U,$J,358.4,373,0)
+40 ;;=COLONOSCOPY^2^37
+41 ;;^UTILITY(U,$J,358.4,374,0)
+42 ;;=ERCP^4^37
+43 ;;^UTILITY(U,$J,358.4,375,0)
+44 ;;=G-TUBE^6^37
+45 ;;^UTILITY(U,$J,358.4,376,0)
+46 ;;=MISCELLANEOUS^9^37
+47 ;;^UTILITY(U,$J,358.4,377,0)
+48 ;;=IMMUNIZATION^7^37
+49 ;;^UTILITY(U,$J,358.4,378,0)
+50 ;;=MOTILITY^11^37
+51 ;;^UTILITY(U,$J,358.4,379,0)
+52 ;;=EUS^5^37
+53 ;;^UTILITY(U,$J,358.4,380,0)
+54 ;;=LIVER^8^37
+55 ;;^UTILITY(U,$J,358.4,381,0)
+56 ;;=MODERATE SEDATION^10^37
+57 ;;^UTILITY(U,$J,358.4,382,0)
+58 ;;=MOST COMMONLY USED^1^37
+59 ;;^UTILITY(U,$J,358.4,383,0)
+60 ;;=PROLONGED SERVICES^12^37
+61 ;;^UTILITY(U,$J,358.4,384,0)
+62 ;;=NEW PATIENT HOME VISIT^2^38
+63 ;;^UTILITY(U,$J,358.4,385,0)
+64 ;;=ESTAB PATIENT HOME VISIT^1^38
+65 ;;^UTILITY(U,$J,358.4,386,0)
+66 ;;=PC COMMON DIAGNOSES^1^39
+67 ;;^UTILITY(U,$J,358.4,387,0)
+68 ;;=ADMINISTRATIVE TOPICS^15^39
+69 ;;^UTILITY(U,$J,358.4,388,0)
+70 ;;=ANGINA^16^39
+71 ;;^UTILITY(U,$J,358.4,389,0)
+72 ;;=ATHEROSCLEROSIS^17^39
+73 ;;^UTILITY(U,$J,358.4,390,0)
+74 ;;=CARDIOVASCULAR^18^39
+75 ;;^UTILITY(U,$J,358.4,391,0)
+76 ;;=DERMATOLOGY^22^39
+77 ;;^UTILITY(U,$J,358.4,392,0)
+78 ;;=EAR DISORDERS^24^39
+79 ;;^UTILITY(U,$J,358.4,393,0)
+80 ;;=EENT^25^39
+81 ;;^UTILITY(U,$J,358.4,394,0)
+82 ;;=ENDOCRINE/METABOLIC^26^39
+83 ;;^UTILITY(U,$J,358.4,395,0)
+84 ;;=EYE DISORDERS^27^39
+85 ;;^UTILITY(U,$J,358.4,396,0)
+86 ;;=EYE INJURY^28^39
+87 ;;^UTILITY(U,$J,358.4,397,0)
+88 ;;=GASTROENTEROLOGY^29^39
+89 ;;^UTILITY(U,$J,358.4,398,0)
+90 ;;=GU/RENAL^30^39
+91 ;;^UTILITY(U,$J,358.4,399,0)
+92 ;;=HEADACHE^31^39
+93 ;;^UTILITY(U,$J,358.4,400,0)
+94 ;;=HEART VALVE DISEASE^32^39
+95 ;;^UTILITY(U,$J,358.4,401,0)
+96 ;;=HEMATOLOGY/ONCOLOGY^33^39
+97 ;;^UTILITY(U,$J,358.4,402,0)
+98 ;;=HISTORY OF ILLNESS^34^39
+99 ;;^UTILITY(U,$J,358.4,403,0)
+100 ;;=INFECTIOUS DISEASE^35^39
+101 ;;^UTILITY(U,$J,358.4,404,0)
+102 ;;=LIVER DISEASE^36^39
+103 ;;^UTILITY(U,$J,358.4,405,0)
+104 ;;=MENTAL HEALTH^38^39
+105 ;;^UTILITY(U,$J,358.4,406,0)
+106 ;;=MOVEMENT DISORDERS^39^39
+107 ;;^UTILITY(U,$J,358.4,407,0)
+108 ;;=MUSCULOSKELETAL^40^39
+109 ;;^UTILITY(U,$J,358.4,408,0)
+110 ;;=NEUROLOGY^41^39
+111 ;;^UTILITY(U,$J,358.4,409,0)
+112 ;;=PAIN^42^39
+113 ;;^UTILITY(U,$J,358.4,410,0)
+114 ;;=PREVENTIVE HEALTH^43^39
+115 ;;^UTILITY(U,$J,358.4,411,0)
+116 ;;=PULMONARY^44^39
+117 ;;^UTILITY(U,$J,358.4,412,0)
+118 ;;=SEXUAL TRAUMA^45^39
+119 ;;^UTILITY(U,$J,358.4,413,0)
+120 ;;=SIGNS,SYMPTOMS,CONDITIONS^46^39
+121 ;;^UTILITY(U,$J,358.4,414,0)
+122 ;;=SPRAIN/STRAIN-INITIAL ENCOUNTER^47^39
+123 ;;^UTILITY(U,$J,358.4,415,0)
+124 ;;=SUBSTANCE DISORDERS^48^39
+125 ;;^UTILITY(U,$J,358.4,416,0)
+126 ;;=VARICOSE VEINS^50^39