<?xml version="1.0" encoding="UTF-8"?>

<Practitioner xmlns="http://hl7.org/fhir">
  <id value="practitioner-death-date"/>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: Practitioner practitioner-death-date</b></p><a name="practitioner-death-date"> </a><a name="hcpractitioner-death-date"> </a><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Marcus Welby</p><hr/><table class="grid"><tr><td style="background-color: #f3f5da" title="Administrative gender">Gender:</td><td>Male</td><td style="background-color: #f3f5da" title="Date of birth">Date of Birth:</td><td>1998-01-01</td></tr><tr><td style="background-color: #f3f5da" title="The date of death of the individual, plus the source of that information">Date of death:</td><td colspan="3"><ul><li>date: 2021-01-01</li><li>source: <span title="Codes:{https://standards.digital.health.nz/ns/information-source-code DREG}">Death Register</span></li></ul></td></tr></table></div>
  </text>
  <extension url="http://hl7.org.nz/fhir/StructureDefinition/death-date">
    <extension url="date">
      <valueDateTime value="2021-01-01"/>
    </extension>
    <extension url="source">
      <valueCodeableConcept>
        <coding>
          <system value="https://standards.digital.health.nz/ns/information-source-code"/>
          <code value="DREG"/>
        </coding>
      </valueCodeableConcept>
    </extension>
  </extension>
  <name>
    <text value="Marcus Welby"/>
    <family value="Welby"/>
    <given value="Marcus"/>
  </name>
  <gender value="male"/>
  <birthDate value="1998-01-01"/>
</Practitioner>