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: Clinical Decision Support Work Group | Standards Status : Informative | Compartments : Device , Group , Patient , Practitioner |
ShEx statement for riskassessment
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 <Group.shex> IMPORT <Range.shex> IMPORT <Period.shex> IMPORT <Device.shex>IMPORT <string.shex>IMPORT <String.shex> IMPORT <Patient.shex>IMPORT <decimal.shex>IMPORT <Decimal.shex> IMPORT <Resource.shex>IMPORT <dateTime.shex>IMPORT <DateTime.shex> IMPORT <Quantity.shex> IMPORT <Reference.shex> IMPORT <Encounter.shex> IMPORT <Condition.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <CodeableReference.shex> start=@<RiskAssessment> AND {fhir:nodeRole [fhir:treeRoot]} # Potential outcomes for a subject with likelihood <RiskAssessment> EXTENDS @<DomainResource> CLOSED {a [fhir:RiskAssessment]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:RiskAssessment]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Unique identifier for the # assessmentfhir:basedOn @<Reference> AND {fhir:linkfhir:basedOn @<Reference> AND {fhir:l @<Resource> ? }?; # Request fulfilled by this # assessmentfhir:parent @<Reference> AND {fhir:linkfhir:parent @<Reference> AND {fhir:l @<Resource> ? }?; # Part of this occurrencefhir:status @<code> AND {fhir:v @fhirvs:observation-status}; # registered | preliminary | final | # amended +fhir:status @<Code> AND {fhir:v @fhirvs:observation-status}; # registered | specimen-in-process | # preliminary | final | amended | # corrected | appended | cancelled | # entered-in-error | unknown | # cannot-be-obtained fhir:method @<CodeableConcept>?; # Evaluation mechanism fhir:code @<CodeableConcept>?; # Type of assessmentfhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<Group> OR @<Patient> ? }; # Who/what does assessment apply to?fhir:encounter @<Reference> AND {fhir:linkfhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # Where was assessment performed?fhir:occurrence @<dateTime> ORfhir:occurrence @<DateTime> OR @<Period> ?; # When was assessment made?fhir:condition @<Reference> AND {fhir:linkfhir:condition @<Reference> AND {fhir:l @<Condition> ? }?; # Condition assessedfhir:performer @<Reference> AND {fhir:linkfhir:performer @<Reference> AND {fhir:l @<Device> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Who did assessment?fhir:reason @<OneOrMore_CodeableReference>?; # Why the assessment was necessary?fhir:reason @<OneOrMore_CodeableReference>?; # Why was the assessment necessary? fhir:basis @<OneOrMore_Reference_Resource>?; # Information used in assessment fhir:prediction @<OneOrMore_RiskAssessment.prediction>?; # Outcome predictedfhir:mitigation @<string>?; # How to reduce riskfhir:mitigation @<String>?; # How to reduce risk fhir:note @<OneOrMore_Annotation>?; # Comments on the risk assessment } # Outcome predicted <RiskAssessment.prediction> EXTENDS @<BackboneElement> CLOSED { fhir:outcome @<CodeableConcept>?; # Possible outcome for the subjectfhir:probability @<decimal> ORfhir:probability @<Decimal> OR @<Quantity> OR @<Range> ?; # Likelihood of specified outcome fhir:qualitativeRisk @<CodeableConcept>?; # Likelihood of specified outcome as # a qualitative valuefhir:relativeRisk @<decimal>?; # Relative likelihoodfhir:relativeRisk @<Decimal>?; # Relative likelihood fhir:when @<Period> OR @<Range> ?; # Timeframe or age rangefhir:rationale @<string>?; # Explanation of predictionfhir:rationale @<String>?; # Explanation of prediction } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <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_RiskAssessment.prediction> CLOSED { rdf:first @<RiskAssessment.prediction> ; rdf:rest [rdf:nil] OR @<OneOrMore_RiskAssessment.prediction> } <OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } #---------------------- Value Sets ------------------------ # Codes providing the status of an observation.fhirvs:observation-status ["registered" "preliminary" "final" "amended" "corrected" "cancelled" "entered-in-error" "unknown"]fhirvs:observation-status ["registered" "specimen-in-process" "preliminary" "final" "amended" "corrected" "appended" "cancelled" "entered-in-error" "unknown" "cannot-be-obtained"]
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:25+1100.
Fri,
Nov
14,
2025
20:59+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change