Changeset 636 for FOIAVistA/tag/r/SURGERY-SR/SROAUTL4.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/SURGERY-SR/SROAUTL4.m
r628 r636 1 SROAUTL4 ;BIR/ADM - RISK ASSESSMENT UTILITY ;01/10/08 2 ;;3.0; Surgery ;**38,71,95,125,153,160,164,166**;24 Jun 93;Build 6 3 N SRZZ,SRXX,SRX1 1 SROAUTL4 ;BIR/ADM - RISK ASSESSMENT UTILITY ;08/24/07 2 ;;3.0; Surgery ;**38,71,95,125,153,160,164**;24 Jun 93;Build 2 4 3 S SRZ=0 F S SRZ=$O(SRY(130,SRTN,SRZ)) Q:'SRZ D 5 .I SRY(130,SRTN,SRZ,"I")="" D TR S (SRX1,X)=$T(@SRP),SRFLD=$P(X,";;",2) D 4 .I SRY(130,SRTN,SRZ,"I")="" D TR S X=$T(@SRP),SRFLD=$P(X,";;",2) D 5 ..I SRZ=451!(SRZ=450) S SRX($P(SRFLD,"^",2))=$P(SRFLD,"^",2)_"^"_SRZ Q 6 6 ..I SRZ=513,$P(^SRF(SRTN,0),"^",9)<3071001 Q 7 ..I SRZ=515 S X1=$P(^SRF(SRTN,0),"^",9),X2=$P($G(^SRF(SRTN,209)),"^",15) D ^%DTC I X'>30 Q 8 ..I SRZ=484,$P($G(^SRF(SRTN,209)),"^",13)'="Y" Q 9 ..S X=SRX1,SRX(SRZ)=$P(SRFLD,"^",2)_"^"_$P(X,";;",3) 7 ..S SRX(SRZ)=$P(SRFLD,"^",2) 10 8 .I SRY(130,SRTN,SRZ,"I")="NS" D TR S X=$T(@SRP),SRFLD=$P(X,";;",2),SRDT=$P(SRFLD,"^",4) S:SRDT'="" SRLR(SRDT)="" 11 9 S SRDT=0 F S SRDT=$O(SRLR(SRDT)) Q:'SRDT K SRX(SRDT) 12 Q13 RED M SRZZ=SRX S SRZ=0 F S SRZ=$O(SRX(SRZ)) Q:'SRZ S SRZZ=$P($G(SRX(SRZ)),"^",2),SRXX(SRZZ)=$P($G(SRX(SRZ)),"^")_":"_SRZ14 K SRX M SRX=SRXX K SRXX15 10 Q 16 11 TR S SRP=SRZ,SRP=$TR(SRP,"1234567890.","ABCDEFGHIJP") … … 18 13 GET S X=$T(@J) 19 14 Q 20 BCF ;;236^Patient's Height^Height^;;1-01 21 BCG ;;237^Patient's Weight^Weight^;;1-02 22 DGE ;;475^Diabetes (Cardiac);;1-03 23 B JC ;;203^History of COPD (Y/N)^COPD^;;1-0424 CD G ;;347^FEV1^FEV1^;;1-0525 BJ I ;;209^Cardiomegaly on Chest X-Ray (Y/N)^Cardiomegaly (X-ray)^;;1-0626 CD H ;;348^Pulmonary Rales (Y/N)^Pulmonary Rales^;;1-0727 EAJ ;;510^Current Smoker^Current Smoker^;;1-08 28 CD I ;;349^Active Endocarditis (Y/N)^Active Endocarditis^;;1-0929 CEJ ;;350^Resting ST Depression (Y/N)^Resting ST Depression^;;1-10 30 B DJ ;;240^Functional Health Status^Functional Status^;;1-1131 C EA ;;351^PCI Status^PCI^;;1-1232 BJE ;;205^Prior Myocardial Infarction^Prior MI^;;1-13 33 CEB ;;352^Number of Prior Heart Surgeries^Number of Prior Heart Surgeries^;;1-14 34 DHE ;;485^Prior Heart Surgeries;;1-15 35 B FE ;;265^Peripheral Vascular Disease (Y/N)^Peripheral Vascular Disease^;;1-1636 BFD ;;264^Cerebral Vascular Disease (Y/N)^Cerebral Vascular Disease^;;1-17 37 BF G ;;267^Angina (use NYHA Functional Class)^Angina (use CCS Class)^;;1-1838 B JG ;;207^Congestive Heart Failure (use NYHA Functional Class)^CHF (use NYHA Class)^;;1-1939 CEC ;;353^Current Diuretic Use (Y/N)^Current Diuretic Use^;;1-20 40 CED ;;354^Current Digoxin Use (Y/N)^Current Digoxin Use^;;1-21 41 CE E ;;355^IV NTG within 48 Hours Preceding Surgery (Y/N)^IV NTG within 48 Hours^;;1-2242 DGD ;;474^Preop use of circulatory Device;;1-23 43 DFC ;;463^Hypertension^;;1-24 44 DEG ;;457^HDL^^457.1;;2-01 45 DEGPA ;;457.1^HDL, Date;;2-02 46 DFA ;;461^LDL^^461.1;;2-03 47 DFAPA ;;461.1^LDL, Date;;2-04 48 DFB ;;462^Total Cholesterol^^462.1;;2-05 49 DFBPA ;;462.1^Total Cholesterol, Date;;2-06 50 DEH ;;458^Serum Triglyceride^^458.1;;2-07 51 DEHPA ;;458.1^Serum Triglyceride, Date;;2-08 52 DEI ;;459^Serum Potassium^^459.1;;2-09 53 DEIPA ;;459.1^Serum Potassium, Date;;2-10 54 D FJ ;;460^Serum Total Bilirubin^^460.1;;2-1155 DFJPA ;;460.1^Serum Total Bilirubin, Date;;2-12 56 BBC ;;223^Preoperative Serum Creatinine^Creatinine^290;;2-13 57 BIJ ;;290^Creatinine Date;;2-14 58 BBE ;;225^Preoperative Serum Albumin^^292;;2-15 59 BIB ;;292^Preoperative Serum Albumin Date;;2-16 60 BAI ;;219^Preoperative Hemoglobin^^239;;2-17 61 BCI ;;239^Preoperative Hemoglobin Date;;2-18 62 EJD ;;504^Hemoglobin A1c^^504.1;;2-19 63 EJDPA ;;504.1^Hemoglobin A1c, Date;;2-20 64 DGF ;;476^Procedure Type;;3-01 65 C EG ;;357^Left Ventricular End-Diastolic Pressure^LVEDP^;;3-0266 C EH ;;358^Aortic Systolic Pressure^Aortic Systolic Pressure^;;3-0367 C EI ;;359^PA Systolic Pressure^*PA Systolic Pressure^;;3-0468 C FJ ;;360^PAW Mean Pressure^*PAW Mean Pressure^;;3-0569 CFC ;;363^LV Contraction Grade^LV Contraction Grade (from contrast or radionuclide angiogram or 2D echo^;;3-06 70 DAE ;;415^Mitral Regurgitation^Mitral Regurgitation^;;3-07 71 DGG ;;477^Aortic Stenosis;;3-08 72 C FA ;;361^Left Main Stenosis^Left Main Stenosis^;;3-0973 C FBPA ;;362.1^Left Anterior Descending (LAD) Stenosis^LAD Stenosis^;;3-1074 C FBPB ;;362.2^Right Coronary Artery Stenosis^Right Coronary Stenosis^;;3-1175 C FBPC ;;362.3^Circumflex Coronary Artery Stenosis^Circumflex Stenosis^;;3-1276 DGH ;;478^Re-Do Lad Stenosis;;3-13 77 DGI ;;479^Re-Do Right Coronary Stenosis;;3-14 78 D HJ ;;480^Re-Do Circumflex Stenosis;;3-1579 CFD ;;364^Physician's Preoperative Estimate of Operative Mortality^Physician's Preoperative Estimate of Operative Mortality^;;4-01 80 CFDPA ;;364.1^Date/Time of Estimate of Operative Mortality^Date/Time of Estimate of Operative Mortality^;;4-02 81 APAC ;;1.13^ASA Class^ASA Classification^;;4-03 82 DAD ;;414^Cardiac Surgical Priority^Surgical Priority^;;4-04 83 DADPA ;;414.1^Date/Time of Cardiac Surgical Priority^Date/Time of Cardiac Surgical Priority^;;4-05 84 PBB ;;.22^Time the Operation Began^Date/Time Operation Began^;;4-06 85 PBC ;;.23^Time the Operation Ended^Date/Time Operation Ended^;;4-07 86 CFE ;;365^CABG Distal Anastomoses with Vein^^;;5-01 87 CFF ;;366^CABG Distal Anastomoses with IMA^^;;5-02 88 D FD ;;464^Number with Radial Artery^;;5-0389 D FE ;;465^Number with Other Artery^;;5-0490 D AF ;;416^CABG Distal Anastomoses with Other Conduit^^;;5-0591 CFG ;;367^Aortic Valve Replacement (Y/N)^Aortic Valve Replacement^;;5-06 92 CFH ;;368^Mitral Valve Replacement (Y/N)^Mitral Valve Replacement^;;5-07 93 CFI ;;369^Tricuspid Valve Replacement (Y/N)^Tricuspid Valve Replacement^;;5-08 94 CGJ ;;370^Valve Repair (Y/N)^Valve Repair^;;5-09 95 CGA ;;371^LV Aneurysmectomy (Y/N)^LV Aneurysmectomy^;;5-10 96 D HA ;;481^Bridge to transplant/Device;;5-1197 D HC ;;483^Transmyocardial Laser Revascularization;;5-1298 EAB ;;512^Maze Procedure;;5-13 99 CGF ;;376^ASD Repair (Y/N)^ASD Repair^;;5-14 100 CHJ ;;380^VSD Repair (Y/N)^VSD Repair^;;5-15 101 CGH ;;378^Myectomy for IHSS (Y/N)^Myectomy for IHSS^;;5-16 102 CGG ;;377^Myxoma Resection (Y/N)^Myxoma Resection^;;5-17 103 CGI ;;379^Other Tumor Resection (Y/N)^Other Tumor Resection^;;5-18 104 CGC ;;373^Cardiac Transplant (Y/N)^Cardiac Transplant^;;5-19 105 CGB ;;372^Great Vessel Repair(Y/N)^Great Vessel Repair^;;5-20 106 EJE ;;505^Endovascular Repair of Descending Thoracic Aorta (Y/N)^Endovascular Repair;;5-21107 EJB ;;502^Other Cardiac Procedures (Y/N);;5-22 108 D HD ;;484^Other cardiac procedures (specify);;5-23109 CHA ;;381^Foreign Body Removal (Y/N)^Foreign Body Removal^;;5-24 110 CHB ;;382^Pericardiectomy (Y/N)^Pericardiectomy^;;5-25 111 D EA ;;451^Total CPB Time;;5-26112 DEJ ;;450^Total Ischemic Time;;5-27 113 DFH ;;468^Incision Type^;;5-28 114 D FI ;;469^Covert From Off Pump to CPB;;5-29115 CHD ;;384^Operative Death (Y/N)^Operative Death^;;6-01 116 D AH ;;418^Hospital Admission Date And Time;;7-01117 D AI ;;419^Hospital Discharge Date And Time;;7-02118 D DJ ;;440^Cardiac Catheterization Date;;7-03119 PBJE ;;.205^Time Patient In OR;;7-04 120 PBCB ;;.232^Time Patient Out OR;;7-05 121 D GJ ;;470^Date and Time Patient Extubated;;7-06122 DGA ;;471^Date and Time Patient Discharged from ICU;;7-07 123 D GC ;;473^Homeless(Y/N);;7-08124 DGB ;;472^Cardiac Surgery to NON-VA Facility;;7-09 125 D DB ;;442^Employment Status;;7-10126 EAC ;;513^CT Surgery Consult Date;;7-11 127 EA E ;;515^Cause for Delay for Cardiac Surgery;;7-1215 PBB ;;.22^Time the Operation Began^Date/Time Operation Began^ 16 PBC ;;.23^Time the Operation Ended^Date/Time Operation Ended^ 17 BCF ;;236^Patient's Height^Height^ 18 BCG ;;237^Patient's Weight^Weight^ 19 CDF ;;346^Diabetes^Diabetes^ 20 BJC ;;203^History of COPD (Y/N)^COPD^ 21 CDG ;;347^FEV1^FEV1^ 22 BJI ;;209^Cardiomegaly on Chest X-Ray (Y/N)^Cardiomegaly (X-ray)^ 23 CDH ;;348^Pulmonary Rales (Y/N)^Pulmonary Rales^ 24 EAJ ;;510^Current Smoker^Current Smoker^ 25 BBC ;;223^Preoperative Serum Creatinine^Creatinine^290 26 CDI ;;349^Active Endocarditis (Y/N)^Active Endocarditis^ 27 CEJ ;;350^Resting ST Depression (Y/N)^Resting ST Depression^ 28 BDJ ;;240^Functional Health Status^Functional Status^ 29 CEA ;;351^PCI Status^PCI^ 30 BJE ;;205^Prior Myocardial Infarction^Prior MI^ 31 CEB ;;352^Number of Prior Heart Surgeries^Number of Prior Heart Surgeries^ 32 BFE ;;265^Peripheral Vascular Disease (Y/N)^Peripheral Vascular Disease^ 33 BFD ;;264^Cerebral Vascular Disease (Y/N)^Cerebral Vascular Disease^ 34 BFG ;;267^Angina (use NYHA Functional Class)^Angina (use CCS Class)^ 35 BJG ;;207^Congestive Heart Failure (use NYHA Functional Class)^CHF (use NYHA Class)^ 36 CEC ;;353^Current Diuretic Use (Y/N)^Current Diuretic Use^ 37 CED ;;354^Current Digoxin Use (Y/N)^Current Digoxin Use^ 38 CEE ;;355^IV NTG within 48 Hours Preceding Surgery (Y/N)^IV NTG within 48 Hours^ 39 CEF ;;356^Preoperative use of IABP (Y/N)^Preop Use of IABP^ 40 CEG ;;357^Left Ventricular End-Diastolic Pressure^LVEDP^ 41 CEH ;;358^Aortic Systolic Pressure^Aortic Systolic Pressure^ 42 CEI ;;359^PA Systolic Pressure^*PA Systolic Pressure^ 43 CFJ ;;360^PAW Mean Pressure^*PAW Mean Pressure^ 44 CFA ;;361^Left Main Stenosis^Left Main Stenosis^ 45 CFBPA ;;362.1^Left Anterior Descending (LAD) Stenosis^LAD Stenosis^ 46 CFBPB ;;362.2^Right Coronary Artery Stenosis^Right Coronary Stenosis^ 47 CFBPC ;;362.3^Circumflex Coronary Artery Stenosis^Circumflex Stenosis^ 48 CFC ;;363^LV Contraction Grade^LV Contraction Grade (from contrast or radionuclide angiogram or 2D echo^ 49 DAE ;;415^Mitral Regurgitation^Mitral Regurgitation^ 50 CFD ;;364^Physician's Preoperative Estimate of Operative Mortality^Physician's Preoperative Estimate of Operative Mortality^ 51 CFDPA ;;364.1^Date/Time of Estimate of Operative Mortality^Date/Time of Estimate of Operative Mortality^ 52 APAC ;;1.13^ASA Class^ASA Classification^ 53 DAD ;;414^Cardiac Surgical Priority^Surgical Priority^ 54 DADPA ;;414.1^Date/Time of Cardiac Surgical Priority^Date/Time of Cardiac Surgical Priority^ 55 CHD ;;384^Operative Death (Y/N)^Operative Death^ 56 CFE ;;365^CABG Distal Anastomoses with Vein^^ 57 CFF ;;366^CABG Distal Anastomoses with IMA^^ 58 CFG ;;367^Aortic Valve Replacement (Y/N)^Aortic Valve Replacement^ 59 CFH ;;368^Mitral Valve Replacement (Y/N)^Mitral Valve Replacement^ 60 CFI ;;369^Tricuspid Valve Replacement (Y/N)^Tricuspid Valve Replacement^ 61 CGJ ;;370^Valve Repair (Y/N)^Valve Repair^ 62 CGA ;;371^LV Aneurysmectomy (Y/N)^LV Aneurysmectomy^ 63 CGB ;;372^Great Vessel Repair(Y/N)^Great Vessel Repair^ 64 EJE ;;505^Endovascular Repair of Descending Thoracic Aorta (Y/N)^Endovascular Repair 65 CGC ;;373^Cardiac Transplant (Y/N)^Cardiac Transplant^ 66 CGF ;;376^ASD Repair (Y/N)^ASD Repair^ 67 CHJ ;;380^VSD Repair (Y/N)^VSD Repair^ 68 CGG ;;377^Myxoma Resection (Y/N)^Myxoma Resection^ 69 CHA ;;381^Foreign Body Removal (Y/N)^Foreign Body Removal^ 70 CGH ;;378^Myectomy for IHSS (Y/N)^Myectomy for IHSS^ 71 CHB ;;382^Pericardiectomy (Y/N)^Pericardiectomy^ 72 CGI ;;379^Other Tumor Resection (Y/N)^Other Tumor Resection^ 73 DAF ;;416^CABG Distal Anastomoses with Other Conduit^^ 74 DDB ;;442^Employment Status 75 BAI ;;219^Preoperative Hemoglobin^^239 76 BCI ;;239^Preoperative Hemoglobin Date 77 BBE ;;225^Preoperative Serum Albumin^^292 78 BIB ;;292^Preoperative Serum Albumin Date 79 BIJ ;;290^Creatinine Date 80 DEA ;;451^Total CPB Time 81 DEJ ;;450^Total Ischemic Time 82 DDJ ;;440^Cardiac Catheterization Date 83 DAH ;;418^Hospital Admission Date And Time 84 DAI ;;419^Hospital Discharge Date And Time 85 DFC ;;463^Hypertension^ 86 DFD ;;464^Number with Radial Artery^ 87 DFE ;;465^Number with Other Artery^ 88 DFH ;;468^Incision Type^ 89 DFI ;;469^Covert From Off Pump to CPB 90 DGJ ;;470^Date and Time Patient Extubated 91 DGA ;;471^Date and Time Patient Discharged from ICU 92 DGB ;;472^Cardiac Surgery to NON-VA Facility 93 PBJE ;;.205^Time Patient In OR 94 PBCB ;;.232^Time Patient Out OR 95 DEG ;;457^HDL^^457.1 96 DEGPA ;;457.1^HDL, Date 97 DEH ;;458^Serum Triglyceride^^458.1 98 DEHPA ;;458.1^Serum Triglyceride, Date 99 DEI ;;459^Serum Potassium^^459.1 100 DEIPA ;;459.1^Serum Potassium, Date 101 DFJ ;;460^Serum Total Bilirubin^^460.1 102 DFJPA ;;460.1^Serum Total Bilirubin, Date 103 DFA ;;461^LDL^^461.1 104 DFAPA ;;461.1^LDL, Date 105 DFB ;;462^Total Cholesterol^^462.1 106 DFBPA ;;462.1^Total Cholesterol, Date 107 EJD ;;504^Hemoglobin A1c^^504.1 108 EJDPA ;;504.1^Hemoglobin A1c, Date 109 DGE ;;475^Diabetes (Cardiac) 110 DGD ;;474^Preop use of circulatory Device 111 DGF ;;476^Procedure Type 112 DGG ;;477^Aortic Stenosis 113 DGH ;;478^Re-Do Lad Stenosis 114 DGI ;;479^Re-Do Right Coronary Stenosis 115 DHJ ;;480^Re-Do Circumflex Stenosis 116 DHA ;;481^Bridge to transplant/Device 117 EAB ;;512^Maze Procedure 118 DHC ;;483^Transmyocardial Laser Revascularization 119 EJB ;;502^Other Cardiac Procedures (Y/N) 120 DHD ;;484^Other cardiac procedures (specify) 121 DHE ;;485^Prior Heart Surgeries 122 EAC ;;513^CT Surgery Consult Date
Note:
See TracChangeset
for help on using the changeset viewer.