What is the purpose of the article?
This article outlines the different codes that can be used to include Patient information in templates.
List of template codes for Patient and a related description
Below is a list of template codes for patients and an associated description for each item.
To help match them to what you see in the Meddbase application, they have been grouped into sections.
These sections are similar to those shown in the Personal Details screen for the patient. With an additional section for further patient-related template codes (such as Medical History and Last Appointment Date) at the end of the list.
Code |
Details |
---|---|
Personal Details template codes |
|
{Patient.Title} |
Patient's Title |
{Patient.FullName} |
Patient's Full Name |
{Patient.FirstName} |
Patient's First Name |
{Patient.Surname} |
Patient's Surname |
{Patient.FirstNameInitial} |
Patient's First Name Initial, e.g. 'J.' for 'John' |
{Patient.SurnameInitial} |
Patient's Surname Initial, e.g. 'S.' for 'Smith' |
{Patient.InitialsOnly} |
Patient's Initials, e.g. 'J.S.' for 'John Smith' |
{Patient.TitleInitials} |
Patient's Title and Initials, e.g. 'Mr. J.S.' for 'Mr. John Smith' |
{Patient.TitleInitialsSurname} |
Patient's Title, First Name Initial and Surname, e.g. 'Mr. J. Smith' for 'Mr. John Smith' |
{Patient.Sex} |
Patient's Sex |
{Patient.Dob} |
Patient's Date Of Birth |
{Patient.Age} |
Patient's Age |
{Patient.Status} |
Status Type - i.e. In Patient, Discharged etc. |
{Patient.Referrer} |
Patient's Referrer |
{Patient.Gender} |
Patient's gender identity |
{Patient.Pronouns} |
Patient's pronouns |
Patient Contact Info template codes |
|
{Patient.HomePhone} |
Patient's Home Phone |
{Patient.WorkPhone} |
Patient's Work Number |
{Patient.Mobile} |
Patient's Mobile Number |
{Patient.Email} |
Patient's Email Address |
Patient Home Address & Billing Address template codes |
|
{Patient.HomeAddress} {Patient.HomeAddressOneLine} |
Full Home Address of patient Displays the home address of the patient on one line |
{Patient.BillingAddress} {Patient.BillingAddressOneLine} |
Full Billing Address of patient Displays the billing address of the patient on one line |
Patient Next of Kin template codes |
|
{Patient.NokName} |
Next Of Kin Name |
{Patient.NokPhone} |
Next Of Kin Phone Number |
{Patient.NokRelationship} |
Next Of Kin Relationship |
{Patient.NokAddress} |
Next of Kin Address |
Patient Specialist / GP template codes | |
{Patient.Gp} |
Patient GP's ID |
{Patient.Gp.FullName} |
Default Doctor Name [not NHS] |
{Patient.Gp.Surname} |
Default Doctor Surname Only [not NHS] |
{Patient.Gp.HomeAddress} {Patient.Gp.HomeAddressOneLine} |
Patient's GP Address Displays the address on one line |
{Patient.Specialist} |
Patient Specialist's ID |
Patient NHS details template codes |
|
{Patient.NhsNumber} |
NHS Number |
{Patient.NhsSurgery} |
NHS Surgery Name |
{Patient.NhsGpName} |
NHS GP Name |
{Patient.NhsSurgeryPhone} |
NHS Surgery Phone Number |
{Patient.NhsSurgeryAddress} |
NHS Surgery Full Address |
{Patient.NhsSurgeryAddressOneLine} |
NHS Address 1 line |
{Patient.NhsCommissioner}
|
NHS Commissioner ID
|
{Patient.NhsCommissioner.Phone}
|
NHS Commissioner Phone Number
|
{Patient.NhsCommissioner.Address}
|
NHS Commissioner Full Address
|
{Patient.NhsCommissioner.AddressOneLine}
|
NHS Commissioner Address 1 line
|
{Patient.NhsCommissioner.Name}
|
NHS Commissioner Name |
Patient Insurance template codes |
|
{Patient.Insurer} |
Patient's Insurance Company |
{Patient.InsuranceMemberNo} |
Patient's Insurance Company Member Number |
{Patient.InsurerContactName} |
Patient's Insurer Contact |
{Patient.InsurerContactTitle} |
Patient's Insurer Contact Title |
{Patient.InsurerContactDetails} |
Patient's Insurer Details |
{Patient.InsurerContactAddress} |
Patient's Insurer Address |
{Patient.InsurerContactAddressOneLine} |
Insurers Contact Address 1 Line |
{Patient.InsurerContactPhone} |
Patient's Insurer Phone Number |
Patient Employer template codes |
|
{Patient.Employer} |
Patient's Employer |
{Patient.EmployerObject} |
Patient's Employer Company ID |
{Patient.EmployeeNo} |
Patient's Employee Number |
{Patient.EmployerContactName} |
Employer Contact Name |
{Patient.EmployerContactTitle} |
Employer Contact Title |
{Patient.EmployerContactDetails} |
Employer Contact Details |
{Patient.EmployerContactAddress} |
Employer Contact Address |
{Patient.EmployerContactAddressOneLine} |
Employer Contact Address 1 Line |
{Patient.EmployerContactPhone} |
Employer Phone Number |
Further patient related template codes |
|
{Patient.SigMedHist} |
Significant Medical History |
{Patient.MedicalRecord} |
Patient's full medical record |
{Patient.Medication} |
Patient's Medication |
{Patient.Allergies} |
Patient's Allergies |
{Patient.LastAppointmentDate} |
Last Appointment Date |
{Patient.Id} |
The patient's unique Meddbase identification number. |
{Patient.Data} |
Displays all meta field information |
{Patient.Gender} | Gender of patient |
{Patient.Pronoun} | Pronoun of patient |
Review date
This article was last updated on the 23rd of October in the context of Meddbase version 1.281.1.22307.