{
  "resourceType": "StructureDefinition",
  "url": "https://tigahealth.com/fhir/StructureDefinition/RelatedPerson",
  "name": "RelatedPerson",
  "status": "draft",
  "date": "2022-11-15T10:05:57.5666931+00:00",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.identifier.type",
        "path": "RelatedPerson.identifier.type",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RelatedPerson.identifier.type:PRN",
        "path": "RelatedPerson.identifier.type",
        "sliceName": "PRN",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.type:PRN.coding",
        "path": "RelatedPerson.identifier.type.coding",
        "max": "1"
      },
      {
        "id": "RelatedPerson.identifier.type:PRN.coding.system",
        "path": "RelatedPerson.identifier.type.coding.system",
        "min": 1,
        "fixedUri": "http://moph.qa/codesystem/PatientIdentifier"
      },
      {
        "id": "RelatedPerson.identifier.type:PRN.coding.code",
        "path": "RelatedPerson.identifier.type.coding.code",
        "min": 1,
        "fixedCode": "PRN"
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship.coding.system",
        "path": "RelatedPerson.relationship.coding.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship.coding.code",
        "path": "RelatedPerson.relationship.coding.code",
        "min": 1
      }
    ]
  }
}