Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SRTPUTL4

SRTPUTL4.m

Go to the documentation of this file.
  1. SRTPUTL4 ;BIR/SJA - RISK ASSESSMENT UTILITY ;07/20/2011
  1. ;;3.0;Surgery;**167,176**;24 Jun 93;Build 8
  1. N SRZZ,SRXX,SRX1
  1. S SRZ=0 F S SRZ=$O(SRYY(139.5,SRTPP,SRZ)) Q:'SRZ D
  1. .I $P(SRYY(139.5,SRTPP,SRZ,"I"),"^")="" S SRZ1=$P($G(SRYY(139.5,SRTPP,SRZ,"I")),"^",2) D TR S X=$T(@SRP),SRFLD=$P(X,";;",2),SRX(SRMM,SRZ)=$P(SRFLD,"^",2)_"^"_SRZ1
  1. .I $P(SRYY(139.5,SRTPP,SRZ,"I"),"^")="NS" S SRZ1=$P($G(SRYY(139.5,SRTPP,SRZ,"I")),"^",2) D TR S X=$T(@SRP),SRFLD=$P(X,";;",2),SRDT=$P(SRFLD,"^",4) S:SRDT'="" SRLR(SRDT)=""
  1. S SRDT=0 F S SRDT=$O(SRLR(SRDT)) Q:'SRDT D
  1. .S SRZ=0 F S SRZ=$O(SRX(SRZ)) Q:'SRZ S SRZ1=0 F S SRZ1=$O(SRX(SRZ,SRZ1)) Q:'SRZ1 I SRZ1=SRDT K SRX(SRZ,SRZ1)
  1. Q
  1. TR S SRP=SRZ1,SRP=$TR(SRP,"1234567890.","ABCDEFGHIJP")
  1. Q
  1. GET S X=$T(@J)
  1. Q
  1. C ;;3^VACO ID
  1. D ;;4^Recipient Height^
  1. E ;;5^Recipient Weight^
  1. I ;;9^IVIG Recipient^
  1. AJ ;;10^Recipient ABO Blood Type^
  1. AA ;;11^Date Placed on Waiting List^
  1. AB ;;12^Recipient CMV^
  1. AC ;;13^Recipient HLA-A Typing^
  1. AE ;;15^Recipient HLA-C Typing^
  1. AF ;;16^Recipient HLA-BW Typing^
  1. AG ;;17^Recipient HLA-DR Typing^
  1. AH ;;18^Recipient HLA-DQ Typing^
  1. AI ;;19^Transplant Comments^
  1. BJ ;;20^Acetaminophen Toxicity^
  1. BA ;;21^Acute Liver Failure^
  1. BB ;;22^Lung Cancer^
  1. BC ;;23^Alcoholic Cirrhosis^
  1. BD ;;24^Alpha 1 Anti-Trypsin Deficiency^
  1. BE ;;25^Bronchiectasis^
  1. BF ;;26^Glomerular Sclerosis/Nephritis^
  1. BG ;;27^Graft Failure^
  1. BH ;;28^HBV Cirrhosis (Hepatitis B)^
  1. BI ;;29^HCC (Hepatocellular CA)^
  1. CJ ;;30^HCV Cirrhosis (Hepatitis C)^
  1. CA ;;31^Donor Height^
  1. CB ;;32^Interstitial Lung Disease^
  1. CC ;;33^Membranous Nephropathy^
  1. CD ;;34^Metabolic^
  1. CE ;;35^NASH ^
  1. CF ;;36^Donor Weight^
  1. CG ;;37^Polycystic Disease^
  1. CH ;;38^Primary Biliary Cholangitis^
  1. CI ;;39^Primary Sclerosing Cholangitis^
  1. DJ ;;40^Pulmonary Fibrosis^
  1. DA ;;41^Pulmonary Hypertension^
  1. DB ;;42^Renal Cancer^
  1. DC ;;43^Sarcoidosis^
  1. DD ;;44^Donor Race^
  1. DE ;;45^Donor Gender^
  1. DF ;;46^Donor Age^
  1. DG ;;47^Biliary Stricture^
  1. DH ;;48^Donor ABO Blood Type^
  1. DI ;;49^Donor CMV^
  1. EJ ;;50^LAS Score at Listing^
  1. EA ;;51^LAS Score at Transplant^
  1. EB ;;52^MELD Score at Listing^
  1. EC ;;53^Biologic MELD score at listing^
  1. ED ;;54^MELD score at transplant^
  1. EE ;;55^Biologic MELD score at transplant^
  1. EF ;;56^Bile Leak^
  1. EG ;;57^UNOS Status at time of Transplant^
  1. EH ;;58^UNOS Status at time of Listing^
  1. EI ;;59^Diabetic Retinopathy^
  1. FJ ;;60^Diabetic Neuropathy^
  1. FA ;;61^Cardiac Disease (CAD, AF, EF<50%)^
  1. FB ;;62^Inotrope Dependent Pre-Transplant^
  1. FC ;;63^Medical Center Division^
  1. FD ;;64^Donor HLA-A Typing^
  1. FE ;;65^Donor HLA-B Typing^
  1. FF ;;66^Donor HLA-C Typing^
  1. FG ;;67^Donor HLA-BW Typing^
  1. FH ;;68^Crossmatch D/R^
  1. FI ;;69^Deceased Donor^
  1. GJ ;;70^Donor Date of Birth^
  1. GA ;;71^Elevated PAP^
  1. GB ;;72^Donor HLA-DQ Typing^
  1. GC ;;73^Donor HLA-DR Typing^
  1. GD ;;74^Pulmonary Hypertension / Elevated PAP^
  1. GE ;;75^Liver Disease^
  1. GF ;;76^COPD ^
  1. GG ;;77^Donor Substance Abuse^
  1. GH ;;78^Porto Pulmonary Hypertension^
  1. GI ;;79^History of Bleeding Esophageal and/or Gastric Varices^
  1. HJ ;;80^Pre-Transplant Malignancy^
  1. HA ;;81^History of Preop Transplant Skin Malignancy^
  1. HB ;;82^History of Other Pre-Transplant Malignancy^
  1. HC ;;83^Recipient Substance Abuse^
  1. HD ;;84^Active Infection for PSC^
  1. HE ;;85^Warm Ischemia Time For Organ^
  1. HF ;;86^Acute or Chronic Encephalopathy^
  1. HG ;;87^Cold Ischemia Time for Organ^
  1. HH ;;88^History of Ascites^
  1. HI ;;89^Total Ischemia Time for Organ^
  1. IJ ;;90^Non-Compliance (Med and Diet)^
  1. IA ;;91^On Methadone^
  1. IB ;;92^Post Transplant Prophylaxis for TB/Antimycobacterial Treatment^
  1. ID ;;94^Rejection^
  1. IE ;;95^IgA Nephropathy^
  1. IF ;;96^Calcineurin Inhibitor Toxicity^
  1. IG ;;97^Lithium Toxicity^
  1. IH ;;98^Obstructive Uropathy from BPH^
  1. II ;;99^Autoimmune Hepatitis^
  1. AJJ ;;100^Cryptogenic Cirrhosis^
  1. AJA ;;101^Chronic Rejection^
  1. AJB ;;102^Hepatic Artery Thrombosis^
  1. AJC ;;103^Living Donor^
  1. AJD ;;104^Donor with Malignancy^
  1. AJE ;;105^Primary Non-Function^
  1. AJF ;;106^Secondary Sclerosing Cholangitis^
  1. AJG ;;107^Toxic Exposure^
  1. AJH ;;108^HIV + (positive)^
  1. AJI ;;109^Post Transplant Prophylaxis for CMV/Antiviral Treatment^
  1. AAJ ;;110^Post Transplant Prophylaxis for PCP/Antibacterial Treatment^
  1. AAA ;;111^Portal Vein Thrombosis^
  1. AAB ;;112^Other Cardiomyopathy^
  1. AAC ;;113^Lung Disease^
  1. AAD ;;114^Renal Impairment (Serum Creatinine >1.5)^
  1. AAE ;;115^Active Infection Requiring Antibiotics^
  1. AAF ;;116^Bleeding/Transfusions^
  1. AAG ;;117^Pneumonia^
  1. AAH ;;118^On Ventilator > 48 Hours^
  1. AAI ;;119^Cardiac Arrest Requiring CPR^
  1. ABJ ;;120^Psychosis^
  1. ABA ;;121^Stroke/CVA^
  1. ABB ;;122^Coma Greater than 24 Hours Postop (Y/N)^
  1. ABC ;;123^Superficial Incisional SSI^
  1. ABD ;;124^Deep Incisional SSI^
  1. ABE ;;125^Systemic Sepsis^
  1. ABF ;;126^Return to Surgery within 30 days^
  1. ABG ;;127^Seizures^
  1. ABH ;;128^Emphysema^
  1. ABI ;;129^Other Diagnosis^
  1. ACJ ;;130^New Mechanical Circulatory Support^
  1. ACA ;;131^Preop Functional Health Status^
  1. ACB ;;132^Peripheral Vascular Disease^
  1. ACC ;;133^Graft Failure Date^
  1. ACD ;;134^Pancreas^
  1. ACE ;;135^Glucose at Time of Listing^
  1. ACF ;;136^C-peptide at Time of Listing^
  1. ACG ;;137^Pancreatic Duct Anastomosis^
  1. ACH ;;138^Glucose Post Transplant^
  1. ACI ;;139^Amylase Post Transplant^
  1. ADJ ;;140^Lipase Post Transplant^
  1. ADA ;;141^Insulin Required Post transplant^
  1. ADB ;;142^Oral Hypoglycemics Required Post Transplant^
  1. ADC ;;143^PRA at Listing^
  1. ADD ;;144^PRA at Transplant^
  1. ADE ;;145^Hypertension Requiring Meds^
  1. ADF ;;146^Transfusion >4 RBC Units^
  1. ADH ;;148^Reoperation for Bleeding^
  1. ADI ;;149^Amiodarone Use^
  1. AEJ ;;150^Heparin Sensitivity^
  1. AEA ;;151^Hyperlipidemia History^
  1. AEB ;;152^Ventricular Tachycardia^
  1. AEC ;;153^Prior Blood Transfusion^
  1. AED ;;154^Creatinine on Day of Transplant^
  1. AEE ;;155^Dilated Cardiomyopathy^
  1. AEF ;;156^Coronary Artery Disease^
  1. AEG ;;157^Ischemic Cardiomyopathy^
  1. AEH ;;158^Alcoholic Cardiomyopathy^
  1. AEI ;;159^Valvular Cardiomyopathy^
  1. AFJ ;;160^Idiopathic Cardiomyopathy^
  1. AFA ;;161^Viral Cardiomyopathy^
  1. AFB ;;162^Peripartum Cardiomyopathy^
  1. AFC ;;163^PVR Before Vasodilation^
  1. AFD ;;164^PVR After Vasodilation^
  1. AFE ;;165^LVEF % ^
  1. AFF ;;166^PRA %^
  1. AFG ;;167^PA Systolic Pressure^
  1. AFH ;;168^PAW Mean Pressure^
  1. AFI ;;169^FEV1 ^
  1. AGJ ;;170^Date of Death^
  1. AGB ;;172^Prior MI^
  1. AGC ;;173^Number of Prior Heart Surgeries^
  1. AGE ;;175^Congestive Heart Failure (CHF)^
  1. AGF ;;176^IV NTG within 48 Hours^
  1. AGG ;;177^Current Digoxin Use^
  1. AGH ;;178^Current Diuretic Use^
  1. AGI ;;179^Preoperative Circulatory Device^
  1. AHA ;;181^Assessment Status^
  1. AHB ;;182^Transplant Type^
  1. AHD ;;184^Date Transmitted^
  1. AHE ;;185^VA or Non-VA Indicator^
  1. AHG ;;187^Date Started Dialysis^
  1. AHI ;;189^Tracheostomy^
  1. AIJ ;;190^Mediastinitis^
  1. AIA ;;191^Renal Failure Requiring Dialysis^
  1. AIB ;;192^Perioperative MI^
  1. AIC ;;193^Operative Death^
  1. AIG ;;197^Plasmapheresis^
  1. AIH ;;198^Tobacco Use^
  1. AII ;;199^Tobacco Use Timeframe^
  1. BJJ ;;200^Diabetes Mellitus: Chronic, Long-term Management^
  1. BJA ;;201^Diabetes Mellitus: Management Prior to Surgery^
  1. BJB ;;202^Prior Surgical Repair/Carotid Artery Obstruction^
  1. BJC ;;203^History of CVD Events^
  1. Q