Skip to content
Bell Eapen edited this page Jan 17, 2026 · 2 revisions

Conchs (UI Modules)

Conchs are installable UI components: OpenMRS O3 ESMs or CDS Hooks clients that interact with elixirs and FHIR resources.

OpenMRS ESM Conch

Features

  • Standard naming openmrs-esm-*
  • Communicate with elixir APIs & FHIR server
  • Decouple UI experiments from EMR core

Manage Conchs

Install

Install an OpenMRS ESM or CDS client.

npx dhti-cli conch install -g <git_url> -n <name>

Flags:

  • -g, --git: GitHub repository URL.
  • -n, --name: Name of the conch (required).
  • -b, --branch: Branch to install from.
  • -s, --sources: Additional sources/packages to include.
  • -w, --workdir: Working directory.

Initialize

Scaffold a new conch.

npx dhti-cli conch init -n <name>

Start

Start the frontend development server.

npx dhti-cli conch start -n <name>

Develop with hot reload

See Hot Reload for the dev sync command to copy the built dist into a running container.

Package as Docker image

npx dhti-cli docker -n yourdockerhandle/conch-test:1.0 -t conch

Testing without OpenMRS

Use the CDS Hooks sandbox to simulate order-select flows and test summarization or Q&A workflows.

Further Reading

Clone this wiki locally