Quickstart - Introduction | Medblocks Docs
Learn FHIR for FREE! Enroll Now!

Quickstart

This walks you through your first Medblocks project end to end: sign up, get data flowing, define a Table, and see results. About ten minutes.

If a term in here is unfamiliar, the Concepts page has the long version.

1. Sign up

Go to app.medblocks.com and create an account with your work email. We’ll send a verification link — click it to confirm the address.

Once verified, you’re prompted to create an Organization. Give it a name (your company or team name is fine; you can change it later) and click Create. You’ll land in a fresh workspace with no Connectors and no Tables yet.

2. Import sample patients

Before you connect a real system, it helps to have data to look at. From the empty workspace, click Import sample patients.

This loads a synthetic dataset of about 10 patients. The data is realistic — full FHIR resources covering encounters, conditions, observations, medications, and a handful of PDF discharge summaries — but no real PHI. You can use it to explore the platform without waiting for a real Connector to sync.

You’re now ready to define a Table. If that’s all you want to do for this first run, skip to step 4.

3. (Optional) Connect your own records from MyChart

If you want to see the patient-mediated flow in action, connect your own health records. This is the same flow your patients would go through.

  1. From the workspace home, click Add patient and fill in your name and date of birth.
  2. On the patient page, pick your EHR from the Add EHR dropdown — search for the Epic-based hospital you’ve been seen at.
  3. Click Generate link. Copy the one-time link to your clipboard.
  4. Open the link on your phone (or any browser). Sign in with your MyChart credentials, and approve the data-sharing scopes.
  5. Wait about 30 seconds. Your records land as a new Connector called epic-patient-<your-name> and you’ll see it appear in the workspace.

You now have two Connectors — sample and your own MyChart pull — to work with.

4. Define your first Table

Tables are how you express what you want to know. Keep your first one simple.

  1. Click Tables → New Table. Name it patient_overview.

  2. Add three Columns:

    NameTypeDescription
    patient_nametextPatient’s full legal name. Use the most recent value if multiple sources disagree.
    date_of_birthdatePatient’s date of birth.
    last_hba1cnumericMost recent HbA1c lab result, as a percentage. Prefer LOINC 4548-4 but accept local codes meaning the same thing. Leave null if the patient has never had one.
  3. Click Save.

That’s it. The Agent picks up the Table and starts working.

5. Watch the Agent work

You’ll see the Agent’s logs on the Runs page. It runs through the loop described in Concepts — profiling your Connector data, writing candidate Mappings, testing them, and iterating.

For a Table this simple on the sample dataset, expect 5-10 minutes. Real datasets with messier code systems take longer, sometimes hours. You don’t need to keep the tab open — you’ll get an email when the Mappings are done.

6. View the Table

Open patient_overview from the Tables dashboard. You’ll see one row per patient with the Columns you defined. Click any cell to see provenance — the input row, Mapping version, and timestamp behind the value.

Click Export CSV to download a snapshot. To push the Table out to your warehouse, a FHIR server, or object storage on a schedule, set up an Export — covered on the Exports page.

What’s next

  • Add more Columns to patient_overview — missed appointments, current medications, last visit date.
  • Connect a real production system through one of the EHR or HIE Connectors.
  • Read Concepts if you skipped it, especially the sections on Mappings and Provenance.

If anything in this quickstart didn’t work the way it’s described, email us at support@medblocks.com.