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

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

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "ex-diagnosistype"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T21:10:28.568+00:00" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fm" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "1" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/ex-diagnosistype"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1167" ]
  ];
  fhir:CodeSystem.version [ fhir:value "1.0.0"];
  fhir:CodeSystem.name [ fhir:value "ExampleDiagnosisTypeCodes"];
  fhir:CodeSystem.title [ fhir:value "Example Diagnosis Type Codes"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2024-02-15T19:01:04+00:00"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This value set includes example Diagnosis Type codes."];
  fhir:CodeSystem.copyright [ fhir:value "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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/ex-diagnosistype"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "admitting" ];
     fhir:CodeSystem.display [ fhir:value "Admitting Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "The diagnosis given as the reason why the patient was admitted to the hospital." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "clinical" ];
     fhir:CodeSystem.display [ fhir:value "Clinical Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis made on the basis of medical signs and patient-reported symptoms, rather than diagnostic tests." ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "differential" ];
     fhir:CodeSystem.display [ fhir:value "Differential Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "One of a set of the possible diagnoses that could be connected to the signs, symptoms, and lab findings." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "discharge" ];
     fhir:CodeSystem.display [ fhir:value "Discharge Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "The diagnosis given when the patient is discharged from the hospital." ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "laboratory" ];
     fhir:CodeSystem.display [ fhir:value "Laboratory Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis based significantly on laboratory reports or test results, rather than the physical examination of the patient." ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.code [ fhir:value "nursing" ];
     fhir:CodeSystem.display [ fhir:value "Nursing Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 6;
     fhir:CodeSystem.code [ fhir:value "prenatal" ];
     fhir:CodeSystem.display [ fhir:value "Prenatal Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis determined prior to birth." ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "principal" ];
     fhir:CodeSystem.display [ fhir:value "Principal Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "The single medical diagnosis that is most relevant to the patient's chief complaint or need for treatment." ]
  ], [
     fhir:index 8;
     fhir:CodeSystem.code [ fhir:value "radiology" ];
     fhir:CodeSystem.display [ fhir:value "Radiology Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis based primarily on the results from medical imaging studies." ]
  ], [
     fhir:index 9;
     fhir:CodeSystem.code [ fhir:value "remote" ];
     fhir:CodeSystem.display [ fhir:value "Remote Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis determined using telemedicine techniques." ]
  ], [
     fhir:index 10;
     fhir:CodeSystem.code [ fhir:value "retrospective" ];
     fhir:CodeSystem.display [ fhir:value "Retrospective Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "The labeling of an illness in a specific historical event using modern knowledge, methods and disease classifications." ]
  ], [
     fhir:index 11;
     fhir:CodeSystem.code [ fhir:value "self" ];
     fhir:CodeSystem.display [ fhir:value "Self Diagnosis" ];
     fhir:CodeSystem.definition [ fhir:value "A diagnosis determined by the patient." ]
  ] .

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

