{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-08-30T08:21:09.083+00:00"
  },
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-List-1",
  "version": "1.2.0",
  "name": "CareConnect-ITK-MedicationDispense-List-1",
  "status": "active",
  "date": "2024-01-22T11:39:06.3872207+00:00",
  "publisher": "NHS Digital",
  "contact": [
    {
      "name": "Interoperability Team",
      "telecom": [
        {
          "system": "email",
          "value": "interoperabilityteam@nhs.net",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Within ITK this List is constrained to hold Medications dispensed.",
  "purpose": "CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/",
  "copyright": "Copyright © 2016 HL7 UK\r\n\r\nLicensed 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\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless 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.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "List.extension",
        "path": "List.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.extension:clinicalSetting",
        "path": "List.extension",
        "sliceName": "clinicalSetting",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ClinicalSetting-1"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "List.extension:clinicalSetting.url",
        "path": "List.extension.url",
        "fixedUri": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ClinicalSetting-1"
      },
      {
        "id": "List.extension:warningCode",
        "path": "List.extension",
        "sliceName": "warningCode",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ListWarningCode-1"
          }
        ]
      },
      {
        "id": "List.extension:warningCode.url",
        "path": "List.extension.url",
        "fixedUri": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ListWarningCode-1"
      },
      {
        "id": "List.identifier.system",
        "path": "List.identifier.system",
        "min": 1
      },
      {
        "id": "List.identifier.value",
        "path": "List.identifier.value",
        "min": 1
      },
      {
        "id": "List.identifier.assigner",
        "path": "List.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "List.status",
        "path": "List.status",
        "fixedCode": "current"
      },
      {
        "id": "List.mode",
        "path": "List.mode",
        "fixedCode": "snapshot"
      },
      {
        "id": "List.code",
        "path": "List.code",
        "min": 1,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ListPurpose"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ListCode-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://snomed.info/sct"
      },
      {
        "id": "List.code.coding.version",
        "path": "List.code.coding.version",
        "max": "0"
      },
      {
        "id": "List.code.coding.code",
        "path": "List.code.coding.code",
        "min": 1,
        "fixedCode": "163541000000107"
      },
      {
        "id": "List.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.code.coding.display",
        "min": 1,
        "fixedString": "Dispensed Medication"
      },
      {
        "id": "List.code.coding.userSelected",
        "path": "List.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "List.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.code.text",
        "max": "0"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ]
      },
      {
        "id": "List.encounter",
        "path": "List.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-Encounter-1"
          }
        ]
      },
      {
        "id": "List.source",
        "path": "List.source",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
          }
        ]
      },
      {
        "id": "List.orderedBy",
        "path": "List.orderedBy",
        "max": "0"
      },
      {
        "id": "List.note",
        "path": "List.note",
        "max": "0"
      },
      {
        "id": "List.note.author[x]",
        "path": "List.note.author[x]",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "string"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
          }
        ]
      },
      {
        "id": "List.entry.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-ITK-MedicationDispense-1"
          }
        ]
      },
      {
        "id": "List.emptyReason",
        "path": "List.emptyReason",
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "ListEmptyReason"
            }
          ],
          "strength": "preferred",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-ListEmptyReasonCode-1"
          }
        }
      }
    ]
  }
}