QI-Core Implementation Guide
6.0.0-ballot - ballot United States of America flag

This page is part of the Quality Improvement Core Framework (v6.0.0-ballot: STU6 (v6.0.0) Ballot 1) based on FHIR R4. The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

: Nutrition Intake example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:_Basic ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionintake"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionintake>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Basic</b><a name=\"example\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Basic &quot;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-nutritionintake.html\">QICore Nutrition Intake</a></p></div><p><b>Event Subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>Event Encounter</b>: <a href=\"Encounter-example.html\">Encounter/example</a></p><p><b>Event Occurrence</b>: 2017-01-29 12:34:56+0000</p><blockquote><p><b>modifierExtension[http://hl7.org/fhir/StructureDefinition/event-status]</b></p></blockquote><p><b>identifier</b>: id: 49921019</p><p><b>code</b>: Breast milk <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#226789007)</span></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/event-subject"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Patient/example" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/event-encounter"^^xsd:anyURI ] ;
fhir:value [
a fhir:Reference ;
fhir:reference [ fhir:v "Encounter/example" ]     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/event-occurrence"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2017-01-29T12:34:56+00:00"^^xsd:dateTime ]
  ] ) ; #     the patient that actually had the adverse event    
  fhir:modifierExtension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/event-status"^^xsd:anyURI ] ;
fhir:value [ fhir:v "completed" ]
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://acme.com/ids/patients/nutritionintake"^^xsd:anyURI ] ;
fhir:value [ fhir:v "49921019" ]
  ] ) ; #     an identifier used for this nutrition intake  
  fhir:code [
    ( fhir:coding [
a sct:226789007 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ; #     example uses SNOMED CT    
fhir:code [ fhir:v "226789007" ] ;
fhir:display [ fhir:v "Breast milk" ]     ] )
  ] . #