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: Patient Care Work Group | Standards Status : Informative | Compartments : Group , Patient , Practitioner , RelatedPerson |
ShEx statement for adverseevent
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 <Period.shex>IMPORT <Timing.shex>IMPORT <Device.shex> IMPORT <Patient.shex>IMPORT <boolean.shex> IMPORT <dateTime.shex>IMPORT <Boolean.shex> IMPORT <DateTime.shex> IMPORT <Location.shex> IMPORT <CareTeam.shex> IMPORT <Reference.shex> IMPORT <Encounter.shex>IMPORT <Procedure.shex> IMPORT <Condition.shex> IMPORT <Substance.shex>IMPORT <Identifier.shex> IMPORT <Annotation.shex>IMPORT <Medication.shex> IMPORT <Observation.shex> IMPORT <DeviceUsage.shex>IMPORT <Practitioner.shex>IMPORT <Immunization.shex>IMPORT <Organization.shex> IMPORT <RelatedPerson.shex> IMPORT <ResearchStudy.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex>IMPORT <ResearchSubject.shex>IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex>IMPORT <DocumentReference.shex> IMPORT <MedicationRequest.shex> IMPORT <AllergyIntolerance.shex> IMPORT <FamilyMemberHistory.shex> IMPORT <MedicationStatement.shex> IMPORT <QuestionnaireResponse.shex> IMPORT <MedicationAdministration.shex> IMPORT <BiologicallyDerivedProduct.shex>IMPORT <CodeableReference.shex> start=@<AdverseEvent> AND {fhir:nodeRole [fhir:treeRoot]} # An event that may be related to unintended effects on a patient or research participant <AdverseEvent> EXTENDS @<DomainResource> CLOSED {a [fhir:AdverseEvent]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:AdverseEvent]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Business identifier for the eventfhir:status @<code> ANDfhir:status @<Code> AND {fhir:v @fhirvs:adverse-event-status}; # in-progress | completed | # entered-in-error | unknownfhir:actuality @<code> ANDfhir:actuality @<Code> AND {fhir:v @fhirvs:adverse-event-actuality}; # actual | potential fhir:category @<OneOrMore_CodeableConcept>?; # wrong-patient | procedure-mishap | # medication-mishap | device | # unsafe-physical-environment | # hospital-aquired-infection | # wrong-body-site fhir:code @<CodeableConcept>?; # Event or incident that occurred or # was avertedfhir:subject @<Reference> AND {fhir:linkfhir:subject @<Reference> AND {fhir:l @<Group> OR @<Patient> OR @<Practitioner> OR@<RelatedPerson> OR @<ResearchSubject> ? }; # Subject impacted by event fhir:encounter @<Reference> AND {fhir:link@<RelatedPerson> ? }; # Subject impacted by event fhir:encounter @<Reference> AND {fhir:l @<Encounter> ? }?; # The Encounter associated with the # start of the AdverseEventfhir:occurrence @<dateTime> OR @<Period> OR @<Timing> ?; # When the event occurred fhir:detected @<dateTime>?; # When the event was detected fhir:recordedDate @<dateTime>?; # When the event was recorded fhir:resultingEffect @<OneOrMore_Reference_Condition_OR_Observation>?; # Effect on the subject due to thisfhir:effect @<DateTime> OR @<Period> ?; # When the effect of the # AdverseEvent occurred fhir:detected @<DateTime>?; # When the event was detected fhir:recordedDate @<DateTime>?; # When the event was recorded fhir:resultingEffect @<OneOrMore_CodeableReference>?; # Effect on the subject due to this # eventfhir:location @<Reference> AND {fhir:linkfhir:location @<Reference> AND {fhir:l @<Location> ? }?; # Location where adverse event # occurred fhir:seriousness @<CodeableConcept>?; # Seriousness or gravity of the event fhir:outcome @<OneOrMore_CodeableConcept>?; # Type of outcome from the adverse # eventfhir:recorder @<Reference> AND {fhir:linkfhir:recorder @<Reference> AND {fhir:l @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR@<RelatedPerson> OR @<ResearchSubject> ? }?; # Who recorded the adverse event@<RelatedPerson> ? }?; # Who recorded the adverse event fhir:participant @<OneOrMore_AdverseEvent.participant>?; # Who was involved in the adverse # event or the potential adverse # event and what they did fhir:study @<OneOrMore_Reference_ResearchStudy>?; # Research study that the subject is # enrolled infhir:expectedInResearchStudy @<boolean>?; # Considered likely or probable orfhir:expectedInResearchStudy @<Boolean>?; # Considered likely or probable or # anticipated in the research study fhir:suspectEntity @<OneOrMore_AdverseEvent.suspectEntity>?; # The suspected agent causing the # adverse eventfhir:contributingFactor @<OneOrMore_AdverseEvent.contributingFactor>?; # Contributing factors suspected tofhir:contributingFactor @<OneOrMore_CodeableReference>?; # Contributing factors suspected to # have increased the probability or # severity of the adverse eventfhir:preventiveAction @<OneOrMore_AdverseEvent.preventiveAction>?; # Preventive actions thatfhir:preventiveAction @<OneOrMore_CodeableReference>?; # Preventive actions that # contributed to avoiding the # adverse eventfhir:mitigatingAction @<OneOrMore_AdverseEvent.mitigatingAction>?; # Ameliorating actions taken after # the adverse event occured in order # to reduce the extent of harm fhir:supportingInfo @<OneOrMore_AdverseEvent.supportingInfo>?; # Supporting information relevant to # the eventfhir:mitigatingAction @<OneOrMore_CodeableReference>?; # Ameliorating actions taken after # the adverse event occurred in # order to reduce the extent of harm fhir:supportingInfo @<OneOrMore_CodeableReference>?; # Subject medical history or # document relevant to this adverse # event fhir:note @<OneOrMore_Annotation>?; # Comment on adverse event } # Information on the possible cause of the event <AdverseEvent.suspectEntity.causality> EXTENDS @<BackboneElement> CLOSED { fhir:assessmentMethod @<CodeableConcept>?; # Method of evaluating the # relatedness of the suspected # entity to the event fhir:entityRelatedness @<CodeableConcept>?; # Result of the assessment regarding # the relatedness of the suspected # entity to the eventfhir:author @<Reference> AND {fhir:linkfhir:author @<Reference> AND {fhir:l @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR@<RelatedPerson> OR @<ResearchSubject> ? }?; # Author of the information on the@<RelatedPerson> ? }?; # Author of the information on the # possible cause of the event }# Preventive actions that contributed to avoiding the adverse event <AdverseEvent.preventiveAction> EXTENDS @<BackboneElement> CLOSED { fhir:item (@<Reference> AND {fhir:link @<Immunization> OR @<Procedure> OR @<DocumentReference> OR @<MedicationAdministration> OR @<MedicationRequest> }) OR @<CodeableConcept> ; # Action that contributed to # avoiding the adverse event } # Ameliorating actions taken after the adverse event occured in order to reduce the extent of harm <AdverseEvent.mitigatingAction> EXTENDS @<BackboneElement> CLOSED { fhir:item (@<Reference> AND {fhir:link @<Procedure> OR @<DocumentReference> OR @<MedicationAdministration> OR @<MedicationRequest> }) OR @<CodeableConcept> ; # Ameliorating action taken after # the adverse event occured in order # to reduce the extent of harm# The suspected agent causing the adverse event <AdverseEvent.suspectEntity> EXTENDS @<BackboneElement> CLOSED { fhir:instance @<CodeableReference>; # Refers to the specific entity that # caused the adverse event fhir:causality @<AdverseEvent.suspectEntity.causality>?; # Information on the possible cause # of the event fhir:occurrence @<DateTime> OR @<Period> ?; # When the suspect entity occurred } # Who was involved in the adverse event or the potential adverse event and what they did <AdverseEvent.participant> EXTENDS @<BackboneElement> CLOSED { fhir:function @<CodeableConcept>?; # Type of involvementfhir:actor @<Reference> AND {fhir:linkfhir:actor @<Reference> AND {fhir:l @<CareTeam> OR @<Device> OR @<Group> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR@<RelatedPerson> OR @<ResearchSubject> ? }; # Who was involved in the adverse@<RelatedPerson> ? }; # Who was involved in the adverse # event or the potential adverse # event }# Contributing factors suspected to have increased the probability or severity of the adverse event <AdverseEvent.contributingFactor> EXTENDS @<BackboneElement> CLOSED { fhir:item (@<Reference> AND {fhir:link @<Condition> OR @<Observation> OR @<AllergyIntolerance> OR @<FamilyMemberHistory> OR @<Immunization> OR @<Procedure> OR @<Device> OR @<DeviceUsage> OR @<DocumentReference> OR @<MedicationAdministration> OR @<MedicationStatement> }) OR @<CodeableConcept> ; # Item suspected to have increased # the probability or severity of the # adverse event } # Supporting information relevant to the event <AdverseEvent.supportingInfo> EXTENDS @<BackboneElement> CLOSED { fhir:item (@<Reference> AND {fhir:link @<Condition> OR @<Observation> OR @<AllergyIntolerance> OR @<FamilyMemberHistory> OR @<Immunization> OR @<Procedure> OR @<DocumentReference> OR @<MedicationAdministration> OR @<MedicationStatement> OR @<QuestionnaireResponse> }) OR @<CodeableConcept> ; # Subject medical history or # document relevant to this adverse # event } # The suspected agent causing the adverse event <AdverseEvent.suspectEntity> EXTENDS @<BackboneElement> CLOSED { fhir:instance @<CodeableConcept> OR (@<Reference> AND {fhir:link @<Immunization> OR @<Procedure> OR @<Substance> OR @<Medication> OR @<MedicationAdministration> OR @<MedicationStatement> OR @<Device> OR @<BiologicallyDerivedProduct> OR @<ResearchStudy> }) ; # Refers to the specific entity that # caused the adverse event fhir:causality @<AdverseEvent.suspectEntity.causality>?; # Information on the possible cause # of the event }#---------------------- 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_Reference_Condition_OR_Observation> CLOSED { rdf:first @<Reference> AND {fhir:link @<Condition> OR @<Observation> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Condition_OR_Observation><OneOrMore_CodeableReference> CLOSED { rdf:first @<CodeableReference> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableReference> } <OneOrMore_AdverseEvent.participant> CLOSED { rdf:first @<AdverseEvent.participant> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.participant> } <OneOrMore_Reference_ResearchStudy> CLOSED {rdf:first @<Reference> AND {fhir:linkrdf:first @<Reference> AND {fhir:l @<ResearchStudy> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_ResearchStudy> } <OneOrMore_AdverseEvent.suspectEntity> CLOSED { rdf:first @<AdverseEvent.suspectEntity> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.suspectEntity> }<OneOrMore_AdverseEvent.contributingFactor> CLOSED { rdf:first @<AdverseEvent.contributingFactor> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.contributingFactor> } <OneOrMore_AdverseEvent.preventiveAction> CLOSED { rdf:first @<AdverseEvent.preventiveAction> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.preventiveAction> } <OneOrMore_AdverseEvent.mitigatingAction> CLOSED { rdf:first @<AdverseEvent.mitigatingAction> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.mitigatingAction> } <OneOrMore_AdverseEvent.supportingInfo> CLOSED { rdf:first @<AdverseEvent.supportingInfo> ; rdf:rest [rdf:nil] OR @<OneOrMore_AdverseEvent.supportingInfo> }<OneOrMore_Annotation> CLOSED { rdf:first @<Annotation> ; rdf:rest [rdf:nil] OR @<OneOrMore_Annotation> } #---------------------- Value Sets ------------------------ # Overall nature of the adverse event, e.g. real or potential. fhirvs:adverse-event-actuality ["actual" "potential"] # Codes identifying the lifecycle stage of an adverse event. fhirvs:adverse-event-status ["in-progress" "completed" "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:00+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change