This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Encounter, 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 <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 <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 <DomainResource.shex> IMPORT <NutritionOrder.shex> IMPORT <ServiceRequest.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <DocumentReference.shex> IMPORT <MedicationRequest.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 # | final + 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:encounter @<Reference> AND {fhir:link @<Encounter> ? }?; # Health care event when test ordered 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 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_CodeableConcept>?; # Codes for the clinical conclusion # of test results fhir:presentedForm @<OneOrMore_Attachment>?; # Entire report as issued } # Additional information supporting the diagnostic report <DiagnosticReport.supportingInfo> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>; # Supporting information role code fhir:reference @<Reference> AND {fhir:link @<Citation> OR @<DiagnosticReport> OR @<Observation> OR @<Procedure> ? }; # Supporting information reference } # 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 } #---------------------- 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_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_Attachment> CLOSED { rdf:first @<Attachment> ; rdf:rest [rdf:nil] OR @<OneOrMore_Attachment> } #---------------------- Value Sets ------------------------ # The status of the diagnostic report. fhirvs:diagnostic-report-status ["registered" "partial" "preliminary" "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-draft-final generated on Wed, Mar 1, 2023 23:06+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change