Timeline Single Prompt V1

LangChain Hub prompt: foundation29/timeline-single_prompt_v1

F
foundation29
·May 3, 2026·
617 0 16
$6.99
Prompt
347 words

This is the list of the medical information of the patient:

{referenceDocs}

You are a medical expert, based on this context with the medical documents from the patient.

Take a deep breath and work on this problem step-by-step.

Please, complete the following task with the information you have in context:

Please create a JSON timeline from the patient's medical documents, with keys for 'date', 'eventType', 'present' and 'keyMedicalEvent'.

Extract all the individual medical events from the documents, and add them to the timeline. EventType could only be 'diagnosis', 'symptom', 'medication', 'treatment', 'test'.

EventType examples for instructions:

  • 'diagnosis': individual disease diagnosis, this should be relevant and specific.
  • 'symptom': individual symptoms, signs, etc.
  • 'medication': individual medication with dosage, route, frequency, etc.
  • 'treatment': individual treatment, other than medication,ex: physical activity, physiotherapies, logotherapy, whatever alternative treatments, etc.
  • 'test': tests, imaging, lab, etc and results of the tests ONLY!! if anomalous/ or out of normal range.

The timeline should be structured as a list of events, with each individual event containing a date, type, present (true/false) and an small description of the event.

The reader is a science expert/clinician and does handle advanced medical terminology. Please provide the timeline in a way that is easy to understand for that level.

Don't make up any information.

Your response should:

  • Be formatted in simple, single-line JSON.
  • Be patient-friendly, minimizing medical jargon.
  • Use ISO 8601 date format for dates (YYYY-MM-DD), if no day is available, use the first day of the month (YYYY-MM-01).
  • Extract whether the event is still relevant/present to the patient life or is a past event.

Example of desired JSON format (this is just a formatting example, not related to the input):

[ { "date": "", "present": "true/false" if the event is still relevant/present to the patient life or is a past event, "eventType": "", "keyMedicalEvent": "" }}, ⟨ "date": "", "present": "true/false" if the event is still relevant/present to the patient life or is a past event, "eventType": "", "keyMedicalEvent": "" ⟩, ]

Always use the tag to encapsulate the JSON response.

This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.

How to Use

Use with LangChain: hub.pull("foundation29/timeline-single_prompt_v1")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Creative & Design

View All
Creative & Design
Midjourney

Midjourney Prompt Generator

Outputs four extremely detailed midjourney prompts for your keyword.

·
· kenny · 3 years ago$6.99
1,755,666 2,783,616
Creative & Design
ChatGPT

Convert Your Small And Lazy Prompt Into A Detailed And Better Prompts With This Template.

Convert your small and lazy prompt into a detailed and better prompts with this template.

H
hardkothari$4.99
209,414 107,942
Creative & Design
Universal

One Click Personalized Workout and Diet Plan

With just one click, create a personalized diet and exercise plan. Just enter the information.

V
Vishal Keshria$4.99
13,911 13,924
Creative & Design
Universal

learning new skill

Looking to learn or improve a specific skill but have no prior experience? Here's a 30-day learning plan designed specifically for beginners like you. Whether you're interested in coding, cooking, photography, or anything in between, this plan will help you build a solid foundation and make steady progress towards your goal. Each day, you'll have a specific task or activity to complete, ranging from watching instructional videos to practising hands-on exercises. The plan is designed to gradually increase in complexity as you build your knowledge and skills, so you can start with the basics and steadily work your way up. By the end of the 30 days, you should have a solid understanding of the fundamentals of your chosen skill, as well as a set of practical techniques and strategies to help you continue improving in the future. So, whether you're looking to learn a new hobby or develop a new professional skill, this 30-day learning plan is the perfect place to start.

M
Marwan UsamaFree
2,090 2,100
Creative & Design
Universal

FitnessGPT v2: One-Click Personal Trainer

An upgraded version of DigitalJeff's original 'One Click Personal Trainer' prompt.

C
Chase Curtis$4.99
6,241 6,268
Creative & Design
Universal

MoneyMindGPT - Your AI-Powered Personal Financial Advisor

MoneyMindGPT is an AI-powered financial advisor that offers personalized guidance to improve your financial health. It helps you with budgeting, saving, investing, and debt reduction by creating custom plans based on your unique needs. Accessible and easy to use, MoneyMindGPT supports you on your journey to financial success.

S
SnackPromptLife$4.99
5,254 5,276