IBDEI3D8 ; ; 05-NOV-2019
;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.5,180,0)
;;=HEADER^210
;;^UTILITY(U,$J,358.5,180,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,180,2,1,0)
;;=NATIONAL PLASTIC SURGERY^^^0^0
;;^UTILITY(U,$J,358.5,181,0)
;;=HEADER^215
;;^UTILITY(U,$J,358.5,181,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,181,2,1,0)
;;=NATIONAL PODIATRY NAIL CLINIC - NURSE^^^0^0
;;^UTILITY(U,$J,358.5,182,0)
;;=Patient name^216^1
;;^UTILITY(U,$J,358.5,182,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,182,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,183,0)
;;=SSN^216^2
;;^UTILITY(U,$J,358.5,183,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,183,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,184,0)
;;=Age^216^3
;;^UTILITY(U,$J,358.5,184,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,184,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,184,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,185,0)
;;=HEADER^219
;;^UTILITY(U,$J,358.5,185,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,185,2,1,0)
;;=NATIONAL PODIATRY^^^0^0
;;^UTILITY(U,$J,358.5,186,0)
;;=Patient name^220^1
;;^UTILITY(U,$J,358.5,186,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,186,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,187,0)
;;=SSN^220^2
;;^UTILITY(U,$J,358.5,187,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,187,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,188,0)
;;=Age^220^3
;;^UTILITY(U,$J,358.5,188,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,188,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,188,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,189,0)
;;=HEADER^224
;;^UTILITY(U,$J,358.5,189,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,189,2,1,0)
;;=NATIONAL PRIMARY CARE^^^0^0
;;^UTILITY(U,$J,358.5,190,0)
;;=Patient name^225^1
;;^UTILITY(U,$J,358.5,190,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,190,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,191,0)
;;=SSN^225^2
;;^UTILITY(U,$J,358.5,191,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,191,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,192,0)
;;=Age^225^3
;;^UTILITY(U,$J,358.5,192,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,192,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,192,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,193,0)
;;=HEADER^230
;;^UTILITY(U,$J,358.5,193,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,193,2,1,0)
;;=NATIONAL PULMONARY^^^0^0
;;^UTILITY(U,$J,358.5,194,0)
;;=Patient name^231^1
;;^UTILITY(U,$J,358.5,194,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,194,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,195,0)
;;=SSN^231^2
;;^UTILITY(U,$J,358.5,195,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,195,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,196,0)
;;=Age^231^3
;;^UTILITY(U,$J,358.5,196,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,196,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,196,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,197,0)
;;=HEADER^234
;;^UTILITY(U,$J,358.5,197,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,197,2,1,0)
;;=NATIONAL RESPIRATORY THERAPY - PFT/SLEEP/OXYGEN^^^0^0
;;^UTILITY(U,$J,358.5,198,0)
;;=Patient name^235^1
;;^UTILITY(U,$J,358.5,198,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,198,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,199,0)
;;=SSN^235^2
;;^UTILITY(U,$J,358.5,199,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,199,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3D8 3780 printed Dec 13, 2024@02:46:30 Page 2
IBDEI3D8 ; ; 05-NOV-2019
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
+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,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.5,180,0)
+2 ;;=HEADER^210
+3 ;;^UTILITY(U,$J,358.5,180,2,0)
+4 ;;=^358.52^1^1
+5 ;;^UTILITY(U,$J,358.5,180,2,1,0)
+6 ;;=NATIONAL PLASTIC SURGERY^^^0^0
+7 ;;^UTILITY(U,$J,358.5,181,0)
+8 ;;=HEADER^215
+9 ;;^UTILITY(U,$J,358.5,181,2,0)
+10 ;;=^358.52^1^1
+11 ;;^UTILITY(U,$J,358.5,181,2,1,0)
+12 ;;=NATIONAL PODIATRY NAIL CLINIC - NURSE^^^0^0
+13 ;;^UTILITY(U,$J,358.5,182,0)
+14 ;;=Patient name^216^1
+15 ;;^UTILITY(U,$J,358.5,182,2,0)
+16 ;;=^358.52^1^1
+17 ;;^UTILITY(U,$J,358.5,182,2,1,0)
+18 ;;=Name:^^^1^1^1^7^30^1
+19 ;;^UTILITY(U,$J,358.5,183,0)
+20 ;;=SSN^216^2
+21 ;;^UTILITY(U,$J,358.5,183,2,0)
+22 ;;=^358.52^1^1
+23 ;;^UTILITY(U,$J,358.5,183,2,1,0)
+24 ;;=SSN:^^^39^1^1^44^15^1
+25 ;;^UTILITY(U,$J,358.5,184,0)
+26 ;;=Age^216^3
+27 ;;^UTILITY(U,$J,358.5,184,2,0)
+28 ;;=^358.52^2^2
+29 ;;^UTILITY(U,$J,358.5,184,2,1,0)
+30 ;;=DOB:^^^60^1^1^65^12^1
+31 ;;^UTILITY(U,$J,358.5,184,2,2,0)
+32 ;;=Age:^^^78^1^1^83^3^2
+33 ;;^UTILITY(U,$J,358.5,185,0)
+34 ;;=HEADER^219
+35 ;;^UTILITY(U,$J,358.5,185,2,0)
+36 ;;=^358.52^1^1
+37 ;;^UTILITY(U,$J,358.5,185,2,1,0)
+38 ;;=NATIONAL PODIATRY^^^0^0
+39 ;;^UTILITY(U,$J,358.5,186,0)
+40 ;;=Patient name^220^1
+41 ;;^UTILITY(U,$J,358.5,186,2,0)
+42 ;;=^358.52^1^1
+43 ;;^UTILITY(U,$J,358.5,186,2,1,0)
+44 ;;=Name:^^^1^1^1^7^30^1
+45 ;;^UTILITY(U,$J,358.5,187,0)
+46 ;;=SSN^220^2
+47 ;;^UTILITY(U,$J,358.5,187,2,0)
+48 ;;=^358.52^1^1
+49 ;;^UTILITY(U,$J,358.5,187,2,1,0)
+50 ;;=SSN:^^^39^1^1^44^15^1
+51 ;;^UTILITY(U,$J,358.5,188,0)
+52 ;;=Age^220^3
+53 ;;^UTILITY(U,$J,358.5,188,2,0)
+54 ;;=^358.52^2^2
+55 ;;^UTILITY(U,$J,358.5,188,2,1,0)
+56 ;;=DOB:^^^60^1^1^65^12^1
+57 ;;^UTILITY(U,$J,358.5,188,2,2,0)
+58 ;;=Age:^^^78^1^1^83^3^2
+59 ;;^UTILITY(U,$J,358.5,189,0)
+60 ;;=HEADER^224
+61 ;;^UTILITY(U,$J,358.5,189,2,0)
+62 ;;=^358.52^1^1
+63 ;;^UTILITY(U,$J,358.5,189,2,1,0)
+64 ;;=NATIONAL PRIMARY CARE^^^0^0
+65 ;;^UTILITY(U,$J,358.5,190,0)
+66 ;;=Patient name^225^1
+67 ;;^UTILITY(U,$J,358.5,190,2,0)
+68 ;;=^358.52^1^1
+69 ;;^UTILITY(U,$J,358.5,190,2,1,0)
+70 ;;=Name:^^^1^1^1^7^30^1
+71 ;;^UTILITY(U,$J,358.5,191,0)
+72 ;;=SSN^225^2
+73 ;;^UTILITY(U,$J,358.5,191,2,0)
+74 ;;=^358.52^1^1
+75 ;;^UTILITY(U,$J,358.5,191,2,1,0)
+76 ;;=SSN:^^^39^1^1^44^15^1
+77 ;;^UTILITY(U,$J,358.5,192,0)
+78 ;;=Age^225^3
+79 ;;^UTILITY(U,$J,358.5,192,2,0)
+80 ;;=^358.52^2^2
+81 ;;^UTILITY(U,$J,358.5,192,2,1,0)
+82 ;;=DOB:^^^60^1^1^65^12^1
+83 ;;^UTILITY(U,$J,358.5,192,2,2,0)
+84 ;;=Age:^^^78^1^1^83^3^2
+85 ;;^UTILITY(U,$J,358.5,193,0)
+86 ;;=HEADER^230
+87 ;;^UTILITY(U,$J,358.5,193,2,0)
+88 ;;=^358.52^1^1
+89 ;;^UTILITY(U,$J,358.5,193,2,1,0)
+90 ;;=NATIONAL PULMONARY^^^0^0
+91 ;;^UTILITY(U,$J,358.5,194,0)
+92 ;;=Patient name^231^1
+93 ;;^UTILITY(U,$J,358.5,194,2,0)
+94 ;;=^358.52^1^1
+95 ;;^UTILITY(U,$J,358.5,194,2,1,0)
+96 ;;=Name:^^^1^1^1^7^30^1
+97 ;;^UTILITY(U,$J,358.5,195,0)
+98 ;;=SSN^231^2
+99 ;;^UTILITY(U,$J,358.5,195,2,0)
+100 ;;=^358.52^1^1
+101 ;;^UTILITY(U,$J,358.5,195,2,1,0)
+102 ;;=SSN:^^^39^1^1^44^15^1
+103 ;;^UTILITY(U,$J,358.5,196,0)
+104 ;;=Age^231^3
+105 ;;^UTILITY(U,$J,358.5,196,2,0)
+106 ;;=^358.52^2^2
+107 ;;^UTILITY(U,$J,358.5,196,2,1,0)
+108 ;;=DOB:^^^60^1^1^65^12^1
+109 ;;^UTILITY(U,$J,358.5,196,2,2,0)
+110 ;;=Age:^^^78^1^1^83^3^2
+111 ;;^UTILITY(U,$J,358.5,197,0)
+112 ;;=HEADER^234
+113 ;;^UTILITY(U,$J,358.5,197,2,0)
+114 ;;=^358.52^1^1
+115 ;;^UTILITY(U,$J,358.5,197,2,1,0)
+116 ;;=NATIONAL RESPIRATORY THERAPY - PFT/SLEEP/OXYGEN^^^0^0
+117 ;;^UTILITY(U,$J,358.5,198,0)
+118 ;;=Patient name^235^1
+119 ;;^UTILITY(U,$J,358.5,198,2,0)
+120 ;;=^358.52^1^1
+121 ;;^UTILITY(U,$J,358.5,198,2,1,0)
+122 ;;=Name:^^^1^1^1^7^30^1
+123 ;;^UTILITY(U,$J,358.5,199,0)
+124 ;;=SSN^235^2
+125 ;;^UTILITY(U,$J,358.5,199,2,0)
+126 ;;=^358.52^1^1
+127 ;;^UTILITY(U,$J,358.5,199,2,1,0)
+128 ;;=SSN:^^^39^1^1^44^15^1