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

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "diagnosis-role"] ;
  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 "pa" ]
  ] ) ;
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"], [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1054" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1054" ]
  ] ) ;
  fhir:version [ fhir:v "1.1.1"], [ fhir:v "1.1.1"] ;
  fhir:name [ fhir:v "DiagnosisRole"], [ fhir:v "DiagnosisRole"] ;
  fhir:title [ fhir:v "Diagnosis Role"], [ fhir:v "Diagnosis Role"] ;
  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 defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record."], [ fhir:v "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: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.html"], [ 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.html"] ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/diagnosis-role"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "AD" ] ;
     fhir:display [ fhir:v "Admission diagnosis" ] ;
     fhir:definition [ fhir:v "The diagnoses documented for administrative purposes as the basis for a hospital or other institutional admission" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Admission diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "DD" ] ;
     fhir:display [ fhir:v "Discharge diagnosis" ] ;
     fhir:definition [ fhir:v "The diagnoses documented for administrative purposes at the time of hospital or other institutional discharge" ] ;
     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 "CC" ] ;
     fhir:display [ fhir:v "Chief complaint" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Chief complaint" ]
     ] )
  ] [
     fhir:code [ fhir:v "CM" ] ;
     fhir:display [ fhir:v "Comorbidity diagnosis" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Comorbidity diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "pre-op" ] ;
     fhir:display [ fhir:v "pre-op diagnosis" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "pre-op diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "post-op" ] ;
     fhir:display [ fhir:v "post-op diagnosis" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "post-op diagnosis" ]
     ] )
  ] [
     fhir:code [ fhir:v "billing" ] ;
     fhir:display [ fhir:v "Billing" ] ;
     fhir:definition [ fhir:v "The diagnosis documented for billing purposes" ] ;
     fhir:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Billing" ]
     ] )
  ] ) .

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

