{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-10-23T09:25:04.83+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/ITK-RelatedPerson-1",
  "version": "1.0.0",
  "name": "ITK-RelatedPerson-1",
  "status": "active",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A constrained RelatedPerson resource typically carrying information about a person having a personal or non-healthcare-specific professional relationship to the patient.",
  "purpose": "There is a requirement to profile a person related to the patient.",
  "copyright": "Copyright © 2017 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.identifier.type.coding.system",
        "path": "RelatedPerson.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.type.coding.code",
        "path": "RelatedPerson.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "RelatedPerson.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.value",
        "path": "RelatedPerson.identifier.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.identifier.assigner",
        "path": "RelatedPerson.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "RelatedPerson.identifier.assigner.reference",
        "path": "RelatedPerson.identifier.assigner.reference",
        "min": 1
      },
      {
        "id": "RelatedPerson.patient",
        "path": "RelatedPerson.patient",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ]
      },
      {
        "id": "RelatedPerson.patient.reference",
        "path": "RelatedPerson.patient.reference",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "PatientRelationshipType"
            }
          ],
          "strength": "required"
        }
      },
      {
        "id": "RelatedPerson.relationship.coding",
        "path": "RelatedPerson.relationship.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.relationship.coding.system",
        "path": "RelatedPerson.relationship.coding.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship.coding.version",
        "path": "RelatedPerson.relationship.coding.version",
        "max": "0"
      },
      {
        "id": "RelatedPerson.relationship.coding.code",
        "path": "RelatedPerson.relationship.coding.code",
        "min": 1
      },
      {
        "id": "RelatedPerson.relationship.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "RelatedPerson.relationship.coding.display",
        "min": 1
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "max": "1"
      },
      {
        "id": "RelatedPerson.name.prefix",
        "path": "RelatedPerson.name.prefix",
        "max": "1"
      },
      {
        "id": "RelatedPerson.telecom.system",
        "path": "RelatedPerson.telecom.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.telecom.value",
        "path": "RelatedPerson.telecom.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.address.state",
        "path": "RelatedPerson.address.state",
        "max": "0"
      },
      {
        "id": "RelatedPerson.photo",
        "path": "RelatedPerson.photo",
        "max": "0"
      }
    ]
  }
}