Foundation
Publish-box (todo)
| Orders and Observations Work Group | Maturity Level : N/A | Standards Status : Informative | Compartments : Encounter , Group , Patient , Practitioner , RelatedPerson |
ShEx statement for nutritionintake
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 <uri.shex>IMPORT <code.shex> IMPORT <Group.shex> IMPORT <Ratio.shex> IMPORT <Period.shex> IMPORT <Timing.shex> IMPORT <Device.shex> IMPORT <Patient.shex> IMPORT <boolean.shex> IMPORT <dateTime.shex> IMPORT <Location.shex> IMPORT <Quantity.shex> IMPORT <CareTeam.shex> IMPORT <CarePlan.shex> IMPORT <Resource.shex>IMPORT <canonical.shex>IMPORT <Reference.shex> IMPORT <Encounter.shex> IMPORT <Procedure.shex> IMPORT <Identifier.shex> IMPORT <Annotation.shex> IMPORT <Observation.shex> IMPORT <Practitioner.shex> IMPORT <Organization.shex> IMPORT <RelatedPerson.shex> IMPORT <DomainResource.shex> IMPORT <NutritionOrder.shex> IMPORT <ServiceRequest.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <CodeableReference.shex> start=@<NutritionIntake> AND {fhir:nodeRole [fhir:treeRoot]}# Record of food or fluid being taken by a patient# Record of intake by a patient <NutritionIntake> EXTENDS @<DomainResource> CLOSED {a [fhir:NutritionIntake]?; fhir:nodeRole [fhir:treeRoot]?;a [fhir:NutritionIntake]?;fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # External identifierfhir:instantiatesCanonical @<OneOrMore_canonical>?; # Instantiates FHIR protocol or # definition fhir:instantiatesUri @<OneOrMore_uri>?; # Instantiates external protocol or # definitionfhir:basedOn @<OneOrMore_Reference_CarePlan_OR_NutritionOrder_OR_ServiceRequest>?; # Fulfils plan, proposal or order fhir:partOf @<OneOrMore_Reference_NutritionIntake_OR_Observation_OR_Procedure>?; # Part of referenced event fhir:status @<code> AND {fhir:v @fhirvs:event-status}; # preparation | in-progress | # not-done | on-hold | stopped | # completed | entered-in-error | # unknown fhir:statusReason @<OneOrMore_CodeableConcept>?; # Reason for current status fhir:code @<CodeableConcept>?; # Code representing an overall type # of nutrition intake fhir:subject @<Reference> AND {fhir:link @<Group> OR@<Patient> ? }; # Who is/was consuming the food or # fluid@<Patient> ? }; # Who is/was consuming the food # (i.e. solid and/or liquid) fhir:encounter @<Reference> AND {fhir:link @<Encounter> ? }?; # Encounter associated with # NutritionIntake fhir:occurrence @<dateTime> OR @<Period> ?; # The date/time or interval when the# food or fluid is/was consumed# food (i.e. solid and/or liquid) # is/was consumed fhir:recorded @<dateTime>?; # When the intake was recorded fhir:reported @<boolean> OR (@<Reference> AND {fhir:link @<Patient> OR @<RelatedPerson> OR @<Practitioner> OR @<PractitionerRole> OR@<Organization> }) ?; # Person or organization that@<Organization> OR @<Group> }) ?; # Indicates if this is a reported # rather than a primary record. Can # also indicate the source that # provided the information about the# consumption of this food or fluid fhir:consumedItem @<OneOrMore_NutritionIntake.consumedItem>; # What food or fluid product or item # was consumed fhir:ingredientLabel @<OneOrMore_NutritionIntake.ingredientLabel>?; # Total nutrient for the whole meal, # product, serving fhir:performer @<OneOrMore_NutritionIntake.performer>?; # Who was performed in the intake# consumption fhir:nutritionItem @<OneOrMore_NutritionIntake.nutritionItem>?; # The nutrition product intended for # consumption and/or administration fhir:performer @<OneOrMore_NutritionIntake.performer>?; # Who or what performed the intake # and how they were involved fhir:location @<Reference> AND {fhir:link @<Location> ? }?; # Where the intake occurred fhir:derivedFrom @<OneOrMore_Reference_Resource>?; # Additional supporting informationfhir:reason @<OneOrMore_CodeableReference>?; # Reason for why the food or fluid # is /was consumedfhir:reason @<OneOrMore_CodeableReference>?; # Reason for why the food (i.e. # solid and/or liquid) is /was # consumed fhir:note @<OneOrMore_Annotation>?; # Further information about the # consumption }# What food or fluid product or item was consumed <NutritionIntake.consumedItem> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>; # The type of food or fluid product fhir:nutritionProduct @<CodeableReference>; # Code that identifies the food or # fluid product that was consumed fhir:schedule @<Timing>?; # Scheduled frequency of consumption fhir:amount @<Quantity>?; # Quantity of the specified food fhir:rate @<Quantity>?; # Rate at which enteral feeding was # administered fhir:notConsumed @<boolean>?; # Flag to indicate if the food or # fluid item was refused or # otherwise not consumed fhir:notConsumedReason @<CodeableConcept>?; # Reason food or fluid was not# What nutrition item was not consumed <NutritionIntake.nutritionItem.notConsumedItem> EXTENDS @<BackboneElement> CLOSED { fhir:reason @<CodeableConcept>?; # Reason the nutrition item was not # consumed fhir:schedule @<Timing>?; # The intended frequency of # consumption that was not followed fhir:amount @<Quantity>?; # Quantity of the specified food # (i.e. solid and/or liquid) that # was not consumed }# Total nutrient for the whole meal, product, serving <NutritionIntake.ingredientLabel> EXTENDS @<BackboneElement> CLOSED { fhir:nutrient @<CodeableReference>; # Total nutrient consumed# Nutrients and/or energy contained in the intake <NutritionIntake.nutritionItem.consumedItem.totalIntake> EXTENDS @<BackboneElement> CLOSED { fhir:nutrient @<CodeableReference>; # Type of nutrient consumed in the # intake fhir:amount @<Quantity>; # Total amount of nutrient consumed fhir:energy @<Quantity>?; # Total energy consumed in # kilocalories or kilojoules }# Who was performed in the intake# Who or what performed the intake and how they were involved <NutritionIntake.performer> EXTENDS @<BackboneElement> CLOSED { fhir:function @<CodeableConcept>?; # Type of performer fhir:actor @<Reference> AND {fhir:link @<CareTeam> OR @<Device> OR @<Group> OR @<Organization> OR @<Patient> OR @<Practitioner> OR @<PractitionerRole> OR@<RelatedPerson> ? }; # Who performed the intake@<RelatedPerson> ? }; # Who or what performed the intake }#---------------------- Cardinality Types (OneOrMore) -------------------# The nutrition product intended for consumption and/or administration <NutritionIntake.nutritionItem> EXTENDS @<BackboneElement> CLOSED { fhir:type @<CodeableConcept>?; # The type of food (i.e. solid or # liquid) product fhir:nutritionProduct @<CodeableReference>?; # A product used for nutritional # purposes (e.g. food or supplement) fhir:consumedItem @<OneOrMore_NutritionIntake.nutritionItem.consumedItem>?; # What nutrition item was consumed fhir:notConsumedItem @<OneOrMore_NutritionIntake.nutritionItem.notConsumedItem>?; # What nutrition item was not # consumed } # What nutrition item was consumed <NutritionIntake.nutritionItem.consumedItem> EXTENDS @<BackboneElement> CLOSED { fhir:schedule @<Timing>?; # Scheduled frequency of consumption fhir:amount @<Quantity>?; # Quantity of the specified food # (i.e. solid and/or liquid) fhir:rate @<Quantity> OR @<Ratio> ?; # Rate of enteral feeding # administration fhir:totalIntake @<OneOrMore_NutritionIntake.nutritionItem.consumedItem.totalIntake>?; # Nutrients and/or energy contained # in the intake } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> }<OneOrMore_canonical> CLOSED { rdf:first @<canonical> ; rdf:rest [rdf:nil] OR @<OneOrMore_canonical> } <OneOrMore_uri> CLOSED { rdf:first @<uri> ; rdf:rest [rdf:nil] OR @<OneOrMore_uri> }<OneOrMore_Reference_CarePlan_OR_NutritionOrder_OR_ServiceRequest> CLOSED { rdf:first @<Reference> AND {fhir:link @<CarePlan> OR @<NutritionOrder> OR @<ServiceRequest> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_CarePlan_OR_NutritionOrder_OR_ServiceRequest> } <OneOrMore_Reference_NutritionIntake_OR_Observation_OR_Procedure> CLOSED { rdf:first @<Reference> AND {fhir:link @<NutritionIntake> OR @<Observation> OR @<Procedure> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_NutritionIntake_OR_Observation_OR_Procedure> } <OneOrMore_CodeableConcept> CLOSED { rdf:first @<CodeableConcept> ; rdf:rest [rdf:nil] OR @<OneOrMore_CodeableConcept> }<OneOrMore_NutritionIntake.consumedItem> CLOSED { rdf:first @<NutritionIntake.consumedItem> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.consumedItem> } <OneOrMore_NutritionIntake.ingredientLabel> CLOSED { rdf:first @<NutritionIntake.ingredientLabel> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.ingredientLabel><OneOrMore_NutritionIntake.nutritionItem> CLOSED { rdf:first @<NutritionIntake.nutritionItem> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.nutritionItem> } <OneOrMore_NutritionIntake.performer> CLOSED { rdf:first @<NutritionIntake.performer> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.performer> } <OneOrMore_Reference_Resource> CLOSED { rdf:first @<Reference> AND {fhir:link @<Resource> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Resource> } <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_NutritionIntake.nutritionItem.consumedItem> CLOSED { rdf:first @<NutritionIntake.nutritionItem.consumedItem> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.nutritionItem.consumedItem> } <OneOrMore_NutritionIntake.nutritionItem.notConsumedItem> CLOSED { rdf:first @<NutritionIntake.nutritionItem.notConsumedItem> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.nutritionItem.notConsumedItem> } <OneOrMore_NutritionIntake.nutritionItem.consumedItem.totalIntake> CLOSED { rdf:first @<NutritionIntake.nutritionItem.consumedItem.totalIntake> ; rdf:rest [rdf:nil] OR @<OneOrMore_NutritionIntake.nutritionItem.consumedItem.totalIntake> } #---------------------- Value Sets ------------------------ # Codes identifying the lifecycle stage of an event. fhirvs:event-status ["preparation" "in-progress" "not-done" "on-hold" "stopped" "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:25+1100.
Tue,
Apr
1,
2025
12:25+1100.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
|
Propose
a
change