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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="projo-identifiers"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: CodeSystem projo-identifiers</b></p><a name="projo-identifiers"> </a><a name="hcprojo-identifiers"> </a><p>This case-sensitive code system <code>https://projo.evoleen.com/fhir/CodeSystem/projo-identifiers</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">whatsapp-bsuid<a name="projo-identifiers-whatsapp-bsuid"> </a></td><td>WhatsApp Business Scope User ID</td><td>System: https://firearrow.io/fhir/identifier/whatsapp-bsuid. Used on Patient.identifier, Practitioner.identifier, RelatedPerson.identifier, CommunicationRequest.identifier (reverse-CR dedup). Value: Meta's user-scoped id (e.g. 13491208655302741918). Persists across phone-number changes; treated as first-class for routing and identity resolution.</td></tr><tr><td style="white-space:nowrap">wamid<a name="projo-identifiers-wamid"> </a></td><td>WhatsApp Message ID</td><td>System: https://firearrow.io/fhir/identifier/wamid. Used on Communication.identifier. Value: Meta's webhook message id. Used for inbound idempotency (Communication?identifier=&lt;wamid-system&gt;|&lt;wamid&gt;).</td></tr><tr><td style="white-space:nowrap">inbound-sender-phone<a name="projo-identifiers-inbound-sender-phone"> </a></td><td>Inbound sender phone</td><td>System: https://firearrow.io/fhir/identifier/inbound-sender-phone. Used on CommunicationRequest.identifier (reverse CR) and Communication.sender.identifier when the identity is unresolved. Value: E.164 phone number.</td></tr><tr><td style="white-space:nowrap">inbound-business-phone<a name="projo-identifiers-inbound-business-phone"> </a></td><td>Inbound business phone</td><td>System: https://firearrow.io/fhir/identifier/inbound-business-phone. Used on CommunicationRequest.recipient[].identifier (when the receiver Organization is unresolved). Value: E.164 phone number.</td></tr><tr><td style="white-space:nowrap">extracted-resource<a name="projo-identifiers-extracted-resource"> </a></td><td>Extracted resource</td><td>System: https://projo.evoleen.com/fhir/identifier/extracted-resource. Used on Observation.identifier, Condition.identifier, etc. Value format: &lt;qrId&gt;#&lt;ResourceType&gt;#&lt;codeSystem&gt;#&lt;code&gt;#&lt;contentHash&gt; (code segment omitted when no code). Deterministic key for If-None-Exist conditional creates — prevents duplicate extraction.</td></tr><tr><td style="white-space:nowrap">routing-resource<a name="projo-identifiers-routing-resource"> </a></td><td>Routing resource</td><td>System: https://projo.evoleen.com/fhir/identifier/routing-resource. Used on Flag.identifier and other routing outputs. Value format: &lt;qrId&gt;:review, &lt;qrId&gt;:&lt;discriminator&gt;. Idempotency key for routing decisions.</td></tr><tr><td style="white-space:nowrap">organization<a name="projo-identifiers-organization"> </a></td><td>Organization</td><td>System: https://projo.evoleen.com/fhir/organization. Used on Organization.identifier. Value: operator-chosen tenant identifier.</td></tr><tr><td style="white-space:nowrap">projo-azure-identity<a name="projo-identifiers-projo-azure-identity"> </a></td><td>Projo Azure identity</td><td>System: https://fire-arrow.evoleen.com/fhir/projo-azure-identity. Used server-side for identity resolution via Azure managed identity. Not visible to projo application code.</td></tr><tr><td style="white-space:nowrap">ciam-unique-client-id<a name="projo-identifiers-ciam-unique-client-id"> </a></td><td>CIAM unique client id</td><td>System: https://projo.evoleen.com/fhir/ciam-unique-client-id. Used server-side for identity resolution via Entra CIAM. Not visible to projo application code.</td></tr></table></div>
  </text>
  <url value="https://projo.evoleen.com/fhir/CodeSystem/projo-identifiers"/>
  <version value="0.1.0"/>
  <name value="ProjoIdentifiers"/>
  <title value="Projo Identifier Systems"/>
  <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="Catalog of identifier system URIs used by Projo. Each code documents the value format and where the identifier is carried. Identifier systems are NOT FHIR conformance resources — they are URI strings used in Patient.identifier[].system, Communication.identifier[].system, etc. This CodeSystem exists only to document them."/>
  <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="9"/>
  <concept>
    <code value="whatsapp-bsuid"/>
    <display value="WhatsApp Business Scope User ID"/>
    <definition value="System: https://firearrow.io/fhir/identifier/whatsapp-bsuid. Used on Patient.identifier, Practitioner.identifier, RelatedPerson.identifier, CommunicationRequest.identifier (reverse-CR dedup). Value: Meta's user-scoped id (e.g. 13491208655302741918). Persists across phone-number changes; treated as first-class for routing and identity resolution."/>
  </concept>
  <concept>
    <code value="wamid"/>
    <display value="WhatsApp Message ID"/>
    <definition value="System: https://firearrow.io/fhir/identifier/wamid. Used on Communication.identifier. Value: Meta's webhook message id. Used for inbound idempotency (Communication?identifier=&lt;wamid-system&gt;|&lt;wamid&gt;)."/>
  </concept>
  <concept>
    <code value="inbound-sender-phone"/>
    <display value="Inbound sender phone"/>
    <definition value="System: https://firearrow.io/fhir/identifier/inbound-sender-phone. Used on CommunicationRequest.identifier (reverse CR) and Communication.sender.identifier when the identity is unresolved. Value: E.164 phone number."/>
  </concept>
  <concept>
    <code value="inbound-business-phone"/>
    <display value="Inbound business phone"/>
    <definition value="System: https://firearrow.io/fhir/identifier/inbound-business-phone. Used on CommunicationRequest.recipient[].identifier (when the receiver Organization is unresolved). Value: E.164 phone number."/>
  </concept>
  <concept>
    <code value="extracted-resource"/>
    <display value="Extracted resource"/>
    <definition value="System: https://projo.evoleen.com/fhir/identifier/extracted-resource. Used on Observation.identifier, Condition.identifier, etc. Value format: &lt;qrId&gt;#&lt;ResourceType&gt;#&lt;codeSystem&gt;#&lt;code&gt;#&lt;contentHash&gt; (code segment omitted when no code). Deterministic key for If-None-Exist conditional creates — prevents duplicate extraction."/>
  </concept>
  <concept>
    <code value="routing-resource"/>
    <display value="Routing resource"/>
    <definition value="System: https://projo.evoleen.com/fhir/identifier/routing-resource. Used on Flag.identifier and other routing outputs. Value format: &lt;qrId&gt;:review, &lt;qrId&gt;:&lt;discriminator&gt;. Idempotency key for routing decisions."/>
  </concept>
  <concept>
    <code value="organization"/>
    <display value="Organization"/>
    <definition value="System: https://projo.evoleen.com/fhir/organization. Used on Organization.identifier. Value: operator-chosen tenant identifier."/>
  </concept>
  <concept>
    <code value="projo-azure-identity"/>
    <display value="Projo Azure identity"/>
    <definition value="System: https://fire-arrow.evoleen.com/fhir/projo-azure-identity. Used server-side for identity resolution via Azure managed identity. Not visible to projo application code."/>
  </concept>
  <concept>
    <code value="ciam-unique-client-id"/>
    <display value="CIAM unique client id"/>
    <definition value="System: https://projo.evoleen.com/fhir/ciam-unique-client-id. Used server-side for identity resolution via Entra CIAM. Not visible to projo application code."/>
  </concept>
</CodeSystem>