FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Imaging Integration Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Group, Patient |
ShEx statement for imagingselection
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 <id.shex>
IMPORT <oid.shex>
IMPORT <code.shex>
IMPORT <Task.shex>
IMPORT <Group.shex>
IMPORT <Device.shex>
IMPORT <Patient.shex>
IMPORT <instant.shex>
IMPORT <decimal.shex>
IMPORT <Specimen.shex>
IMPORT <CareTeam.shex>
IMPORT <CarePlan.shex>
IMPORT <Endpoint.shex>
IMPORT <Reference.shex>
IMPORT <Procedure.shex>
IMPORT <Substance.shex>
IMPORT <Identifier.shex>
IMPORT <Medication.shex>
IMPORT <unsignedInt.shex>
IMPORT <positiveInt.shex>
IMPORT <Appointment.shex>
IMPORT <Practitioner.shex>
IMPORT <ImagingStudy.shex>
IMPORT <Organization.shex>
IMPORT <RelatedPerson.shex>
IMPORT <DomainResource.shex>
IMPORT <ServiceRequest.shex>
IMPORT <CodeableConcept.shex>
IMPORT <BackboneElement.shex>
IMPORT <PractitionerRole.shex>
IMPORT <DocumentReference.shex>
IMPORT <CodeableReference.shex>
IMPORT <HealthcareService.shex>
start=@<ImagingSelection> AND {fhir:nodeRole [fhir:treeRoot]}
# A selection of DICOM SOP instances
<ImagingSelection> EXTENDS @<DomainResource> CLOSED {
a [fhir:ImagingSelection]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # Business identifier for imaging
# selection
fhir:status @<code> AND
{fhir:v @fhirvs:imagingselection-status}; # available | entered-in-error |
# inactive | unknown
fhir:category @<OneOrMore_CodeableConcept>?; # Classifies the imaging selection
fhir:modality @<CodeableConcept>?; # The distinct modality
fhir:code @<CodeableConcept>; # Imaging Selection purpose text or
# code
fhir:subject @<Reference> AND {fhir:link
@<Device> OR
@<Group> OR
@<Medication> OR
@<Patient> OR
@<Practitioner> OR
@<Procedure> OR
@<Specimen> OR
@<Substance> ? }?; # Who or what is the subject of the
# imaging selection
fhir:issued @<instant>?; # When the imaging selection was
# created
fhir:performer @<OneOrMore_ImagingSelection.performer>?; # Who performed imaging selection
# and what they did
fhir:basedOn @<OneOrMore_Reference_Appointment_OR_CarePlan_OR_ServiceRequest_OR_Task>?; # Fulfills plan or order
fhir:derivedFrom @<Reference> AND {fhir:link
@<DocumentReference> OR
@<ImagingStudy> ? }?; # The imaging study from which the
# imaging selection is derived
fhir:studyUid @<id>?; # DICOM Study Instance UID
fhir:seriesUid @<id>?; # DICOM Series Instance UID
fhir:seriesNumber @<unsignedInt>?; # Numeric identifier of the selected
# series
fhir:frameOfReferenceUid @<id>?; # The Frame of Reference UID for the
# selected images
fhir:bodySite @<OneOrMore_CodeableReference>?; # Selected anatomic structure
fhir:focus @<OneOrMore_Reference_ImagingSelection>?; # Related resources that are the
# focus for the imaging selection
fhir:endpoint @<OneOrMore_Reference_Endpoint>?; # The network services providing
# access for the subset of the study
fhir:instance @<OneOrMore_ImagingSelection.instance>?; # The selected instances
fhir:imageRegion3D @<OneOrMore_ImagingSelection.imageRegion3D>?; # A 3D region in a DICOM frame of
# reference
}
# A 3D region in a DICOM frame of reference
<ImagingSelection.imageRegion3D> EXTENDS @<BackboneElement> CLOSED {
fhir:regionType @<code> AND
{fhir:v @fhirvs:imagingselection-3dgraphictype}; # point | multipoint | polyline |
# polygon | ellipse | ellipsoid
fhir:coordinate @<OneOrMore_decimal>; # Specifies the coordinates that
# define the image region
}
# The selected instances
<ImagingSelection.instance> EXTENDS @<BackboneElement> CLOSED {
fhir:uid @<id>; # DICOM SOP Instance UID
fhir:number @<unsignedInt>?; # The number of this instance in the
# series
fhir:sopClass @<oid>?; # DICOM class type
fhir:frameNumber @<OneOrMore_positiveInt>?; # Selected frames
fhir:referencedContentItemIdentifier @<OneOrMore_positiveInt>?; # Selected content items
fhir:segmentNumber @<OneOrMore_positiveInt>?; # Selected segments
fhir:regionOfInterest @<OneOrMore_positiveInt>?; # Selected regions of interest
fhir:waveFormChannel @<OneOrMore_positiveInt>?; # Selected waveform channel
fhir:imageRegion2D @<OneOrMore_ImagingSelection.instance.imageRegion2D>?; # A 2D region in an image
}
# Who performed imaging selection and what they did
<ImagingSelection.performer> EXTENDS @<BackboneElement> CLOSED {
fhir:function @<CodeableConcept>?; # Type of performance
fhir:actor @<Reference> AND {fhir:link
@<CareTeam> OR
@<Device> OR
@<HealthcareService> OR
@<Organization> OR
@<Patient> OR
@<Practitioner> OR
@<PractitionerRole> OR
@<RelatedPerson> ? }; # Who performed the imaging selection
}
# A 2D region in an image
<ImagingSelection.instance.imageRegion2D> EXTENDS @<BackboneElement> CLOSED {
fhir:regionType @<code> AND
{fhir:v @fhirvs:imagingselection-2dgraphictype}; # point | polyline | multipoint |
# circle | ellipse
fhir:coordinate @<OneOrMore_decimal>; # The coordinates that define the
# image region
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_CodeableConcept> CLOSED {
rdf:first @<CodeableConcept> ;
rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept>
}
<OneOrMore_ImagingSelection.performer> CLOSED {
rdf:first @<ImagingSelection.performer> ;
rdf:rest [rdf:nil] OR @<OneOrMore_ImagingSelection.performer>
}
<OneOrMore_Reference_Appointment_OR_CarePlan_OR_ServiceRequest_OR_Task> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Appointment> OR
@<CarePlan> OR
@<ServiceRequest> OR
@<Task> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Appointment_OR_CarePlan_OR_ServiceRequest_OR_Task>
}
<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_Reference_Endpoint> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Endpoint> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Endpoint>
}
<OneOrMore_ImagingSelection.instance> CLOSED {
rdf:first @<ImagingSelection.instance> ;
rdf:rest [rdf:nil] OR @<OneOrMore_ImagingSelection.instance>
}
<OneOrMore_ImagingSelection.imageRegion3D> CLOSED {
rdf:first @<ImagingSelection.imageRegion3D> ;
rdf:rest [rdf:nil] OR @<OneOrMore_ImagingSelection.imageRegion3D>
}
<OneOrMore_decimal> CLOSED {
rdf:first @<decimal> ;
rdf:rest [rdf:nil] OR @<OneOrMore_decimal>
}
<OneOrMore_positiveInt> CLOSED {
rdf:first @<positiveInt> ;
rdf:rest [rdf:nil] OR @<OneOrMore_positiveInt>
}
<OneOrMore_ImagingSelection.instance.imageRegion2D> CLOSED {
rdf:first @<ImagingSelection.instance.imageRegion2D> ;
rdf:rest [rdf:nil] OR @<OneOrMore_ImagingSelection.instance.imageRegion2D>
}
#---------------------- Value Sets ------------------------
# The type of 2D coordinates describing a 2D image region.
fhirvs:imagingselection-2dgraphictype ["point" "polyline" "multipoint" "circle" "ellipse"]
# The type of coordinates describing a 3D image region.
fhirvs:imagingselection-3dgraphictype ["point" "multipoint" "polyline" "polygon" "ellipse" "ellipsoid"]
# The status of the ImagingSelection.
fhirvs:imagingselection-status ["available" "entered-in-error" "inactive" "unknown"]
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 Thu, Oct 23, 2025 19:46+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change