<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://nhdr/fhir/StructureDefinition/PH_patient" />
  <name value="PH_patient" />
  <status value="draft" />
  <description value="PH patient description" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient.extension:indigenousgroup">
      <path value="Patient.extension" />
      <sliceName value="indigenousgroup" />
      <type>
        <code value="Extension" />
        <profile value="https://nhdr/fhir/StructureDefinition/Indigenousgroup" />
      </type>
      <isModifier value="false" />
      <binding>
        <strength value="required" />
        <description value="this is the value set" />
        <valueSet value="https://example.org/fhir/ValueSet/IndigenousGroupValueSet" />
      </binding>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <slicing>
        <description value="Patient identifier" />
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.identifier:PHN">
      <path value="Patient.identifier" />
      <sliceName value="PHN" />
      <max value="1" />
    </element>
    <element id="Patient.name.text">
      <path value="Patient.name.text" />
      <max value="0" />
    </element>
    <element id="Patient.name.period.start">
      <path value="Patient.name.period.start" />
      <definition value="The start of the period. The boundary is inclusive. The patient admitted date from." />
    </element>
    <element id="Patient.name.period.end">
      <path value="Patient.name.period.end" />
      <definition value="The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time. The date patient admitted to or when the patient ended admission" />
    </element>
  </differential>
</StructureDefinition>