{
  "resourceType": "StructureDefinition",
  "url": "https://nhdr/fhir/StructureDefinition/PH_patient",
  "name": "PH_patient",
  "status": "draft",
  "description": "PH patient description",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension:indigenousgroup",
        "path": "Patient.extension",
        "sliceName": "indigenousgroup",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://nhdr/fhir/StructureDefinition/Indigenousgroup"
            ]
          }
        ],
        "isModifier": false,
        "binding": {
          "strength": "required",
          "description": "this is the value set",
          "valueSet": "https://example.org/fhir/ValueSet/IndigenousGroupValueSet"
        }
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "description": "Patient identifier",
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:PHN",
        "path": "Patient.identifier",
        "sliceName": "PHN",
        "max": "1"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "id": "Patient.name.period.start",
        "path": "Patient.name.period.start",
        "definition": "The start of the period. The boundary is inclusive. The patient admitted date from."
      },
      {
        "id": "Patient.name.period.end",
        "path": "Patient.name.period.end",
        "definition": "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"
      }
    ]
  }
}