06.16

Integracije sa sustavima ordinacije

Sažetak

Integracije usklađuju pacijente, termine i zapise s postojećim sustavima ordinacije te nude FHIR sučelje. Sve promjene prolaze trajnim redovima čekanja, pa ispad dobavljača ne gubi podatke.

Tehnička specifikacija vodi se na engleskom jeziku; naslovi i sažeci poglavlja prevedeni su na hrvatski.

Overview

  • PilotOperate · Practice-system integrations
    Let Faurenis sit alongside an existing practice system instead of replacing it on day one.

Pipeline

  1. Inbound changes arrive by webhook or scheduled pull into the inbox.
  2. The mapping engine translates vendor records; the conflict resolver decides between concurrent edits.
  3. Outbound changes leave through the outbox with retries; failures go to the dead-letter queue.
  4. A scheduled reconcile compares both sides.

Data owned

  • Connections and mappings
    Holds
    Per-clinic connector configuration
  • Inbox, outbox, dead letters
    Holds
    Durable change queues

Models and engines

This module makes no model calls. Everything it computes is deterministic code.

Guardrails

  • Every connector runs through the same durable queues.
  • The local bridge has its own threat model.

Rollout and status

  • ProductionSync engine and queues
    Inbox, outbox, reconcile on schedule
  • PilotVendor connectors
    Per clinic

Interfaces

  • Consumes
    What
    Vendor webhooks and APIs
  • Emits
    What
    Patients, appointments and documents into Faurenis
  • Emits
    What
    Updates back to the vendor system

Known limits

  • Per-connection webhook signature verification is implemented for the reference connector; wiring it into each production connector is open work.
SOURCE OF TRUTH
  • server/integrations/
  • server/routes/data/fhir.ts
  • docs/integrations/
  • docs/integrations/local-bridge-threat-model.md
Svaki broj u ovoj specifikaciji generira se iz repozitorija i provjerava u CI-ju.