patient-nhi
type: Patient
node role: treeRoot
resource.id:
  value: patient-nhi
resource.meta:
  meta.profile:
    value: http://hl7.org.nz/fhir/StructureDefinition/NzPatient
    index: 0
    link: http://hl7.org.nz/fhir/StructureDefinition/NzPatient
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: Patient patient-nhi Profile: NZ Patient John Doe Male, DoB: 1998-01-01 ( https://example.com/mysystem#other system id (use: official, )) Other Ids: NHI/activeIdent (use: official, ) NHI/dormant (use: old, ) NHI/dormant2 (use: old, ) https://example.com/mysystem/other system id2 (use: temp, )
patient.identifier:
  index: 0
  identifier.use:
    value: official
  identifier.system:
    value: https://standards.digital.health.nz/ns/nhi-id
  identifier.value:
    value: activeIdent
patient.identifier:
  index: 1
  identifier.use:
    value: old
  identifier.system:
    value: https://standards.digital.health.nz/ns/nhi-id
  identifier.value:
    value: dormant
patient.identifier:
  index: 2
  identifier.use:
    value: old
  identifier.system:
    value: https://standards.digital.health.nz/ns/nhi-id
  identifier.value:
    value: dormant2
patient.identifier:
  index: 3
  identifier.use:
    value: official
  identifier.system:
    value: https://example.com/mysystem
  identifier.value:
    value: other system id
patient.identifier:
  index: 4
  identifier.use:
    value: temp
  identifier.system:
    value: https://example.com/mysystem
  identifier.value:
    value: other system id2
patient.name:
  index: 0
  human name.text:
    value: John Doe
  human name.family:
    value: Doe
  human name.given:
    value: John
    index: 0
patient.gender:
  value: male
patient.birth date:
  value: 1998-01-01