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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="cr-category"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem cr-category</b></p><a name="cr-category"> </a><a name="hccr-category"> </a><p>This case-sensitive code system <code>https://projo.evoleen.com/fhir/CodeSystem/cr-category</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">identity-resolution-required<a name="cr-category-identity-resolution-required"> </a></td><td>Identity resolution required</td><td>Reverse CommunicationRequest: the sidecar could not attach an inbound WhatsApp message to an existing Patient/Practitioner/RelatedPerson and is asking the orchestrator to resolve.</td></tr><tr><td style="white-space:nowrap">reminder<a name="cr-category-reminder"> </a></td><td>Reminder</td><td>Reminder CommunicationRequest created by the orchestrator's sweeper; basedOn=parent CR; category=reminder.</td></tr></table></div>
  </text>
  <url value="https://projo.evoleen.com/fhir/CodeSystem/cr-category"/>
  <version value="0.1.0"/>
  <name value="CrCategory"/>
  <title value="Fire Arrow CommunicationRequest Category"/>
  <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="Category on CommunicationRequest. The two projo-relevant categories are: identity-resolution-required (reverse CR — sidecar could not attach an inbound message to an existing identity and asks the orchestrator to resolve) and reminder (orchestrator-created reminder CR, basedOn=parent CR)."/>
  <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="2"/>
  <concept>
    <code value="identity-resolution-required"/>
    <display value="Identity resolution required"/>
    <definition value="Reverse CommunicationRequest: the sidecar could not attach an inbound WhatsApp message to an existing Patient/Practitioner/RelatedPerson and is asking the orchestrator to resolve."/>
  </concept>
  <concept>
    <code value="reminder"/>
    <display value="Reminder"/>
    <definition value="Reminder CommunicationRequest created by the orchestrator's sweeper; basedOn=parent CR; category=reminder."/>
  </concept>
</CodeSystem>