{
  "resourceType": "StructureDefinition",
  "id": "cyehr-ext-custodian",
  "url": "http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-custodian",
  "name": "CYEHREXTCustodian",
  "title": "Cyprus EHR Extension: Custodian",
  "status": "draft",
  "publisher": "eHealth4U",
  "contact": [
    {
      "name": "eHealth Lab (University of Cyprus)",
      "telecom": [
        {
          "system": "email",
          "value": "ehealthl@ucy.ac.cy",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Indicates whether an actor is the custodian of the element which is using this extension as part of the actor's profile.",
  "fhirVersion": "4.0.1",
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Element"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://ig.ehealth4u.eu/fhir/StructureDefinition/cyehr-ext-custodian"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Custodian of the specified entity",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).\r\n\r\nCyprusEHR: Specifies whether the actor using this extension is the custodian of a specific entity represented by an element of the actor's profile.",
        "comment": "CyprusEHR: Use TRUE if the actor is indeed the custodian or FALSE otherwise.",
        "type": [
          {
            "code": "boolean"
          }
        ]
      }
    ]
  }
}