Credit is due to the national health leadership represented by His Excellency the Minister, Dr Mostafa El Ferjani, for producing a comprehensive intellectual jolt that moved the discussion of health digitization in Tunisia from a mere classical following of administrative-archiving techniques to thinking from an entirely new strategic perspective. This shift in the way of thinking is a real gain, for it broke a state of stagnation and routine, and moved the national vision from the traditional simplification of digitization to a bold engagement with complex, modern concepts such as interoperability standards, results-based financing, and the role of artificial intelligence in the medical decision. It also placed digital health at the heart of national sovereignty by bringing global experts and bodies to a single discussion table with local actors, under a management that combines leadership discipline and field medical expertise. Most important, this dialogical environment opened space for constructive criticism and a deep dismantling of the proposals, which allowed fundamental problems that had been absent from the public discussion to come to the surface.
Among the most prominent of these problems, and the most critical and neglected in medical-informatics engineering, is the confusion between technical interoperability and semantic interoperability. This confusion is the main reason behind the stalling of hundreds of health-digitization projects around the world and their transformation into costly platforms unable to achieve any return on investment or to enable artificial intelligence to perform its real functions. To dismantle this dilemma, one must start from the postal-envelope metaphor, which sums up the difference between what the FHIR standard does and what it cannot do.
The FHIR standard represents technical and syntactic interoperability. It provides the software structure and the measured outer envelope, and it specifies that there is an entity named Patient, an entity named Observation, and an entity named Condition. Looking at FHIR, one sees that the first system succeeded technically in transferring the file across the network using the HTTP protocol, and that the second system received the envelope and successfully decoded the JSON — that is, a complete technical match — but the second system’s computer does not understand what the phrase “blood sugar” inside the text field means. Does it mean fasting blood sugar? Or sugar after eating? Or glycated haemoglobin? Or sugar via a home measuring strip? And if another doctor writes “Glycémie à jeun” and a third, foreign doctor writes “Blood Glucose Fasting”, the computer will treat these three data as if they were three entirely different things with no link between them. Here it becomes clear that the envelope arrived intact, but the message inside the envelope remained unintelligible. Here a distinction must be drawn, in engineering terms, among three levels of digital interoperability. The first level is technical interoperability, that is, the ability to transfer bits across the network. The second level is syntactic interoperability, that is, the exchange of data in a structured, unified format — FHIR, JSON Schema or HL7 v2. The third level is semantic interoperability, that is, the automatic understanding, by the computer, of the precise, unified meaning of the medical concept. Technical and syntactic interoperability mean that the software speaks the same programming language and exchanges the same envelopes. Semantic interoperability means that the receiving computer understands the precise clinical intent of the data and acquires the ability to perform logical and computational processing on them without human intervention. For the FHIR envelope to turn from a mere text container into intelligent data, its fields must be linked to slices of the unified global dictionaries. The first of these dictionaries is SNOMED CT, the largest and most complex system in the world for coding clinical concepts, containing more than three hundred and fifty thousand medical concepts interlinked with logical relationships. Instead of writing free text such as “acute pain in the appendix”, the system records the decisive digital code, and when the computer or the artificial-intelligence algorithm sees this code, it does not read letters but understands logically, through the tree of relationships, that this code belongs to an acute inflammation applied to the vermiform appendix at a severe degree. The second dictionary is LOINC, the global standard system for coding laboratory tests, clinical measurements and medical imaging, and it puts an end to the chaos in the names of tests inside different laboratories. A fasting blood-sugar test in serum has a unique code, and however much the language of the hospital or the name of the laboratory device may differ, as soon as this code is present inside the observation field in FHIR, any system can receive the results and immediately draw the graph of the disease’s evolution. The third dictionary is ICD-11, the International Classification of Diseases issued by the World Health Organization, designed structurally for digitization, and used to classify the final diagnosis at the patient’s discharge, whereas SNOMED CT is used during the doctor’s daily work in the clinic to record precise clinical details. The two systems are complementary, not competing, and they serve two different purposes in the life cycle of medical data.
The consequences of the absence of semantic interoperability are disastrous for the health system. First, when the imposition of these dictionaries is neglected, the digital medical record and FHIR resources turn into mere containers of free text: the first doctor writes an abbreviation, the second writes a French phrase, and the third writes an Arabic phrase, so the system turns from actual digitization into a mere electronic archiving of handwriting. Second, medical decision-support systems are disrupted, because automatic alerts — such as a warning when a medicine that interacts dangerously with another medicine is prescribed, or a medicine that causes an allergy in the patient — depend on the matching of codes. If the allergy is recorded in free text instead of the unified code, the algorithm will not recognize the text and will not trigger the warning alert when a new prescription is written, which exposes the patient’s life to danger. Third, artificial intelligence turns into a marketing lie, because machine-learning models, in their dealings with data, divide into two parts: structured, coded data that the algorithm understands immediately and with extreme precision through networks of concepts, and unstructured textual data that require very complex natural-language processing. In environments translated into multiple languages, the rate of hallucination and error in these models rises in a way that makes taking a medical decision on their basis dangerous and unethical. Fourth, epidemiological analysis and public-health strategies become impossible: when the Ministry of Health asks for a report on the number of cases of acute stroke in the country’s hospitals, semantic interoperability allows a simple software query to be executed that gathers all the records containing the specified codes in fractions of a second, whereas its absence deprives the decision-maker of a real-time view of the national map of diseases.
To avoid this confusion and to protect the national system, the digital strategy must adopt clear engineering steps. First, the creation of the national server of medical dictionaries, a local sovereign server on which the global dictionaries and the national medicines dictionary are hosted, and which provides programming interfaces that allow all hospital software and companies to query and to link in real time. Second, the drafting of the national guide for the application of FHIR, a legally binding document that sets the rules and the linking, so that any FHIR resource is rejected if the diagnosis or test field contains free text without being accompanied by the standard code adopted by the national server. Third, the building of intelligent user interfaces that do not burden the doctor with searching for digital codes, but provide an autocomplete feature: the doctor writes in the language they prefer, while the system in the background automatically links the word to the unified concept and symbol inside the FHIR envelope.
The real stake now, under the new leadership and the strategic vision established by His Excellency the Minister, Dr Mostafa El Ferjani, is to turn this change in thought and approach into an executive reality on the ground. Openness to advanced concepts, leadership discipline and field medical expertise are all necessary conditions, but they are not sufficient. Success is conditional on translating this momentum into binding sovereign decisions, into a unified semantic infrastructure, and into a political will that imposes national standards on all developers and suppliers. Without that, the digital health system will remain unable to move beyond the postal-envelope stage, artificial-intelligence algorithms will continue to be fed with unintelligible data, and national health decisions will continue to be taken without a real epidemiological vision.
With the shift from technical interoperability to semantic interoperability, however, Tunisia can indeed build a sovereign digital health system, not merely shining platforms over a fragile infrastructure, nor empty containers transferred across networks without meaning.
Dr Lamine Elhajji, interested in medical artificial intelligence and Tunisian health economics.