POC IZNC - Integrated Care Network Communication
0.1.2 - ci-build
POC IZNC - Integrated Care Network Communication - Local Development build (v0.1.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://gidsopenstandaarden.github.io/poc-iznc | Version: 0.1.2 | |||
| Draft as of 2025-11-24 | Computable Name: gidspociznc | |||
Version: 0.1.1 (2025-01-14)
This is a proof-of-concept implementation for connecting a healthcare chat application to the Matrix specification for instant network communication via Matrix protocol.
Goal: Demonstrate how a commercial healthcare chat application can integrate with the federated care network via Matrix using a simple BSN-based API.
┌──────────────────────────────────────────┐
│ Chat Application Frontend │
│ - User login via DigID (BSN) │
│ - WebSocket for real-time updates │
└──────────────────┬───────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ Chat Application Backend │
│ - Handles DigID authentication │
│ - Manages user sessions │
│ - Stores BSN in session │
└──────────────────┬───────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ Matrix Bridge API (NEW) │
│ - BSN-based user discovery │
│ - Care network/thread management │
│ - Message operations │
│ - Webhook event notifications │
│ - Implements Matrix Spec INNC │
└──────────────────┬───────────────────────┘
│
▼
┌──────────────────────────────────────────┐
│ Matrix Homeserver (Synapse) │
└──────────────────────────────────────────┘
The architecture uses a BSN abstraction layer to hide Matrix complexity from the chat application:
@iznc_{hash}:homeserver.example.comcustom.user_mappings: FHIR identity per user (UZI, URA, roleCode)m.space.child / m.space.parent: hierarchyThis POC implements a Custom Matrix Bridge API with BSN mapping database.
Documentation:
Features:
Architecture:
Chat Backend → Matrix Bridge API → Matrix Homeserver
↓
Database (BSN mapping)
Critical Security Rules:
Design Pattern:
❌ Bad: GET /api/v1/care-networks?bsn=123456789
✅ Good: POST /api/v1/care-networks/discover
Body: { "bsn": "123456789" }
For detailed API specifications and implementation details, see:
See the Matrix specification for instant network communication for the complete specification, including:
See mCSD and Generic Function Addressing for understanding the role of mCSD in POC IZNC:
See the Hackathon Guide for:
For questions about this POC or the Matrix specification:
This documentation follows the license of the Matrix specification for instant network communication: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Version: 0.1.1 Status: Draft Specification - Open for Review Last Update: 2025-01-14