Skip to main content
Resource Publishing

Communication Template Schema

A communication template defines the body of a message sent to a patient (SMS, letter, or portal message) and an optional SNOMED CT concept ID that is filed to the patient's care record when the communication is sent.

Example

<?xml version="1.0" encoding="UTF-8"?>
<communicationTemplate>
<body>
Dear [patient name], this is a reminder that you are due for your annual review.
Please contact the surgery to book an appointment.
</body>
<clinicalCode>185318009</clinicalCode>
</communicationTemplate>

Schema

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="communicationTemplate">
<xs:complexType>
<xs:sequence>
<xs:element name="body" type="xs:string"/>
<xs:element name="clinicalCode" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

Elements

ElementRequiredDescription
bodyYesThe message body. Plain text; the content is sent as-is to the patient.
clinicalCodeNoA SNOMED CT concept ID filed to the care record when the communication is sent.