@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "ex-diagnosistype"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-24T00:00:00+00:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "fm" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:value [ fhir:v "1" ]
  ] ) ;
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-diagnosistype"], [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-diagnosistype"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1167" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1167" ]
  ] ) ;
  fhir:version [ fhir:v "1.0.1"], [ fhir:v "1.0.1"] ;
  fhir:name [ fhir:v "ExampleDiagnosisTypeCodes"], [ fhir:v "ExampleDiagnosisTypeCodes"] ;
  fhir:title [ fhir:v "Example Diagnosis Type Codes"], [ fhir:v "Example Diagnosis Type Codes"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2025-03-11T17:00:17+00:00"], [ fhir:v "2025-03-11T17:00:17+00:00"] ;
  fhir:publisher [ fhir:v "Health Level Seven International"], [ fhir:v "Health Level Seven International"] ;
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ;
  fhir:description [ fhir:v "This value set includes example Diagnosis Type codes."], [ fhir:v "This value set includes example Diagnosis Type codes."] ;
  fhir:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"], [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"] ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/ex-diagnosistype"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "admitting" ] ;
     fhir:display [ fhir:v "Admitting Diagnosis" ] ;
     fhir:definition [ fhir:v "The diagnosis given as the reason why the patient was admitted to the hospital." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Admitting Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "clinical" ] ;
     fhir:display [ fhir:v "Clinical Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis made on the basis of medical signs and patient-reported symptoms, rather than diagnostic tests." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Clinical Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "differential" ] ;
     fhir:display [ fhir:v "Differential Diagnosis" ] ;
     fhir:definition [ fhir:v "One of a set of the possible diagnoses that could be connected to the signs, symptoms, and lab findings." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Differential Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "discharge" ] ;
     fhir:display [ fhir:v "Discharge Diagnosis" ] ;
     fhir:definition [ fhir:v "The diagnosis given when the patient is discharged from the hospital." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Discharge Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "laboratory" ] ;
     fhir:display [ fhir:v "Laboratory Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis based significantly on laboratory reports or test results, rather than the physical examination of the patient." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Laboratory Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "nursing" ] ;
     fhir:display [ fhir:v "Nursing Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis which identifies people's responses to situations in their lives, such as a readiness to change or a willingness to accept assistance." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Nursing Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "prenatal" ] ;
     fhir:display [ fhir:v "Prenatal Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis determined prior to birth." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Prenatal Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "principal" ] ;
     fhir:display [ fhir:v "Principal Diagnosis" ] ;
     fhir:definition [ fhir:v "The single medical diagnosis that is most relevant to the patient's chief complaint or need for treatment." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Principal Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "radiology" ] ;
     fhir:display [ fhir:v "Radiology Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis based primarily on the results from medical imaging studies." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Radiology Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "remote" ] ;
     fhir:display [ fhir:v "Remote Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis determined using telemedicine techniques." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Remote Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "retrospective" ] ;
     fhir:display [ fhir:v "Retrospective Diagnosis" ] ;
     fhir:definition [ fhir:v "The labeling of an illness in a specific historical event using modern knowledge, methods and disease classifications." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Retrospective Diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "self" ] ;
     fhir:display [ fhir:v "Self Diagnosis" ] ;
     fhir:definition [ fhir:v "A diagnosis determined by the patient." ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Self Diagnosis" ]
     ] )
  ] ) .

# -------------------------------------------------------------------------------------

