{
  "resourceType": "StructureDefinition",
  "id": "sourcepatientrepresentative-profile",
  "url": "http://fhir.xt.dev/StructureDefinition/SourcePatientRepresentative",
  "version": "1.0.1",
  "name": "SourcePatientRepresentative",
  "status": "active",
  "date": "2025-01-12T20:34:32.822277+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "When a resource has a source or creator reference, but does not allow for a relatedPerson as a representative to be referenced, this extension adds the representative.\r\nIt should be read as the source/author was relatedPerson representing the referenced patient.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "List.source"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://fhir.xt.dev/StructureDefinition/SourcePatientRepresentative"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      }
    ]
  }
}