IBDEI3JN ; ; 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,296,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,296,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,296,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,297,0)
;;=HEADER^359
;;^UTILITY(U,$J,358.5,297,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,297,2,1,0)
;;=NATIONAL RECREATION THERAPY - GROUPS^^^0^0
;;^UTILITY(U,$J,358.5,298,0)
;;=Patient name^360^3
;;^UTILITY(U,$J,358.5,298,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,298,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,299,0)
;;=SSN^360^4
;;^UTILITY(U,$J,358.5,299,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,299,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,300,0)
;;=Age^360^5
;;^UTILITY(U,$J,358.5,300,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,300,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,300,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,301,0)
;;=HEADER^363
;;^UTILITY(U,$J,358.5,301,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,301,2,1,0)
;;=NATIONAL RECREATION THERAPY - INDIVIDUAL^^^0^0
;;^UTILITY(U,$J,358.5,302,0)
;;=Patient name^364^3
;;^UTILITY(U,$J,358.5,302,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,302,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,303,0)
;;=SSN^364^4
;;^UTILITY(U,$J,358.5,303,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,303,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,304,0)
;;=Age^364^5
;;^UTILITY(U,$J,358.5,304,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,304,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,304,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,305,0)
;;=HEADER^368
;;^UTILITY(U,$J,358.5,305,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,305,2,1,0)
;;=NATIONAL PT/OT/KT^^^0^0
;;^UTILITY(U,$J,358.5,306,0)
;;=Patient name^369^3
;;^UTILITY(U,$J,358.5,306,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,306,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,307,0)
;;=SSN^369^4
;;^UTILITY(U,$J,358.5,307,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,307,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,308,0)
;;=Age^369^5
;;^UTILITY(U,$J,358.5,308,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,308,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,308,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,309,0)
;;=HEADER^372
;;^UTILITY(U,$J,358.5,309,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,309,2,1,0)
;;=NATIONAL RESPIRATORY THERAPY - PFT/SLEEP/OXYGEN^^^0^0
;;^UTILITY(U,$J,358.5,310,0)
;;=Patient name^373^3
;;^UTILITY(U,$J,358.5,310,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,310,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,311,0)
;;=SSN^373^4
;;^UTILITY(U,$J,358.5,311,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,311,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,312,0)
;;=Age^373^5
;;^UTILITY(U,$J,358.5,312,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,312,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,312,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,313,0)
;;=HEADER^377
;;^UTILITY(U,$J,358.5,313,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,313,2,1,0)
;;=NATIONAL RHEUMATOLOGY^^^0^0
;;^UTILITY(U,$J,358.5,314,0)
;;=Patient name^378^3
;;^UTILITY(U,$J,358.5,314,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,314,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,315,0)
;;=SSN^378^4
;;^UTILITY(U,$J,358.5,315,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,315,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,316,0)
;;=Age^378^5
;;^UTILITY(U,$J,358.5,316,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,316,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JN 3963 printed Oct 16, 2024@18:50:50 Page 2
IBDEI3JN ; ; 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,296,2,0)
+2 ;;=^358.52^2^2
+3 ;;^UTILITY(U,$J,358.5,296,2,1,0)
+4 ;;=DOB:^^^60^1^1^65^12^1
+5 ;;^UTILITY(U,$J,358.5,296,2,2,0)
+6 ;;=Age:^^^78^1^1^83^3^2
+7 ;;^UTILITY(U,$J,358.5,297,0)
+8 ;;=HEADER^359
+9 ;;^UTILITY(U,$J,358.5,297,2,0)
+10 ;;=^358.52^1^1
+11 ;;^UTILITY(U,$J,358.5,297,2,1,0)
+12 ;;=NATIONAL RECREATION THERAPY - GROUPS^^^0^0
+13 ;;^UTILITY(U,$J,358.5,298,0)
+14 ;;=Patient name^360^3
+15 ;;^UTILITY(U,$J,358.5,298,2,0)
+16 ;;=^358.52^1^1
+17 ;;^UTILITY(U,$J,358.5,298,2,1,0)
+18 ;;=Name:^^^1^1^1^7^30^1
+19 ;;^UTILITY(U,$J,358.5,299,0)
+20 ;;=SSN^360^4
+21 ;;^UTILITY(U,$J,358.5,299,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,299,2,1,0)
+24 ;;=SSN:^^^39^1^1^44^15^1
+25 ;;^UTILITY(U,$J,358.5,300,0)
+26 ;;=Age^360^5
+27 ;;^UTILITY(U,$J,358.5,300,2,0)
+28 ;;=^358.52^2^2
+29 ;;^UTILITY(U,$J,358.5,300,2,1,0)
+30 ;;=DOB:^^^60^1^1^65^12^1
+31 ;;^UTILITY(U,$J,358.5,300,2,2,0)
+32 ;;=Age:^^^78^1^1^83^3^2
+33 ;;^UTILITY(U,$J,358.5,301,0)
+34 ;;=HEADER^363
+35 ;;^UTILITY(U,$J,358.5,301,2,0)
+36 ;;=^358.52^1^1
+37 ;;^UTILITY(U,$J,358.5,301,2,1,0)
+38 ;;=NATIONAL RECREATION THERAPY - INDIVIDUAL^^^0^0
+39 ;;^UTILITY(U,$J,358.5,302,0)
+40 ;;=Patient name^364^3
+41 ;;^UTILITY(U,$J,358.5,302,2,0)
+42 ;;=^358.52^1^1
+43 ;;^UTILITY(U,$J,358.5,302,2,1,0)
+44 ;;=Name:^^^1^1^1^7^30^1
+45 ;;^UTILITY(U,$J,358.5,303,0)
+46 ;;=SSN^364^4
+47 ;;^UTILITY(U,$J,358.5,303,2,0)
+48 ;;=^358.52^1^1
+49 ;;^UTILITY(U,$J,358.5,303,2,1,0)
+50 ;;=SSN:^^^39^1^1^44^15^1
+51 ;;^UTILITY(U,$J,358.5,304,0)
+52 ;;=Age^364^5
+53 ;;^UTILITY(U,$J,358.5,304,2,0)
+54 ;;=^358.52^2^2
+55 ;;^UTILITY(U,$J,358.5,304,2,1,0)
+56 ;;=DOB:^^^60^1^1^65^12^1
+57 ;;^UTILITY(U,$J,358.5,304,2,2,0)
+58 ;;=Age:^^^78^1^1^83^3^2
+59 ;;^UTILITY(U,$J,358.5,305,0)
+60 ;;=HEADER^368
+61 ;;^UTILITY(U,$J,358.5,305,2,0)
+62 ;;=^358.52^1^1
+63 ;;^UTILITY(U,$J,358.5,305,2,1,0)
+64 ;;=NATIONAL PT/OT/KT^^^0^0
+65 ;;^UTILITY(U,$J,358.5,306,0)
+66 ;;=Patient name^369^3
+67 ;;^UTILITY(U,$J,358.5,306,2,0)
+68 ;;=^358.52^1^1
+69 ;;^UTILITY(U,$J,358.5,306,2,1,0)
+70 ;;=Name:^^^1^1^1^7^30^1
+71 ;;^UTILITY(U,$J,358.5,307,0)
+72 ;;=SSN^369^4
+73 ;;^UTILITY(U,$J,358.5,307,2,0)
+74 ;;=^358.52^1^1
+75 ;;^UTILITY(U,$J,358.5,307,2,1,0)
+76 ;;=SSN:^^^39^1^1^44^15^1
+77 ;;^UTILITY(U,$J,358.5,308,0)
+78 ;;=Age^369^5
+79 ;;^UTILITY(U,$J,358.5,308,2,0)
+80 ;;=^358.52^2^2
+81 ;;^UTILITY(U,$J,358.5,308,2,1,0)
+82 ;;=DOB:^^^60^1^1^65^12^1
+83 ;;^UTILITY(U,$J,358.5,308,2,2,0)
+84 ;;=Age:^^^78^1^1^83^3^2
+85 ;;^UTILITY(U,$J,358.5,309,0)
+86 ;;=HEADER^372
+87 ;;^UTILITY(U,$J,358.5,309,2,0)
+88 ;;=^358.52^1^1
+89 ;;^UTILITY(U,$J,358.5,309,2,1,0)
+90 ;;=NATIONAL RESPIRATORY THERAPY - PFT/SLEEP/OXYGEN^^^0^0
+91 ;;^UTILITY(U,$J,358.5,310,0)
+92 ;;=Patient name^373^3
+93 ;;^UTILITY(U,$J,358.5,310,2,0)
+94 ;;=^358.52^1^1
+95 ;;^UTILITY(U,$J,358.5,310,2,1,0)
+96 ;;=Name:^^^1^1^1^7^30^1
+97 ;;^UTILITY(U,$J,358.5,311,0)
+98 ;;=SSN^373^4
+99 ;;^UTILITY(U,$J,358.5,311,2,0)
+100 ;;=^358.52^1^1
+101 ;;^UTILITY(U,$J,358.5,311,2,1,0)
+102 ;;=SSN:^^^39^1^1^44^15^1
+103 ;;^UTILITY(U,$J,358.5,312,0)
+104 ;;=Age^373^5
+105 ;;^UTILITY(U,$J,358.5,312,2,0)
+106 ;;=^358.52^2^2
+107 ;;^UTILITY(U,$J,358.5,312,2,1,0)
+108 ;;=DOB:^^^60^1^1^65^12^1
+109 ;;^UTILITY(U,$J,358.5,312,2,2,0)
+110 ;;=Age:^^^78^1^1^83^3^2
+111 ;;^UTILITY(U,$J,358.5,313,0)
+112 ;;=HEADER^377
+113 ;;^UTILITY(U,$J,358.5,313,2,0)
+114 ;;=^358.52^1^1
+115 ;;^UTILITY(U,$J,358.5,313,2,1,0)
+116 ;;=NATIONAL RHEUMATOLOGY^^^0^0
+117 ;;^UTILITY(U,$J,358.5,314,0)
+118 ;;=Patient name^378^3
+119 ;;^UTILITY(U,$J,358.5,314,2,0)
+120 ;;=^358.52^1^1
+121 ;;^UTILITY(U,$J,358.5,314,2,1,0)
+122 ;;=Name:^^^1^1^1^7^30^1
+123 ;;^UTILITY(U,$J,358.5,315,0)
+124 ;;=SSN^378^4
+125 ;;^UTILITY(U,$J,358.5,315,2,0)
+126 ;;=^358.52^1^1
+127 ;;^UTILITY(U,$J,358.5,315,2,1,0)
+128 ;;=SSN:^^^39^1^1^44^15^1
+129 ;;^UTILITY(U,$J,358.5,316,0)
+130 ;;=Age^378^5
+131 ;;^UTILITY(U,$J,358.5,316,2,0)
+132 ;;=^358.52^2^2
+133 ;;^UTILITY(U,$J,358.5,316,2,1,0)
+134 ;;=DOB:^^^60^1^1^65^12^1