{
"description": null,
"_filename": "NHSDigital-Location.StructureDefinition.json",
"package_name": "uk.nhsdigital.r4.test",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "NHSDigitalLocation",
"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.18.0-prerelease",
"status": "draft",
"id": "b7396577-d6f7-4513-acc1-744f1c7c865e",
"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."
}, {
"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.type",
"path": "Location.type",
"binding": {
"strength": "extensible",
"valueSet": "https://fhir.nhs.uk/ValueSet/location-type"
}
}, {
"id": "Location.type.extension",
"min": 0,
"path": "Location.type.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "Location.type.extension:locationRole",
"max": "1",
"min": 0,
"path": "Location.type.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://fhir.nhs.uk/StructureDefinition/Extension-ODS-Organization-Role" ]
} ],
"sliceName": "locationRole",
"isModifier": false
}, {
"id": "Location.type.extension:activePeriod",
"max": "1",
"min": 0,
"path": "Location.type.extension",
"type": [ {
"code": "Extension",
"profile": [ "https://fhir.nhs.uk/StructureDefinition/Extension-ODS-Organization-Role-ActivePeriod" ]
} ],
"sliceName": "activePeriod",
"isModifier": false
}, {
"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"
}