@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://www.nricm.edu.tw/twcm/Condition/ConditionMedicalHistoryTWCM-present> a fhir:Condition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ConditionMedicalHistoryTWCM-present"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://www.nricm.edu.tw/twcm/StructureDefinition/conditionmedicalhistory-twcm" ;
       fhir:index 0 ;
       fhir:link <https://www.nricm.edu.tw/twcm/StructureDefinition/conditionmedicalhistory-twcm>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>現病史</b></h3><p><b>臨床狀態</b>：Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/condition-clinical\">ConditionClinicalStatusCodes</a>#active)</span></p><p><b>病情、問題或診斷分類</b>：History of Present illness Narrative <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://loinc.org/\">LOINC</a>#10164-2)</span></p><p><b>病情、問題或診斷識別</b>：第二型糖尿病，三年前於西醫診斷，目前口服降血糖藥控制 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw\">臺灣健保署2023年中文版ICD-10-CM</a>#E11.9)</span></p><p><b>發生時間</b>：三年前</p><p><b>病人</b>：<a href=\"Patient-PatientTWCM-min.html\">Patient/PatientTWCM-min</a> \"陳美真\"</p><p><b>就醫事件</b>：<a href=\"Encounter-EncounterTWCM-min.html\">Encounter/EncounterTWCM-min</a></p></div>"
  ] ;
  fhir:Condition.clinicalStatus [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ] ;
       fhir:Coding.code [ fhir:value "active" ]
     ]
  ] ;
  fhir:Condition.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:10164-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "10164-2" ] ;
       fhir:Coding.display [ fhir:value "History of Present illness Narrative" ]
     ]
  ] ;
  fhir:Condition.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2023-tw" ] ;
       fhir:Coding.code [ fhir:value "E11.9" ] ;
       fhir:Coding.display [ fhir:value "第二型糖尿病，未伴有併發症" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "第二型糖尿病，三年前於西醫診斷，目前口服降血糖藥控制" ]
  ] ;
  fhir:Condition.subject [
     fhir:link <https://www.nricm.edu.tw/twcm/Patient/PatientTWCM-min> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientTWCM-min" ]
  ] ;
  fhir:Condition.encounter [
     fhir:link <https://www.nricm.edu.tw/twcm/Encounter/EncounterTWCM-min> ;
     fhir:Reference.reference [ fhir:value "Encounter/EncounterTWCM-min" ]
  ] ;
  fhir:Condition.onsetString [ fhir:value "三年前"] .

# - ontology header ------------------------------------------------------------

<https://www.nricm.edu.tw/twcm/Condition/ConditionMedicalHistoryTWCM-present.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

