{
  "resourceType": "StructureDefinition",
  "id": "el-task",
  "url": "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-task",
  "version": "1.0.0",
  "name": "ELTask",
  "title": "EL Task",
  "status": "draft",
  "description": "The profile for the Task",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Task",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Task",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Task.meta.tag",
        "path": "Task.meta.tag",
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.essilorluxottica.com/fhir/ValueSet/el-metatag-vs"
        }
      },
      {
        "id": "Task.description",
        "path": "Task.description",
        "min": 1
      },
      {
        "id": "Task.for",
        "path": "Task.for",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-patient"
            ]
          }
        ]
      },
      {
        "id": "Task.executionPeriod.start",
        "path": "Task.executionPeriod.start",
        "min": 1
      },
      {
        "id": "Task.executionPeriod.end",
        "path": "Task.executionPeriod.end",
        "min": 1
      },
      {
        "id": "Task.authoredOn",
        "path": "Task.authoredOn",
        "min": 1
      },
      {
        "id": "Task.lastModified",
        "path": "Task.lastModified",
        "min": 1
      },
      {
        "id": "Task.requester",
        "path": "Task.requester",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Task.owner",
        "path": "Task.owner",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-organization",
              "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-practice"
            ]
          }
        ]
      },
      {
        "id": "Task.owner.extension",
        "path": "Task.owner.extension",
        "min": 1
      },
      {
        "id": "Task.owner.extension:el-organization-reference-type",
        "path": "Task.owner.extension",
        "sliceName": "el-organization-reference-type",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.essilorluxottica.com/fhir/StructureDefinition/el-organization-reference-type-extension"
            ]
          }
        ]
      }
    ]
  }
}