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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="provenance-entity-role"/>
  <meta>
    <lastUpdated value="2026-04-01T17:59:15.240+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem provenance-entity-role</b>
      </p>
      <a name="provenance-entity-role"> </a>
      <a name="hcprovenance-entity-role"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/provenance-entity-role</code> defines the following codes in a Is-A hierarchy:
      </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">revision
            <a name="provenance-entity-role-revision"> </a>
          </td>
          <td>Revision</td>
          <td>An entity that is used by the activity to produce a new version of that entity.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">quotation
            <a name="provenance-entity-role-quotation"> </a>
          </td>
          <td>Quotation</td>
          <td>An entity that is copied in full or part by an agent that is not the author of the entity.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">source
            <a name="provenance-entity-role-source"> </a>
          </td>
          <td>Source</td>
          <td>An entity that is used as input to the activity that produced the target.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">instantiates
            <a name="provenance-entity-role-instantiates"> </a>
          </td>
          <td>Instantiates</td>
          <td>The record resulting from this event adheres to the protocol, guideline, order set or other definition represented by this entity.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">removal
            <a name="provenance-entity-role-removal"> </a>
          </td>
          <td>Removal</td>
          <td>An entity that is removed from accessibility, usually through the DELETE operator.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="sec"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="6"/>
  </extension>
  <url value="http://hl7.org/fhir/provenance-entity-role"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.437"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.1.428"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.2.247"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="ProvenanceEntityRole"/>
  <title value="Provenance Entity Role"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-11-01"/>
  <publisher value="HL7 International / Security"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/secure"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <description value="How an entity was used in an activity."/>
  <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://hl7.org/fhir/ValueSet/provenance-entity-role"/>
  <hierarchyMeaning value="is-a"/>
  <content value="complete"/>
  <concept>
    <code value="revision"/>
    <display value="Revision"/>
    <definition value="An entity that is used by the activity to produce a new version of that entity."/>
  </concept>
  <concept>
    <code value="quotation"/>
    <display value="Quotation"/>
    <definition value="An entity that is copied in full or part by an agent that is not the author of the entity."/>
  </concept>
  <concept>
    <code value="source"/>
    <display value="Source"/>
    <definition value="An entity that is used as input to the activity that produced the target."/>
  </concept>
  <concept>
    <code value="instantiates"/>
    <display value="Instantiates"/>
    <definition value="The record resulting from this event adheres to the protocol, guideline, order set or other definition represented by this entity."/>
  </concept>
  <concept>
    <code value="removal"/>
    <display value="Removal"/>
    <definition value="An entity that is removed from accessibility, usually through the DELETE operator."/>
  </concept>
</CodeSystem>