Skip to content

Instantly share code, notes, and snippets.

@monk1337
Last active July 22, 2023 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monk1337/6e663214a0cbc414e04560888189540a to your computer and use it in GitHub Desktop.
Save monk1337/6e663214a0cbc414e04560888189540a to your computer and use it in GitHub Desktop.
{
"id":2,
"input":"A patient with fever and chill and severe coughing with cold. He has fever since 7 days and swelling at right foot. Already he is diagnosed with diabetes malattie. He is on tablet meclizidam 500 and insulin 12 unit since last 1 year. Now his reports are showing that he is malaria positive with right foot cellulitis. He is on tablet zoseph cv, tablet lumerex 4 bd for 3 days, tablet paracetamol 500 for 3 days, capsule pandi twice bd, daily dressing with glycerin and kmn 4, daily hgt checking twice a day and giving dose of insulin as per scale.",
"output":[
{
"T":"Sign & Symptoms",
"E":"fever and chill and severe coughing with cold"
},
{
"T":"Sign & Symptoms",
"E":"fever since 7 days"
},
{
"T":"Sign & Symptoms",
"E":"swelling at right foot"
},
{
"T":"History",
"E":"diagnosed with diabetes malattie"
},
{
"T":"History",
"E":"on tablet meclizidam 500 and insulin 12 unit since last 1 year"
},
{
"T":"Diagnosis",
"E":"malaria positive with right foot cellulitis"
},
{
"T":"RX Treatment",
"E":"on tablet zoseph cv"
},
{
"T":"RX Treatment",
"E":"tablet lumerex 4 bd for 3 days"
},
{
"T":"RX Treatment",
"E":"tablet paracetamol 500 for 3 days"
},
{
"T":"RX Treatment",
"E":"capsule pandi twice bd"
},
{
"T":"Procedure",
"E":"daily dressing with glycerin and kmn 4"
},
{
"T":"Procedure",
"E":"daily hgt checking twice a day"
},
{
"T":"Procedure",
"E":"giving dose of insulin as per scale"
},
{
"T":"Advise",
"E":"Maintain strict control over blood glucose levels"
},
{
"T":"Advise",
"E":"Ensure regular intake of prescribed medication"
},
{
"T":"Advise",
"E":"Monitor symptoms and seek immediate medical help if symptoms worsen"
},
{
"T":"Advise",
"E":"Rest and hydrate adequately"
},
{
"T":"Advise",
"E":"Ensure foot hygiene to prevent worsening of cellulitis"
},
{
"T":"Advise",
"E":"Continue daily blood glucose monitoring"
},
{
"T":"Advise",
"E":"Follow prescribed dressing routine for the right foot"
}
]
}
{
"prompt":"As an advanced AI model with clinical expertise, your objective is to analyze a Patient Note meticulously, and then generate ten distinct, high-quality, medically patient-focused questions for the doctor. These inquiries should reflect a physician's investigatory style, intending to gather additional information for a more accurate diagnosis of patient. In doing so, the model should prioritize questions that fill informational gaps, reveal potential underlying conditions, and consider relevant medical history. It should adjust its approach per case and understand the interplay between bodily systems, disease progression, and treatment effects. By leveraging AI capabilities and medical knowledge, the model aims to facilitate medical professionals in their diagnostic and treatment decisions.",
"output":"Your output format is only valid json { 'questions' : [q1,q2..q10]} form, no other form."
}
Example:
"input":"A patient with fever and chill and severe coughing with cold. He has fever since 7 days and swelling at right foot. Already he is diagnosed with diabetes malattie. He is on tablet meclizidam 500 and insulin 12 unit since last 1 year. Now his reports are showing that he is malaria positive with right foot cellulitis. He is on tablet zoseph cv, tablet lumerex 4 bd for 3 days, tablet paracetamol 500 for 3 days, capsule pandi twice bd, daily dressing with glycerin and kmn 4, daily hgt checking twice a day and giving dose of insulin as per scale.",
"output":{
"questions":[
"How severe is the patient's cough? Is it productive or non-productive?",
"Is the patient experiencing any shortness of breath or difficulty breathing?",
"Is the patient experiencing any chest pain or discomfort?",
"Has the patient recently traveled or lived in an area where malaria is endemic?",
"Is the patient currently experiencing any nausea, vomiting, or diarrhea?",
"How high is the patient's fever? Is it constant or cyclic in nature?",
"How long has the patient been experiencing swelling in the right foot? Is the swelling increasing or decreasing?",
"What is the patient's current blood sugar level? How well is it being controlled?",
"Is the patient currently experiencing any pain or discomfort in the right foot, or is it only swollen?",
"Is the patient experiencing any other symptoms such as headache, body aches, or fatigue?"
]
}
{
"id":2,
"input":"A patient with fever and chill and severe coughing with cold. He has fever since 7 days and swelling at right foot. Already he is diagnosed with diabetes malattie. He is on tablet meclizidam 500 and insulin 12 unit since last 1 year. Now his reports are showing that he is malaria positive with right foot cellulitis. He is on tablet zoseph cv, tablet lumerex 4 bd for 3 days, tablet paracetamol 500 for 3 days, capsule pandi twice bd, daily dressing with glycerin and kmn 4, daily hgt checking twice a day and giving dose of insulin as per scale.",
"output":{
"suggested_symptoms":[
"Decreased sensation in right foot",
"Difficulty in walking due to swelling and pain",
"Frequent urination",
"Increased thirst",
"Unexpected weight loss",
"Fatigue",
"Signs of infection around the right foot such as redness, warmth, pus discharge, malaise",
"Severe cough with phlegm or blood",
"Shortness of breath",
"Weight loss",
"Night sweats",
"History of insect bites or travel to malaria-endemic regions",
"Periods of high fever alternating with periods of normal or low temperature (fever pattern associated with malaria)",
"Jaundice",
"Pallor",
"Enlarged spleen or liver",
"Muscle aches",
"Nausea",
"Vomiting"
],
"suggested_diagnosis":[
"Uncontrolled Type 2 Diabetes Mellitus with complications of foot cellulitis and Malaria.",
"The patient may also be at risk for a respiratory infection like Pneumonia due to severe coughing, which needs further investigation.",
"In addition, given the existing diabetes, neuropathy and peripheral vascular disease should also be considered as part of the diabetes-related complications.",
"Finally, foot cellulitis requires immediate attention to prevent the possible progression into a more serious condition like necrotizing fasciitis or a diabetic foot ulcer."
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment