Spaces:
Sleeping
Sleeping
File size: 14,647 Bytes
9ae2c40 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 |
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>
""" |