PREFIX fhir:
PREFIX fhirvs:
PREFIX xsd:
PREFIX rdf:
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
IMPORT
start=@ AND {fhir:nodeRole [fhir:treeRoot]}
# Record of food or fluid being taken by a patient
EXTENDS @ CLOSED {
a [fhir:NutritionIntake]?;
fhir:nodeRole [fhir:treeRoot]?;
fhir:identifier @?; # External identifier
fhir:instantiatesCanonical @?; # Instantiates FHIR protocol or
# definition
fhir:instantiatesUri @?; # Instantiates external protocol or
# definition
fhir:basedOn @?; # Fulfils plan, proposal or order
fhir:partOf @?; # Part of referenced event
fhir:status @ AND
{fhir:v @fhirvs:event-status}; # preparation | in-progress |
# not-done | on-hold | stopped |
# completed | entered-in-error |
# unknown
fhir:statusReason @?; # Reason for current status
fhir:code @?; # Code representing an overall type
# of nutrition intake
fhir:subject @ AND {fhir:link
@ OR
@ ? }; # Who is/was consuming the food or
# fluid
fhir:encounter @ AND {fhir:link
@ ? }?; # Encounter associated with
# NutritionIntake
fhir:occurrence @ OR
@ ?; # The date/time or interval when the
# food or fluid is/was consumed
fhir:recorded @?; # When the intake was recorded
fhir:reported @ OR
(@ AND {fhir:link @ OR
@ OR
@ OR
@ OR
@ }) ?; # Person or organization that
# provided the information about the
# consumption of this food or fluid
fhir:consumedItem @; # What food or fluid product or item
# was consumed
fhir:ingredientLabel @?; # Total nutrient for the whole meal,
# product, serving
fhir:performer @?; # Who was performed in the intake
fhir:location @ AND {fhir:link
@ ? }?; # Where the intake occurred
fhir:derivedFrom @?; # Additional supporting information
fhir:reason @?; # Reason for why the food or fluid
# is /was consumed
fhir:note @?; # Further information about the
# consumption
}
# What food or fluid product or item was consumed
EXTENDS @ CLOSED {
fhir:type @; # The type of food or fluid product
fhir:nutritionProduct @; # Code that identifies the food or
# fluid product that was consumed
fhir:schedule @?; # Scheduled frequency of consumption
fhir:amount @?; # Quantity of the specified food
fhir:rate @?; # Rate at which enteral feeding was
# administered
fhir:notConsumed @?; # Flag to indicate if the food or
# fluid item was refused or
# otherwise not consumed
fhir:notConsumedReason @?; # Reason food or fluid was not
# consumed
}
# Who was performed in the intake
EXTENDS @ CLOSED {
fhir:function @?; # Type of performer
fhir:actor @ AND {fhir:link
@ OR
@ OR
@ OR
@ OR
@ OR
@ OR
@ ? }; # Who performed the intake
}
# Total nutrient for the whole meal, product, serving
EXTENDS @ CLOSED {
fhir:nutrient @; # Total nutrient consumed
fhir:amount @; # Total amount of nutrient consumed
}
#---------------------- Cardinality Types (OneOrMore) -------------------
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ OR
@ OR
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ AND {fhir:link
@ } ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
CLOSED {
rdf:first @ ;
rdf:rest [rdf:nil] OR @
}
#---------------------- 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"]