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 healthcareservice
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#> # ShEx Version 2.2 IMPORT <Range.shex>IMPORT <string.shex> IMPORT <boolean.shex> IMPORT <markdown.shex>IMPORT <String.shex> IMPORT <Boolean.shex> IMPORT <Markdown.shex> IMPORT <Quantity.shex> IMPORT <Location.shex> IMPORT <Endpoint.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <Attachment.shex> IMPORT <Organization.shex> IMPORT <Availability.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <ExtendedContactDetail.shex> start=@<HealthcareService> AND {fhir:nodeRole [fhir:treeRoot]} # The details of a healthcare service available at a location <HealthcareService> EXTENDS @<DomainResource> CLOSED { a [fhir:HealthcareService]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # External identifiers for this itemfhir:active @<boolean>?; # Whether this HealthcareServicefhir:active @<Boolean>?; # Whether this HealthcareService # record is in active usefhir:providedBy @<Reference> AND {fhir:linkfhir:providedBy @<Reference> AND {fhir:l @<Organization> ? }?; # Organization that provides this # service fhir:offeredIn @<OneOrMore_Reference_HealthcareService>?; # The service within which this # service is offered fhir:category @<OneOrMore_CodeableConcept>?; # Broad category of service being # performed or delivered fhir:type @<OneOrMore_CodeableConcept>?; # Type of service that may be # delivered or performed fhir:specialty @<OneOrMore_CodeableConcept>?; # Specialties handled by the # HealthcareService fhir:location @<OneOrMore_Reference_Location>?; # Location(s) where service may be # providedfhir:name @<string>?; # Description of service asfhir:name @<String>?; # Description of service as # presented to a consumer while # searchingfhir:comment @<markdown>?; # Additional description and/or anyfhir:comment @<Markdown>?; # Additional description and/or any # specific issues not covered # elsewherefhir:extraDetails @<markdown>?; # Extra details about the servicefhir:extraDetails @<Markdown>?; # Extra details about the service # that can't be placed in the other # fields fhir:photo @<Attachment>?; # Facilitates quick identification # of the service fhir:contact @<OneOrMore_ExtendedContactDetail>?; # Official contact details for the # HealthcareService fhir:coverageArea @<OneOrMore_Reference_Location>?; # Location(s) service is intended # for/available to fhir:serviceProvisionCode @<OneOrMore_CodeableConcept>?; # Conditions under which service is # available/offered fhir:eligibility @<OneOrMore_HealthcareService.eligibility>?; # Specific eligibility requirements # required to use the service fhir:program @<OneOrMore_CodeableConcept>?; # Programs that this service is # applicable to fhir:characteristic @<OneOrMore_CodeableConcept>?; # Collection of characteristics # (attributes) fhir:communication @<OneOrMore_CodeableConcept>?; # The language that this service is # offered in fhir:referralMethod @<OneOrMore_CodeableConcept>?; # Ways that the service accepts # referralsfhir:referralRequired @<boolean>?; # A referral is required for accessfhir:referralRequired @<Boolean>?; # A referral is required for access # to this servicefhir:appointmentRequired @<boolean>?; # An appointment is required forfhir:appointmentRequired @<Boolean>?; # An appointment is required for # access to this service fhir:availability @<Availability>?; # Times the healthcare service is # available (including exceptions) fhir:endpoint @<OneOrMore_Reference_Endpoint>?; # Technical endpoints providing # access to electronic services # operated for the healthcare # service } # Specific eligibility requirements required to use the service <HealthcareService.eligibility> EXTENDS @<BackboneElement> CLOSED { fhir:code @<CodeableConcept>?; # Coded value for the eligibility fhir:value @<CodeableConcept> OR@<boolean> OR@<Boolean> OR @<Quantity> OR @<Range> OR @<Reference> ?; # Value associated with the # eligibility codefhir:comment @<markdown>?; # Describes the eligibilityfhir:comment @<Markdown>?; # Describes the eligibility # conditions for the servicefhir:period @<markdown>?; # The period this eligibility rulefhir:period @<Markdown>?; # The period this eligibility rule # applies } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_Reference_HealthcareService> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<HealthcareService> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_HealthcareService> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Reference_Location> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Location> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Location> } <OneOrMore_ExtendedContactDetail> CLOSED { rdf:first @<ExtendedContactDetail> ; rdf:rest [rdf:nil] OR @<OneOrMore_ExtendedContactDetail> } <OneOrMore_HealthcareService.eligibility> CLOSED { rdf:first @<HealthcareService.eligibility> ; rdf:rest [rdf:nil] OR @<OneOrMore_HealthcareService.eligibility> } <OneOrMore_Reference_Endpoint> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Endpoint> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Endpoint> }
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,
Thu,
Nov
13,
2025
12:25+1100.
03:07+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change