Foundation
Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
| Responsible Owner: Patient Administration Work Group | Standards Status : Informative | Compartments : No defined compartments |
ShEx statement for location
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Coding.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Address.shex>IMPORT <decimal.shex> IMPORT <markdown.shex>IMPORT <Decimal.shex> IMPORT <Markdown.shex> IMPORT <Endpoint.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <Organization.shex> IMPORT <Availability.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <VirtualServiceDetail.shex> IMPORT <ExtendedContactDetail.shex> start=@<Location> AND {fhir:nodeRole [fhir:treeRoot]} # Details and position information for a place <Location> EXTENDS @<DomainResource> CLOSED { a [fhir:Location]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Unique code or number identifying # the location to its usersfhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:location-status}?; # active | suspended | inactive fhir:operationalStatus @<Coding>?; # The operational status of the # location (typically only for a # bed/room)fhir:name @<string>?; # Name of the location as used byfhir:code @<OneOrMore_CodeableConcept>?; # Codes that identify this location fhir:name @<String>?; # Name of the location as used by # humansfhir:alias @<OneOrMore_string>?; # A list of alternate names that thefhir:alias @<OneOrMore_String>?; # A list of alternate names that the # location is known as, or was known # as, in the pastfhir:description @<markdown>?; # Additional details about thefhir:description @<Markdown>?; # Additional details about the # location that could be displayed # as further information to identify # the location beyond its namefhir:mode @<code> ANDfhir:mode @<Code> AND {fhir:v @fhirvs:location-mode}?; # instance | kindfhir:type @<OneOrMore_CodeableConcept>?; # Type of function performedfhir:type @<OneOrMore_CodeableConcept>?; # Types of services available at # this location fhir:contact @<OneOrMore_ExtendedContactDetail>?; # Official contact details for the # location fhir:address @<Address>?; # Physical location fhir:form @<CodeableConcept>?; # Physical form of the location fhir:position @<Location.position>?; # The absolute geographic locationfhir:managingOrganization @<Reference> AND {fhir:linkfhir:managingOrganization @<Reference> AND {fhir:l @<Organization> ? }?; # Organization responsible for # provisioning and upkeepfhir:partOf @<Reference> AND {fhir:linkfhir:partOf @<Reference> AND {fhir:l @<Location> ? }?; # Another Location this one is # physically a part of fhir:characteristic @<OneOrMore_CodeableConcept>?; # Collection of characteristics # (attributes) fhir:hoursOfOperation @<Availability>?; # What days/times during a week is # this location usually open # (including exceptions) fhir:virtualService @<OneOrMore_VirtualServiceDetail>?; # Connection details of a virtual # service (e.g. conference call) fhir:endpoint @<OneOrMore_Reference_Endpoint>?; # Technical endpoints providing # access to services operated for # the location } # The absolute geographic location <Location.position> EXTENDS @<BackboneElement> CLOSED {fhir:longitude @<decimal>; # Longitude with WGS84 datum fhir:latitude @<decimal>; # Latitude with WGS84 datum fhir:altitude @<decimal>?; # Altitude with WGS84 datumfhir:longitude @<Decimal>; # Longitude with WGS84 datum fhir:latitude @<Decimal>; # Latitude with WGS84 datum fhir:altitude @<Decimal>?; # Altitude with WGS84 datum } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> }<OneOrMore_string> CLOSED { rdf:first @<string> ; rdf:rest [rdf:nil] OR @<OneOrMore_string> }<OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_String> CLOSED { rdf:first @<String> ; rdf:rest [rdf:nil] OR @<OneOrMore_String> } <OneOrMore_ExtendedContactDetail> CLOSED { rdf:first @<ExtendedContactDetail> ; rdf:rest [rdf:nil] OR @<OneOrMore_ExtendedContactDetail> } <OneOrMore_VirtualServiceDetail> CLOSED { rdf:first @<VirtualServiceDetail> ; rdf:rest [rdf:nil] OR @<OneOrMore_VirtualServiceDetail> } <OneOrMore_Reference_Endpoint> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Endpoint> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Endpoint> } #---------------------- Value Sets ------------------------ # Indicates whether a resource instance represents a specific location or a class of locations. fhirvs:location-mode ["instance" "kind"] # Indicates whether the location is still in use. fhirvs:location-status ["active" "suspended" "inactive"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Tue,
Apr
1,
Wed,
Nov
12,
2025
12:25+1100.
19:45+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change