Spaces:
Sleeping
Sleeping
info_prompt = """For each clinical note, extract the following fields into a structured XML format. | |
For each of the following fields, return the value if it exists in the notes, otherwise do not return anything between tags. | |
For example, if the notes mention that the patient's name is "John Doe", then the output should be <patient_name>John Doe</patient_name>. | |
Otherwise, if the notes do not mention the patient's name, then do not return anything between <patient_name> and </patient_name>. | |
Additionally, add a <reasoning> tag with the reasoning for why you chose the value you did. This reasoning should be specific to the note and the patient, and if a field is found, it should contain a brief verbatim quote from the notes that is used to justify the value. | |
- patient_name | |
- The patient's full name (first and last name). | |
- For example: | |
<patient_name> | |
<reasoning>[REASONING]</reasoning> | |
<first_name>John</first_name> | |
<last_name>Doe</last_name> | |
</patient_name> | |
- date_of_birth | |
- The patient's date of birth in the format YYYY-MM-DD. | |
- For example: | |
<date_of_birth> | |
<reasoning>[REASONING]</reasoning> | |
<date>1990-01-01</date> | |
</date_of_birth> | |
- sex | |
- The patient's sex (M or F). | |
- For example: | |
<sex> | |
<reasoning>[REASONING]</reasoning> | |
<sex>M</sex> | |
</sex> | |
- traditional_chemo | |
- Any traditional chemotherapy drugs the patient has taken or has been prescribed. | |
- Within the tags, put a list of all the traditional chemotherapy drugs the patient has taken or has been prescribed as well as the date, if specified. | |
- For example: | |
<traditional_chemo_any_time> | |
<reasoning>[REASONING]</reasoning> | |
<drug>Doxorubicin/Adriamycin</drug> | |
<date>2021-01-01</date> | |
</traditional_chemo_any_time> | |
- The following are the traditional chemotherapy drugs you should look for: | |
- Doxorubicin/Adriamycin | |
- Carboplatin | |
- Vinblastine | |
- Chlorambucil/Leukeran | |
- Lomustine/CCNU | |
- Mitoxantrone | |
- Cyclophosphamide/Cytoxan | |
- Vinorelbine | |
- Vincristine | |
- CHOP protocol | |
- Actinomycin | |
- VAC Protocol | |
- Tanovea | |
- L-asparaginase | |
- Melphalan | |
- Satraplatin | |
- Epirubicin | |
- Neoplasene | |
- MOPP Chemotherapy | |
- Satraplatin metronomic | |
- Gemcitabine/Gemzar | |
- Fluorouracil (5-FU) | |
- Laverdia | |
- Temodar | |
- Unspecified traditional chemo | |
- No Traditional Chemo to-date | |
- No traditional chemo reported - validated | |
- Tamozolamide/Temodar | |
- Unknown | |
- Cisplatin | |
- Mustargen | |
- Procarbazine | |
- Mitotane | |
- other_cancer_treatments | |
- Any other cancer treatments the patient has taken or has been prescribed, according to the list provided below. | |
- Within the tags, put a list of all the other cancer treatments the patient has taken or has been prescribed as well as the date, if specified. | |
- For example: | |
<other_cancer_treatments> | |
<reasoning>[REASONING]</reasoning> | |
<treatment>Radiation Therapy</treatment> | |
<date>2021-01-01</date> | |
</other_cancer_treatments> | |
- The following are the other cancer treatments you should look for: | |
- Radiation Therapy | |
- Palladia/Toceranib | |
- Melanoma Vaccine (Oncept) | |
- Electrochemotherapy | |
- Masatinib | |
- Autologous Vaccine/Torigen/Ardent | |
- Lapatinib | |
- I'm Yunity | |
- Yunnan Baiyao | |
- Previcox | |
- Yale Vaccine | |
- Rapamycin | |
- Listeria Vaccine | |
- Imatinib | |
- Trametinib | |
- Zoledronate | |
- Dexrazoxane/Zinecard | |
- Firocoxib | |
- Olaparib | |
- Dasatinib | |
- Vorinostat | |
- Mistletoe Therapy | |
- EGFR Vaccine | |
- No other cancer treatments reported - validated | |
- Palbociclib | |
- No other cancer treatments reported to-date | |
- Sorafenib | |
- Nanoparticle Infusion | |
- Nanoparticle Laser | |
- Laser Therapy | |
- Stelfonta | |
- Tanovea | |
- T-Cell infusions | |
- Losartan | |
- Naltrexone | |
- Immunoregulin | |
- Papilloma Vaccine | |
- Gilvetmab | |
- Unknown | |
- other_conmeds | |
- Any other concomitant medications the patient has taken or has been prescribed. | |
- Within the tags, put a list of all the other concomitant medications the patient has taken or has been prescribed as well as the date, if specified. | |
- For example: | |
<other_conmeds> | |
<reasoning>[REASONING]</reasoning> | |
<medication>Aspirin</medication> | |
<date>2021-01-01</date> | |
</other_conmeds> | |
- The following are the other concomitant medications you should look for: | |
- Piroxicam | |
- Gabapentin | |
- Carprofen/Rimadyl | |
- Denamarin | |
- Ursodiol | |
- Clavamox | |
- Cerenia/Maropitant | |
- Ondansetron/Zofran | |
- Meloxicam/Metacam | |
- Pimobendan/Vetmedin | |
- Losartan/Cozaar | |
- Capromorelin/Entyce | |
- Cetirizine/Zyrtec | |
- Tacrolimus | |
- Codeine | |
- Telmisartan | |
- Buprenorphine | |
- Apoquel/Oclacitinib | |
- Imuquin | |
- Amlodipine | |
- Loratadine/Claritin | |
- Benazepril | |
- Metronidazole/Flagyl | |
- Prednisone | |
- Adequan | |
- Convenia | |
- B12 Injections | |
- Cisapride | |
- Budesonide | |
- Hepatoclear | |
- Dasaquin | |
- Cytopoint Injections | |
- Glucosamine | |
- Famotidine/Pepcid | |
- Fish Oil | |
- Omeprazole/Prilosec | |
- Mirtazapine | |
- Meclizine | |
- Amantadine | |
- Cortisone | |
- Pentoxifylline | |
- Ligaplex | |
- Reishi Mushroom | |
- Immune Builder | |
- CAS Multimushroom | |
- Ketamine Injections | |
- Vitamin E | |
- Trazadone | |
- Phenobarbitol | |
- Tylan Powder | |
- Temaril-P | |
- Acepromazine | |
- Sulfasalazine | |
- Keppra | |
- Turkey Tail Mushroom | |
- Furosemide/Lasix | |
- Tramadol | |
- Ciprofloxacin | |
- Trilostane | |
- Naturvet Vitapet Vitamins | |
- Glycoflex | |
- Entederm | |
- Aluminum Hydroxide | |
- Deramaxx | |
- Doxycycline | |
- Sulcrafate | |
- Diphenhydramine | |
- Fluoxetine | |
- Nexgard | |
- Reglan/Metoclopramide | |
- Thyroxine | |
- Clindamycin | |
- Cephalexin | |
- Enalapril | |
- CBD | |
- Denosyl | |
- Galliprant | |
- Methadone | |
- Cobalequin | |
- Azodyl | |
- FortiFlora | |
- Propectalin Paste | |
- Dexamethasone | |
- Ampicillin | |
- Coriolus mushroom | |
- Oxycodone | |
- Cyproheptadine | |
- Sotalol | |
- Enrofloxacin/Baytril | |
- Amiikacin | |
- Misoprostol | |
- Chlorhexadine | |
- Neomycin | |
- Visbiome | |
- Tranexamic Acid | |
- Proin | |
- Tobramycin | |
- Avmaquin | |
- Cosyntropin (Cortosyn) | |
- Vetoryl | |
- Metoclopromide | |
- Phenylpropanolamine HCl | |
- Cosequin | |
- Osteoflex | |
- Hepato TruBenefits | |
- Rx Clay | |
- Metamucil Powder | |
- Osteo-Tru Benefits | |
- Oat Glycerite | |
- Cholodin | |
- Proviable | |
- Supplements | |
- Wuffles Joint Supplement | |
- Firocoxib/Previcox | |
- Tylosin | |
- Barium Suspension | |
- Optimmune Ointment | |
- NeoPolyDex Solution | |
- Endosorb | |
- Augmentin | |
- Butorphanol/Dolorex | |
- Prazosin | |
- Traumeel/T-Relief | |
- Deracoxib | |
- Triamcinolone | |
- Probiotic | |
- Hydrocodone | |
- Lactulose | |
- Methocarbamol | |
- Cranberry Pills | |
- Eye Meds | |
- Levothyroxine | |
- Calcitriol | |
- TMS trimethoprim sulfamethoxazole | |
- Allergy Antigen Injections | |
- Propranolol | |
- Flexadin | |
- Interceptor | |
- Thorn SAT | |
- Megaflora | |
- Pregabalin | |
- Canalevia | |
- Cefpodoxime | |
- Melatonin | |
- Phenylephrine | |
- Amoxicillin | |
- Arnica/T-Relief | |
- Aminocaproic Acid | |
- Fluconazole | |
- Gastrafate | |
- Silver Sulfadiazine | |
- Mupirocin | |
- Marbofloxacin/Zeniquin | |
- Psyllium Husk | |
- Chlorpheniramine | |
- Tagamet | |
- Multi-vitamin | |
- D-mannose/cranberry | |
- Darbepoetin | |
- Soloxine | |
- Thuja Occidentalis | |
- Pantoprazole | |
- Normosol-R | |
- Nitrofurantoin | |
- Sildenafil | |
- Hydromorphone | |
- Terbinafine | |
- Sucralfate | |
- Clopidogrel | |
- EndoBlend | |
- Omega Benefts | |
- Dexmedetomidine | |
- Levetiracetam | |
- Diethylstilbesterol | |
- Nattokinase | |
- D3 supplement | |
- Modified Chai Hu Jia Long Gu Mu Li Tang supplement | |
- Power mushrooms | |
- super greens supplement | |
- Sertraline/Zoloft | |
- Mushroom Supplement | |
- Simparica Trio/Sarolaner, moxidectin, and pyrantel | |
- 5DMM | |
- Joint Supplements | |
- Vetericyn | |
- Milk Thistle | |
- S-Adenosyl methionine | |
- Cimetidine | |
- Silver Entro Dex | |
- Desmopressin | |
- Alpha lipoic acid | |
- Unasyn | |
- Panacur/Fenbendazole | |
- Xiao Chai Hu Tang | |
- Incurin | |
- Dextrose | |
- Fresh Frozen Plasma | |
- Pamidronate Infusion | |
- Curcumin | |
- Diazoxide | |
- Clavacillin | |
- Tetracycline | |
- B9 Folic Acid | |
- Prednisolone | |
- Cyclosporine | |
- Ketaconazole | |
- Novolin-N | |
- Zonisamide | |
- Gentamicin/Phenylephrine nasal drops | |
- Stool Softener | |
- Amitriptyline | |
- Moxifloxacin | |
- Gemfibrozil | |
- Taurine | |
- Mometamax | |
- Heartgard | |
- Green Lipped Mussel Powder | |
- Chlorella Powder | |
- BioSponge | |
- Folate | |
- Cobalamine | |
- Diazepam | |
- GenOne | |
- Phenoxybenzamine | |
- Flumethrin and Imidacloprid/Seresto | |
- Forte Ion Gut Health | |
- Dispel Stasis | |
- Blood Remaker + Immune Support with Mushrooms | |
- Pet Tab | |
- Omega 3 Supplement | |
- PIQRAY/Alpelisib | |
- Vitamin K | |
- Quadriplex | |
- Colchicine | |
- Thyro-Tabs | |
- Alprazolam/Xanax | |
- Spironolactone | |
- Vetstarch | |
- Enoxaparin | |
- Diclofenac/Voltaren | |
- Routin | |
- Doxepin | |
- Erythromycin | |
- Keterolac | |
- Tromethamine | |
- Cyclosporine/Atopica | |
- Pantoea agglomerans | |
- Oxybutynin | |
- Amikacin | |
- Levemir | |
- Apocaps | |
- Life Gold | |
- Red Clover Blossoms powder | |
- Modified Citrus Pectin | |
- Epinephrine | |
- Vitamin C | |
- Azathioprine | |
- RBC Transfusion | |
- Bactrim/sulfamethoxazole & trimethoprim | |
- Pet ReLeaf | |
- NeoPolyBac Ophthalmic | |
- Antibiotics (unspecified) | |
- Azithromycin | |
- Alendronate | |
- Cafazolin | |
- Diltiazem | |
- Mexiletine | |
- Pure IP6 | |
- VetInsulin | |
- Herbal Supplements | |
- San Qi Formula | |
- Amnivast | |
- Crananidin | |
- Movoflex | |
- Lidocaine | |
- Tamsulosin/Flowmax | |
- Bedinvetmab/Librela | |
- Calcium Carbonate/Tums | |
- Dermatrophin | |
- Temozolomide | |
- Midazolam | |
- Anipryl | |
- Theophylline | |
- Sodium Bicarbonate | |
- RenaKare | |
- Hydroxazine | |
- Zincard/Dexrazoxane | |
- Animax | |
- Pro-Pectalin | |
- Ellevet CHews | |
- Cordyceps | |
- Benadryl | |
- Albon | |
- Robenacoxib (Onsior) | |
- Lysine | |
- Myos muscle building supplement | |
- Iron injections | |
- Xyzal (L-Cefirizine) | |
- Clavacillin | |
- Loperamide | |
- Theracurmin | |
- Quercetin Phytosome | |
- Anti-Neoplasia | |
- Fiber Supplement | |
- Zinc Supplement | |
- surgery | |
- Whether surgical resection of the tumor was performed. | |
- For example: | |
<surgery> | |
<reasoning>[REASONING]</reasoning> | |
<resection>Yes</resection> | |
</surgery> | |
- surgery_outcome | |
- The outcome of the surgery. | |
- For example: | |
<surgery_outcome> | |
<reasoning>[REASONING]</reasoning> | |
<outcome>Complete Resection</outcome> | |
</surgery_outcome> | |
- The following are the possible outcomes of the surgery: | |
- Completely Excised | |
- Incompletely Excised | |
- Unknown | |
- metastasis_at_time_of_diagnosis | |
- Whether the cancer has spread to other parts of the body. | |
- For example: | |
<metastasis_at_time_of_diagnosis> | |
<metastasis>Yes</metastasis> | |
</metastasis_at_time_of_diagnosis> | |
- The following are the possible outcomes of the surgery: | |
- Yes | |
- No | |
- Unknown | |
- compounding_pharmacy | |
- If a compounding pharmacy is listed, extract the name of the pharmacy. Do not include "fidocure" as a pharmacy name. | |
- For example: | |
<compounding_pharmacy> | |
<reasoning>[REASONING]</reasoning> | |
<pharmacy>CVS Pharmacy</pharmacy> | |
</compounding_pharmacy> | |
- adverse_effects | |
- Any adverse effects the patient has experienced from the medications. For each adverse effect, extract the following fields: | |
- The name of the medication | |
- The dosage of the medication | |
- The date the adverse effect started | |
- A description of the adverse effect | |
- For example: | |
<adverse_effects> | |
<reasoning>[REASONING]</reasoning> | |
<medication>Doxorubicin/Adriamycin</medication> | |
<dosage>20 mg/kg</dosage> | |
<date>2021-01-01</date> | |
<description>Nausea</description> | |
</adverse_effects> | |
- date_of_death | |
- The date of death of the patient, if it is known. | |
- For example: | |
<date_of_death> | |
<reasoning>[REASONING]</reasoning> | |
<date>2021-01-01</date> | |
</date_of_death> | |
- weight | |
- The weight of the patient, if it is known. Convert all weights to kilograms. | |
- For example: | |
<weight> | |
<reasoning>[REASONING]</reasoning> | |
<weight>20 kg</weight> | |
</weight> | |
""" |