PackagesCanonicalsLogsProblems
    Packages
    uk.nhsdigital.r4@2.1.25-discovery
    https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location
{
  "description": null,
  "_filename": "NHSDigital-Location.StructureDefinition.json",
  "package_name": "uk.nhsdigital.r4",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "NHSDigital-Location",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "Location",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "2.1.25-discovery",
  "status": "draft",
  "id": "2437b4c8-09c5-438d-880c-d57ed9160c9f",
  "kind": "resource",
  "url": "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Location",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Location.identifier",
      "path": "Location.identifier",
      "comment": "SHOULD contain an ANANA/ODS code.",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "Location.identifier:odsCode",
      "path": "Location.identifier",
      "sliceName": "odsCode"
    }, {
      "id": "Location.identifier:odsCode.system",
      "min": 1,
      "path": "Location.identifier.system",
      "fixedUri": "https://fhir.nhs.uk/Id/ods-organization-code"
    }, {
      "id": "Location.identifier:odsCode.value",
      "min": 1,
      "path": "Location.identifier.value"
    }, {
      "id": "Location.address",
      "min": 1,
      "path": "Location.address",
      "mustSupport": true
    }, {
      "id": "Location.managingOrganization",
      "path": "Location.managingOrganization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.nhs.uk/StructureDefinition/NHSDigital-Organization" ]
      } ],
      "constraint": [ {
        "key": "nhds-10",
        "human": "managingOrganization - a display name should be provided",
        "severity": "warning",
        "expression": "(display.exists())"
      } ]
    }, {
      "id": "Location.managingOrganization.identifier",
      "min": 1,
      "path": "Location.managingOrganization.identifier"
    }, {
      "id": "Location.managingOrganization.identifier.system",
      "min": 1,
      "path": "Location.managingOrganization.identifier.system"
    }, {
      "id": "Location.managingOrganization.identifier.value",
      "min": 1,
      "path": "Location.managingOrganization.identifier.value"
    }, {
      "id": "Location.partOf",
      "path": "Location.partOf",
      "constraint": [ {
        "key": "nhsd-9",
        "human": "partOf - display name should be provided",
        "severity": "warning",
        "expression": "(display.exists())"
      } ]
    }, {
      "id": "Location.partOf.identifier",
      "min": 1,
      "path": "Location.partOf.identifier"
    }, {
      "id": "Location.partOf.identifier.system",
      "min": 1,
      "path": "Location.partOf.identifier.system"
    }, {
      "id": "Location.partOf.identifier.value",
      "min": 1,
      "path": "Location.partOf.identifier.value"
    } ]
  },
  "baseDefinition": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location"
}