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
R3
| Responsible Owner: Patient Care Work Group | Standards Status : Informative | Compartments : Device , Encounter , Group , Patient , Practitioner , RelatedPerson |
ShEx statement for communication
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 <uri.shex> IMPORT <code.shex># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <Task.shex> IMPORT <Group.shex> IMPORT <Device.shex> IMPORT <Patient.shex>IMPORT <dateTime.shex>IMPORT <DateTime.shex> IMPORT <CareTeam.shex> IMPORT <Endpoint.shex> IMPORT <Resource.shex> IMPORT <CarePlan.shex> IMPORT <Location.shex>IMPORT <canonical.shex>IMPORT <Reference.shex> IMPORT <Encounter.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Attachment.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <DeviceRequest.shex> IMPORT <DomainResource.shex> IMPORT <NutritionOrder.shex> IMPORT <ServiceRequest.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <HealthcareService.shex> IMPORT <CodeableReference.shex> IMPORT <MedicationRequest.shex> IMPORT <VisionPrescription.shex> start=@<Communication> AND {fhir:nodeRole [fhir:treeRoot]} # A clinical or business level record of information being transmitted or shared <Communication> EXTENDS @<DomainResource> CLOSED {a [fhir:Communication]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:Communication]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Unique identifierfhir:instantiatesCanonical @<OneOrMore_canonical>?; # Instantiates FHIR protocol or # definition fhir:instantiatesUri @<OneOrMore_uri>?; # Instantiates external protocol or # definition fhir:basedOn @<OneOrMore_Reference_Resource>?; # Request fulfilled by thisfhir:basedOn @<OneOrMore_Reference_CarePlan_OR_CommunicationRequest_OR_DeviceRequest_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest_OR_Task_OR_VisionPrescription>?; # Request fulfilled by this # communication fhir:partOf @<OneOrMore_Reference_Resource>?; # Part of referenced event (e.g. # Communication, Procedure) fhir:inResponseTo @<OneOrMore_Reference_Communication>?; # Reply tofhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:event-status}; # preparation | in-progress | # not-done | on-hold | stopped | # completed | entered-in-error | # unknown fhir:statusReason @<CodeableConcept>?; # Reason for current status fhir:category @<OneOrMore_CodeableConcept>?; # Message categoryfhir:priority @<code> ANDfhir:priority @<Code> AND {fhir:v @fhirvs:request-priority}?; # routine | urgent | asap | stat fhir:medium @<OneOrMore_CodeableConcept>?; # A channel of communicationfhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<Group> OR @<Patient> ? }?; # Focus of message fhir:topic @<CodeableConcept>?; # Description of the purpose/content fhir:about @<OneOrMore_Reference_Resource>?; # Resources that pertain to this # communicationfhir:encounter @<Reference> AND {fhir:linkfhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # The Encounter during which this # Communication was createdfhir:sent @<dateTime>?; # When sent fhir:received @<dateTime>?; # When receivedfhir:sent @<DateTime>?; # When sent fhir:received @<DateTime>?; # When received fhir:recipient @<OneOrMore_Reference_CareTeam_OR_Device_OR_Endpoint_OR_Group_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson>?; # Who the information is shared withfhir:sender @<Reference> AND {fhir:linkfhir:sender @<Reference> AND {fhir:l @<CareTeam> OR @<Device> OR @<Endpoint> OR @<HealthcareService> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Who shares the information fhir:reason @<OneOrMore_CodeableReference>?; # Indication for message fhir:payload @<OneOrMore_Communication.payload>?; # Message payload fhir:note @<OneOrMore_Annotation>?; # Comments made about the # communication } # Message payload <Communication.payload> EXTENDS @<BackboneElement> CLOSED { fhir:content @<Attachment> OR(@<Reference> AND {fhir:link @<Resource> }) OR(@<Reference> AND {fhir:l @<Resource> }) OR @<CodeableConcept> ; # Message part content } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> }<OneOrMore_canonical> CLOSED { rdf:first @<canonical> ; rdf:rest [rdf:nil] OR @<OneOrMore_canonical> } <OneOrMore_uri> CLOSED { rdf:first @<uri> ; rdf:rest [rdf:nil] OR @<OneOrMore_uri><OneOrMore_Reference_CarePlan_OR_CommunicationRequest_OR_DeviceRequest_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest_OR_Task_OR_VisionPrescription> CLOSED { rdf:first @<Reference> AND {fhir:l @<CarePlan> OR @<CommunicationRequest> OR @<DeviceRequest> OR @<MedicationRequest> OR @<NutritionOrder> OR @<ServiceRequest> OR @<Task> OR @<VisionPrescription> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CarePlan_OR_CommunicationRequest_OR_DeviceRequest_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest_OR_Task_OR_VisionPrescription> } <OneOrMore_Reference_Resource> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Resource> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Resource> } <OneOrMore_Reference_Communication> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Communication> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Communication> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Reference_CareTeam_OR_Device_OR_Endpoint_OR_Group_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<CareTeam> OR @<Device> OR @<Endpoint> OR @<Group> OR @<HealthcareService> OR @<Location> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Device_OR_Endpoint_OR_Group_OR_HealthcareService_OR_Location_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> } <OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <OneOrMore_Communication.payload> CLOSED { rdf:first @<Communication.payload> ; rdf:rest [rdf:nil] OR @<OneOrMore_Communication.payload> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } #---------------------- Value Sets ------------------------ # Codes identifying the lifecycle stage of an event. fhirvs:event-status ["preparation" "in-progress" "not-done" "on-hold" "stopped" "completed" "entered-in-error" "unknown"] # Identifies the level of importance to be assigned to actioning the request. fhirvs:request-priority ["routine" "urgent" "asap" "stat"]
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.
Mon,
Nov
24,
2025
20:51+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change