NoteEditor is a rich-text clinical documentation widget that lets clinicians write and manage notes directly inside your application. It supports multiple note types — progress notes, discharge summaries, consultation notes, history and physicals, and more — and tracks document status through a configurable lifecycle from preliminary to final to amended. All saves route through a backend proxy you control.
Props
URL of your backend proxy endpoint. The widget sends GET requests to load an existing note and POST or PATCH requests to save. Supply a note-specific path (e.g.
/api/clinik/notes/note-id) to open an existing note for editing.CSS class name applied to the widget’s root element for layout and theming control.
Callback invoked when a load or save request to your proxy fails. Use this to notify the clinician and prevent data loss.
Proxy setup
Your proxy needs to handle POST to create notes and PATCH to update them. Add a GET handler to support loading existing notes:Usage
Features
- Note type selector: progress note, discharge summary, consultation, history and physical, and other standard clinical note types
- Rich text content area: formatted text entry for clinical narrative
- Document status management: tracks notes through the
preliminary → final → amendedlifecycle - Category tagging: apply clinical categories to notes for filtering and retrieval
Notes are stored as FHIR
DocumentReference resources. The note type and category map to standard LOINC codes, making notes queryable and interoperable across systems connected to ClinikAPI.