IBDEI3JP ; ; 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,337,2,1,0)
;;=NATIONAL SOCIAL WORK SERVICE - MENTAL HEALTH^^^0^0
;;^UTILITY(U,$J,358.5,338,0)
;;=Patient name^406^3
;;^UTILITY(U,$J,358.5,338,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,338,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,339,0)
;;=SSN^406^4
;;^UTILITY(U,$J,358.5,339,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,339,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,340,0)
;;=Age^406^5
;;^UTILITY(U,$J,358.5,340,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,340,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,340,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,341,0)
;;=HEADER^409
;;^UTILITY(U,$J,358.5,341,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,341,2,1,0)
;;=NATIONAL TBI^^^0^0
;;^UTILITY(U,$J,358.5,342,0)
;;=Patient name^410^3
;;^UTILITY(U,$J,358.5,342,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,342,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,343,0)
;;=SSN^410^4
;;^UTILITY(U,$J,358.5,343,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,343,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,344,0)
;;=Age^410^5
;;^UTILITY(U,$J,358.5,344,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,344,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,344,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,345,0)
;;=HEADER^414
;;^UTILITY(U,$J,358.5,345,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,345,2,1,0)
;;=NATIONAL TELEDERM^^^0^0
;;^UTILITY(U,$J,358.5,346,0)
;;=Patient name^415^3
;;^UTILITY(U,$J,358.5,346,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,346,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,347,0)
;;=SSN^415^4
;;^UTILITY(U,$J,358.5,347,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,347,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,348,0)
;;=Age^415^5
;;^UTILITY(U,$J,358.5,348,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,348,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,348,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,349,0)
;;=HEADER^418
;;^UTILITY(U,$J,358.5,349,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,349,2,1,0)
;;=NATIONAL TELEHEALTH - PATIENT SITE^^^0^0
;;^UTILITY(U,$J,358.5,350,0)
;;=Patient name^419^3
;;^UTILITY(U,$J,358.5,350,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,350,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,351,0)
;;=SSN^419^4
;;^UTILITY(U,$J,358.5,351,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,351,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,352,0)
;;=Age^419^5
;;^UTILITY(U,$J,358.5,352,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,352,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,352,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,353,0)
;;=HEADER^422
;;^UTILITY(U,$J,358.5,353,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,353,2,1,0)
;;=NATIONAL TELEPHONE CLINICS^^^0^0
;;^UTILITY(U,$J,358.5,354,0)
;;=Patient name^424^3
;;^UTILITY(U,$J,358.5,354,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,354,2,1,0)
;;=Name:^^^1^1^1^7^30^1
;;^UTILITY(U,$J,358.5,355,0)
;;=SSN^424^4
;;^UTILITY(U,$J,358.5,355,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,355,2,1,0)
;;=SSN:^^^39^1^1^44^15^1
;;^UTILITY(U,$J,358.5,356,0)
;;=Age^424^5
;;^UTILITY(U,$J,358.5,356,2,0)
;;=^358.52^2^2
;;^UTILITY(U,$J,358.5,356,2,1,0)
;;=DOB:^^^60^1^1^65^12^1
;;^UTILITY(U,$J,358.5,356,2,2,0)
;;=Age:^^^78^1^1^83^3^2
;;^UTILITY(U,$J,358.5,357,0)
;;=HEADER^426
;;^UTILITY(U,$J,358.5,357,2,0)
;;=^358.52^1^1
;;^UTILITY(U,$J,358.5,357,2,1,0)
;;=NATIONAL THORACIC SURGERY^^^0^0
;;^UTILITY(U,$J,358.5,358,0)
;;=Patient name^427^3
;;^UTILITY(U,$J,358.5,358,2,0)
;;=^358.52^1^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JP 4000 printed Dec 13, 2024@02:50:06 Page 2
IBDEI3JP ; ; 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,337,2,1,0)
+2 ;;=NATIONAL SOCIAL WORK SERVICE - MENTAL HEALTH^^^0^0
+3 ;;^UTILITY(U,$J,358.5,338,0)
+4 ;;=Patient name^406^3
+5 ;;^UTILITY(U,$J,358.5,338,2,0)
+6 ;;=^358.52^1^1
+7 ;;^UTILITY(U,$J,358.5,338,2,1,0)
+8 ;;=Name:^^^1^1^1^7^30^1
+9 ;;^UTILITY(U,$J,358.5,339,0)
+10 ;;=SSN^406^4
+11 ;;^UTILITY(U,$J,358.5,339,2,0)
+12 ;;=^358.52^1^1
+13 ;;^UTILITY(U,$J,358.5,339,2,1,0)
+14 ;;=SSN:^^^39^1^1^44^15^1
+15 ;;^UTILITY(U,$J,358.5,340,0)
+16 ;;=Age^406^5
+17 ;;^UTILITY(U,$J,358.5,340,2,0)
+18 ;;=^358.52^2^2
+19 ;;^UTILITY(U,$J,358.5,340,2,1,0)
+20 ;;=DOB:^^^60^1^1^65^12^1
+21 ;;^UTILITY(U,$J,358.5,340,2,2,0)
+22 ;;=Age:^^^78^1^1^83^3^2
+23 ;;^UTILITY(U,$J,358.5,341,0)
+24 ;;=HEADER^409
+25 ;;^UTILITY(U,$J,358.5,341,2,0)
+26 ;;=^358.52^1^1
+27 ;;^UTILITY(U,$J,358.5,341,2,1,0)
+28 ;;=NATIONAL TBI^^^0^0
+29 ;;^UTILITY(U,$J,358.5,342,0)
+30 ;;=Patient name^410^3
+31 ;;^UTILITY(U,$J,358.5,342,2,0)
+32 ;;=^358.52^1^1
+33 ;;^UTILITY(U,$J,358.5,342,2,1,0)
+34 ;;=Name:^^^1^1^1^7^30^1
+35 ;;^UTILITY(U,$J,358.5,343,0)
+36 ;;=SSN^410^4
+37 ;;^UTILITY(U,$J,358.5,343,2,0)
+38 ;;=^358.52^1^1
+39 ;;^UTILITY(U,$J,358.5,343,2,1,0)
+40 ;;=SSN:^^^39^1^1^44^15^1
+41 ;;^UTILITY(U,$J,358.5,344,0)
+42 ;;=Age^410^5
+43 ;;^UTILITY(U,$J,358.5,344,2,0)
+44 ;;=^358.52^2^2
+45 ;;^UTILITY(U,$J,358.5,344,2,1,0)
+46 ;;=DOB:^^^60^1^1^65^12^1
+47 ;;^UTILITY(U,$J,358.5,344,2,2,0)
+48 ;;=Age:^^^78^1^1^83^3^2
+49 ;;^UTILITY(U,$J,358.5,345,0)
+50 ;;=HEADER^414
+51 ;;^UTILITY(U,$J,358.5,345,2,0)
+52 ;;=^358.52^1^1
+53 ;;^UTILITY(U,$J,358.5,345,2,1,0)
+54 ;;=NATIONAL TELEDERM^^^0^0
+55 ;;^UTILITY(U,$J,358.5,346,0)
+56 ;;=Patient name^415^3
+57 ;;^UTILITY(U,$J,358.5,346,2,0)
+58 ;;=^358.52^1^1
+59 ;;^UTILITY(U,$J,358.5,346,2,1,0)
+60 ;;=Name:^^^1^1^1^7^30^1
+61 ;;^UTILITY(U,$J,358.5,347,0)
+62 ;;=SSN^415^4
+63 ;;^UTILITY(U,$J,358.5,347,2,0)
+64 ;;=^358.52^1^1
+65 ;;^UTILITY(U,$J,358.5,347,2,1,0)
+66 ;;=SSN:^^^39^1^1^44^15^1
+67 ;;^UTILITY(U,$J,358.5,348,0)
+68 ;;=Age^415^5
+69 ;;^UTILITY(U,$J,358.5,348,2,0)
+70 ;;=^358.52^2^2
+71 ;;^UTILITY(U,$J,358.5,348,2,1,0)
+72 ;;=DOB:^^^60^1^1^65^12^1
+73 ;;^UTILITY(U,$J,358.5,348,2,2,0)
+74 ;;=Age:^^^78^1^1^83^3^2
+75 ;;^UTILITY(U,$J,358.5,349,0)
+76 ;;=HEADER^418
+77 ;;^UTILITY(U,$J,358.5,349,2,0)
+78 ;;=^358.52^1^1
+79 ;;^UTILITY(U,$J,358.5,349,2,1,0)
+80 ;;=NATIONAL TELEHEALTH - PATIENT SITE^^^0^0
+81 ;;^UTILITY(U,$J,358.5,350,0)
+82 ;;=Patient name^419^3
+83 ;;^UTILITY(U,$J,358.5,350,2,0)
+84 ;;=^358.52^1^1
+85 ;;^UTILITY(U,$J,358.5,350,2,1,0)
+86 ;;=Name:^^^1^1^1^7^30^1
+87 ;;^UTILITY(U,$J,358.5,351,0)
+88 ;;=SSN^419^4
+89 ;;^UTILITY(U,$J,358.5,351,2,0)
+90 ;;=^358.52^1^1
+91 ;;^UTILITY(U,$J,358.5,351,2,1,0)
+92 ;;=SSN:^^^39^1^1^44^15^1
+93 ;;^UTILITY(U,$J,358.5,352,0)
+94 ;;=Age^419^5
+95 ;;^UTILITY(U,$J,358.5,352,2,0)
+96 ;;=^358.52^2^2
+97 ;;^UTILITY(U,$J,358.5,352,2,1,0)
+98 ;;=DOB:^^^60^1^1^65^12^1
+99 ;;^UTILITY(U,$J,358.5,352,2,2,0)
+100 ;;=Age:^^^78^1^1^83^3^2
+101 ;;^UTILITY(U,$J,358.5,353,0)
+102 ;;=HEADER^422
+103 ;;^UTILITY(U,$J,358.5,353,2,0)
+104 ;;=^358.52^1^1
+105 ;;^UTILITY(U,$J,358.5,353,2,1,0)
+106 ;;=NATIONAL TELEPHONE CLINICS^^^0^0
+107 ;;^UTILITY(U,$J,358.5,354,0)
+108 ;;=Patient name^424^3
+109 ;;^UTILITY(U,$J,358.5,354,2,0)
+110 ;;=^358.52^1^1
+111 ;;^UTILITY(U,$J,358.5,354,2,1,0)
+112 ;;=Name:^^^1^1^1^7^30^1
+113 ;;^UTILITY(U,$J,358.5,355,0)
+114 ;;=SSN^424^4
+115 ;;^UTILITY(U,$J,358.5,355,2,0)
+116 ;;=^358.52^1^1
+117 ;;^UTILITY(U,$J,358.5,355,2,1,0)
+118 ;;=SSN:^^^39^1^1^44^15^1
+119 ;;^UTILITY(U,$J,358.5,356,0)
+120 ;;=Age^424^5
+121 ;;^UTILITY(U,$J,358.5,356,2,0)
+122 ;;=^358.52^2^2
+123 ;;^UTILITY(U,$J,358.5,356,2,1,0)
+124 ;;=DOB:^^^60^1^1^65^12^1
+125 ;;^UTILITY(U,$J,358.5,356,2,2,0)
+126 ;;=Age:^^^78^1^1^83^3^2
+127 ;;^UTILITY(U,$J,358.5,357,0)
+128 ;;=HEADER^426
+129 ;;^UTILITY(U,$J,358.5,357,2,0)
+130 ;;=^358.52^1^1
+131 ;;^UTILITY(U,$J,358.5,357,2,1,0)
+132 ;;=NATIONAL THORACIC SURGERY^^^0^0
+133 ;;^UTILITY(U,$J,358.5,358,0)
+134 ;;=Patient name^427^3
+135 ;;^UTILITY(U,$J,358.5,358,2,0)
+136 ;;=^358.52^1^1