Giter Site home page Giter Site logo

dicama / monk-modules Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 31 KB

Source for MONK (MyOncology) modules, templating ressources, development of modules for MONK, audit of new modules and publication

Home Page: https://www.monk-app.de

License: MIT License

modular healthcare open-source-framework flutter cancer-management mobile-first app-development android ios cross-plattform

monk-modules's Introduction

monk-modules

Create your own modules for the MONK App with the MONK script. ๐Ÿ˜ƒ Its fun!

Check our Contribution Guidelines to get you started ๐Ÿš€

Here is a simple example:

Example: Create Your Own Module (The Webviewer)

ModuleId[Module3]
ModuleName[Darmkrebs Info]
ModuleIcon[informationOutline]

Page[base=column]
WebView[https://www.krebshilfe.de/informieren/ueber-krebs/haeufige-krebsarten/darmkrebs/]

The syntax is pretty simple. Each line is evaluated on its own. Options/Parameters are provided in the squared bracket. Let's go through this example step by step.

Every module need an id, a name and an icon.

ModuleId[Module3]

Make sure, that your module id is unique. "Module3" as choosen in this example is not the best choice.

ModuleName[Darmkrebs Info]

The name is rather a title and can be choosen freely.

ModuleIcon[informationOutline]

The icon name can be chosen from https://materialdesignicons.com/. Please use the exact spelling from https://pub.dev/documentation/material_design_icons_flutter/latest/icon_map/iconMap.html without the quotes.

After these basic properties of the module have been defined. We can create the UI elements. In this case a simple web-site is shown. Since we are using no tabs, but rather a single page view, we are using

Page[base=column]

Here we set the paramter base=column. This is needed if we want to embed a single WebView element. If we would like to embed multiple UI elements, we would rather use base=list but this is not the case here. :-)

On this page we want to show the website. So we use:

WebView[https://www.krebshilfe.de/informieren/ueber-krebs/haeufige-krebsarten/darmkrebs/]

Done. Building a simple module for MONK is super easy ๐Ÿคฉ!

Acknowledgment

We gratefully acknowledge strong support by the Open Knowledge Foundation Germany e.V., Prototype Fund, German Federal Ministry of Research and Education, Health Hackers e.V. as well as everyone who is contributing to this project by providing feedback, ideas and further visionary thoughts.

License

All work provided is published under the terms of the MIT Licence Agreement. See DiCaMa Licence Agreement for more information.

monk-modules's People

Contributors

cfspeier avatar dicama avatar schroths7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

prototypefund

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.