Foundation
Publish-box
(todo)
This
is
the
Continuous
Integration
Build
of
FHIR
(will
be
incorrect/inconsistent
at
times).
See
the
Directory
of
published
versions
| Responsible Owner: Patient Care Work Group | Standards Status : Informative | Compartments : Encounter , Group , Patient , Practitioner , RelatedPerson |
ShEx statement for condition
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#> # ShEx Version 2.2 IMPORT <Age.shex> IMPORT <Group.shex> IMPORT <Range.shex> IMPORT <Period.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Device.shex> IMPORT <Patient.shex>IMPORT <dateTime.shex>IMPORT <DateTime.shex> IMPORT <Reference.shex> IMPORT <Encounter.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Observation.shex> IMPORT <Practitioner.shex> IMPORT <BodyStructure.shex> IMPORT <RelatedPerson.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <DiagnosticReport.shex> IMPORT <CodeableReference.shex> IMPORT <ClinicalAssessment.shex> start=@<Condition> AND {fhir:nodeRole [fhir:treeRoot]} # Detailed information about conditions, problems or diagnoses <Condition> EXTENDS @<DomainResource> CLOSED { a [fhir:Condition]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # External Ids for this condition fhir:clinicalStatus @<CodeableConcept>; # active | recurrence | relapse | # inactive | remission | resolved | # unknown fhir:verificationStatus @<CodeableConcept>?; # unconfirmed | provisional | # differential | confirmed | refuted # | entered-in-error fhir:category @<OneOrMore_CodeableConcept>?; # problem-list-item | # encounter-diagnosis fhir:severity @<CodeableConcept>?; # Subjective severity of condition fhir:code @<CodeableConcept>?; # Identification of the condition, # problem or diagnosis fhir:bodySite @<OneOrMore_CodeableConcept>?; # Anatomical location, if relevantfhir:bodyStructure @<Reference> AND {fhir:linkfhir:bodyStructure @<Reference> AND {fhir:l @<BodyStructure> ? }?; # Anatomical body structurefhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<Group> OR @<Patient> ? }; # Who has the condition?fhir:encounter @<Reference> AND {fhir:linkfhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # The Encounter during which this # Condition was createdfhir:onset @<dateTime> ORfhir:onset @<DateTime> OR @<Age> OR @<Period> OR @<Range> OR@<string> ?; # Estimated or actual date,@<String> ?; # Estimated or actual date, # date-time, or agefhir:abatement @<dateTime> ORfhir:abatement @<DateTime> OR @<Age> OR @<Period> OR @<Range> OR@<string> ?; # When in resolution/remission fhir:recordedDate @<dateTime>?; # Date condition was first recorded fhir:recorder @<Reference> AND {fhir:link@<String> ?; # When in resolution/remission fhir:recordedDate @<DateTime>?; # Date condition was first recorded fhir:recorder @<Reference> AND {fhir:l @<Group> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Who recorded the conditionfhir:asserter @<Reference> AND {fhir:linkfhir:asserter @<Reference> AND {fhir:l @<Device> OR @<Group> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Person or device that asserts this # condition fhir:stage @<OneOrMore_Condition.stage>?; # Stage/grade, usually assessed # formally fhir:evidence @<OneOrMore_CodeableReference>?; # Supporting evidence for the # condition fhir:note @<OneOrMore_Annotation>?; # Additional information about the # Condition } # Stage/grade, usually assessed formally <Condition.stage> EXTENDS @<BackboneElement> CLOSED { fhir:summary @<CodeableConcept>?; # Simple summary (disease specific) fhir:assessment @<OneOrMore_Reference_ClinicalAssessment_OR_DiagnosticReport_OR_Observation>?; # Formal record of assessment fhir:type @<CodeableConcept>?; # Kind of staging } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> } <OneOrMore_Condition.stage> CLOSED { rdf:first @<Condition.stage> ; rdf:rest [rdf:nil] OR @<OneOrMore_Condition.stage> } <OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } <OneOrMore_Reference_ClinicalAssessment_OR_DiagnosticReport_OR_Observation> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<ClinicalAssessment> OR @<DiagnosticReport> OR @<Observation> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ClinicalAssessment_OR_DiagnosticReport_OR_Observation> }
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,
Apr
1,
Fri,
Nov
7,
2025
12:24+1100.
18:58+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change