<Patient xmlns="http://hl7.org/fhir">
  <id value="pat" />
  <meta>
    <profile value="http://hl7.org.nz/fhir/StructureDefinition/NzPatient" />
  </meta>
  <name>
    <family value="Doe" />
    <given value="John" />
  </name>
  <gender value="male" />
  <birthDate value="2021-03-01" />
  <address>
    <type value="postal" />
    <line value="123 anywhere place" />
    <city value="Auckland" />
  </address>
</Patient>