Spaces:
Paused
Paused
Commit
·
c3da6a7
1
Parent(s):
fad9e5e
better prompt
Browse files
app.py
CHANGED
@@ -43,6 +43,13 @@ def generate_soap_note(doctor_patient_conversation):
|
|
43 |
prompt = f"""<|user|>
|
44 |
Please generate a structured SOAP (Subjective, Objective, Assessment, Plan) note based on the following doctor-patient conversation:
|
45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
{doctor_patient_conversation}
|
47 |
<|assistant|>"""
|
48 |
|
|
|
43 |
prompt = f"""<|user|>
|
44 |
Please generate a structured SOAP (Subjective, Objective, Assessment, Plan) note based on the following doctor-patient conversation:
|
45 |
|
46 |
+
Include all relevant details in the SOAP note, and ensure that the note is clear and concise. Address each of the following:
|
47 |
+
Subjective: Patient's reported symptoms and concerns.
|
48 |
+
Objective: Observations and findings from the doctor's examination.
|
49 |
+
Assessment: Doctor's assessment of the patient's condition.
|
50 |
+
Plan: Recommended next steps for the patient's care.
|
51 |
+
|
52 |
+
Do not include any additional information or context outside of the SOAP note. Do not include the original prompt or conversation in the output.
|
53 |
{doctor_patient_conversation}
|
54 |
<|assistant|>"""
|
55 |
|