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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="detectedissue-code"/>
  <meta>
    <lastUpdated value="2026-04-03T20:06:10.198+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: ValueSet detectedissue-code</b>
      </p>
      <a name="detectedissue-code"> </a>
      <a name="hcdetectedissue-code"> </a>
      <p>This value set includes codes based on the following rules:</p>
      <ul>
        <li>Include codes from
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html">
            <code>http://terminology.hl7.org/CodeSystem/v3-ActCode</code>
          </a>
          <span title="Version is not explicitly stated, which means it is fixed to 10.0.0, the version found through the package references"> version 📦10.0.0</span> where concept  is-a 
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-_AdministrationDetectedIssueCode">_AdministrationDetectedIssueCode</a>
        </li>
        <li>Include codes from
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html">
            <code>http://terminology.hl7.org/CodeSystem/v3-ActCode</code>
          </a>
          <span title="Version is not explicitly stated, which means it is fixed to 10.0.0, the version found through the package references"> version 📦10.0.0</span> where concept  is-a 
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-_ActSuppliedItemDetectedIssueCode">_ActSuppliedItemDetectedIssueCode</a>
        </li>
        <li>Include codes from
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html">
            <code>http://terminology.hl7.org/CodeSystem/v3-ActCode</code>
          </a>
          <span title="Version is not explicitly stated, which means it is fixed to 10.0.0, the version found through the package references"> version 📦10.0.0</span> where concept  is-a 
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-_ClinicalActionDetectedIssueCode">_ClinicalActionDetectedIssueCode</a>
        </li>
        <li>Include codes from
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html">
            <code>http://terminology.hl7.org/CodeSystem/v3-ActCode</code>
          </a>
          <span title="Version is not explicitly stated, which means it is fixed to 10.0.0, the version found through the package references"> version 📦10.0.0</span> where concept  is-a 
          <a href="http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-_SupplyDetectedIssueCode">_SupplyDetectedIssueCode</a>
        </li>
      </ul>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <url value="http://hl7.org/fhir/ValueSet/detectedissue-code"/>
  <version value="6.0.0-ballot4"/>
  <name value="DetectedIssueCode"/>
  <title value="Detected Issue Code"/>
  <status value="active"/>
  <experimental value="false"/>
  <publisher value="FHIR Project team"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
  </contact>
  <description value="Codes for issues or contraindications, such as 'drug-drug interaction', 'duplicate therapy', etc."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="_AdministrationDetectedIssueCode"/>
      </filter>
    </include>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="_ActSuppliedItemDetectedIssueCode"/>
      </filter>
    </include>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="_ClinicalActionDetectedIssueCode"/>
      </filter>
    </include>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
      <filter>
        <property value="concept"/>
        <op value="is-a"/>
        <value value="_SupplyDetectedIssueCode"/>
      </filter>
    </include>
  </compose>
</ValueSet>