SPD - Service Provider Directory
0.2.0 - draft Estonia flag

SPD - Service Provider Directory, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-spd/ and changes regularly. See the Directory of published versions

Resource Profile: EE SPD Location

Official URL: https://fhir.ee/spd/StructureDefinition/ee-spd-location Version: 0.2.0
Draft as of 2025-05-14 Computable Name: EESPDLocation

TEGEVUSKOHT (näiteks korpus, osakond, korrus, palat jne). Location in SPD.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... identifier Σ 0..* Identifier Identifier for this location, used for PHARMACIES only. (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... Slices for telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone Σ 0..1 ContactPoint Telefoni number
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
..... telecom:email Σ 0..1 ContactPoint E-Mail
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... managingOrganization Σ 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.status Base required Location Status 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​use Base required ContactPointUse 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​use Base required ContactPointUse 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Location If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from EEBaseLocation

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... contained 0..0 Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... modifierExtension 0..0 Extension
.... use 0..0 usual | official | temp | secondary | old (If known)
.... type 0..0 Description of identifier
.... period 0..0 Time period when id is/was valid for use
.... assigner 0..0 Organization that issued id (may be just text)
... operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
... alias 0..0 A list of alternate names that the location is known as, or was known as, in the past
... description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
... mode 0..0 instance | kind
... type 0..0 Type of function performed
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... purpose 0..0 The type of contact
.... name 0..0 Name of an individual to contact
.... Slices for telecom 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone 0..1 ContactPoint Telefoni number
...... system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone
..... telecom:email 0..1 ContactPoint E-Mail
...... system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email
.... address 0..0 Address for the contact
.... organization 0..0 This contact detail is handled/monitored by a specific organization
.... period 0..0 Period that this contact was valid for usage
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... form 0..0 Physical form of the location
... position 0..0 The absolute geographic location
... managingOrganization 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep
... partOf 0..0 Another Location this one is physically a part of
... characteristic 0..0 Collection of characteristics (attributes)
... hoursOfOperation 0..0 What days/times during a week is this location usually open (including exceptions)
... virtualService 0..0 Connection details of a virtual service (e.g. conference call)
... endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... identifier Σ 0..* Identifier Identifier for this location, used for PHARMACIES only. (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 0..1 string The value that is unique
Example General: 123456
... status ?!Σ 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
... name Σ 0..1 string Name of the location as used by humans
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone Σ 0..1 ContactPoint Telefoni number
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone
...... value ΣC 0..1 string The actual contact point details
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
...... rank Σ 0..1 positiveInt Specify preferred order of use (1 = highest)
...... period Σ 0..1 Period Time period when the contact point was/is in use
..... telecom:email Σ 0..1 ContactPoint E-Mail
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email
...... value ΣC 0..1 string The actual contact point details
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
...... rank Σ 0..1 positiveInt Specify preferred order of use (1 = highest)
...... period Σ 0..1 Period Time period when the contact point was/is in use
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... managingOrganization Σ 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.language Base required All Languages 📍5.0.0 FHIR Std.
Location.status Base required Location Status 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​use Base required ContactPointUse 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​use Base required ContactPointUse 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Location If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from EEBaseLocation

Summary

Mandatory: 1 element(2 nested mandatory elements)
Prohibited: 23 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Location.contact.telecom (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... identifier Σ 0..* Identifier Identifier for this location, used for PHARMACIES only. (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... Slices for telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone Σ 0..1 ContactPoint Telefoni number
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
..... telecom:email Σ 0..1 ContactPoint E-Mail
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... managingOrganization Σ 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.status Base required Location Status 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​use Base required ContactPointUse 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​use Base required ContactPointUse 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Location If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from EEBaseLocation

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... contained 0..0 Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... modifierExtension 0..0 Extension
.... use 0..0 usual | official | temp | secondary | old (If known)
.... type 0..0 Description of identifier
.... period 0..0 Time period when id is/was valid for use
.... assigner 0..0 Organization that issued id (may be just text)
... operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
... alias 0..0 A list of alternate names that the location is known as, or was known as, in the past
... description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
... mode 0..0 instance | kind
... type 0..0 Type of function performed
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... purpose 0..0 The type of contact
.... name 0..0 Name of an individual to contact
.... Slices for telecom 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone 0..1 ContactPoint Telefoni number
...... system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone
..... telecom:email 0..1 ContactPoint E-Mail
...... system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email
.... address 0..0 Address for the contact
.... organization 0..0 This contact detail is handled/monitored by a specific organization
.... period 0..0 Period that this contact was valid for usage
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... form 0..0 Physical form of the location
... position 0..0 The absolute geographic location
... managingOrganization 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep
... partOf 0..0 Another Location this one is physically a part of
... characteristic 0..0 Collection of characteristics (attributes)
... hoursOfOperation 0..0 What days/times during a week is this location usually open (including exceptions)
... virtualService 0..0 Connection details of a virtual service (e.g. conference call)
... endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:validityPeriod 0..1 Period Period when location is actively operating. (ee TEGEVUSKOHA KEHTIVUSE AJAVAHEMIK)
URL: https://fhir.ee/spd/StructureDefinition/ee-tis-effective-period
... identifier Σ 0..* Identifier Identifier for this location, used for PHARMACIES only. (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value ΣC 0..1 string The value that is unique
Example General: 123456
... status ?!Σ 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
... name Σ 0..1 string Name of the location as used by humans
... contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for telecom Σ 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
..... telecom:phone Σ 0..1 ContactPoint Telefoni number
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone
...... value ΣC 0..1 string The actual contact point details
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
...... rank Σ 0..1 positiveInt Specify preferred order of use (1 = highest)
...... period Σ 0..1 Period Time period when the contact point was/is in use
..... telecom:email Σ 0..1 ContactPoint E-Mail
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system ΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email
...... value ΣC 0..1 string The actual contact point details
...... use ?!Σ 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
...... rank Σ 0..1 positiveInt Specify preferred order of use (1 = highest)
...... period Σ 0..1 Period Time period when the contact point was/is in use
... address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory
... managingOrganization Σ 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.language Base required All Languages 📍5.0.0 FHIR Std.
Location.status Base required Location Status 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:phone.​use Base required ContactPointUse 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​system Base required ContactPointSystem 📍5.0.0 FHIR Std.
Location.contact.telecom:email.​use Base required ContactPointUse 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Location If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from EEBaseLocation

Summary

Mandatory: 1 element(2 nested mandatory elements)
Prohibited: 23 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Location.contact.telecom (Closed)

 

Other representations of profile: CSV, Excel, Schematron