Foundation
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
| Responsible Owner: Orders and Observations Work Group | Standards Status : Informative | Compartments : Patient |
ShEx statement for bodystructure
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 <boolean.shex># ShEx Version 2.2 IMPORT <Boolean.shex> IMPORT <Patient.shex>IMPORT <markdown.shex>IMPORT <Markdown.shex> IMPORT <Quantity.shex> IMPORT <Reference.shex> IMPORT <Identifier.shex> IMPORT <Attachment.shex> IMPORT <DomainResource.shex>IMPORT <CodeableConcept.shex>IMPORT <BackboneElement.shex> IMPORT <CodeableConcept.shex> IMPORT <ImagingSelection.shex> IMPORT <CodeableReference.shex> start=@<BodyStructure> AND {fhir:nodeRole [fhir:treeRoot]} # Specific and identified anatomical structure <BodyStructure> EXTENDS @<DomainResource> CLOSED {a [fhir:BodyStructure]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:BodyStructure]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Bodystructure identifierfhir:active @<boolean>?; # Whether this record is in activefhir:active @<Boolean>?; # Whether this record is in active # usefhir:morphology @<CodeableConcept>?; # Kind of Structurefhir:includedStructure @<OneOrMore_BodyStructure.includedStructure>; # Included anatomic location(s) fhir:excludedStructure @<OneOrMore_BodyStructure.includedStructure>?; # Excluded anatomic locations(s)fhir:description @<markdown>?; # Text descriptionfhir:description @<Markdown>?; # Text description fhir:image @<OneOrMore_Attachment>?; # Attached imagesfhir:patient @<Reference> AND {fhir:linkfhir:patient @<Reference> AND {fhir:l @<Patient> ? }; # Who this is about }# Included anatomic location(s) <BodyStructure.includedStructure> EXTENDS @<BackboneElement> CLOSED { fhir:structure @<CodeableConcept>; # Code that represents the included # structure fhir:laterality @<CodeableConcept>?; # Code that represents the included # structure laterality fhir:bodyLandmarkOrientation @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation>?; # Landmark relative location fhir:spatialReference @<OneOrMore_Reference_ImagingSelection>?; # Cartesian reference for structure fhir:qualifier @<OneOrMore_CodeableConcept>?; # Code that represents the included # structure qualifier# Landmark relative location <BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark> EXTENDS @<BackboneElement> CLOSED { fhir:device @<OneOrMore_CodeableReference>?; # Measurement device fhir:value @<OneOrMore_Quantity>?; # Measured distance from body # landmark } # Landmark relative location <BodyStructure.includedStructure.bodyLandmarkOrientation> EXTENDS @<BackboneElement> CLOSED {fhir:landmarkDescription @<OneOrMore_CodeableConcept>?; # Body ]andmark descriptionfhir:landmarkDescription @<OneOrMore_CodeableConcept>?; # Explanation of landmark fhir:clockFacePosition @<OneOrMore_CodeableConcept>?; # Clockface orientation fhir:distanceFromLandmark @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark>?; # Landmark relative location fhir:surfaceOrientation @<OneOrMore_CodeableConcept>?; # Relative landmark surface # orientation }# Landmark relative location <BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark> EXTENDS @<BackboneElement> CLOSED { fhir:device @<OneOrMore_CodeableReference>?; # Measurement device fhir:value @<OneOrMore_Quantity>?; # Measured distance from body # landmark# Included anatomic location(s) <BodyStructure.includedStructure> EXTENDS @<BackboneElement> CLOSED { fhir:structure @<CodeableConcept>; # Code that represents the included # structure fhir:laterality @<CodeableConcept>?; # Code that represents the included # structure laterality fhir:bodyLandmarkOrientation @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation>?; # Landmark relative location fhir:spatialReference @<OneOrMore_Reference_ImagingSelection>?; # Cartesian reference for structure fhir:image @<OneOrMore_Attachment>?; # Image(s) of structural aspects fhir:qualifier @<OneOrMore_CodeableConcept>?; # Code that represents the included # structure qualifier fhir:morphology @<CodeableConcept>?; # Kind of Structure } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_BodyStructure.includedStructure> CLOSED { rdf:first @<BodyStructure.includedStructure> ; rdf:rest [rdf:nil] OR @<OneOrMore_BodyStructure.includedStructure> } <OneOrMore_Attachment> CLOSED { rdf:first @<Attachment> ; rdf:rest [rdf:nil] OR @<OneOrMore_Attachment> }<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation> CLOSED { rdf:first @<BodyStructure.includedStructure.bodyLandmarkOrientation> ; rdf:rest [rdf:nil] OR @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation><OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> }<OneOrMore_Reference_ImagingSelection> CLOSED { rdf:first @<Reference> AND {fhir:link @<ImagingSelection> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ImagingSelection><OneOrMore_Quantity> CLOSED { rdf:first @<Quantity> ; rdf:rest [rdf:nil] OR @<OneOrMore_Quantity> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark> CLOSED { rdf:first @<BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark> ; rdf:rest [rdf:nil] OR @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation.distanceFromLandmark> }<OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference><OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation> CLOSED { rdf:first @<BodyStructure.includedStructure.bodyLandmarkOrientation> ; rdf:rest [rdf:nil] OR @<OneOrMore_BodyStructure.includedStructure.bodyLandmarkOrientation> }<OneOrMore_Quantity> CLOSED { rdf:first @<Quantity> ; rdf:rest [rdf:nil] OR @<OneOrMore_Quantity><OneOrMore_Reference_ImagingSelection> CLOSED { rdf:first @<Reference> AND {fhir:l @<ImagingSelection> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ImagingSelection> }
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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Thu,
Nov
27,
2025
16:53+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change