Projo FHIR Documentation
0.1.0 - ci-build Switzerland flag

Projo FHIR Documentation - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

CodeSystem: Fire Arrow Managed Subscription (Experimental)

Official URL: https://projo.evoleen.com/fhir/CodeSystem/managed-subscription Version: 0.1.0
Draft as of 2024-01-01 Computable Name: ManagedSubscription

Copyright/Legal: 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.

Tag value on Subscription.meta.tag identifying the four managed Subscriptions that wire the orchestrator and sidecar together. Each consuming app's sweeper (every 5 min) reconciles its own Subscription by _tag search (always indexed in HAPI), NOT by criteria — so criteria changes are recoverable without duplicates. Codes: sidecar-cr-events, projo-cr-status-events, projo-identity-resolution-events, projo-careplan-bootstrap.

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.

This Code system is referenced in the content logical definition of the following value sets:

  • This CodeSystem is not used here; it may be used elsewhere (e.g. specifications and/or implementations that use this content)

This case-sensitive code system https://projo.evoleen.com/fhir/CodeSystem/managed-subscription defines the following codes:

CodeDisplayDefinition
sidecar-cr-events Sidecar CR events Sidecar-owned. Criteria: CommunicationRequest?status=active,revoked&medium=whatsapp&category:not=identity-resolution. Delivers to the cr-events queue.
projo-cr-status-events Projo CR status events Orchestrator-owned. Criteria: CommunicationRequest?status=completed,revoked&category:not=identity-resolution. Delivers to the cr-status-events queue; triggers handleCommunicationRequestStatus.
projo-identity-resolution-events Projo identity resolution events Orchestrator-owned. Criteria: CommunicationRequest?status=active&category=identity-resolution-required. Delivers to the identity-resolution-events queue; triggers identityResolution.
projo-careplan-bootstrap Projo CarePlan bootstrap Orchestrator-owned. Criteria: CarePlan?status=active&_tag:not=careplan-scheduling|scheduled. Delivers to the fhir-events queue; triggers carePlanCreated (which then calls $subscribe-due-events).