Foundation
This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
v6.0.0-ballot1:
Release
6
Ballot
(1st
Draft)
(see
Ballot
Notes
).
This
is
the
The
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
| Patient Care Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Device , Patient , Practitioner |
ShEx statement for flag
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 <Period.shex> IMPORT <Device.shex> IMPORT <Patient.shex> IMPORT <Location.shex> IMPORT <Reference.shex> IMPORT <Procedure.shex> IMPORT <Encounter.shex> IMPORT <Identifier.shex> IMPORT <Medication.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <DomainResource.shex> IMPORT <PlanDefinition.shex> IMPORT <CodeableConcept.shex> IMPORT <PractitionerRole.shex> start=@<Flag> AND {fhir:nodeRole [fhir:treeRoot]} # Key information to flag to healthcare providers <Flag> EXTENDS @<DomainResource> CLOSED { a [fhir:Flag]?; fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Business identifier fhir:status @<code> AND {fhir:v @fhirvs:flag-status}; # active | inactive | # entered-in-error fhir:category @<OneOrMore_CodeableConcept>?; # Clinical, administrative, etc fhir:code @<CodeableConcept>; # Coded or textual message to # display to user fhir:subject @<Reference> AND {fhir:link @<Group> OR @<Location> OR @<Medication> OR @<Organization> OR @<Patient> OR @<PlanDefinition> OR @<Practitioner> OR @<PractitionerRole> OR @<Procedure> OR @<RelatedPerson> ? }; # Who/What is flag about? fhir:period @<Period>?; # Time period when flag is active fhir:encounter @<Reference> AND {fhir:link @<Encounter> ? }?; # Alert relevant during encounter fhir:author @<Reference> AND {fhir:link @<Device> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Flag creator } #---------------------- 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> } #---------------------- Value Sets ------------------------ # Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error. fhirvs:flag-status ["active" "inactive" "entered-in-error"]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 <Period.shex> IMPORT <Device.shex> IMPORT <Patient.shex> IMPORT <Location.shex> IMPORT <Reference.shex> IMPORT <Procedure.shex> IMPORT <Encounter.shex> IMPORT <Condition.shex> IMPORT <Identifier.shex> IMPORT <Medication.shex> IMPORT <Observation.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <RelatedPerson.shex> IMPORT <DomainResource.shex> IMPORT <PlanDefinition.shex> IMPORT <RiskAssessment.shex> IMPORT <CodeableConcept.shex> IMPORT <PractitionerRole.shex> IMPORT <AllergyIntolerance.shex> start=@<Flag> AND {fhir:nodeRole [fhir:treeRoot]} # Key information to flag to healthcare providers <Flag> EXTENDS @<DomainResource> CLOSED { a [fhir:Flag]?; fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # Business identifier fhir:status @<code> AND {fhir:v @fhirvs:flag-status}; # active | inactive | # entered-in-error fhir:category @<OneOrMore_CodeableConcept>?; # Clinical, administrative, etc fhir:code @<CodeableConcept>; # Coded or textual message to # display to user fhir:subject @<Reference> AND {fhir:link @<Group> OR @<Location> OR @<Medication> OR @<Organization> OR @<Patient> OR @<PlanDefinition> OR @<Practitioner> OR @<PractitionerRole> OR @<Procedure> OR @<RelatedPerson> ? }; # Who/What is flag about? fhir:period @<Period>?; # Time period when flag is active fhir:encounter @<Reference> AND {fhir:link @<Encounter> ? }?; # Alert relevant during encounter fhir:author @<Reference> AND {fhir:link @<Device> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR @<RelatedPerson> ? }?; # Flag creator fhir:supportingInfo @<OneOrMore_Reference_AllergyIntolerance_OR_Condition_OR_Observation_OR_Procedure_OR_RiskAssessment>?; # Extra information to use in # context of the flag } #---------------------- 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_AllergyIntolerance_OR_Condition_OR_Observation_OR_Procedure_OR_RiskAssessment> CLOSED { rdf:first @<Reference> AND {fhir:link @<AllergyIntolerance> OR @<Condition> OR @<Observation> OR @<Procedure> OR @<RiskAssessment> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_AllergyIntolerance_OR_Condition_OR_Observation_OR_Procedure_OR_RiskAssessment> } #---------------------- Value Sets ------------------------ # Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error. fhirvs:flag-status ["active" "inactive" "entered-in-error"]
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-ballot1
generated
on
Sun,
Mar
26,
Mon,
Dec
18,
2023
15:24+1100.
15:17+1100.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
|
Propose
a
change