{
  "resourceType" : "Patient",
  "id" : "patient-domicile-code",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient patient-domicile-code</b></p><a name=\"patient-domicile-code\"> </a><a name=\"hcpatient-domicile-code\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">John Doe Male, DoB: 1998-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"NZ Domicile Code. Derived from a patient's primary physical, home address.\"><a href=\"StructureDefinition-domicile-code.html\">NZ Domicile Code</a></td><td colspan=\"3\"><span title=\"Codes:{https://standards.digital.health.nz/ns/domicile-code 0125}\">Waipu</span></td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org.nz/fhir/StructureDefinition/domicile-code",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "https://standards.digital.health.nz/ns/domicile-code",
        "code" : "0125",
        "display" : "Waipu"
      }]
    }
  }],
  "name" : [{
    "text" : "John Doe",
    "family" : "Doe",
    "given" : ["John"]
  }],
  "gender" : "male",
  "birthDate" : "1998-01-01"
}