# Explore a Patient

URL: https://docs.clinia.com/studio/explore-a-patient

> Ingest the synthetic Jeanne Tremblay dataset in the Context Engine Studio, browse the resulting patient graph, and ask an agent about her care.

In this tutorial you ingest the synthetic Jeanne Tremblay dataset into your workspace, follow the ingestion until it finishes, browse the patient's virtual file system, read a condition story, and ask the chat assistant a clinical question. It takes about fifteen minutes and needs nothing beyond a running Context Engine Studio.

## Prerequisites [#prerequisites]

You need the studio running against your workspace, as set up in [Install and Connect to a Workspace](https://docs.clinia.com/studio/install-and-connect). The tutorial adds a patient to that workspace, which you can delete afterwards with **Delete patient** on the patient's page.

## Steps [#steps]

<Steps>
<Step>

### Download the dataset [#download-the-dataset]

Download [jeanne-tremblay.zip](https://docs.clinia.com/samples/jeanne-tremblay.zip) and unzip it into a folder named `jeanne-tremblay`:

```bash
unzip jeanne-tremblay.zip -d jeanne-tremblay
```

The zip holds the FHIR R4 bundle (`bundle.json`) and the C-CDA documents (`cda/`) at its root, so the folder name is what the studio suggests as the patient ID. [Synthetic Patient Datasets](https://docs.clinia.com/docs/patients/synthetic-patient-datasets) describes who Jeanne is and what her record contains.

</Step>
<Step>

### Create the patient [#create-the-patient]

Drop the `jeanne-tremblay` folder on the **Add your first patient** dropzone, check that **Patient ID** reads `jeanne-tremblay`, and select **Create patient & ingest**. The studio sends every `.json` and `.xml` file in the folder, and any PDFs and images (`.pdf`, `.tif`, `.tiff`, `.jpg`, `.jpeg`, `.png`), and skips the rest. In a workspace that already has patients, the same form opens from **Create patient** in the patient switcher.

<Callout type="info">
  Sending PDFs and images is a technical preview, and Jeanne's dataset has none. In your own
  folders, a PDF or image does not go in when file ingestion is off for your workspace, when it is
  over 20 MB, or when text extraction fails. The form then stays open with a cross and the reason
  beside each such file. Select **Continue** to open the patient. If no file goes in, the form shows
  an error; select **Create patient & ingest** to retry.
</Callout>

</Step>
<Step>

### Wait for the ingestion to finish [#wait-for-the-ingestion-to-finish]

Select **View ingestions** in the notice that confirms the files were accepted, and wait until every row reads **Succeeded**, since ingestion runs in the background. Each row is one submission. Its **Staged** column counts the facts, events and narratives the engine staged from it. [Track an Ingestion](https://docs.clinia.com/docs/get-started/track-an-ingestion) explains what each status means.

</Step>
<Step>

### Browse the virtual file system [#browse-the-virtual-file-system]

Expand **Virtual file system** in the sidebar and open a few folders, for example `/conditions/active/`, `/medications/active/` and one of the year folders under `/encounters/`. Each file opens in three views: **Narrative** and **Compact**, which render as Markdown, and **Structured**, which shows the JSON. [VFS Paths](https://docs.clinia.com/api/vfs-paths) lists every folder and file the tree can hold.

</Step>
<Step>

### Read a condition story [#read-a-condition-story]

Open `/conditions/active/`, then **Chronic obstructive lung disease**, then `_story.md`. The story follows the condition from its onset through treatments, monitoring labs and complications. It is the same text an agent gets when it calls the [`read_patient`](https://docs.clinia.com/api/mcp/tools/read-patient) MCP tool on that path.

The `_narratives/` folder beside it holds the narratives from Jeanne's documents that the engine linked to the condition. [Condition Stories](https://docs.clinia.com/docs/context-assembly/condition-stories) explains how the engine assembles a story.

</Step>
<Step>

### Ask the assistant a question [#ask-the-assistant-a-question]

Select **New chat** in the sidebar and ask a question that needs more than one file to answer, for example:

> Given the recent acute COPD exacerbation, is the current inhaler regimen appropriate and is bone health being monitored?

The assistant browses and reads Jeanne's files over MCP before it answers and cites the files it used. Select any tool call in the thread to see its input and output.

</Step>
</Steps>

Chats are listed per patient under **Chats** in the sidebar and reopen where you left them.

## Next steps [#next-steps]

- [Connect an AI Agent](https://docs.clinia.com/docs/context-assembly/connect-an-ai-agent) to give your own agent the MCP tools the assistant used.
- [VFS Paths](https://docs.clinia.com/api/vfs-paths) for every folder and file the tree can hold.
- [The Patient Graph](https://docs.clinia.com/docs/get-started/patient-graph) for how the engine merged the FHIR and CDA records into one patient.
