In order to give you a starting point on how to write Medical Logic Modules (MLM), a repository of examples MLMs is available at https://github.com/PLRI/example-mlms.
git clone https://github.com/PLRI/example-mlms.git
Documentation about how to invoke the MLMs is given in
README.md files in the directories containing the respective MLMs.
When exploring the repository in a browser, the contents of the
README.md file of the current directory is automatically displayed below the file explorer.