Formally Verified Code Synthesis for Structured Data Translation in a Medical Internet of Things
A LLM powered system is presented for generating formally verified code for structured data translation between JSON schema of a pulse oximeter and FHIR format in Medical IoT.
First to integrate formal verification into code synthesis pipeline for structured data translation in Medical IoT.
Before reading this…
Applications
- →Medical IoT
- →Structured data translation
To understand this paper, make sure you know these concepts first:
- Understanding of Medical IoTfind papers →
- Familiarity with JSON schema and FHIR formatfind papers →
Abstract
More Like ThisIn this work we present a LLM powered, evolutionary code synthesis system for structured data translation in a Medical Internet of Things settings. A key challenge in this domain is ensuring that the synthesized code is trustworthy and reliable. To this end, we integrate a formal verification step into our code synthesis pipeline to ensure that any generated code is guaranteed to satisfy predefined requirements. In particular, we present a case study of integrating a novel device (a pulse oximeter) into the existing network of devices. Our system generates a formally verified translation between the device's JSON schema and the Fast Healthcare Interoperability Resources (FHIR) format used by the wider system. This formal verification stage ensures structured data translated by the generated code will always be in the target output schema. We provide a set of experimental results which demonstrate that our system is able to consistently generate correct translation at low cost.