@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 -------------------------------------------------------------------

<https://www.nricm.edu.tw/twcm/CodeSystem/twcm-fourdiagnosis-category> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "twcm-fourdiagnosis-category"] ;
  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 twcm-fourdiagnosis-category</b></p><a name=\"twcm-fourdiagnosis-category\"> </a><a name=\"hctwcm-fourdiagnosis-category\"> </a><p>This case-sensitive code system <code>https://www.nricm.edu.tw/twcm/CodeSystem/twcm-fourdiagnosis-category</code> defines the following codes in a Grouped By hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">望診<a name=\"twcm-fourdiagnosis-category-.26395.35386\"> </a></td><td>望診</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  望神<a name=\"twcm-fourdiagnosis-category-.26395.31070\"> </a></td><td>精神／意識／行為／情緒／性格(望神)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  望體<a name=\"twcm-fourdiagnosis-category-.26395.39636\"> </a></td><td>體(望)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  望頭面<a name=\"twcm-fourdiagnosis-category-.26395.38957.38754\"> </a></td><td>頭面部(望)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  望目<a name=\"twcm-fourdiagnosis-category-.26395.30446\"> </a></td><td>目部(望)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  望皮膚<a name=\"twcm-fourdiagnosis-category-.26395.30382.33178\"> </a></td><td>皮膚(望)</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">聞診<a name=\"twcm-fourdiagnosis-category-.32862.35386\"> </a></td><td>聞診</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  聞語音<a name=\"twcm-fourdiagnosis-category-.32862.35486.38899\"> </a></td><td>語音(聞)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  聞氣味<a name=\"twcm-fourdiagnosis-category-.32862.27683.21619\"> </a></td><td>氣味(聞)</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">問診<a name=\"twcm-fourdiagnosis-category-.21839.35386\"> </a></td><td>問診</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問寒熱<a name=\"twcm-fourdiagnosis-category-.21839.23506.29105\"> </a></td><td>寒熱(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問汗<a name=\"twcm-fourdiagnosis-category-.21839.27735\"> </a></td><td>汗(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問體<a name=\"twcm-fourdiagnosis-category-.21839.39636\"> </a></td><td>體(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問頭面<a name=\"twcm-fourdiagnosis-category-.21839.38957.38754\"> </a></td><td>頭面部(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問目<a name=\"twcm-fourdiagnosis-category-.21839.30446\"> </a></td><td>目部(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問耳<a name=\"twcm-fourdiagnosis-category-.21839.32819\"> </a></td><td>耳朵(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問鼻咽<a name=\"twcm-fourdiagnosis-category-.21839.40763.21693\"> </a></td><td>鼻咽部(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問飲食口味<a name=\"twcm-fourdiagnosis-category-.21839.39154.39135.21475.21619\"> </a></td><td>飲食／口味(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問睡眠<a name=\"twcm-fourdiagnosis-category-.21839.30561.30496\"> </a></td><td>睡眠(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問小便<a name=\"twcm-fourdiagnosis-category-.21839.23567.20415\"> </a></td><td>小便(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問大便<a name=\"twcm-fourdiagnosis-category-.21839.22823.20415\"> </a></td><td>大便(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問精神<a name=\"twcm-fourdiagnosis-category-.21839.31934.31070\"> </a></td><td>精神／意識／行為／情緒／性格(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問婦女<a name=\"twcm-fourdiagnosis-category-.21839.23142.22899\"> </a></td><td>婦女相關(問)</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  問男性<a name=\"twcm-fourdiagnosis-category-.21839.30007.24615\"> </a></td><td>男性相關(問)</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">切診<a name=\"twcm-fourdiagnosis-category-.20999.35386\"> </a></td><td>切診</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  按診<a name=\"twcm-fourdiagnosis-category-.25353.35386\"> </a></td><td>按診(切)</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://www.nricm.edu.tw/twcm/CodeSystem/twcm-fourdiagnosis-category"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "TWCMFourDiagnosisCategory"] ;
  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-09-30"^^xsd:date] ;
  fhir:CodeSystem.publisher [ fhir:value "衛生福利部國家中醫藥研究所"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "衛生福利部國家中醫藥研究所" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.nricm.edu.tw/" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "中醫門診單四診紀錄之分類，用於望診、聞診、問診、切診Observation之component.code，以區分各component所記錄的項目。"] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "grouped-by"] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "26"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "望診" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "望診" ] ;
     fhir:CodeSystem.concept.concept [
       fhir:index 0 ;
       fhir:CodeSystem.concept.code [ fhir:value "望神" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "精神／意識／行為／情緒／性格(望神)" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.code [ fhir:value "望體" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "體(望)" ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.code [ fhir:value "望頭面" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "頭面部(望)" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.code [ fhir:value "望目" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "目部(望)" ]
     ], [
       fhir:index 4 ;
       fhir:CodeSystem.concept.code [ fhir:value "望皮膚" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "皮膚(望)" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "聞診" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "聞診" ] ;
     fhir:CodeSystem.concept.concept [
       fhir:index 0 ;
       fhir:CodeSystem.concept.code [ fhir:value "聞語音" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "語音(聞)" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.code [ fhir:value "聞氣味" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "氣味(聞)" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "問診" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "問診" ] ;
     fhir:CodeSystem.concept.concept [
       fhir:index 0 ;
       fhir:CodeSystem.concept.code [ fhir:value "問寒熱" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "寒熱(問)" ]
     ], [
       fhir:index 1 ;
       fhir:CodeSystem.concept.code [ fhir:value "問汗" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "汗(問)" ]
     ], [
       fhir:index 2 ;
       fhir:CodeSystem.concept.code [ fhir:value "問體" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "體(問)" ]
     ], [
       fhir:index 3 ;
       fhir:CodeSystem.concept.code [ fhir:value "問頭面" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "頭面部(問)" ]
     ], [
       fhir:index 4 ;
       fhir:CodeSystem.concept.code [ fhir:value "問目" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "目部(問)" ]
     ], [
       fhir:index 5 ;
       fhir:CodeSystem.concept.code [ fhir:value "問耳" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "耳朵(問)" ]
     ], [
       fhir:index 6 ;
       fhir:CodeSystem.concept.code [ fhir:value "問鼻咽" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "鼻咽部(問)" ]
     ], [
       fhir:index 7 ;
       fhir:CodeSystem.concept.code [ fhir:value "問飲食口味" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "飲食／口味(問)" ]
     ], [
       fhir:index 8 ;
       fhir:CodeSystem.concept.code [ fhir:value "問睡眠" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "睡眠(問)" ]
     ], [
       fhir:index 9 ;
       fhir:CodeSystem.concept.code [ fhir:value "問小便" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "小便(問)" ]
     ], [
       fhir:index 10 ;
       fhir:CodeSystem.concept.code [ fhir:value "問大便" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "大便(問)" ]
     ], [
       fhir:index 11 ;
       fhir:CodeSystem.concept.code [ fhir:value "問精神" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "精神／意識／行為／情緒／性格(問)" ]
     ], [
       fhir:index 12 ;
       fhir:CodeSystem.concept.code [ fhir:value "問婦女" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "婦女相關(問)" ]
     ], [
       fhir:index 13 ;
       fhir:CodeSystem.concept.code [ fhir:value "問男性" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "男性相關(問)" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "切診" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "切診" ] ;
     fhir:CodeSystem.concept.concept [
       fhir:index 0 ;
       fhir:CodeSystem.concept.code [ fhir:value "按診" ] ;
       fhir:CodeSystem.concept.display [ fhir:value "按診(切)" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://www.nricm.edu.tw/twcm/CodeSystem/twcm-fourdiagnosis-category.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

