> ## Documentation Index
> Fetch the complete documentation index at: https://docs.medera.info/llms.txt
> Use this file to discover all available pages before exploring further.

# Medication Reconciliation Agent

> Reconcile active, prior, and discharge medication lists.

<div style={{ display: "inline-flex", alignItems: "center", justifyContent: "center", width: 76, height: 76, border: "1px solid rgba(20,20,19,0.08)", background: "#ffffff", marginBottom: 16 }}>
  <svg width="42" height="42" viewBox="0 0 16 16" shapeRendering="crispEdges" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
    <rect x="3" y="6" width="10" height="1" fill="#141413" />

    <rect x="3" y="9" width="10" height="1" fill="#141413" />

    <rect x="2" y="7" width="1" height="2" fill="#141413" />

    <rect x="13" y="7" width="1" height="2" fill="#141413" />

    <rect x="3" y="7" width="4" height="2" fill="#76a1fc" />

    <rect x="4" y="6" width="3" height="1" fill="#141413" />

    <rect x="4" y="9" width="3" height="1" fill="#141413" />

    <rect x="7" y="6" width="1" height="4" fill="#141413" />
  </svg>
</div>

<Info>
  **Category:** Evidence & Safety  ·  **Signals:** Med list sources · Prescribing history · Discharge orders · Patient-reported
</Info>

Maintain a clean, auditable medication list across every transition.

## Configuration

| Field             | Description                                              |
| :---------------- | :------------------------------------------------------- |
| `sources`         | Connected med list sources (EHR, e-Rx network, pharmacy) |
| `cadence`         | Practice reconciliation cadence                          |
| `escalation_tree` | Discrepancy escalation tree                              |
| `documentation`   | Documentation requirements                               |

## Execution

1. Pulls med lists from connected sources
2. Reconciles across sources and patient-reported list
3. Surfaces discrepancies with rationale
4. Documents the reconciliation and the resolution
5. Tracks the active list as the source of truth

## Composable experts

| Expert                     | Role                                    |
| :------------------------- | :-------------------------------------- |
| **Med List Source Expert** | EHR, e-Rx network, pharmacy integration |
| **Reconciliation Expert**  | Discrepancy logic + resolution          |
| **Patient Report Expert**  | Patient-reported list capture           |
| **Documentation Expert**   | Reconciliation logging                  |

## Compliance guarantees

<Warning>
  * Reconciliation runs at every transition by default

  * Discrepancies are surfaced with rationale

  * The active list is documented and auditable
</Warning>

## Endpoints

Canvas: `rails/pharmacy` + `ehr-sync` (MedicationRequest).

***

## Related

<CardGroup cols={2}>
  <Card title="Agentic Overview" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/layers.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=b19e6f39887a8a61762fcb53957d2271" href="/agentic/overview" width="40" height="40" data-path="icons/ui/layers.svg">
    Framework + 24 agents.
  </Card>

  <Card title="Expert Registry" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/puzzle.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=eba447b2f1e34fad34c796c184970d9d" href="/agentic/experts/overview" width="40" height="40" data-path="icons/ui/puzzle.svg">
    Typed expert registry.
  </Card>

  <Card title="Canvas" icon="https://mintcdn.com/medera-357fd587/iC-6rAuwl-0aQSw_/icons/ui/layout-dashboard.svg?fit=max&auto=format&n=iC-6rAuwl-0aQSw_&q=85&s=924f63310a2c475420e62629953c3d1c" href="/agentic/canvas/overview" width="40" height="40" data-path="icons/ui/layout-dashboard.svg">
    Compose your own workflow.
  </Card>

  <Card title="API Reference" icon="https://mintcdn.com/medera-357fd587/n1mgcc3nR2sq_PoL/icons/ui/terminal.svg?fit=max&auto=format&n=n1mgcc3nR2sq_PoL&q=85&s=a54c23f663622840fa7b900ec04462a5" href="/api-reference/welcome" width="40" height="40" data-path="icons/ui/terminal.svg">
    REST surface.
  </Card>
</CardGroup>
