@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://hl7.fi/fhir/finnish-base-profiles/Observation/2894b2e6-7ebf-4c33-93e4-31935effff21> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "2894b2e6-7ebf-4c33-93e4-31935effff21"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2019-05-17T13:18:24.407+03:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://phr.kanta.fi/StructureDefinition/fiphr-sd-macronutrientintake"^^xsd:anyURI ;
       fhir:link <http://phr.kanta.fi/StructureDefinition/fiphr-sd-macronutrientintake>
     ] )
  ] ; # 
  fhir:language [ fhir:v "fi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">asd</div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:uuid:be18620b-ee17-4bd6-8304-102fdd10a38d" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://phr.kanta.fi/CodeSystem/fiphr-cs-observationcategory"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "nutrition" ] ;
       fhir:display [ fhir:v "Nutrition" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:9059-7 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "9059-7" ] ;
       fhir:display [ fhir:v "Carbohydrate intake Estimated" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <https://hl7.fi/fhir/finnish-base-profiles/Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad> ;
     fhir:reference [ fhir:v "Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad" ]
  ] ; # 
  fhir:effective [
     a fhir:dateTime ;
     fhir:v "2019-05-17"^^xsd:date
  ] ; # 
  fhir:issued [ fhir:v "2019-05-17T13:15:25.665+03:00"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:link <https://hl7.fi/fhir/finnish-base-profiles/Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad> ;
     fhir:reference [ fhir:v "Patient/daf8ca40-b46c-4c6b-99d5-d3a1b77074ad" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "10"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "g" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "g" ]
  ] . # 

# -------------------------------------------------------------------------------------

