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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="routing-provenance"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem routing-provenance</b></p><a name="routing-provenance"> </a><a name="hcrouting-provenance"> </a><p>This case-sensitive code system <code>https://projo.evoleen.com/fhir/CodeSystem/routing-provenance</code> defines the following code:</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">clinical-routing<a name="routing-provenance-clinical-routing"> </a></td><td>Clinical routing</td><td>Provenance recording the routing decision (enroll-plan / supersede-plan / route-to-review) made from a completed QuestionnaireResponse.</td></tr></table></div>
  </text>
  <url value="https://projo.evoleen.com/fhir/CodeSystem/routing-provenance"/>
  <version value="0.1.0"/>
  <name value="RoutingProvenance"/>
  <title value="Projo Routing Provenance"/>
  <status value="draft"/>
  <experimental value="true"/>
  <date value="2024-01-01"/>
  <publisher value="Projo"/>
  <contact>
    <name value="Projo"/>
    <telecom>
      <system value="url"/>
      <value value="https://projo.evoleen.com"/>
    </telecom>
  </contact>
  <description value="Tag value stamped on Provenance.meta.tag for clinical-routing idempotency. Same pattern as extraction provenance: meta.tag + entity[0].what (QR reference) is the idempotency key. Provenance.target[] references the enrolled/superseded CarePlan or the raised review Flag."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="CH"/>
      <display value="Switzerland"/>
    </coding>
  </jurisdiction>
  <purpose value="Documentation-only artifact. Projo's runtime extensions, code systems, identifier systems and search parameter are TypeScript constants and bootstrap-time resources, NOT deployed StructureDefinitions. This StructureDefinition exists to document the contract; the source of truth is src/functions/src/lib/fhir/types.ts and docs/FHIR_EXTENSIONS.md."/>
  <copyright value="Copyright (c) Projo. Licensed under CC0-1.0 (public domain dedication). FHIR(R) is the registered trademark of HL7 and is used with permission. This IG references WhatsApp(R), a trademark of Meta Platforms, Inc., for descriptive purposes only."/>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <count value="1"/>
  <concept>
    <code value="clinical-routing"/>
    <display value="Clinical routing"/>
    <definition value="Provenance recording the routing decision (enroll-plan / supersede-plan / route-to-review) made from a completed QuestionnaireResponse."/>
  </concept>
</CodeSystem>