<?xml version="1.0" encoding="UTF-8"?>

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="ex-diagnosis-on-admission"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
            <p>This code system http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission 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">y
                  <a name="ex-diagnosis-on-admission-y"> </a>
                </td>
                <td>Yes</td>
                <td>Diagnosis was present at time of inpatient admission.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">n
                  <a name="ex-diagnosis-on-admission-n"> </a>
                </td>
                <td>No</td>
                <td>Diagnosis was not present at time of inpatient admission.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">u
                  <a name="ex-diagnosis-on-admission-u"> </a>
                </td>
                <td>Unknown</td>
                <td>Documentation insufficient to determine if condition was present at the time of inpatient admission.</td>
              </tr>
              <tr>
                <td style="white-space:nowrap">w
                  <a name="ex-diagnosis-on-admission-w"> </a>
                </td>
                <td>Undetermined</td>
                <td>Clinically undetermined. Provider unable to clinically determine whether the condition was present at the time of inpatient admission.</td>
              </tr>
            </table>
          </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r4b.r5"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fm"/>
  </extension>
  <url value="http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission"/>
  <version value="4.3.0"/>
  <name value="ExampleDiagnosisOnAdmissionCodes"/>
  <title value="Example Diagnosis on Admission Codes"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2025-09-13T16:46:03-04:00"/>
  <publisher value="Financial Management"/>
  <contact>
    <name value="Financial Management"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fm"/>
    </telecom>
  </contact>
  <description value="This value set includes example Diagnosis on admission codes."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <copyright value="These codes have been appropriated from the [UB04 code set](http://www.nubc.org/) owned and managed by the [AHA](http://www.aha.org/). Users require a [license from the AHA](http://www.nubc.org/licensing/index.dhtml) in order to use these codes. **Note: the codes have been withdrawn in a later version**"/>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <concept>
    <code value="y"/>
    <display value="Yes"/>
    <definition value="Diagnosis was present at time of inpatient admission."/>
  </concept>
  <concept>
    <code value="n"/>
    <display value="No"/>
    <definition value="Diagnosis was not present at time of inpatient admission."/>
  </concept>
  <concept>
    <code value="u"/>
    <display value="Unknown"/>
    <definition value="Documentation insufficient to determine if condition was present at the time of inpatient admission."/>
  </concept>
  <concept>
    <code value="w"/>
    <display value="Undetermined"/>
    <definition value="Clinically undetermined. Provider unable to clinically determine whether the condition was present at the time of inpatient admission."/>
  </concept>
</CodeSystem>