{
  "resourceType": "StructureDefinition",
  "id": "UKCore-List",
  "url": "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-List",
  "version": "1.0.0",
  "name": "UKCoreList",
  "title": "UK Core List",
  "status": "draft",
  "date": "2019-11-22",
  "publisher": "HL7 UK",
  "contact": [
    {
      "name": "HL7 UK",
      "telecom": [
        {
          "system": "email",
          "value": "secretariat@hl7.org.uk",
          "use": "work",
          "rank": 1
        }
      ]
    },
    {
      "name": "NHS Digital",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work",
          "rank": 2
        }
      ]
    }
  ],
  "description": "Defines the UK Core constraints and extensions on the List resource for the minimal set of data to query and retrieve a list of information.",
  "purpose": "This profile allows exchange of a flat, possibly ordered collection of records. The list profile can be used in many places, including allergies, medications, alerts, family history, medical history, etc. This list profile can be used to support individual-specific clinical lists as well as lists that manage workflows such as tracking patients, managing teaching cases, etc. The list profile supports lists that are homogeneous – consisting of only one type of resource (e.g. allergy lists) as well as heterogeneous – containing a variety of resources (e.g. a problem list including Conditions, AllergyIntolerances, recent Procedures, etc.).",
  "copyright": "Copyright © 2020 HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html.",
  "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"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.meta.security.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.meta.security.display"
      },
      {
        "id": "List.meta.tag.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.meta.tag.display"
      },
      {
        "id": "List.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.identifier.type.coding.display"
      },
      {
        "id": "List.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.identifier.type.text"
      },
      {
        "id": "List.identifier.assigner",
        "path": "List.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "List.identifier.assigner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.identifier.assigner.identifier.type.coding.display"
      },
      {
        "id": "List.identifier.assigner.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.identifier.assigner.identifier.type.text"
      },
      {
        "id": "List.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.identifier.assigner.display"
      },
      {
        "id": "List.code",
        "path": "List.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.nhs.uk/R4/ValueSet/UKCore-ListCode"
        }
      },
      {
        "id": "List.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.code.coding.display"
      },
      {
        "id": "List.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.code.text"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Group",
              "http://hl7.org/fhir/StructureDefinition/Device",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Patient",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Location"
            ]
          }
        ]
      },
      {
        "id": "List.subject.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.identifier.type.coding.display"
      },
      {
        "id": "List.subject.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.identifier.type.text"
      },
      {
        "id": "List.subject.identifier.assigner",
        "path": "List.subject.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "List.subject.identifier.assigner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.identifier.assigner.identifier.type.coding.display"
      },
      {
        "id": "List.subject.identifier.assigner.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.identifier.assigner.identifier.type.text"
      },
      {
        "id": "List.subject.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.identifier.assigner.display"
      },
      {
        "id": "List.subject.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.subject.display"
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Encounter"
            ]
          }
        ]
      },
      {
        "id": "List.encounter.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.identifier.type.coding.display"
      },
      {
        "id": "List.encounter.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.identifier.type.text"
      },
      {
        "id": "List.encounter.identifier.assigner",
        "path": "List.encounter.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "List.encounter.identifier.assigner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.identifier.assigner.identifier.type.coding.display"
      },
      {
        "id": "List.encounter.identifier.assigner.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.identifier.assigner.identifier.type.text"
      },
      {
        "id": "List.encounter.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.identifier.assigner.display"
      },
      {
        "id": "List.encounter.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.encounter.display"
      },
      {
        "id": "List.source",
        "path": "List.source",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Patient",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Practitioner",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "List.source.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.identifier.type.coding.display"
      },
      {
        "id": "List.source.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.identifier.type.text"
      },
      {
        "id": "List.source.identifier.assigner",
        "path": "List.source.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "List.source.identifier.assigner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.identifier.assigner.identifier.type.coding.display"
      },
      {
        "id": "List.source.identifier.assigner.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.identifier.assigner.identifier.type.text"
      },
      {
        "id": "List.source.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.identifier.assigner.display"
      },
      {
        "id": "List.source.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.source.display"
      },
      {
        "id": "List.orderedBy.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.orderedBy.coding.display"
      },
      {
        "id": "List.orderedBy.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.orderedBy.text"
      },
      {
        "id": "List.note.author[x]",
        "path": "List.note.author[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Patient",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Practitioner",
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-RelatedPerson"
            ]
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "List.entry.flag.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.flag.coding.display"
      },
      {
        "id": "List.entry.flag.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.flag.text"
      },
      {
        "id": "List.entry.item.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.identifier.type.coding.display"
      },
      {
        "id": "List.entry.item.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.identifier.type.text"
      },
      {
        "id": "List.entry.item.identifier.assigner",
        "path": "List.entry.item.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.nhs.uk/R4/StructureDefinition/UKCore-Organization"
            ]
          }
        ]
      },
      {
        "id": "List.entry.item.identifier.assigner.identifier.type.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.identifier.assigner.identifier.type.coding.display"
      },
      {
        "id": "List.entry.item.identifier.assigner.identifier.type.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.identifier.assigner.identifier.type.text"
      },
      {
        "id": "List.entry.item.identifier.assigner.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.identifier.assigner.display"
      },
      {
        "id": "List.entry.item.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.entry.item.display"
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "binding": {
          "strength": "extensible",
          "valueSet": "https://fhir.nhs.uk/R4/ValueSet/UKCore-ListEmptyReasonCode"
        }
      },
      {
        "id": "List.emptyReason.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.emptyReason.coding.display"
      },
      {
        "id": "List.emptyReason.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.emptyReason.text"
      }
    ]
  }
}