{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-03-07T11:09:51.553+00:00"
  },
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/eRS-FetchWorklist-List-1",
  "version": "1.1.0",
  "name": "eRS-FetchWorklist-List-1",
  "status": "active",
  "date": "2021-03-08",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "copyright": "Copyright © 2017 NHS Digital",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "max": "0"
      },
      {
        "id": "List.title",
        "path": "List.title",
        "max": "0"
      },
      {
        "id": "List.code",
        "path": "List.code",
        "max": "0"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "max": "0"
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "max": "0"
      },
      {
        "id": "List.date",
        "path": "List.date",
        "max": "0"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "max": "0"
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "max": "0"
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "0"
      },
      {
        "id": "List.entry.extension",
        "path": "List.entry.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.entry.extension:ReferralsForReview",
        "path": "List.entry.extension",
        "sliceName": "ReferralsForReview",
        "short": "Priority",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-ReferralsforReview-WorkListItem-1"
          }
        ]
      },
      {
        "id": "List.entry.extension:AdviceAndGuidanceRequests",
        "path": "List.entry.extension",
        "sliceName": "AdviceAndGuidanceRequests",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AdviceAndGuidanceRequests-WorkListItem-1"
          }
        ]
      },
      {
        "id": "List.entry.extension:AppointmentSlotIssues",
        "path": "List.entry.extension",
        "sliceName": "AppointmentSlotIssues",
        "short": "Referrals for Review",
        "definition": "Optional Extension Element - found in all resources.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-eRS-AppointmentSlotIssues-WorkListItem-1"
          }
        ]
      },
      {
        "id": "List.entry.flag",
        "path": "List.entry.flag",
        "max": "0"
      },
      {
        "id": "List.entry.deleted",
        "path": "List.entry.deleted",
        "max": "0"
      },
      {
        "id": "List.entry.date",
        "path": "List.entry.date",
        "max": "0"
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/eRS-ReferralRequest-1",
            "aggregation": [
              "referenced"
            ]
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/eRS-CommunicationRequest-1"
          }
        ]
      },
      {
        "id": "List.entry.item.reference",
        "path": "List.entry.item.reference",
        "min": 1
      },
      {
        "id": "List.entry.item.identifier",
        "path": "List.entry.item.identifier",
        "max": "0"
      },
      {
        "id": "List.entry.item.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.display",
        "max": "0"
      },
      {
        "id": "List.emptyReason.coding",
        "path": "List.emptyReason.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "List.emptyReason.coding.system",
        "path": "List.emptyReason.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/ValueSet/list-empty-reason"
      },
      {
        "id": "List.emptyReason.coding.version",
        "path": "List.emptyReason.coding.version",
        "max": "0"
      },
      {
        "id": "List.emptyReason.coding.code",
        "path": "List.emptyReason.coding.code",
        "min": 1,
        "example": [
          {
            "label": "NHS Digital",
            "valueCode": "nilknown"
          }
        ]
      },
      {
        "id": "List.emptyReason.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.emptyReason.coding.display",
        "min": 1,
        "example": [
          {
            "label": "NHS Digital",
            "valueString": "Nil Known"
          }
        ]
      },
      {
        "id": "List.emptyReason.coding.userSelected",
        "path": "List.emptyReason.coding.userSelected",
        "max": "0"
      },
      {
        "id": "List.emptyReason.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.emptyReason.text",
        "max": "0"
      }
    ]
  }
}