You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/prompt.txt
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,20 @@ You must strictly follow the Stanford template structure wherever applicable.
3
3
Given:
4
4
1. A clinical question from a PCP
5
5
2. Patient case details
6
-
3. Access to Stanford templates
6
+
3. Stanford JSON template
7
7
Generate JSON object with the following fields:
8
8
- Field: specialistSummary (3-4 lines):
9
9
- Summary of the relevant case details for a specialist who is reviewing the case
10
10
- Focus on patient demographics and key clinical context, relevant history/findings, especially findings that impact management
11
11
- Summarize existing data only; do not include recommendations or suggestions
12
-
- Field: templateSelectionProcess:
13
-
- First, examine ONLY the templates in the following Stanford document: {{TemplateGoogleDocLink}}
14
-
- Mention ALL available templates in the above document and use step-by-step logic to justify the most appropriate selection.
15
12
- Field: basicPatientSummary (return as array):
16
13
- Patient age
17
14
- Patient gender
18
15
- Comma separated string of past medical history
19
16
- Comma separated string of key medications
20
-
- Field: populatedTemplate (STRICT FORMAT AND TEMPLATE ADHERENCE AND LAB VALUE INCLUSION REQUIRED):
21
-
- Respond with JSON array and put each filled template field into its own JSON object, e.g., {"field": "filled template field name", "value": "filled template field value"} as an item of enclosing array.
22
-
- Maintain original order of sections and questions without modifications.
23
-
- Populate each field with case-specific information.
17
+
- Field: populatedTemplate:
18
+
- Populate "***" values of Stanford JSON template with case-specified information
19
+
- Strictly follow input Stanford JSON format
24
20
- For lab results, explicitly list numeric values instead of checkboxes. Example:
0 commit comments