@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://twcore.mohw.gov.tw/ig/twcore/Observation/obs-bmi-example> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "obs-bmi-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bmi-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-bmi-twcore>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>檢驗檢查資料</b></h3><p><b>狀態</b>：final</p><p><b>分類</b>：Vital Signs <span style=\"background: LightGoldenRodYellow; margin：4px; border：1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-observation-category.html\">Observation Category Codes</a>#vital-signs)</span></p><p><b>檢驗項目</b>：Body mass index (BMI) [Ratio] <span style=\"background: LightGoldenRodYellow; margin：4px; border：1px solid khaki\">( <a href=\"http://loinc.org\">LOINC</a>#39156-5 \"Body mass index (BMI) [Ratio]\")</span></p><p><b>病人</b>： <a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>檢查者</b>：<a href=\"Practitioner-pra-dr-example.html\">Practitioner/pra-dr-example</a> \"王依昇\"</p><p><b>執行日期</b>：2022-07-31</p><p><b>檢驗值</b>：18.3 kg/m<sup>2</sup></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/observation-category>
       ] ;
       fhir:code [ fhir:v "vital-signs" ] ;
       fhir:display [ fhir:v "Vital Signs" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:39156-5 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "39156-5" ] ;
       fhir:display [ fhir:v "Body mass index (BMI) [Ratio]" ]
     ] ) ;
     fhir:text [ fhir:v "Body mass index (BMI) [Ratio]" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ;
     fhir:reference [ fhir:v "Patient/pat-example" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2022-07-31"^^xsd:date
  ] ; # 
  fhir:performer ( [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Practitioner/pra-dr-example> ;
     fhir:reference [ fhir:v "Practitioner/pra-dr-example" ]
  ] ) ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v 18.3 ] ;
     fhir:unit [ fhir:v "kg/m2" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "kg/m2" ]
  ] . # 

# -------------------------------------------------------------------------------------

