@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/542ae72e-c3b0-404f-8c06-8f77441e89f7> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "542ae72e-c3b0-404f-8c06-8f77441e89f7"] ; # 
  fhir:meta [
     fhir:versionId [ fhir:v "1" ] ;
     fhir:lastUpdated [ fhir:v "2019-05-17T13:15:04.491+03:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://phr.kanta.fi/StructureDefinition/fiphr-sd-calorieintake"^^xsd:anyURI ;
       fhir:link <http://phr.kanta.fi/StructureDefinition/fiphr-sd-calorieintake>
     ] )
  ] ; # 
  fhir:language [ fhir:v "fi"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><div class=\"hapiHeaderText\"> Mittaustulos<b>Boldattuu </b></div><table class=\"hapiPropertyTable\"><tbody><tr><td>Identifier</td><td>Patient/c78aca7d-a983-4989-aa8f-68436068cd26</td></tr></tbody></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "name"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "usecaseWebApp"
       ]
     ] [
       fhir:url [ fhir:v "applicationId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "usecaseWebApp"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication"^^xsd:anyURI ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:uuid:be18620b-ee17-4bd6-8304-102fdd10a38r" ]
  ] ) ; # 
  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:9052-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "9052-2" ] ;
       fhir:display [ fhir:v "Calorie intake total" ]
     ] )
  ] ; # 
  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:02.781+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 "2600"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "kcal" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "kcal" ]
  ] . # 

# -------------------------------------------------------------------------------------

