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: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.identifier This element is included in summaries. 0..* Identifier Identifier for this location, used for PHARMACIES only. Use https://fhir.ee/sid/org/est/locpharm as identifier system (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
Location.identifier.system This element is included in summaries. 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Example General: http://www.acme.com/identifiers/patient
Location.status This element is a modifier element. This element is included in summaries. 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.Slices for telecom This element is included in summaries. 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone This element is included in summaries. 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:phone.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:email This element is included in summaries. 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email (extensions allowed)
Location.contact.Slices for telecom.telecom:email.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.address 0..1 EEBaseAddress(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.Slices for extension.extension:adsAdrId 1..1 Coding ADS ADR-ID extension
URL: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
Binding: ADS AdrId (required)
Location.address.Slices for extension.extension:adsOid 0..1 Coding ADS Oid
URL: https://fhir.ee/base/StructureDefinition/ee-ads-oid
Binding: ADS Oid (required)
Location.address.Slices for extension.extension:ehak 0..1 Coding EHAK code
URL: https://fhir.ee/base/StructureDefinition/ee-ehak
Location.address.Slices for extension.extension:official 0..1 boolean Indicator of address of residency
URL: http://hl7.org/fhir/StructureDefinition/address-official
Location.address.Slices for extension.extension:notice 0..* Coding Address notices and warnings
URL: https://fhir.ee/base/StructureDefinition/ee-address-notice
Location.address.use This element is a modifier element. This element is included in summaries. 1..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address (home / work / etc.).
Required Pattern: work (extensions allowed)
Location.address.type This element is included in summaries. 1..1 code postal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).
Required Pattern: physical (extensions allowed)
Location.address.country This element is included in summaries. 1..1 string Should use a 2 digit country code
Binding: https://fhir.ee/ValueSet/rtk-alpha-2 (required)
Required Pattern: EE (extensions allowed)
Location.managingOrganization This element is included in summaries. 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.
Location.address.use Base required AddressUse 📍5.0.0 FHIR Std.
Location.address.type Base required AddressType 📍5.0.0 FHIR Std.
Location.address.country Base required https://fhir.ee/ValueSet/rtk-alpha-2 Not State Unknown

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: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.contained 0..0 Contained, inline Resources
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.modifierExtension 0..0 Extension
Location.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Location.identifier.type 0..0 Description of identifier
Location.identifier.system 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Location.identifier.period 0..0 Time period when id is/was valid for use
Location.identifier.assigner 0..0 Organization that issued id (may be just text)
Location.operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
Location.alias 0..0 A list of alternate names that the location is known as, or was known as, in the past
Location.description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
Location.mode 0..0 instance | kind
Location.type 0..0 Type of function performed
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.purpose 0..0 The type of contact
Location.contact.name 0..0 Name of an individual to contact
Location.contact.Slices for telecom 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:email 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email (extensions allowed)
Location.contact.address 0..0 Address for the contact
Location.contact.organization 0..0 This contact detail is handled/monitored by a specific organization
Location.contact.period 0..0 Period that this contact was valid for usage
Location.address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.extension 1..* Extension Extension
Location.address.Slices for extension Content/Rules for all slices
Location.address.Slices for extension.extension:adsAdrId 1..1 ExtensionEEBaseAdsAdrId(2.0.0) ADS ADR-ID extension
Location.address.use 1..1 code home | work | temp | old | billing - purpose of this address
Required Pattern: work (extensions allowed)
Location.address.type 1..1 code postal | physical | both
Required Pattern: physical (extensions allowed)
Location.address.country 1..1 string Should use a 2 digit country code
Required Pattern: EE (extensions allowed)
Location.form 0..0 Physical form of the location
Location.position 0..0 The absolute geographic location
Location.managingOrganization 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep
Location.partOf 0..0 Another Location this one is physically a part of
Location.characteristic 0..0 Collection of characteristics (attributes)
Location.hoursOfOperation 0..0 What days/times during a week is this location usually open (including exceptions)
Location.virtualService 0..0 Connection details of a virtual service (e.g. conference call)
Location.endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.id This element is included in summaries. 0..1 id Logical id of this artifact
Location.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Location.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Location.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
Location.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
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.identifier This element is included in summaries. 0..* Identifier Identifier for this location, used for PHARMACIES only. Use https://fhir.ee/sid/org/est/locpharm as identifier system (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
Location.identifier.id 0..1 id Unique id for inter-element referencing
Location.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.identifier.system This element is included in summaries. 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Example General: http://www.acme.com/identifiers/patient
Location.identifier.value This element is included in summaries. C 0..1 string The value that is unique
Example General: 123456
Location.status This element is a modifier element. This element is included in summaries. 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
Location.name This element is included in summaries. 0..1 string Name of the location as used by humans
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.id 0..1 id Unique id for inter-element referencing
Location.contact.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom This element is included in summaries. 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone This element is included in summaries. 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.id 0..1 id Unique id for inter-element referencing
Location.contact.Slices for telecom.telecom:phone.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom.telecom:phone.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:phone.value This element is included in summaries. C 0..1 string The actual contact point details
Location.contact.Slices for telecom.telecom:phone.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:phone.rank This element is included in summaries. 0..1 positiveInt Specify preferred order of use (1 = highest)
Location.contact.Slices for telecom.telecom:phone.period This element is included in summaries. 0..1 Period Time period when the contact point was/is in use
Location.contact.Slices for telecom.telecom:email This element is included in summaries. 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.id 0..1 id Unique id for inter-element referencing
Location.contact.Slices for telecom.telecom:email.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom.telecom:email.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email (extensions allowed)
Location.contact.Slices for telecom.telecom:email.value This element is included in summaries. C 0..1 string The actual contact point details
Location.contact.Slices for telecom.telecom:email.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:email.rank This element is included in summaries. 0..1 positiveInt Specify preferred order of use (1 = highest)
Location.contact.Slices for telecom.telecom:email.period This element is included in summaries. 0..1 Period Time period when the contact point was/is in use
Location.address 0..1 EEBaseAddress(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.id 0..1 id Unique id for inter-element referencing
Location.address.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.Slices for extension.extension:adsAdrId 1..1 Coding ADS ADR-ID extension
URL: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
Binding: ADS AdrId (required)
Location.address.Slices for extension.extension:adsOid 0..1 Coding ADS Oid
URL: https://fhir.ee/base/StructureDefinition/ee-ads-oid
Binding: ADS Oid (required)
Location.address.Slices for extension.extension:ehak 0..1 Coding EHAK code
URL: https://fhir.ee/base/StructureDefinition/ee-ehak
Location.address.Slices for extension.extension:official 0..1 boolean Indicator of address of residency
URL: http://hl7.org/fhir/StructureDefinition/address-official
Location.address.Slices for extension.extension:notice 0..* Coding Address notices and warnings
URL: https://fhir.ee/base/StructureDefinition/ee-address-notice
Location.address.use This element is a modifier element. This element is included in summaries. 1..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address (home / work / etc.).
Required Pattern: work (extensions allowed)
Location.address.type This element is included in summaries. 1..1 code postal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).
Required Pattern: physical (extensions allowed)
Location.address.text This element is included in summaries. 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
Location.address.line This element is included in summaries. 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Location.address.line.id 0..1 string xml:id (or equivalent in JSON)
Location.address.line.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.line.Slices for extension.extension:censusTract 0..1 string A geographic sub-unit delineated for demographic purposes.
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract
Location.address.line.Slices for extension.extension:streetName 0..1 string Street name
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName
Location.address.line.Slices for extension.extension:streetNameBase 0..1 string The base name of a roadway or artery recognized by a municipality (excluding street type and direction).
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase
Location.address.line.Slices for extension.extension:houseNumber 0..1 string House number
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
Location.address.line.Slices for extension.extension:additionalLocator 0..1 string Additional locator
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
Location.address.line.value 0..1 string Primitive value for string
Max Length:1048576
Location.address.city This element is included in summaries. 0..1 string Name of city, town etc.
Example General: Erewhon
Location.address.district This element is included in summaries. 0..1 string Administrative or political subdivision of a state or city
Example General: Madison
Location.address.state This element is included in summaries. 0..1 string Sub-unit of country
Location.address.postalCode This element is included in summaries. 0..1 string Postal code for area
Example General: 9132
Location.address.country This element is included in summaries. 1..1 string Should use a 2 digit country code
Binding: https://fhir.ee/ValueSet/rtk-alpha-2 (required)
Required Pattern: EE (extensions allowed)
Location.address.period This element is included in summaries. 0..1 Period Time period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}
Location.managingOrganization This element is included in summaries. 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.
Location.address.use Base required AddressUse 📍5.0.0 FHIR Std.
Location.address.type Base required AddressType 📍5.0.0 FHIR Std.
Location.address.country Base required https://fhir.ee/ValueSet/rtk-alpha-2 Not State Unknown

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(5 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: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.identifier This element is included in summaries. 0..* Identifier Identifier for this location, used for PHARMACIES only. Use https://fhir.ee/sid/org/est/locpharm as identifier system (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
Location.identifier.system This element is included in summaries. 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Example General: http://www.acme.com/identifiers/patient
Location.status This element is a modifier element. This element is included in summaries. 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.Slices for telecom This element is included in summaries. 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone This element is included in summaries. 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:phone.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:email This element is included in summaries. 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email (extensions allowed)
Location.contact.Slices for telecom.telecom:email.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.address 0..1 EEBaseAddress(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.Slices for extension.extension:adsAdrId 1..1 Coding ADS ADR-ID extension
URL: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
Binding: ADS AdrId (required)
Location.address.Slices for extension.extension:adsOid 0..1 Coding ADS Oid
URL: https://fhir.ee/base/StructureDefinition/ee-ads-oid
Binding: ADS Oid (required)
Location.address.Slices for extension.extension:ehak 0..1 Coding EHAK code
URL: https://fhir.ee/base/StructureDefinition/ee-ehak
Location.address.Slices for extension.extension:official 0..1 boolean Indicator of address of residency
URL: http://hl7.org/fhir/StructureDefinition/address-official
Location.address.Slices for extension.extension:notice 0..* Coding Address notices and warnings
URL: https://fhir.ee/base/StructureDefinition/ee-address-notice
Location.address.use This element is a modifier element. This element is included in summaries. 1..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address (home / work / etc.).
Required Pattern: work (extensions allowed)
Location.address.type This element is included in summaries. 1..1 code postal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).
Required Pattern: physical (extensions allowed)
Location.address.country This element is included in summaries. 1..1 string Should use a 2 digit country code
Binding: https://fhir.ee/ValueSet/rtk-alpha-2 (required)
Required Pattern: EE (extensions allowed)
Location.managingOrganization This element is included in summaries. 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.
Location.address.use Base required AddressUse 📍5.0.0 FHIR Std.
Location.address.type Base required AddressType 📍5.0.0 FHIR Std.
Location.address.country Base required https://fhir.ee/ValueSet/rtk-alpha-2 Not State Unknown

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: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.contained 0..0 Contained, inline Resources
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.modifierExtension 0..0 Extension
Location.identifier 0..* Identifier Identifier for this location, used for PHARMACIES only. Use https://fhir.ee/sid/org/est/locpharm as identifier system (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
Location.identifier.use 0..0 usual | official | temp | secondary | old (If known)
Location.identifier.type 0..0 Description of identifier
Location.identifier.system 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Location.identifier.period 0..0 Time period when id is/was valid for use
Location.identifier.assigner 0..0 Organization that issued id (may be just text)
Location.operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
Location.alias 0..0 A list of alternate names that the location is known as, or was known as, in the past
Location.description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
Location.mode 0..0 instance | kind
Location.type 0..0 Type of function performed
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.purpose 0..0 The type of contact
Location.contact.name 0..0 Name of an individual to contact
Location.contact.Slices for telecom 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:email 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email (extensions allowed)
Location.contact.address 0..0 Address for the contact
Location.contact.organization 0..0 This contact detail is handled/monitored by a specific organization
Location.contact.period 0..0 Period that this contact was valid for usage
Location.address 0..1 EEBaseAddress(2.0.0) AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.extension 1..* Extension Extension
Location.address.Slices for extension Content/Rules for all slices
Location.address.Slices for extension.extension:adsAdrId 1..1 ExtensionEEBaseAdsAdrId(2.0.0) ADS ADR-ID extension
Location.address.use 1..1 code home | work | temp | old | billing - purpose of this address
Required Pattern: work (extensions allowed)
Location.address.type 1..1 code postal | physical | both
Required Pattern: physical (extensions allowed)
Location.address.country 1..1 string Should use a 2 digit country code
Required Pattern: EE (extensions allowed)
Location.form 0..0 Physical form of the location
Location.position 0..0 The absolute geographic location
Location.managingOrganization 1..1 Reference(EE SPD Organization) Organization responsible for provisioning and upkeep
Location.partOf 0..0 Another Location this one is physically a part of
Location.characteristic 0..0 Collection of characteristics (attributes)
Location.hoursOfOperation 0..0 What days/times during a week is this location usually open (including exceptions)
Location.virtualService 0..0 Connection details of a virtual service (e.g. conference call)
Location.endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Location 0..* EEBaseLocation(2.0.0) Details and position information for a place
Location.id This element is included in summaries. 0..1 id Logical id of this artifact
Location.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Location.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Location.language 0..1 code Language of the resource content
Binding: AllLanguages (required): IETF language tag for a human language
Additional BindingsPurpose
CommonLanguages Starter
Location.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
Location.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.Slices for extension.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
Location.identifier This element is included in summaries. 0..* Identifier Identifier for this location, used for PHARMACIES only. Use https://fhir.ee/sid/org/est/locpharm as identifier system (ee TEGEVUSKOHA KOOD AINULT apteekide puhul)
Location.identifier.id 0..1 id Unique id for inter-element referencing
Location.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.identifier.system This element is included in summaries. 0..1 uri Use this for system: https://fhir.ee/sid/org/est/locpharm
Example General: http://www.acme.com/identifiers/patient
Location.identifier.value This element is included in summaries. C 0..1 string The value that is unique
Example General: 123456
Location.status This element is a modifier element. This element is included in summaries. 0..1 code active | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.
Location.name This element is included in summaries. 0..1 string Name of the location as used by humans
Location.contact 0..* ExtendedContactDetail Contact details of the location. (ee Tegevuskoha kontaktandmed, email, telefon.)
Location.contact.id 0..1 id Unique id for inter-element referencing
Location.contact.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom This element is included in summaries. 0..* ContactPoint Contact details (e.g.phone/fax/url)
Slice: Unordered, Closed by value:system
Location.contact.Slices for telecom.telecom:phone This element is included in summaries. 0..1 ContactPoint Telefoni number
Location.contact.Slices for telecom.telecom:phone.id 0..1 id Unique id for inter-element referencing
Location.contact.Slices for telecom.telecom:phone.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom.telecom:phone.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: phone (extensions allowed)
Location.contact.Slices for telecom.telecom:phone.value This element is included in summaries. C 0..1 string The actual contact point details
Location.contact.Slices for telecom.telecom:phone.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:phone.rank This element is included in summaries. 0..1 positiveInt Specify preferred order of use (1 = highest)
Location.contact.Slices for telecom.telecom:phone.period This element is included in summaries. 0..1 Period Time period when the contact point was/is in use
Location.contact.Slices for telecom.telecom:email This element is included in summaries. 0..1 ContactPoint email
Location.contact.Slices for telecom.telecom:email.id 0..1 id Unique id for inter-element referencing
Location.contact.Slices for telecom.telecom:email.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Location.contact.Slices for telecom.telecom:email.system This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Required Pattern: email (extensions allowed)
Location.contact.Slices for telecom.telecom:email.value This element is included in summaries. C 0..1 string The actual contact point details
Location.contact.Slices for telecom.telecom:email.use This element is a modifier element. This element is included in summaries. 0..1 code home | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.
Location.contact.Slices for telecom.telecom:email.rank This element is included in summaries. 0..1 positiveInt Specify preferred order of use (1 = highest)
Location.contact.Slices for telecom.telecom:email.period This element is included in summaries. 0..1 Period Time period when the contact point was/is in use
Location.address 0..1 EEBaseAddress(2.0.0) The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well AdrId is mandatory. (ee address.type on alati physical, aadress.use on alati work ning address.country alati EE.)
Location.address.id 0..1 id Unique id for inter-element referencing
Location.address.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.Slices for extension.extension:adsAdrId 1..1 Coding ADS ADR-ID extension
URL: https://fhir.ee/base/StructureDefinition/ee-ads-adr-id
Binding: ADS AdrId (required)
Location.address.Slices for extension.extension:adsOid 0..1 Coding ADS Oid
URL: https://fhir.ee/base/StructureDefinition/ee-ads-oid
Binding: ADS Oid (required)
Location.address.Slices for extension.extension:ehak 0..1 Coding EHAK code
URL: https://fhir.ee/base/StructureDefinition/ee-ehak
Location.address.Slices for extension.extension:official 0..1 boolean Indicator of address of residency
URL: http://hl7.org/fhir/StructureDefinition/address-official
Location.address.Slices for extension.extension:notice 0..* Coding Address notices and warnings
URL: https://fhir.ee/base/StructureDefinition/ee-address-notice
Location.address.use This element is a modifier element. This element is included in summaries. 1..1 code home | work | temp | old | billing - purpose of this address
Binding: AddressUse (required): The use of an address (home / work / etc.).
Required Pattern: work (extensions allowed)
Location.address.type This element is included in summaries. 1..1 code postal | physical | both
Binding: AddressType (required): The type of an address (physical / postal).
Required Pattern: physical (extensions allowed)
Location.address.text This element is included in summaries. 0..1 string Text representation of the address
Example General: 137 Nowhere Street, Erewhon 9132
Location.address.line This element is included in summaries. 0..* string Street name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Location.address.line.id 0..1 string xml:id (or equivalent in JSON)
Location.address.line.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Location.address.line.Slices for extension.extension:censusTract 0..1 string A geographic sub-unit delineated for demographic purposes.
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract
Location.address.line.Slices for extension.extension:streetName 0..1 string Street name
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName
Location.address.line.Slices for extension.extension:streetNameBase 0..1 string The base name of a roadway or artery recognized by a municipality (excluding street type and direction).
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase
Location.address.line.Slices for extension.extension:houseNumber 0..1 string House number
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber
Location.address.line.Slices for extension.extension:additionalLocator 0..1 string Additional locator
URL: http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator
Location.address.line.value 0..1 string Primitive value for string
Max Length:1048576
Location.address.city This element is included in summaries. 0..1 string Name of city, town etc.
Example General: Erewhon
Location.address.district This element is included in summaries. 0..1 string Administrative or political subdivision of a state or city
Example General: Madison
Location.address.state This element is included in summaries. 0..1 string Sub-unit of country
Location.address.postalCode This element is included in summaries. 0..1 string Postal code for area
Example General: 9132
Location.address.country This element is included in summaries. 1..1 string Should use a 2 digit country code
Binding: https://fhir.ee/ValueSet/rtk-alpha-2 (required)
Required Pattern: EE (extensions allowed)
Location.address.period This element is included in summaries. 0..1 Period Time period when address was/is in use
Example General: {"start":"2010-03-23","end":"2010-07-01"}
Location.managingOrganization This element is included in summaries. 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.
Location.address.use Base required AddressUse 📍5.0.0 FHIR Std.
Location.address.type Base required AddressType 📍5.0.0 FHIR Std.
Location.address.country Base required https://fhir.ee/ValueSet/rtk-alpha-2 Not State Unknown

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(5 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