{
  "resourceType": "StructureDefinition",
  "id": "GeNSGuardian",
  "url": "http://hs-osnabrueck.de/fhir/ePflegebericht/StructureDefinition/Guardian",
  "version": "1.0.0",
  "name": "GeNSGuardian",
  "status": "active",
  "experimental": false,
  "contact": [
    {
      "name": "Mareike Przysucha",
      "telecom": [
        {
          "system": "email",
          "value": "epflegebericht@hs-osnabrueck.de",
          "use": "work"
        },
        {
          "system": "url",
          "value": "https://www.hs-osnabrueck.de/forschungsgruppe-informatik-im-gesundheitswesen/",
          "use": "work"
        }
      ]
    }
  ],
  "copyright": "Hochschule Osnabrück / University AS Osnabrück, Germany",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RelatedPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RelatedPerson.extension",
        "path": "RelatedPerson.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RelatedPerson.extension:appointed-by",
        "path": "RelatedPerson.extension",
        "sliceName": "appointed-by",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hs-osnabrueck.de/fhir/ePflegebericht/StructureDefinition/appointed-by"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.extension:appointed-by.value[x]",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "RelatedPerson.extension.value[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ]
      },
      {
        "id": "RelatedPerson.relationship",
        "path": "RelatedPerson.relationship",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.relationship.coding.system",
        "path": "RelatedPerson.relationship.coding.system",
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
      },
      {
        "id": "RelatedPerson.relationship.coding.code",
        "path": "RelatedPerson.relationship.coding.code",
        "fixedCode": "GUARD"
      },
      {
        "id": "RelatedPerson.name",
        "path": "RelatedPerson.name",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.name.given",
        "path": "RelatedPerson.name.given",
        "min": 1,
        "max": "1"
      },
      {
        "id": "RelatedPerson.telecom",
        "path": "RelatedPerson.telecom",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.telecom.system",
        "path": "RelatedPerson.telecom.system",
        "min": 1
      },
      {
        "id": "RelatedPerson.telecom.value",
        "path": "RelatedPerson.telecom.value",
        "min": 1
      },
      {
        "id": "RelatedPerson.period",
        "path": "RelatedPerson.period",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "RelatedPerson.period.start",
        "path": "RelatedPerson.period.start",
        "min": 1
      }
    ]
  }
}