{
  "resourceType": "StructureDefinition",
  "id": "England-Extension-PersonalRelationship",
  "url": "https://fhir.nhs.uk/England/StructureDefinition/England-Extension-PersonalRelationship",
  "version": "0.0.1-current",
  "name": "EnglandExtensionPersonalRelationship",
  "title": "England Extension Personal Relationship",
  "status": "draft",
  "date": "2025-01-03T07:31:19+00:00",
  "publisher": "NHS England",
  "contact": [
    {
      "name": "NHS England",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work",
          "rank": 1
        }
      ]
    }
  ],
  "description": "Backport of asserter and confidence from FHIR R6 PersonalRelationship",
  "purpose": "To support FHIR R6 Personal Relationship in FHIR R4",
  "copyright": "Copyright © 2024+ NHS England Licensed under the Apache License, Version 2.0 (the \\&quot;License\\&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \\&quot;AS IS\\&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "RelatedPerson"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.extension:asserter",
        "path": "Extension.extension",
        "sliceName": "asserter",
        "max": "1"
      },
      {
        "id": "Extension.extension:asserter.url",
        "path": "Extension.extension.url",
        "fixedUri": "asserter"
      },
      {
        "id": "Extension.extension:asserter.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "Extension.extension:confidence",
        "path": "Extension.extension",
        "sliceName": "confidence",
        "max": "1"
      },
      {
        "id": "Extension.extension:confidence.url",
        "path": "Extension.extension.url",
        "fixedUri": "confidence"
      },
      {
        "id": "Extension.extension:confidence.value[x]",
        "path": "Extension.extension.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "https://fhir.nhs.uk/England/StructureDefinition/England-Extension-PersonalRelationship"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "max": "0"
      }
    ]
  }
}