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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="dependency-role-codes"/>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem dependency-role-codes</b></p><a name="dependency-role-codes"> </a><a name="hcdependency-role-codes"> </a><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/dependency-role-codes</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">default<a name="dependency-role-codes-default"> </a></td><td>Default</td><td><div><p>A dependency that does not otherwise have a specific role. There is no need to state that a dependency plays a default role, this code is used in the include parameter to indicate whether default dependencies are included in the package.</p>
</div></td></tr><tr><td style="white-space:nowrap">key<a name="dependency-role-codes-key"> </a></td><td>Key</td><td><div><p>A dependency that is included because it is referenced from a <a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#model-views">key element</a>.</p>
</div></td></tr><tr><td style="white-space:nowrap">example<a name="dependency-role-codes-example"> </a></td><td>Example</td><td><div><p>A dependency that is included because it is part of an example, or referenced from an example context (e.g. a ValueSet referenced from an example binding).</p>
</div></td></tr><tr><td style="white-space:nowrap">test<a name="dependency-role-codes-test"> </a></td><td>Test</td><td><div><p>A dependency that is included because it is part of a test.</p>
</div></td></tr></table></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="trial-use"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1"/>
  </extension>
  <url value="http://terminology.hl7.org/CodeSystem/dependency-role-codes"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.40.38.16.8"/>
  </identifier>
  <version value="1.0.0"/>
  <name value="DependencyRoleCodes"/>
  <title value="Dependency Role Codes"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-05-11T04:30:28+00:00"/>
  <publisher value="HL7 International / Clinical Decision Support"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss"/>
    </telecom>
  </contact>
  <description value="Codes describing the roles a dependency can play with respect to an artifact."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://terminology.hl7.org/ValueSet/dependency-role"/>
  <content value="complete"/>
  <concept>
    <code value="default"/>
    <display value="Default"/>
    <definition value="A dependency that does not otherwise have a specific role. There is no need to state that a dependency plays a default role, this code is used in the include parameter to indicate whether default dependencies are included in the package."/>
  </concept>
  <concept>
    <code value="key"/>
    <display value="Key"/>
    <definition value="A dependency that is included because it is referenced from a [key element](https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#model-views)."/>
  </concept>
  <concept>
    <code value="example"/>
    <display value="Example"/>
    <definition value="A dependency that is included because it is part of an example, or referenced from an example context (e.g. a ValueSet referenced from an example binding)."/>
  </concept>
  <concept>
    <code value="test"/>
    <display value="Test"/>
    <definition value="A dependency that is included because it is part of a test."/>
  </concept>
</CodeSystem>