<?xml version="1.0" encoding="UTF-8"?><CodeSystem xmlns="http://hl7.org/fhir"><id value="diagnosis-role"/><meta><lastUpdated value="2024-04-24T00:00:00+00:00"/><profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/></meta><text><status value="generated"/><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><a name="diagnosis-role-en-US"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Last updated: 2024-04-24 00:00:00+0000</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/R5/shareablecodesystem.html">Shareable CodeSystem</a></p></div><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><td><b>Definition</b></td></tr><tr><td style="white-space:nowrap">AD<a name="diagnosis-role-AD"> </a></td><td>Admission diagnosis</td><td>The diagnoses documented for administrative purposes as the basis for a hospital or other institutional admission</td></tr><tr><td style="white-space:nowrap">DD<a name="diagnosis-role-DD"> </a></td><td>Discharge diagnosis</td><td>The diagnoses documented for administrative purposes at the time of hospital or other institutional discharge</td></tr><tr><td style="white-space:nowrap">CC<a name="diagnosis-role-CC"> </a></td><td>Chief complaint</td><td/></tr><tr><td style="white-space:nowrap">CM<a name="diagnosis-role-CM"> </a></td><td>Comorbidity diagnosis</td><td/></tr><tr><td style="white-space:nowrap">pre-op<a name="diagnosis-role-pre-op"> </a></td><td>pre-op diagnosis</td><td/></tr><tr><td style="white-space:nowrap">post-op<a name="diagnosis-role-post-op"> </a></td><td>post-op diagnosis</td><td/></tr><tr><td style="white-space:nowrap">billing<a name="diagnosis-role-billing"> </a></td><td>Billing</td><td>The diagnosis documented for billing purposes</td></tr></table></div></text><extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"><valueCode value="pa"/></extension><url value="http://terminology.hl7.org/CodeSystem/diagnosis-role"/><identifier><system value="urn:ietf:rfc:3986"/><value value="urn:oid:2.16.840.1.113883.4.642.1.1054"/></identifier><version value="1.1.1"/><name value="DiagnosisRole"/><title value="Diagnosis Role"/><status value="active"/><experimental value="false"/><date value="2025-01-22T18:33:38-07:00"/><publisher value="Health Level Seven International"/><contact><telecom><system value="url"/><value value="http://hl7.org"/></telecom><telecom><system value="email"/><value value="hq@HL7.org"/></telecom></contact><description 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."/><copyright 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.html"/><caseSensitive value="true"/><valueSet value="http://terminology.hl7.org/ValueSet/diagnosis-role"/><content value="complete"/><concept><code value="AD"/><display value="Admission diagnosis"/><definition value="The diagnoses documented for administrative purposes as the basis for a hospital or other institutional admission"/></concept><concept><code value="DD"/><display value="Discharge diagnosis"/><definition value="The diagnoses documented for administrative purposes at the time of hospital or other institutional discharge"/></concept><concept><code value="CC"/><display value="Chief complaint"/></concept><concept><code value="CM"/><display value="Comorbidity diagnosis"/></concept><concept><code value="pre-op"/><display value="pre-op diagnosis"/></concept><concept><code value="post-op"/><display value="post-op diagnosis"/></concept><concept><code value="billing"/><display value="Billing"/><definition value="The diagnosis documented for billing purposes"/></concept></CodeSystem>