description: Proposed constraints and extensions on the Location Resource package_name: rs/il.core.fhir.r4 derivation: constraint name: ILCoreLocation type: Location elements: status: {mustSupport: true, index: 0} name: {mustSupport: true, index: 1} mode: constraint: il-location-mode: {human: 'If Location.mode = ''instance'', Location.position or Location.address SHALL have a value', source: 'http://fhir.health.gov.il/StructureDefinition/il-core-location', severity: error, expression: mode=kind or address.exists() or position.exists()} index: 2 telecom: elements: system: {mustSupport: true, index: 3} value: {mustSupport: true, index: 4} use: {mustSupport: true, index: 5} required: [system, value] address: type: Address mustSupport: true index: 6 extensions: geolocation: {url: null, max: 0, index: 7} elements: extension: index: 7 slicing: slices: geolocation: match: {} schema: {index: 7} max: 0 managingOrganization: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization'] index: 8 partOf: type: Reference refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-location'] index: 9 package_version: 0.8.1 class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/il-core-location base: http://hl7.org/fhir/StructureDefinition/Location version: 0.8.1 required: [name, status]