SRTPRH1 ;BIR/SJA - PRINT HEART RISK ASSESSMENT INFO ;04/21/08
;;3.0; Surgery ;**167**;24 Jun 93;Build 27
W:$E(IOST)="P" ! W !,?28,"RISK ASSESSMENT INFORMATION",!
K SRAO,SRX,Y,DR
S:'SRNOVA SRDR="62;149;150;151;59;60;152;108;153;74;115;81;82;109;110;90;83;75;154"
S:SRNOVA SRDR="76;169;177;149;173;174;175;62;176;74;152;171;172;179;178;132;145;150;151;147;59;60"
K DA,DIC,DIQ,SRX,SRY S DIC="^SRT(",DA=SRTPP,DIQ="SRY",DIQ(0)="E",DR=SRDR D EN^DIQ1 K DA,DIC,DIQ,DR
S (SRX,SRZ)=0 F I=1:1 S SRZ=$P(SRDR,";",I) Q:'SRZ S SRX=I,SRAO(I)=SRY(139.5,SRTPP,SRZ,"E")_"^"_SRZ
VA I 'SRNOVA D
.W !,"Inotrope Dependent Pre-TX:",?27,$P(SRAO(1),"^"),?40,"Non-Compliance:",?67,$P(SRAO(16),"^")
.W !,"Amiodarone Use:",?27,$P(SRAO(2),"^"),?40,"Recipient Substance Abuse:",?67,$P(SRAO(17),"^")
.W !,"Heparin Sensitivity:",?27,$P(SRAO(3),"^"),?40,"Liver Disease:",?67,$P(SRAO(18),"^")
.W !,"Hyperlipidemia History:",?27,$P(SRAO(4),"^"),?40,"Creatinine on Day of TX:",?67,$P(SRAO(19),"^")
.W !,"Diabetic Retinopathy:",?27,$P(SRAO(5),"^")
.W !,"Diabetic Neuropathy:",?27,$P(SRAO(6),"^")
.W !,"Ventricular Tachycardia:",?27,$P(SRAO(7),"^")
.W !,"HIV+ (Positive):",?27,$P(SRAO(8),"^")
.W !,"Prior Blood Transfusion:",?27,$P(SRAO(9),"^")
.W !,"Pulmonary Hypertension/Elevated PAP not reversible:",?67,$P(SRAO(10),"^")
.W !,"Active Infection Immediately Pre-Transplant Req. Antibiotics:",?67,$P(SRAO(11),"^")
.W !,"H/O Pre-Transplant Skin Malignancy:",?67,$P(SRAO(12),"^")
.W !,"H/O Pre-Transplant Other Malignancy:",?67,$P(SRAO(13),"^")
.W !,"Post-Tx Prophylaxis for CMV/Anti-Viral Treatment:",?67,$P(SRAO(14),"^")
.W !,"Post-Tx Prophylaxis for PCP/Antibiotic Treatment:",?67,$P(SRAO(15),"^")
NONVA I SRNOVA D
.W !,"COPD:",?30,$P(SRAO(1),"^"),?44,"Hypertension:",?71,$P(SRAO(17),"^")
.W !,"FEV1:",?30,$P(SRAO(2),"^"),?44,"Heparin Sensitivity:",?71,$P(SRAO(18),"^")
.W !,"Current Digoxin Use:",?30,$P(SRAO(3),"^"),?44,"Hyperlipidemia History:",?71,$P(SRAO(19),"^")
.W !,"Amiodarone Use:",?30,$P(SRAO(4),"^"),?44,"Diabetes:",?71,$P(SRAO(20),"^")
.W !,"Number prior heart surgeries:",?30,$P(SRAO(5),"^"),?44,"Diabetes Retinopathy:",?71,$P(SRAO(21),"^")
.W !,"Cerebral Vascular Disease:",?30,$P(SRAO(6),"^"),?44,"Diabetes Neuropathy:",?71,$P(SRAO(22),"^")
.W !,"CHF (NYHA Functional Class):",?30,$P(SRAO(7),"^")
.W !,"Inotrope Dependent Pre-TX:",?30,$P(SRAO(8),"^")
.W !,"IV NTG within 48 hours:",?30,$P(SRAO(9),"^")
.W !,"Pulmonary Hyper/Elevated PAP:",?30,$P(SRAO(10),"^")
.W !,"Ventricular Tachycardia:",?30,$P(SRAO(11),"^")
.W !,"Current Smoker:",?30,$E($P(SRAO(12),"^"),1,22)
.W !,"Prior MI: ",?30,$E($P(SRAO(13),"^"),1,15)
.W !,"Preop Circulatory Device:",?30,$E($P(SRAO(14),"^"),1,10)
.W !,"Current Diuretic Use:",?30,$P(SRAO(15),"^")
.W !,"Peripheral Vascular Disease:",?30,$P(SRAO(16),"^")
D:SRNOVA RISK
I $E(IOST)'="P" D PAGE^SRTPPAS I SRSOUT G END^SRTPPAS
I $E(IOST)="P" G:SRSOUT END^SRTPPAS I $Y+20>IOSL D PAGE^SRTPPAS I SRSOUT G END^SRTPPAS
G ^SRTPRH2
Q
RISK ;
K DR,SRAO,SRX,Y
S SRDR="75;154;108;115;81;82;90;83;153"
K DA,DIC,DIQ,SRX,SRY S DIC="^SRT(",DA=SRTPP,DIQ="SRY",DIQ(0)="E",DR=SRDR D EN^DIQ1 K DA,DIC,DIQ,DR
S (SRX,SRZ)=0 F I=1:1 S SRZ=$P(SRDR,";",I) Q:'SRZ S SRX=I,SRAO(I)=SRY(139.5,SRTPP,SRZ,"E")_"^"_SRZ
W !,"Liver Disease:",?30,$P(SRAO(1),"^"),?44,"Pre-TX Other Malignancy:",?71,$P(SRAO(6),"^")
W !,"Creatinine on Day of TX:",?30,$P(SRAO(2),"^"),?44,"Non-Compliance:",?71,$P(SRAO(7),"^")
W !,"HIV+ (positive):",?30,$P(SRAO(3),"^"),?44,"Recipient Substance Abuse:",?71,$P(SRAO(8),"^")
W !,"Active Infection Pre-TX:",?30,$P(SRAO(4),"^"),?44,"Prior Blood Transfusion:",?71,$P(SRAO(9),"^")
W !,"Pre-TX Skin Malignancy:",?30,$P(SRAO(5),"^")
Q
SRTPRH1 ;BIR/SJA - PRINT HEART RISK ASSESSMENT INFO ;04/21/08
+1 ;;3.0; Surgery ;**167**;24 Jun 93;Build 27
+2 IF $EXTRACT(IOST)="P"
WRITE !
WRITE !,?28,"RISK ASSESSMENT INFORMATION",!
+3 KILL SRAO,SRX,Y,DR
+4 IF 'SRNOVA
SET SRDR="62;149;150;151;59;60;152;108;153;74;115;81;82;109;110;90;83;75;154"
+5 IF SRNOVA
SET SRDR="76;169;177;149;173;174;175;62;176;74;152;171;172;179;178;132;145;150;151;147;59;60"
+6 KILL DA,DIC,DIQ,SRX,SRY
SET DIC="^SRT("
SET DA=SRTPP
SET DIQ="SRY"
SET DIQ(0)="E"
SET DR=SRDR
DO EN^DIQ1
KILL DA,DIC,DIQ,DR
+7 SET (SRX,SRZ)=0
FOR I=1:1
SET SRZ=$PIECE(SRDR,";",I)
IF 'SRZ
QUIT
SET SRX=I
SET SRAO(I)=SRY(139.5,SRTPP,SRZ,"E")_"^"_SRZ
VA IF 'SRNOVA
Begin DoDot:1
+1 WRITE !,"Inotrope Dependent Pre-TX:",?27,$PIECE(SRAO(1),"^"),?40,"Non-Compliance:",?67,$PIECE(SRAO(16),"^")
+2 WRITE !,"Amiodarone Use:",?27,$PIECE(SRAO(2),"^"),?40,"Recipient Substance Abuse:",?67,$PIECE(SRAO(17),"^")
+3 WRITE !,"Heparin Sensitivity:",?27,$PIECE(SRAO(3),"^"),?40,"Liver Disease:",?67,$PIECE(SRAO(18),"^")
+4 WRITE !,"Hyperlipidemia History:",?27,$PIECE(SRAO(4),"^"),?40,"Creatinine on Day of TX:",?67,$PIECE(SRAO(19),"^")
+5 WRITE !,"Diabetic Retinopathy:",?27,$PIECE(SRAO(5),"^")
+6 WRITE !,"Diabetic Neuropathy:",?27,$PIECE(SRAO(6),"^")
+7 WRITE !,"Ventricular Tachycardia:",?27,$PIECE(SRAO(7),"^")
+8 WRITE !,"HIV+ (Positive):",?27,$PIECE(SRAO(8),"^")
+9 WRITE !,"Prior Blood Transfusion:",?27,$PIECE(SRAO(9),"^")
+10 WRITE !,"Pulmonary Hypertension/Elevated PAP not reversible:",?67,$PIECE(SRAO(10),"^")
+11 WRITE !,"Active Infection Immediately Pre-Transplant Req. Antibiotics:",?67,$PIECE(SRAO(11),"^")
+12 WRITE !,"H/O Pre-Transplant Skin Malignancy:",?67,$PIECE(SRAO(12),"^")
+13 WRITE !,"H/O Pre-Transplant Other Malignancy:",?67,$PIECE(SRAO(13),"^")
+14 WRITE !,"Post-Tx Prophylaxis for CMV/Anti-Viral Treatment:",?67,$PIECE(SRAO(14),"^")
+15 WRITE !,"Post-Tx Prophylaxis for PCP/Antibiotic Treatment:",?67,$PIECE(SRAO(15),"^")
End DoDot:1
NONVA IF SRNOVA
Begin DoDot:1
+1 WRITE !,"COPD:",?30,$PIECE(SRAO(1),"^"),?44,"Hypertension:",?71,$PIECE(SRAO(17),"^")
+2 WRITE !,"FEV1:",?30,$PIECE(SRAO(2),"^"),?44,"Heparin Sensitivity:",?71,$PIECE(SRAO(18),"^")
+3 WRITE !,"Current Digoxin Use:",?30,$PIECE(SRAO(3),"^"),?44,"Hyperlipidemia History:",?71,$PIECE(SRAO(19),"^")
+4 WRITE !,"Amiodarone Use:",?30,$PIECE(SRAO(4),"^"),?44,"Diabetes:",?71,$PIECE(SRAO(20),"^")
+5 WRITE !,"Number prior heart surgeries:",?30,$PIECE(SRAO(5),"^"),?44,"Diabetes Retinopathy:",?71,$PIECE(SRAO(21),"^")
+6 WRITE !,"Cerebral Vascular Disease:",?30,$PIECE(SRAO(6),"^"),?44,"Diabetes Neuropathy:",?71,$PIECE(SRAO(22),"^")
+7 WRITE !,"CHF (NYHA Functional Class):",?30,$PIECE(SRAO(7),"^")
+8 WRITE !,"Inotrope Dependent Pre-TX:",?30,$PIECE(SRAO(8),"^")
+9 WRITE !,"IV NTG within 48 hours:",?30,$PIECE(SRAO(9),"^")
+10 WRITE !,"Pulmonary Hyper/Elevated PAP:",?30,$PIECE(SRAO(10),"^")
+11 WRITE !,"Ventricular Tachycardia:",?30,$PIECE(SRAO(11),"^")
+12 WRITE !,"Current Smoker:",?30,$EXTRACT($PIECE(SRAO(12),"^"),1,22)
+13 WRITE !,"Prior MI: ",?30,$EXTRACT($PIECE(SRAO(13),"^"),1,15)
+14 WRITE !,"Preop Circulatory Device:",?30,$EXTRACT($PIECE(SRAO(14),"^"),1,10)
+15 WRITE !,"Current Diuretic Use:",?30,$PIECE(SRAO(15),"^")
+16 WRITE !,"Peripheral Vascular Disease:",?30,$PIECE(SRAO(16),"^")
End DoDot:1
+17 IF SRNOVA
DO RISK
+18 IF $EXTRACT(IOST)'="P"
DO PAGE^SRTPPAS
IF SRSOUT
GOTO END^SRTPPAS
+19 IF $EXTRACT(IOST)="P"
IF SRSOUT
GOTO END^SRTPPAS
IF $Y+20>IOSL
DO PAGE^SRTPPAS
IF SRSOUT
GOTO END^SRTPPAS
+20 GOTO ^SRTPRH2
+21 QUIT
RISK ;
+1 KILL DR,SRAO,SRX,Y
+2 SET SRDR="75;154;108;115;81;82;90;83;153"
+3 KILL DA,DIC,DIQ,SRX,SRY
SET DIC="^SRT("
SET DA=SRTPP
SET DIQ="SRY"
SET DIQ(0)="E"
SET DR=SRDR
DO EN^DIQ1
KILL DA,DIC,DIQ,DR
+4 SET (SRX,SRZ)=0
FOR I=1:1
SET SRZ=$PIECE(SRDR,";",I)
IF 'SRZ
QUIT
SET SRX=I
SET SRAO(I)=SRY(139.5,SRTPP,SRZ,"E")_"^"_SRZ
+5 WRITE !,"Liver Disease:",?30,$PIECE(SRAO(1),"^"),?44,"Pre-TX Other Malignancy:",?71,$PIECE(SRAO(6),"^")
+6 WRITE !,"Creatinine on Day of TX:",?30,$PIECE(SRAO(2),"^"),?44,"Non-Compliance:",?71,$PIECE(SRAO(7),"^")
+7 WRITE !,"HIV+ (positive):",?30,$PIECE(SRAO(3),"^"),?44,"Recipient Substance Abuse:",?71,$PIECE(SRAO(8),"^")
+8 WRITE !,"Active Infection Pre-TX:",?30,$PIECE(SRAO(4),"^"),?44,"Prior Blood Transfusion:",?71,$PIECE(SRAO(9),"^")
+9 WRITE !,"Pre-TX Skin Malignancy:",?30,$PIECE(SRAO(5),"^")
+10 QUIT