Note: This specification was originally titled "Digital Medicines (DigiMeds)" and maintained by the PODAC Programme.
How to populate Patient Demographics
The Composition.section
element is used to convey both HTML and the structrued FHIR elements contained within the payload.
More information can be found on:
The FHIR snippets below provides an example of how to populate the patient FHIR resource, and the respective HTML.
FHIR snippet (HTML)
<section> <title value="Patient Demographics" /> <code> <coding> <system value="http://snomed.info/sct" /> <code value="886731000000109" /> <display value="Patient demographics" /> </coding> </code> <text> <status value="additional" /> <div xmlns="http://www.w3.org/1999/xhtml"> <table width="100%"> <tbody> <tr> <th>Patient</th> <td> <p>Prefix: Mr</p> <p>Given Name: William</p> <p>Family Name: Smith</p> </td> </tr> <tr> <th>Date of birth</th> <td>4 February 1956</td> </tr> <tr> <th>Gender</th> <td>Male</td> </tr> <tr> <th>NHS number</th> <td>2378954317</td> </tr> <tr> <th>Patient address</th> <td> <p>Address Line: 14, Sunny Mews, Overtown,</p> <p>City: Leeds</p> <p>Post Code: LS17 4NK</p> </td> </tr> <tr> <th>Patient telephone number</th> <td> <p>Home: 01135540935</p> <p>Mobile: 07823123456</p> </td> </tr> <tr> <th>Relevant contacts</th> <td>Name: June Smith <p>Relationship: Next of kin</p> <p>Contact details: Tel. 01132789365</p> </td> </tr> </tbody> </table> </div> </text> <!--reference to further information carried in the patient resource--> <entry> <reference value="urn:uuid:1e2b5223-1cd8-43ff-8a67-55dec3edb9b0" /> </entry> </section>
Example HTML render
Patient Demographics
Patient |
Prefix: Mr Given Name: William Family Name: Smith |
---|---|
Date of birth | 4 February 1956 |
Gender | Male |
NHS number | 2378954317 |
Patient address |
Address Line: 14, Sunny Mews, Overtown, City: Leeds Post Code: LS17 4NK |
Patient telephone number |
Home: 01135540935 Mobile: 07823123456 |
Relevant contacts | Name: June Smith Relationship: Next of kin Contact details: Tel. 01132789365 |
FHIR snippet (CareConnect-Patient-1)
<entry> <fullUrl value="urn:uuid:1e2b5223-1cd8-43ff-8a67-55dec3edb9b0" /> <resource> <Patient> <id value="1e2b5223-1cd8-43ff-8a67-55dec3edb9b0" /> <meta> <profile value="https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1" /> </meta> <identifier> <extension url="https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1"> <valueCodeableConcept> <coding> <system value="https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-NHSNumberVerificationStatus-1" /> <code value="01" /> <display value="Number present and verified" /> </coding> </valueCodeableConcept> </extension> <system value="https://fhir.nhs.uk/Id/nhs-number" /> <value value="2378954317" /> </identifier> <name> <use value="official" /> <text value="Mr William Smith" /> <family value="Smith" /> <given value="William" /> <prefix value="Mr" /> </name> <telecom> <system value="phone" /> <value value="01132789365" /> <use value="home" /> </telecom> <gender value="male" /> <birthDate value="1956-02-04" /> <address> <use value="home" /> <type value="both" /> <text value="14 Sunny Mews, Overtown, West Yorkshire, LS17 4NK" /> <line value="14 Sunny Mews" /> <city value="Overtown" /> <district value="West Yorkshire" /> <postalCode value="LS17 4NK" /> </address> <maritalStatus> <coding> <system value="http://hl7.org/fhir/v3/MaritalStatus" /> <code value="M" /> <display value="Married" /> </coding> </maritalStatus> <contact> <relationship> <coding> <system value="http://hl7.org/fhir/v2/0131" /> <code value="N" /> <display value="Next-of-Kin" /> </coding> </relationship> <name> <use value="official" /> <family value="Smith" /> <given value="June" /> </name> <telecom> <system value="phone" /> <value value="01132789365" /> </telecom> <gender value="female" /> </contact> <generalPractitioner> <reference value="urn:uuid:33cd4a2a-417f-4449-8293-31b15ea37470" /> </generalPractitioner> <managingOrganization> <reference value="urn:uuid:e46d86bf-1720-4c55-878f-a034d8349bbd" /> </managingOrganization> </Patient> </resource> </entry>