{"resourceType":"CodeSystem","id":"diagnosis-role","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem diagnosis-role</b></p><a name=\"diagnosis-role\"> </a><a name=\"hcdiagnosis-role\"> </a><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/diagnosis-role</code> 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>"},"extension":[{"extension":[{"url":"packageId","valueId":"hl7.fhir.uv.xver-r4.r5"},{"url":"version","valueString":"0.1.0"},{"url":"uri","valueUri":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}],"url":"http://hl7.org/fhir/StructureDefinition/package-source"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"pa"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":0,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}]}}],"url":"http://terminology.hl7.org/CodeSystem/diagnosis-role","version":"4.0.1","name":"DiagnosisRole","status":"draft","experimental":false,"date":"2026-03-20T13:38:33+11:00","publisher":"Patient Administration","contact":[{"name":"Patient Administration","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/pafm"}]}],"description":"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.","jurisdiction":[{"coding":[{"system":"http://unstats.un.org/unsd/methods/m49/m49.htm","code":"001","display":"World"}]}],"caseSensitive":true,"valueSet":"http://hl7.org/fhir/ValueSet/diagnosis-role|5.0.0","content":"complete","concept":[{"code":"AD","display":"Admission diagnosis"},{"code":"DD","display":"Discharge diagnosis"},{"code":"CC","display":"Chief complaint"},{"code":"CM","display":"Comorbidity diagnosis"},{"code":"pre-op","display":"pre-op diagnosis"},{"code":"post-op","display":"post-op diagnosis"},{"code":"billing","display":"Billing"}]}