IBDEI3JO ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
Q:'DIFQR(358.5) 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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.5,316,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,317,0)
;;=HEADER^381
;;^UTILITY(U,$J,358.5,317,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,317,2,1,0)
;;=NATIONAL SPINAL CORD INJURY^^^0^0
;;^UTILITY(U,$J,358.5,318,0)
;;=Patient name^382^3
;;^UTILITY(U,$J,358.5,318,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,318,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,319,0)
;;=SSN^382^4
;;^UTILITY(U,$J,358.5,319,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,319,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,320,0)
;;=Age^382^5
;;^UTILITY(U,$J,358.5,320,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,320,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,320,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,321,0)
;;=HEADER^386
;;^UTILITY(U,$J,358.5,321,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,321,2,1,0)
;;=NATIONAL SECURE MESSAGES^^^0^0
;;^UTILITY(U,$J,358.5,322,0)
;;=Patient name^388^3
;;^UTILITY(U,$J,358.5,322,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,322,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,323,0)
;;=SSN^388^4
;;^UTILITY(U,$J,358.5,323,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,323,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,324,0)
;;=Age^388^5
;;^UTILITY(U,$J,358.5,324,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,324,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,324,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,325,0)
;;=HEADER^391
;;^UTILITY(U,$J,358.5,325,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,325,2,1,0)
;;=NATIONAL SLEEP MEDICINE^^^0^0
;;^UTILITY(U,$J,358.5,326,0)
;;=Patient name^392^3
;;^UTILITY(U,$J,358.5,326,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,326,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,327,0)
;;=SSN^392^4
;;^UTILITY(U,$J,358.5,327,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,327,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,328,0)
;;=Age^392^5
;;^UTILITY(U,$J,358.5,328,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,328,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,328,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,329,0)
;;=HEADER^397
;;^UTILITY(U,$J,358.5,329,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,329,2,1,0)
;;=NATIONAL SPEECH^^^0^0
;;^UTILITY(U,$J,358.5,330,0)
;;=Patient name^398^3
;;^UTILITY(U,$J,358.5,330,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,330,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,331,0)
;;=SSN^398^4
;;^UTILITY(U,$J,358.5,331,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,331,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,332,0)
;;=Age^398^5
;;^UTILITY(U,$J,358.5,332,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,332,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,332,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,333,0)
;;=HEADER^400
;;^UTILITY(U,$J,358.5,333,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,333,2,1,0)
;;=NATIONAL SOCIAL WORK SERVICE (OTHER THAN MH)^^^0^0
;;^UTILITY(U,$J,358.5,334,0)
;;=Patient name^401^3
;;^UTILITY(U,$J,358.5,334,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,334,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,335,0)
;;=SSN^401^4
;;^UTILITY(U,$J,358.5,335,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,335,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,336,0)
;;=Age^401^5
;;^UTILITY(U,$J,358.5,336,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,336,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,336,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,337,0)
;;=HEADER^405
;;^UTILITY(U,$J,358.5,337,2,0)
;;=^358.52^1^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JO 3981 printed Dec 13, 2024@02:50:05 Page 2
IBDEI3JO ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+2 if 'DIFQR(358.5)
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,99)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.5,316,2,2,0)
+2 ;;=Age:^^^78^1^1^83^3^2
+3 ;;^UTILITY(U,$J,358.5,317,0)
+4 ;;=HEADER^381
+5 ;;^UTILITY(U,$J,358.5,317,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,317,2,1,0)
+8 ;;=NATIONAL SPINAL CORD INJURY^^^0^0
+9 ;;^UTILITY(U,$J,358.5,318,0)
+10 ;;=Patient name^382^3
+11 ;;^UTILITY(U,$J,358.5,318,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,318,2,1,0)
+14 ;;=Name:^^^1^1^1^7^30^1
+15 ;;^UTILITY(U,$J,358.5,319,0)
+16 ;;=SSN^382^4
+17 ;;^UTILITY(U,$J,358.5,319,2,0)
+18 ;;=^358.52^1^1
+19 ;;^UTILITY(U,$J,358.5,319,2,1,0)
+20 ;;=SSN:^^^39^1^1^44^15^1
+21 ;;^UTILITY(U,$J,358.5,320,0)
+22 ;;=Age^382^5
+23 ;;^UTILITY(U,$J,358.5,320,2,0)
+24 ;;=^358.52^2^2
+25 ;;^UTILITY(U,$J,358.5,320,2,1,0)
+26 ;;=DOB:^^^60^1^1^65^12^1
+27 ;;^UTILITY(U,$J,358.5,320,2,2,0)
+28 ;;=Age:^^^78^1^1^83^3^2
+29 ;;^UTILITY(U,$J,358.5,321,0)
+30 ;;=HEADER^386
+31 ;;^UTILITY(U,$J,358.5,321,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,321,2,1,0)
+34 ;;=NATIONAL SECURE MESSAGES^^^0^0
+35 ;;^UTILITY(U,$J,358.5,322,0)
+36 ;;=Patient name^388^3
+37 ;;^UTILITY(U,$J,358.5,322,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,322,2,1,0)
+40 ;;=Name:^^^1^1^1^7^30^1
+41 ;;^UTILITY(U,$J,358.5,323,0)
+42 ;;=SSN^388^4
+43 ;;^UTILITY(U,$J,358.5,323,2,0)
+44 ;;=^358.52^1^1
+45 ;;^UTILITY(U,$J,358.5,323,2,1,0)
+46 ;;=SSN:^^^39^1^1^44^15^1
+47 ;;^UTILITY(U,$J,358.5,324,0)
+48 ;;=Age^388^5
+49 ;;^UTILITY(U,$J,358.5,324,2,0)
+50 ;;=^358.52^2^2
+51 ;;^UTILITY(U,$J,358.5,324,2,1,0)
+52 ;;=DOB:^^^60^1^1^65^12^1
+53 ;;^UTILITY(U,$J,358.5,324,2,2,0)
+54 ;;=Age:^^^78^1^1^83^3^2
+55 ;;^UTILITY(U,$J,358.5,325,0)
+56 ;;=HEADER^391
+57 ;;^UTILITY(U,$J,358.5,325,2,0)
+58 ;;=^358.52^1^1
+59 ;;^UTILITY(U,$J,358.5,325,2,1,0)
+60 ;;=NATIONAL SLEEP MEDICINE^^^0^0
+61 ;;^UTILITY(U,$J,358.5,326,0)
+62 ;;=Patient name^392^3
+63 ;;^UTILITY(U,$J,358.5,326,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,326,2,1,0)
+66 ;;=Name:^^^1^1^1^7^30^1
+67 ;;^UTILITY(U,$J,358.5,327,0)
+68 ;;=SSN^392^4
+69 ;;^UTILITY(U,$J,358.5,327,2,0)
+70 ;;=^358.52^1^1
+71 ;;^UTILITY(U,$J,358.5,327,2,1,0)
+72 ;;=SSN:^^^39^1^1^44^15^1
+73 ;;^UTILITY(U,$J,358.5,328,0)
+74 ;;=Age^392^5
+75 ;;^UTILITY(U,$J,358.5,328,2,0)
+76 ;;=^358.52^2^2
+77 ;;^UTILITY(U,$J,358.5,328,2,1,0)
+78 ;;=DOB:^^^60^1^1^65^12^1
+79 ;;^UTILITY(U,$J,358.5,328,2,2,0)
+80 ;;=Age:^^^78^1^1^83^3^2
+81 ;;^UTILITY(U,$J,358.5,329,0)
+82 ;;=HEADER^397
+83 ;;^UTILITY(U,$J,358.5,329,2,0)
+84 ;;=^358.52^1^1
+85 ;;^UTILITY(U,$J,358.5,329,2,1,0)
+86 ;;=NATIONAL SPEECH^^^0^0
+87 ;;^UTILITY(U,$J,358.5,330,0)
+88 ;;=Patient name^398^3
+89 ;;^UTILITY(U,$J,358.5,330,2,0)
+90 ;;=^358.52^1^1
+91 ;;^UTILITY(U,$J,358.5,330,2,1,0)
+92 ;;=Name:^^^1^1^1^7^30^1
+93 ;;^UTILITY(U,$J,358.5,331,0)
+94 ;;=SSN^398^4
+95 ;;^UTILITY(U,$J,358.5,331,2,0)
+96 ;;=^358.52^1^1
+97 ;;^UTILITY(U,$J,358.5,331,2,1,0)
+98 ;;=SSN:^^^39^1^1^44^15^1
+99 ;;^UTILITY(U,$J,358.5,332,0)
+100 ;;=Age^398^5
+101 ;;^UTILITY(U,$J,358.5,332,2,0)
+102 ;;=^358.52^2^2
+103 ;;^UTILITY(U,$J,358.5,332,2,1,0)
+104 ;;=DOB:^^^60^1^1^65^12^1
+105 ;;^UTILITY(U,$J,358.5,332,2,2,0)
+106 ;;=Age:^^^78^1^1^83^3^2
+107 ;;^UTILITY(U,$J,358.5,333,0)
+108 ;;=HEADER^400
+109 ;;^UTILITY(U,$J,358.5,333,2,0)
+110 ;;=^358.52^1^1
+111 ;;^UTILITY(U,$J,358.5,333,2,1,0)
+112 ;;=NATIONAL SOCIAL WORK SERVICE (OTHER THAN MH)^^^0^0
+113 ;;^UTILITY(U,$J,358.5,334,0)
+114 ;;=Patient name^401^3
+115 ;;^UTILITY(U,$J,358.5,334,2,0)
+116 ;;=^358.52^1^1
+117 ;;^UTILITY(U,$J,358.5,334,2,1,0)
+118 ;;=Name:^^^1^1^1^7^30^1
+119 ;;^UTILITY(U,$J,358.5,335,0)
+120 ;;=SSN^401^4
+121 ;;^UTILITY(U,$J,358.5,335,2,0)
+122 ;;=^358.52^1^1
+123 ;;^UTILITY(U,$J,358.5,335,2,1,0)
+124 ;;=SSN:^^^39^1^1^44^15^1
+125 ;;^UTILITY(U,$J,358.5,336,0)
+126 ;;=Age^401^5
+127 ;;^UTILITY(U,$J,358.5,336,2,0)
+128 ;;=^358.52^2^2
+129 ;;^UTILITY(U,$J,358.5,336,2,1,0)
+130 ;;=DOB:^^^60^1^1^65^12^1
+131 ;;^UTILITY(U,$J,358.5,336,2,2,0)
+132 ;;=Age:^^^78^1^1^83^3^2
+133 ;;^UTILITY(U,$J,358.5,337,0)
+134 ;;=HEADER^405
+135 ;;^UTILITY(U,$J,358.5,337,2,0)
+136 ;;=^358.52^1^1