Close icon

Get your ZapEHR account

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Introducing ZapEHR's "Hello World" Demo

June 6, 2023

Today, we are excited to release sample code that showcases how to build a simple health application on the ZapEHR platform.

This code, available on GitHub at https://github.com/masslight/zapehr-public/tree/main/website-demo, demonstrates the functionality of listing and adding patients to the application.

zapEHR Hello World application. It has a list of patients on the left, information about a patient including name and address at the bottom, and logs explaining user actions such as searching for patients on the right.


The application is built using React and TypeScript, utilizing various features of ZapEHR. It interacts with ZapEHR's FHIR API to create and retrieve FHIR resources, as well as with the Project API to invoke ZapEHR Zambda Functions. The Zambda Functions include custom code for patient retrieval and creation. Additionally, ZapEHR Secrets is used to manage environment variables for the Zambda Functions.

The repository is divided into two parts: the frontend (website) and the backend (zambdas). The README provides instructions for running the code locally or deploying it. You can also explore the deployed version of the demo at https://zapehr.com/demo.

The code is released under the MIT License, allowing you to run and modify it according to your needs. If you have any questions, you can reach out to us via email or join our Slack community for further assistance. We are eager to support you in building your own health applications on the ZapEHR platform…

Want to read the full article? Click here to visit our Substack. 

Get the Ultimate Headless EHR Checklist for free

  • What is a headless EHR? And how is it different from traditional EHRs?
  • Features & Functionality to
    consider
  • Cost & Pricing
  • Is a headless EHR the right fit for you?
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Stay in the know and receive regular insights, tips, and ZapEHR updates by subscribing to ‘ZapEHR Byte' – your bite-sized dose of health tech updates.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
back to blog

Learn why healthcare orgs trust ZapEHR as their health tech dev platform

Meet with our engineers
Quotation icon

Our new behavioral health intake application, built on ZapEHR, allowed us to build a solution that is customized for our use including scheduling, insurance validation, and direct integration with our eClinicalWorks EHR.

Mordechai Raskas
Mordechai Raskas

Chief Medical Information Officer at PM Pediatric Care