Methods- We developed a short computer program, written in SQL, aimed at encoding medical data according to ICPC-1 in its French translation, via a self-learning procedure derived from previous manually coded data. Its performance and reliability were assessed using data on referrals to hospital in general practice.
Results- Using a database with 2300 reasons for referral to hospital to encode 800 new reasons for referral, performance in textual matching was estimated to 85% and agreement between codes to 80%. Epidemiological results derived from automatically coded data are extrapolated in routine to the whole sample of data in the Sentinel network in France.
Conclusion- Automated coding of consultation data in general practice seems to be a reliable alternative to manual coding. Because it is a simple system, it may be also implemented at the office level through integration into the medical software.
