Last updated: 16 April 2026
Merge fields are dynamic placeholders in documents and templates that are replaced with real data when the document is created or exported. They ensure documents are accurate and consistent without manual data entry.
| Category | Examples |
|---|---|
| Patient Demographics | Title, First Name, Last Name, Date of Birth, NHS Number, Address, Phone, Email |
| Patient Activity | Last appointment date, last consultation date |
| Patient Clinical | Active problems, current medications, allergies |
| Practice | Practice name, address, phone, email, website |
| Clinician | Full name, title, GMC number, qualifications, contact details, signature |
| Appointment | Date, time, type, clinician, location |
| Recipient | GP name, organisation, specialty, address |
| System | Current date, current time |
| Referral | Service, specialty, priority, status, reason |
| Links | Document sharing URL, patient portal link |
Merge fields can be used in:
In the document or template editor:
The merge field panel on the right sidebar of the template editor also allows you to browse and insert fields by clicking.
Before saving, the editor checks for merge fields that cannot be resolved (e.g. the patient has no NHS number on file). A validation banner highlights any issues, and a missing fields dialog prompts you to address them.
Tip: In templates, use merge fields from every relevant category. When the template is used to create a document, all fields will be resolved automatically from the patient and practice context.