{
  "resourceType": "StructureDefinition",
  "id": "practitionertasklist",
  "url": "http://fhir.xt.dev/StructureDefinition/PractitionerTaskList",
  "version": "0.0.1",
  "name": "PractitionerTaskList",
  "status": "draft",
  "date": "2024-12-15T22:17:08.6415665+00:00",
  "publisher": "x-tention Informationstechnologie GmbH",
  "contact": [
    {
      "telecom": [
        {
          "system": "email",
          "value": "fhir.profiling@x-tention.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "List of tasks where the practitioner is the current performer. This includes current and completed tasks.",
  "copyright": "x-tention Informationstechnologie GmbH",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.status",
        "path": "List.status",
        "fixedCode": "current"
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "fixedCode": "working"
      },
      {
        "id": "List.title",
        "path": "List.title",
        "min": 1
      },
      {
        "id": "List.code",
        "path": "List.code",
        "min": 1
      },
      {
        "id": "List.code.coding",
        "path": "List.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "List.code.coding.system",
        "path": "List.code.coding.system",
        "min": 1,
        "fixedUri": "http://fhir.xt.dev/CodeSystem/ListPurpose"
      },
      {
        "id": "List.code.coding.code",
        "path": "List.code.coding.code",
        "min": 1,
        "fixedCode": "practitioner-task-list"
      },
      {
        "id": "List.code.text",
        "path": "List.code.text",
        "max": "0"
      },
      {
        "id": "List.date",
        "path": "List.date",
        "min": 1
      },
      {
        "id": "List.source",
        "path": "List.source",
        "short": "Performer for each task",
        "definition": "The entity responsible for deciding what the contents of the list were. By assuming responsibility for performing the listed tasks, the Practitioner fulfills this role.",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "List.source.reference",
        "path": "List.source.reference",
        "min": 1
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "min": 1
      },
      {
        "id": "List.orderedBy.coding",
        "path": "List.orderedBy.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "List.orderedBy.coding.system",
        "path": "List.orderedBy.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/list-order"
      },
      {
        "id": "List.orderedBy.coding.code",
        "path": "List.orderedBy.coding.code",
        "min": 1,
        "fixedCode": "entry-date"
      },
      {
        "id": "List.orderedBy.text",
        "path": "List.orderedBy.text",
        "max": "0"
      },
      {
        "id": "List.entry.deleted",
        "path": "List.entry.deleted",
        "max": "0"
      },
      {
        "id": "List.entry.date",
        "path": "List.entry.date",
        "min": 1
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Task"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "List.entry.item.reference",
        "path": "List.entry.item.reference",
        "min": 1
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "max": "0"
      }
    ]
  }
}