Skip to content

Repository files navigation

TrialCapture — Module 2

Clinical trial visit capture app built on openEHR / EHRbase.

Prerequisites

Run

1. Start EHRbase (backend)

From the Module2_TrialCapture directory:

docker compose up -d

Wait ~20 seconds for EHRbase to initialise, then verify:

http://localhost:8080/ehrbase/rest/status

2. Start the frontend

cd frontend
npm install      # first time only
npm run dev

Open: http://localhost:5173

Stop

docker compose down

Data is persisted in the ehrbase_data Docker volume. To wipe everything:

docker compose down -v

Notes

  • If Module 1 is running, stop it first — both use ports 8080 and 5432.
  • The Vite dev server proxies /ehrbase/* to http://localhost:8080 automatically.
  • EHRbase Swagger UI: http://localhost:8080/ehrbase/swagger-ui/index.html

About

Clinical trial data capture using openEHR archetypes — TypeScript reference implementation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages