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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="extraction-writeback-target"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem extraction-writeback-target</b></p><a name="extraction-writeback-target"> </a><a name="hcextraction-writeback-target"> </a><p>This case-sensitive code system <code>https://projo.evoleen.com/fhir/CodeSystem/extraction-writeback-target</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">subject<a name="extraction-writeback-target-subject"> </a></td><td>Subject</td><td>Write back to the Patient referenced by QuestionnaireResponse.subject.</td></tr></table></div>
  </text>
  <url value="https://projo.evoleen.com/fhir/CodeSystem/extraction-writeback-target"/>
  <version value="0.1.0"/>
  <name value="ExtractionWritebackTarget"/>
  <title value="Projo Extraction Writeback Target"/>
  <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="Target codes for the extraction-writeback extension's `target` sub-extension. Only `subject` is supported — route the extracted Patient fragment back to the Patient referenced by QR.subject."/>
  <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="subject"/>
    <display value="Subject"/>
    <definition value="Write back to the Patient referenced by QuestionnaireResponse.subject."/>
  </concept>
</CodeSystem>