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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="koppeltaal-delete-hold-reason"/>
  <meta>
    <profile value="http://hl7.org/fhir/StructureDefinition/CodeSystem"/>
  </meta>
  <language value="nl-NL"/>
  <text>
    <status value="generated"/><div xml:lang="nl-NL" xmlns="http://www.w3.org/1999/xhtml" lang="nl-NL"><p class="res-header-id"><b>Generated Narrative: CodeSystem koppeltaal-delete-hold-reason</b></p><a name="koppeltaal-delete-hold-reason"> </a><a name="hckoppeltaal-delete-hold-reason"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Language: nl-NL</p><p style="margin-bottom: 0px">Profile: <a href="http://hl7.org/fhir/R4/codesystem.html">CodeSystem</a></p></div><p>This case-sensitive code system <code>http://vzvz.nl/fhir/CodeSystem/koppeltaal-delete-hold-reason</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">data-export-pending<a name="koppeltaal-delete-hold-reason-data-export-pending"> </a></td><td>Export naar bronsysteem loopt nog</td><td>The application is still retrieving or exporting data to the source system and needs more time before the data may be deleted.</td></tr><tr><td style="white-space:nowrap">treatment-ongoing<a name="koppeltaal-delete-hold-reason-treatment-ongoing"> </a></td><td>Behandeling loopt nog</td><td>The application observes ongoing treatment activity that is not visible to the Koppeltaal service as patient engagement.</td></tr><tr><td style="white-space:nowrap">patient-objection<a name="koppeltaal-delete-hold-reason-patient-objection"> </a></td><td>Bezwaar tegen verwijdering</td><td>The patient or their representative has objected to the deletion; the objection is being assessed.</td></tr><tr><td style="white-space:nowrap">legal-hold<a name="koppeltaal-delete-hold-reason-legal-hold"> </a></td><td>Wettelijke bewaarplicht of juridische procedure</td><td>A legal retention obligation or pending legal procedure prevents deletion at this moment.</td></tr><tr><td style="white-space:nowrap">other<a name="koppeltaal-delete-hold-reason-other"> </a></td><td>Overige reden</td><td>None of the defined reasons applies. Note that `Task.statusReason.text` is not available for recording reason detail; coordinate with the domain administrator.</td></tr></table></div>
  </text>
  <url value="http://vzvz.nl/fhir/CodeSystem/koppeltaal-delete-hold-reason"/>
  <identifier>
    <use value="official"/>
    <value value="http://vzvz.nl/fhir/CodeSystem/koppeltaal-delete-hold-reason"/>
  </identifier>
  <version value="0.16.5"/>
  <name value="KoppeltaalDeleteHoldReason"/>
  <title value="Koppeltaal Delete Hold Reason"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2026-07-09T12:00:00+02:00"/>
  <publisher value="VZVZ"/>
  <contact>
    <name value="VZVZ"/>
    <telecom>
      <system value="email"/>
      <value value="standaardisatie@vzvz.nl"/>
      <use value="work"/>
    </telecom>
  </contact>
  <description value="Reasons a target application can give when it pauses the deletion of patient data by setting its KT2_DeletePendingTask to `on-hold` (`Task.statusReason`). The list is deliberately closed: the delete-pending Task is readable domain-wide, so the reason must not convey demographics. `Task.statusReason.text` is closed off to keep the reason from becoming a free-text field."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="NL"/>
      <display value="Netherlands"/>
    </coding>
  </jurisdiction>
  <copyright value="VZVZ"/>
  <caseSensitive value="true"/>
  <content value="complete"/>
  <count value="5"/>
  <concept>
    <code value="data-export-pending"/>
    <display value="Export naar bronsysteem loopt nog"/>
    <definition value="The application is still retrieving or exporting data to the source system and needs more time before the data may be deleted."/>
  </concept>
  <concept>
    <code value="treatment-ongoing"/>
    <display value="Behandeling loopt nog"/>
    <definition value="The application observes ongoing treatment activity that is not visible to the Koppeltaal service as patient engagement."/>
  </concept>
  <concept>
    <code value="patient-objection"/>
    <display value="Bezwaar tegen verwijdering"/>
    <definition value="The patient or their representative has objected to the deletion; the objection is being assessed."/>
  </concept>
  <concept>
    <code value="legal-hold"/>
    <display value="Wettelijke bewaarplicht of juridische procedure"/>
    <definition value="A legal retention obligation or pending legal procedure prevents deletion at this moment."/>
  </concept>
  <concept>
    <code value="other"/>
    <display value="Overige reden"/>
    <definition value="None of the defined reasons applies. Note that `Task.statusReason.text` is not available for recording reason detail; coordinate with the domain administrator."/>
  </concept>
</CodeSystem>