@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://vgh-stroke-ig.fhir.tw/CodeSystem/smoking-status-detail> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "smoking-status-detail"] ;
  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: CodeSystem smoking-status-detail</b></p><a name=\"smoking-status-detail\"> </a><a name=\"hcsmoking-status-detail\"> </a><p>This case-sensitive code system <code>http://vgh-stroke-ig.fhir.tw/CodeSystem/smoking-status-detail</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"smoking-status-detail-1\"> </a></td><td>目前吸菸</td><td>目前仍在吸菸。</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"smoking-status-detail-2\"> </a></td><td>已戒菸（2 年或以下）</td><td>過去吸菸，已戒菸 2 年或以下。</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"smoking-status-detail-3\"> </a></td><td>已戒菸（2 年以上）</td><td>過去吸菸，已戒菸 2 年以上。</td></tr><tr><td style=\"white-space:nowrap\">Past<a name=\"smoking-status-detail-Past\"> </a></td><td>過去吸菸</td><td>過去吸菸且目前已戒菸，戒菸年數不詳。</td></tr><tr><td style=\"white-space:nowrap\">Current<a name=\"smoking-status-detail-Current\"> </a></td><td>目前吸菸</td><td>目前仍在吸菸。屬文字代碼組，與代碼 1 同義。</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://vgh-stroke-ig.fhir.tw/CodeSystem/smoking-status-detail"] ;
  fhir:CodeSystem.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.25.128120432650748829062353042460251730009" ]
  ] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "StrokeSmokingStatusDetailCS"] ;
  fhir:CodeSystem.title [ fhir:value "腦中風－吸菸狀態細分代碼"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-10-07T16:40:32+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "高雄榮民總醫院 (VGHKS)"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "高雄榮民總醫院 (VGHKS)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.vghks.gov.tw/" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "此 CodeSystem 保留吸菸狀態原始分組，與 SNOMED CT 吸菸狀態代碼並列於同一個 CodeableConcept。收錄兩組代碼：數字代碼（1、2、3）區分戒菸年數；文字代碼（Current、Past）不區分戒菸年數。"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "5"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "1" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "目前吸菸" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "目前仍在吸菸。" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "2" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "已戒菸（2 年或以下）" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "過去吸菸，已戒菸 2 年或以下。" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "3" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "已戒菸（2 年以上）" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "過去吸菸，已戒菸 2 年以上。" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "Past" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "過去吸菸" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "過去吸菸且目前已戒菸，戒菸年數不詳。" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "Current" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "目前吸菸" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "目前仍在吸菸。屬文字代碼組，與代碼 1 同義。" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://vgh-stroke-ig.fhir.tw/CodeSystem/smoking-status-detail.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

