HL7 Terminology (THO)
3.1.0 - Publication International flag

This page is part of the HL7 Terminology (v3.1.0: Release) based on FHIR R4. The current version which supercedes this version is 5.2.0. For a full list of available versions, see the Directory of published versions

: - TTL Representation

Draft as of 2022-02-23

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "diagnosis-role"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T15:10:28.568-06:00"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system http://terminology.hl7.org/CodeSystem/diagnosis-role defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">AD<a name=\"diagnosis-role-AD\"> </a></td><td>Admission diagnosis</td></tr><tr><td style=\"white-space:nowrap\">DD<a name=\"diagnosis-role-DD\"> </a></td><td>Discharge diagnosis</td></tr><tr><td style=\"white-space:nowrap\">CC<a name=\"diagnosis-role-CC\"> </a></td><td>Chief complaint</td></tr><tr><td style=\"white-space:nowrap\">CM<a name=\"diagnosis-role-CM\"> </a></td><td>Comorbidity diagnosis</td></tr><tr><td style=\"white-space:nowrap\">pre-op<a name=\"diagnosis-role-pre-op\"> </a></td><td>pre-op diagnosis</td></tr><tr><td style=\"white-space:nowrap\">post-op<a name=\"diagnosis-role-post-op\"> </a></td><td>post-op diagnosis</td></tr><tr><td style=\"white-space:nowrap\">billing<a name=\"diagnosis-role-billing\"> </a></td><td>Billing</td></tr></table></div>"
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.valueCode [ fhir:value "pa" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role"];
  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.1054" ]
  ];
  fhir:CodeSystem.version [ fhir:value "0.1.0"];
  fhir:CodeSystem.name [ fhir:value "DiagnosisRole"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:CodeSystem.date [ fhir:value "2022-02-23T19:42:18-07:00"^^xsd:dateTime];
  fhir:CodeSystem.publisher [ fhir:value "FHIR Project team"];
  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" ]     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This value set defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record."];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean];
  fhir:CodeSystem.valueSet [
     fhir:value "http://terminology.hl7.org/ValueSet/diagnosis-role";
     fhir:link <http://terminology.hl7.org/ValueSet/diagnosis-role>
  ];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.concept.code [ fhir:value "AD" ];
     fhir:CodeSystem.concept.display [ fhir:value "Admission diagnosis" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.concept.code [ fhir:value "DD" ];
     fhir:CodeSystem.concept.display [ fhir:value "Discharge diagnosis" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.concept.code [ fhir:value "CC" ];
     fhir:CodeSystem.concept.display [ fhir:value "Chief complaint" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.concept.code [ fhir:value "CM" ];
     fhir:CodeSystem.concept.display [ fhir:value "Comorbidity diagnosis" ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.concept.code [ fhir:value "pre-op" ];
     fhir:CodeSystem.concept.display [ fhir:value "pre-op diagnosis" ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.concept.code [ fhir:value "post-op" ];
     fhir:CodeSystem.concept.display [ fhir:value "post-op diagnosis" ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.concept.code [ fhir:value "billing" ];
     fhir:CodeSystem.concept.display [ fhir:value "Billing" ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.