@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://sfaa.gov.tw/base/Observation/body-weight-min> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "body-weight-min"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation body-weight-min</b></p><a name=\"body-weight-min\"> </a><a name=\"hcbody-weight-min\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category vital-signs}\">Vital Signs</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 29463-7}\">Body weight</span></p><p><b>subject</b>: <a href=\"Patient-pat-min.html\">王小明 Male, DoB: 2001-01-01 ( 服務對象編號: CLIENT-001 (use: official, ))</a></p><p><b>effective</b>: 2026-08-19 09:00:00+0800</p><p><b>value</b>: 52.4 kg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codekg = 'kg')</span></p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "vital-signs" ] ;
       fhir:Coding.display [ fhir:value "Vital Signs" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:29463-7 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "29463-7" ] ;
       fhir:Coding.display [ fhir:value "Body weight" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://sfaa.gov.tw/base/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-08-19T09:00:00+08:00"^^xsd:dateTime] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "52.4"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "kg" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "kg" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/Observation/body-weight-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

