FoundationThis is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
| Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
ShEx statement for transport
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>
IMPORT <Task.shex>
IMPORT <Period.shex>
IMPORT <Device.shex>
IMPORT <Patient.shex>
IMPORT <markdown.shex>
IMPORT <Resource.shex>
IMPORT <dateTime.shex>
IMPORT <Location.shex>
IMPORT <CareTeam.shex>
IMPORT <Coverage.shex>
IMPORT <canonical.shex>
IMPORT <Reference.shex>
IMPORT <Encounter.shex>
IMPORT <Identifier.shex>
IMPORT <Annotation.shex>
IMPORT <Provenance.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <DeviceRequest.shex>
IMPORT <SupplyRequest.shex>
IMPORT <RelatedPerson.shex>
IMPORT <ClaimResponse.shex>
IMPORT <DomainResource.shex>
IMPORT <ServiceRequest.shex>
IMPORT <CodeableConcept.shex>
IMPORT <PractitionerRole.shex>
IMPORT <CodeableReference.shex>
IMPORT <MedicationRequest.shex>
IMPORT <HealthcareService.shex>
IMPORT <VisionPrescription.shex>
IMPORT <RequestOrchestration.shex>
start=@<Transport> AND {fhir:nodeRole [fhir:treeRoot]}
# Delivery of item
<Transport> EXTENDS @<DomainResource> CLOSED {
a [fhir:Transport]?;fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @<OneOrMore_Identifier>?; # External identifier
fhir:instantiates @<canonical>?; # Formal definition of transport
fhir:basedOn @<OneOrMore_Reference_DeviceRequest_OR_MedicationRequest_OR_RequestOrchestration_OR_ServiceRequest_OR_SupplyRequest_OR_Task_OR_VisionPrescription>?; # Request fulfilled by this transport
fhir:partOf @<OneOrMore_Reference_Transport>?; # Part of referenced event
fhir:status @<code> AND
{fhir:v @fhirvs:transport-status}?; # preparation | in-progress |
# not-done | suspended | stopped |
# on-hold | completed |
# entered-in-error | unknown
fhir:statusReason @<CodeableConcept>?; # Reason for current status
fhir:code @<CodeableConcept>?; # Transport Type
fhir:description @<markdown>?; # Human-readable explanation of
# transport
fhir:focus @<Reference> AND {fhir:link
@<Resource> ? }?; # What transport is acting on, when
# it is not the subject of record
fhir:subject @<Reference> AND {fhir:link
@<Resource> ? }?; # Beneficiary of the Transport (such
# as patient or subject)
fhir:encounter @<Reference> AND {fhir:link
@<Encounter> ? }?; # Healthcare event during which this
# transport originated
fhir:period @<Period>?; # When transport is
# occurring/occurred
fhir:authoredOn @<dateTime>?; # Transport Creation Date
fhir:lastModified @<dateTime>?; # Transport Last Modified Date
fhir:performer @<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson>?; # Who or what performs the transport
fhir:location @<Reference> AND {fhir:link
@<Location> ? }?; # Where transport occurs
fhir:insurance @<OneOrMore_Reference_ClaimResponse_OR_Coverage>?; # Associated insurance coverage
fhir:note @<OneOrMore_Annotation>?; # Comments made about the transport
fhir:relevantHistory @<OneOrMore_Reference_Provenance>?; # Key events in history of the
# Transport
fhir:to @<Reference> AND {fhir:link
@<Location> ? }; # Destination location
fhir:from @<Reference> AND {fhir:link
@<Location> ? }; # Originating location
fhir:reason @<CodeableReference>?; # Why transport is needed
fhir:priorTransport @<Reference> AND {fhir:link
@<Transport> ? }?; # THe most recent transport
}
#---------------------- Cardinality Types (OneOrMore) -------------------
<OneOrMore_Identifier> CLOSED {
rdf:first @<Identifier> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Identifier>
}
<OneOrMore_Reference_DeviceRequest_OR_MedicationRequest_OR_RequestOrchestration_OR_ServiceRequest_OR_SupplyRequest_OR_Task_OR_VisionPrescription> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<DeviceRequest> OR
@<MedicationRequest> OR
@<RequestOrchestration> OR
@<ServiceRequest> OR
@<SupplyRequest> OR
@<Task> OR
@<VisionPrescription> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_DeviceRequest_OR_MedicationRequest_OR_RequestOrchestration_OR_ServiceRequest_OR_SupplyRequest_OR_Task_OR_VisionPrescription>
}
<OneOrMore_Reference_Transport> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Transport> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Transport>
}
<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<CareTeam> OR
@<Device> OR
@<HealthcareService> OR
@<Organization> OR
@<Patient> OR
@<Practitioner> OR
@<PractitionerRole> OR
@<RelatedPerson> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson>
}
<OneOrMore_Reference_ClaimResponse_OR_Coverage> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<ClaimResponse> OR
@<Coverage> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ClaimResponse_OR_Coverage>
}
<OneOrMore_Annotation> CLOSED {
rdf:first @<Annotation> ;
rdf:rest [rdf:nil] OR @<OneOrMore_Annotation>
}
<OneOrMore_Reference_Provenance> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Provenance> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Provenance>
}
#---------------------- Value Sets ------------------------
# Status of the transport
fhirvs:transport-status ["preparation" "in-progress" "not-done" "suspended" "stopped" "on-hold" "completed" "entered-in-error" "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 Tue, Oct 14, 2025 17:05+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change