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: 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>
IMPORT <List.shex>
IMPORT <Group.shex>
IMPORT <Device.shex>
IMPORT <Period.shex>
IMPORT <string.shex>
IMPORT <Patient.shex>
IMPORT <instant.shex>
IMPORT <Location.shex>
IMPORT <dateTime.shex>
IMPORT <markdown.shex>
IMPORT <Citation.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 <DeviceUsage.shex>
IMPORT <Observation.shex>
IMPORT <Organization.shex>
IMPORT <Practitioner.shex>
IMPORT <GenomicStudy.shex>
IMPORT <ImagingStudy.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 <ClinicalAssessment.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]?;
fhir:identifier @<OneOrMore_Identifier>?; # Business identifier for report
fhir:basedOn @<OneOrMore_Reference_CarePlan_OR_ImmunizationRecommendation_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
# report
fhir:subject @<Reference> AND {fhir:link
@<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
# patient
fhir:relatesTo @<OneOrMore_RelatedArtifact>?; # Related DiagnosticReports
fhir:encounter @<Reference> AND {fhir:link
@<Encounter> ? }?; # Encounter associated with the
# DiagnosticReport
fhir:effective @<dateTime> OR
@<Period> ?; # Clinically relevant
# time/time-period for the results
# that are included in the report
fhir:issued @<instant>?; # 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_Practitioner_OR_PractitionerRole>?; # Responsible Diagnostic Service
fhir:resultsInterpreter @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole>?; # 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
# report
fhir:study @<OneOrMore_Reference_GenomicStudy_OR_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 report
fhir:composition @<Reference> AND {fhir:link
@<Composition> ? }?; # Reference to a Composition
# resource for the DiagnosticReport
# structure
fhir:conclusion @<markdown>?; # Clinical conclusion
# (interpretation) of test results
fhir: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
fhir:communication @<OneOrMore_Reference_Communication>?; # Communication initiated during the
# reporting process
fhir:comparison @<Reference> AND {fhir:link
@<List> ? }?; # Prior data and findings for
# comparison
}
# 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
# source
}
# Additional information supporting the diagnostic report
<DiagnosticReport.supportingInfo> EXTENDS @<BackboneElement> CLOSED {
fhir:type @<CodeableConcept>; # Supporting information role code
fhir:reference @<Reference> AND {fhir:link
@<AllergyIntolerance> OR
@<Citation> OR
@<ClinicalAssessment> OR
@<Condition> OR
@<DeviceUsage> OR
@<DiagnosticReport> OR
@<FamilyMemberHistory> OR
@<GenomicStudy> OR
@<ImagingStudy> OR
@<Observation> OR
@<Procedure> ? }; # Supporting information reference
}
#---------------------- 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
@<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>
}
<OneOrMore_CodeableConcept> CLOSED {
rdf:first @<CodeableConcept> ;
rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept>
}
<OneOrMore_RelatedArtifact> CLOSED {
rdf:first @<RelatedArtifact> ;
rdf:rest [rdf:nil] OR @<OneOrMore_RelatedArtifact>
}
<OneOrMore_Reference_Procedure> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Procedure> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Procedure>
}
<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Practitioner_OR_PractitionerRole> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<CareTeam> OR
@<Device> OR
@<HealthcareService> OR
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Device_OR_HealthcareService_OR_Organization_OR_Practitioner_OR_PractitionerRole>
}
<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<CareTeam> OR
@<Organization> OR
@<Practitioner> OR
@<PractitionerRole> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CareTeam_OR_Organization_OR_Practitioner_OR_PractitionerRole>
}
<OneOrMore_Reference_Specimen> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<Specimen> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Specimen>
}
<OneOrMore_Reference_Observation> CLOSED {
rdf:first @<Reference> AND {fhir:link
@<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
@<ImagingStudy> } ;
rdf:rest [rdf:nil] OR @<OneOrMore_Reference_GenomicStudy_OR_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:link
@<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 R6 hl7.fhir.core#6.0.0-ballot3 generated on Wed, Oct 29, 2025 16:45+0000.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change