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: Orders and Observations Work Group | Standards Status : Informative | Compartments : Device , Encounter , Group , Patient , Practitioner |
ShEx statement for diagnosticreport
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># ShEx Version 2.2 IMPORT <Code.shex> IMPORT <List.shex> IMPORT <Group.shex> IMPORT <Device.shex> IMPORT <Period.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Patient.shex>IMPORT <instant.shex>IMPORT <Location.shex>IMPORT <dateTime.shex> IMPORT <markdown.shex> IMPORT <Citation.shex>IMPORT <DateTime.shex> IMPORT <Markdown.shex> IMPORT <CarePlan.shex> IMPORT <CareTeam.shex> IMPORT <Specimen.shex> IMPORT <Reference.shex> IMPORT <Substance.shex> IMPORT <Encounter.shex> IMPORT <Condition.shex> IMPORT <Procedure.shex> IMPORT <Identifier.shex> IMPORT <Medication.shex> IMPORT <Annotation.shex> IMPORT <Attachment.shex> IMPORT <Composition.shex> IMPORT <Observation.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex>IMPORT <GenomicStudy.shex>IMPORT <ImagingStudy.shex> IMPORT <RelatedPerson.shex> IMPORT <Communication.shex> IMPORT <DomainResource.shex> IMPORT <NutritionOrder.shex> IMPORT <ServiceRequest.shex> IMPORT <CodeableConcept.shex> IMPORT <RelatedArtifact.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <CodeableReference.shex> IMPORT <DocumentReference.shex> IMPORT <MedicationRequest.shex> IMPORT <HealthcareService.shex> IMPORT <AllergyIntolerance.shex> IMPORT <FamilyMemberHistory.shex> IMPORT <BiologicallyDerivedProduct.shex>IMPORT <ImmunizationRecommendation.shex>start=@<DiagnosticReport> AND {fhir:nodeRole [fhir:treeRoot]} # A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports <DiagnosticReport> EXTENDS @<DomainResource> CLOSED {a [fhir:DiagnosticReport]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:DiagnosticReport]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Business identifier for reportfhir:basedOn @<OneOrMore_Reference_CarePlan_OR_ImmunizationRecommendation_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest>?; # What was requested fhir:status @<code> ANDfhir:basedOn @<OneOrMore_Reference_CarePlan_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest>?; # What was requested fhir:status @<Code> AND {fhir:v @fhirvs:diagnostic-report-status}; # registered | partial | preliminary # | modified | final | amended | # corrected | appended | cancelled | # entered-in-error | unknown fhir:category @<OneOrMore_CodeableConcept>?; # Service category fhir:code @<CodeableConcept>; # Name/Code for this diagnostic # reportfhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<BiologicallyDerivedProduct> OR @<Device> OR @<Group> OR @<Location> OR @<Medication> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<Substance> ? }?; # The subject of the report - # usually, but not always, the # patientfhir:encounter @<Reference> AND {fhir:link @<Encounter> ? }?; # Health care event when test ordered fhir:effective @<dateTime> ORfhir:relatesTo @<OneOrMore_RelatedArtifact>?; # Related DiagnosticReports fhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # Encounter associated with the # DiagnosticReport fhir:effective @<DateTime> OR @<Period> ?; # Clinically relevant# time/time-period for report fhir:issued @<instant>?; # DateTime this version was made fhir:performer @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole>?; # Responsible Diagnostic Service fhir:resultsInterpreter @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole>?; # Primary result interpreter# time/time-period for the results # that are included in the report fhir:issued @<DateTime>?; # DateTime this version was made fhir:procedure @<OneOrMore_Reference_Procedure>?; # The performed procedure(s) from # which the report was produced fhir:performer @<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson>?; # Responsible Diagnostic Service fhir:resultsInterpreter @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson>?; # Who analyzed and reported the # conclusions and interpretations fhir:specimen @<OneOrMore_Reference_Specimen>?; # Specimens this report is based on fhir:result @<OneOrMore_Reference_Observation>?; # Observations fhir:note @<OneOrMore_Annotation>?; # Comments about the diagnostic # reportfhir:study @<OneOrMore_Reference_GenomicStudy_OR_ImagingStudy>?; # Reference to full details of anfhir:study @<OneOrMore_Reference_ImagingStudy>?; # Reference to full details of an # analysis associated with the # diagnostic report fhir:supportingInfo @<OneOrMore_DiagnosticReport.supportingInfo>?; # Additional information supporting # the diagnostic report fhir:media @<OneOrMore_DiagnosticReport.media>?; # Key images or data associated with # this reportfhir:composition @<Reference> AND {fhir:linkfhir:composition @<Reference> AND {fhir:l @<Composition> ? }?; # Reference to a Composition # resource for the DiagnosticReport # structurefhir:conclusion @<markdown>?; # Clinical conclusionfhir:conclusion @<Markdown>?; # Clinical conclusion # (interpretation) of test resultsfhir:conclusionCode @<OneOrMore_CodeableConcept>?; # Codes for the clinical conclusion # of test resultsfhir:conclusionCode @<OneOrMore_CodeableReference>?; # Codes and/or references for the # clinical conclusion of test # results fhir:recomendation @<OneOrMore_CodeableReference>?; # Recommendations based on findings # and interpretations fhir:presentedForm @<OneOrMore_Attachment>?; # Entire report as issued} # Key images or data associated with this report <DiagnosticReport.media> EXTENDS @<BackboneElement> CLOSED { fhir:comment @<string>?; # Comment about the image or data # (e.g. explanation) fhir:link @<Reference> AND {fhir:link @<DocumentReference> ? }; # Reference to the image or data # sourcefhir:communication @<OneOrMore_Reference_Communication>?; # Communication initiated during the # reporting process fhir:comparison @<Reference> AND {fhir:l @<List> ? }?; # Prior data and findings for # comparison } # Additional information supporting the diagnostic report <DiagnosticReport.supportingInfo> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>; # Supporting information role codefhir:reference @<Reference> AND {fhir:link @<Citation> ORfhir:reference @<Reference> AND {fhir:l @<AllergyIntolerance> OR @<Condition> OR @<DiagnosticReport> OR @<DocumentReference> OR @<FamilyMemberHistory> OR @<ImagingStudy> OR @<Observation> OR @<Procedure> ? }; # Supporting information reference }#---------------------- Cardinality Types (OneOrMore) -------------------# Key images or data associated with this report <DiagnosticReport.media> EXTENDS @<BackboneElement> CLOSED { fhir:comment @<String>?; # Comment about the image or data # (e.g. explanation) fhir:link @<Reference> AND {fhir:l @<DocumentReference> ? }; # Reference to the image or data # source } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> }<OneOrMore_Reference_CarePlan_OR_ImmunizationRecommendation_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest> CLOSED { rdf:first @<Reference> AND {fhir:link<OneOrMore_Reference_CarePlan_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest> CLOSED { rdf:first @<Reference> AND {fhir:l @<CarePlan> OR@<ImmunizationRecommendation> OR@<MedicationRequest> OR @<NutritionOrder> OR @<ServiceRequest> } ;rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CarePlan_OR_ImmunizationRecommendation_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest>rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CarePlan_OR_MedicationRequest_OR_NutritionOrder_OR_ServiceRequest> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> }<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole> CLOSED { rdf:first @<Reference> AND {fhir:link<OneOrMore_RelatedArtifact> CLOSED { rdf:first @<RelatedArtifact> ; rdf:rest [rdf:nil] OR @<OneOrMore_RelatedArtifact> } <OneOrMore_Reference_Procedure> CLOSED { rdf:first @<Reference> AND {fhir:l @<Procedure> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Procedure> } <OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> CLOSED { rdf:first @<Reference> AND {fhir:l @<CareTeam> OR @<Device> OR @<HealthcareService> OR @<Organization> OR @<Patient> OR @<Practitioner> OR@<PractitionerRole> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole>@<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_CareTeam_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> CLOSED { rdf:first @<Reference> AND {fhir:l @<CareTeam> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Patient_OR_Practitioner_OR_PractitionerRole_OR_RelatedPerson> } <OneOrMore_Reference_Specimen> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Specimen> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Specimen> } <OneOrMore_Reference_Observation> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<Observation> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Observation> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> }<OneOrMore_Reference_GenomicStudy_OR_ImagingStudy> CLOSED { rdf:first @<Reference> AND {fhir:link @<GenomicStudy> OR<OneOrMore_Reference_ImagingStudy> CLOSED { rdf:first @<Reference> AND {fhir:l @<ImagingStudy> } ;rdf:rest [rdf:nil] OR @<OneOrMore_Reference_GenomicStudy_OR_ImagingStudy>rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ImagingStudy> } <OneOrMore_DiagnosticReport.supportingInfo> CLOSED { rdf:first @<DiagnosticReport.supportingInfo> ; rdf:rest [rdf:nil] OR @<OneOrMore_DiagnosticReport.supportingInfo> } <OneOrMore_DiagnosticReport.media> CLOSED { rdf:first @<DiagnosticReport.media> ; rdf:rest [rdf:nil] OR @<OneOrMore_DiagnosticReport.media> } <OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <OneOrMore_Attachment> CLOSED { rdf:first @<Attachment> ; rdf:rest [rdf:nil] OR @<OneOrMore_Attachment> } <OneOrMore_Reference_Communication> CLOSED { rdf:first @<Reference> AND {fhir:l @<Communication> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Communication> } #---------------------- Value Sets ------------------------ # The status of the diagnostic report. fhirvs:diagnostic-report-status ["registered" "partial" "preliminary" "modified" "final" "amended" "corrected" "appended" "cancelled" "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
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:24+1100.
Fri,
Nov
21,
2025
00:01+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change