Module README
09 Simulated Hospital Node Agent
This module simulates a local hospital node agent. The agent reads the relational AMR model from module 08, validates minimum quality, and exports only permitted artifacts.
Core idea
In PROTEONEXT, sensitive data should not move to a central repository. The correct pattern is:
Local node data
|
v
Node agent
- validates schema
- computes quality
- executes aggregated query
- prepares permitted export
|
v
Only metrics, aggregates, and non-identifiable evidence leave
Outputs
The script generates:
salida/node_exports/<node_id>_export.jsonsalida/coordinator_summary.json
Each export includes:
- Row count per table.
- Minimum quality.
- Count by pathogen.
- Resistance by antibiotic.
- Genomics availability.
- Simulated job hash.
raw_rows_exported: 0
Run
From Desarrollo:
& 'C:\ProgramData\miniconda3\python.exe' .\09_node_agent_simulado\node_agent.py
Disclaimer
This is an educational simulation. It does not implement real security, real authentication, real attestation, or real hospital connectors.