PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.29-discovery
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient
{
  "description": "### identifier\\r\\n\\r\\nAt least one patient identifier, **MUST** be provided. Where a traced NHS number is available for a patient this MUST be included. \\r\\n\\r\\nLocal identiers such as MRN **MUST** include a *system* which identifies NHS provider/assigning authority.",
  "_filename": "NHSDigital-Patient.StructureDefinition.json",
  "package_name": "uk.nhsdigital.r4",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "NHSDigitalPatient",
  "abstract": false,
  "type": "Patient",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "2.1.29-discovery",
  "status": "draft",
  "id": "9c6d76c3-3c4a-4606-a48c-af5e1c617021",
  "kind": "resource",
  "url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Patient",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Patient.extension",
      "path": "Patient.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.extension:nominatedPharmacy",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NominatedPharmacy" ]
      } ],
      "sliceName": "nominatedPharmacy",
      "definition": "This extension is used to indicate patient preferred pharmacy."
    }, {
      "id": "Patient.extension:nhsCommunication",
      "max": "1",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-NHSCommunication" ]
      } ],
      "sliceName": "nhsCommunication"
    }, {
      "id": "Patient.extension:deathNotificationStatus",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeathNotificationStatus" ]
      } ],
      "sliceName": "deathNotificationStatus"
    }, {
      "id": "Patient.extension:medicalApplianceSupplier",
      "max": "1",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicalApplianceSupplier" ]
      } ],
      "sliceName": "medicalApplianceSupplier"
    }, {
      "id": "Patient.extension:preferredDispenserOrganization",
      "max": "1",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-PreferredDispenserOrganization" ]
      } ],
      "sliceName": "preferredDispenserOrganization"
    }, {
      "id": "Patient.extension:contactPreference",
      "path": "Patient.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ContactPreference" ]
      } ],
      "sliceName": "contactPreference"
    }, {
      "id": "Patient.identifier",
      "min": 1,
      "path": "Patient.identifier",
      "definition": "At least one patient identifier, common to both sender and receiver. Where a traced NHS number is available for a patient this MUST be included in the list.",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:nhsNumber",
      "min": 1,
      "path": "Patient.identifier",
      "sliceName": "nhsNumber",
      "mustSupport": true
    }, {
      "id": "Patient.identifier:nhsNumber.system",
      "path": "Patient.identifier.system",
      "mustSupport": true
    }, {
      "id": "Patient.name",
      "min": 1,
      "path": "Patient.name",
      "mustSupport": true
    }, {
      "id": "Patient.name.use",
      "path": "Patient.name.use",
      "mapping": [ {
        "map": "https://fhir.nhs.uk/ConceptMap/fhir-nameuse-to-v3-npfit-nameuse",
        "identity": "MiM"
      } ]
    }, {
      "id": "Patient.name.family",
      "path": "Patient.name.family",
      "mustSupport": true
    }, {
      "id": "Patient.name.given",
      "path": "Patient.name.given",
      "mustSupport": true
    }, {
      "id": "Patient.telecom",
      "path": "Patient.telecom",
      "mustSupport": true
    }, {
      "id": "Patient.telecom.system.extension",
      "path": "Patient.telecom.system.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.telecom.system.extension:otherContactSystem",
      "max": "1",
      "path": "Patient.telecom.system.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OtherContactSystem" ]
      } ],
      "sliceName": "otherContactSystem"
    }, {
      "id": "Patient.gender",
      "min": 1,
      "path": "Patient.gender",
      "mustSupport": false
    }, {
      "id": "Patient.birthDate",
      "min": 1,
      "path": "Patient.birthDate",
      "mustSupport": true
    }, {
      "id": "Patient.address",
      "min": 1,
      "path": "Patient.address",
      "mustSupport": true
    }, {
      "id": "Patient.address.extension",
      "path": "Patient.address.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Patient.address.extension:addressKey",
      "max": "1",
      "path": "Patient.address.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AddressKey" ]
      } ],
      "sliceName": "addressKey"
    }, {
      "id": "Patient.contact",
      "path": "Patient.contact",
      "mustSupport": false
    }, {
      "id": "Patient.generalPractitioner",
      "max": "1",
      "min": 1,
      "path": "Patient.generalPractitioner",
      "slicing": {
        "rules": "openAtEnd",
        "discriminator": [ {
          "path": "identifier.system",
          "type": "value"
        } ]
      },
      "constraint": [ {
        "key": "nhsd-5",
        "human": "generalPractitioner - a display name should be provided",
        "severity": "warning",
        "expression": "(display.exists())"
      } ],
      "mustSupport": true,
      "requirements": "GP Surgery SHOULD be provided. It is recommended the patients GP Surgery is the first item in the array and branch surgery is second. It is also suggested type and display (name of practice) is also included."
    }, {
      "id": "Patient.generalPractitioner.identifier",
      "min": 1,
      "path": "Patient.generalPractitioner.identifier"
    }, {
      "id": "Patient.generalPractitioner.identifier.system",
      "min": 1,
      "path": "Patient.generalPractitioner.identifier.system"
    }, {
      "id": "Patient.generalPractitioner.identifier.value",
      "min": 1,
      "path": "Patient.generalPractitioner.identifier.value"
    }, {
      "id": "Patient.generalPractitioner:registeredGPPractice",
      "max": "1",
      "min": 1,
      "path": "Patient.generalPractitioner",
      "sliceName": "registeredGPPractice",
      "definition": "Patient's registered GP Practice. Use V81998 for no registered practice and V81999 for not known as per NHS Data Dictionary guidelines."
    }, {
      "id": "Patient.generalPractitioner:registeredGPPractice.identifier.system",
      "path": "Patient.generalPractitioner.identifier.system",
      "fixedUri": "https://fhir.nhs.uk/Id/ods-organization-code"
    }, {
      "id": "Patient.managingOrganization.identifier",
      "min": 1,
      "path": "Patient.managingOrganization.identifier"
    }, {
      "id": "Patient.managingOrganization.identifier.system",
      "path": "Patient.managingOrganization.identifier.system",
      "fixedUri": "https://fhir.nhs.uk/Id/ods-organization-code"
    } ]
  },
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient"
}