A simple Telegram chat bot, that replies to messages containing (only) a SNOMED-CT concept id or an ICD-10 code.
- Clone the repository:
git clone https://github.com/haemka/telegraminology.git
- Copy
example.ini
toconfig.ini
and configure as needed:- Get a Telegram bot API access: https://core.telegram.org/bots#3-how-do-i-create-a-bot
- Get a WHO ICD API access: https://icd.who.int/icdapi
- Run via docker with
docker run -v $(pwd)/config.ini:/app/config.ini .
or docker-composei withdocker compose up
. - Invite the bot into any channel you like or messsge it directly and send a message containing a single SNOMED-CT concept ID or a single ICD-10 code.
The bot (currently) needs admin access to a chat in order to read all messsages and reply by itself. Invocation by special commands (and thus making the admin permission for auto replies optional) is planned.