Git Product home page Git Product logo

openmrs-module-drawing's Introduction

Drawing Module

This module provides a way to draw and annotate on images and save them as complex observation. You can find more information at https://wiki.openmrs.org/display/docs/Drawing+Module

Additional Installation Steps

  1. Download Drawing module from here and upload it into your system .
  2. Create a new concept (You can do this by clicking on Dictionary and Add new Concept)
  3. If there is a class 'Drawing' in the list , set the class of concept to 'Drawing'. if not create a new class 'Drawing' and set the class field of the concept to the same(you can create new class from administration ->Manage Concept Classes )
  4. Set the data type to complex
  5. Set the handler to DrawingHandler

User Documentation

TL;DR <drawing id="drawingEditor" conceptId="" displayMode="annotation" width="500px" height="250px" preloadResImage="web/module/resources/images/DrawingTemplates/Full Body Lateral Female.png">

Breaking Changes

questionConceptId has been changed to conceptId

Required tag attributes as 2.0.0

An id attribute (e.g. <drawing id="drawingEditor"/>) is still required.

conceptId is required as with many HFE tags.

displayMode is a new and required attribute.

Display Modes

The Drawing module now explicity provides two display modes, one specifically for drawing and annotating images, and one specifically for use with signatures.

<drawing displayMode="{annotation, signature}" conceptId="(HFE sufficient Conecpt identifier)"/>

New attributes supported in 2.0.0

Height and width <drawing displayMode="annotation" conceptId="(complexId)" width="500px" height="250px">

Preloaded "template" Image (from drawing or module internal resources) <drawing displayMode="annotation" conceptId="(complexId)" preloadResImage="/web/module/resources/images/example.png"/>

openmrs-module-drawing's People

Contributors

kml27 avatar openmrs-bot avatar ibacher avatar icrc-toliveira avatar icrc-psousa avatar mks-d avatar

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.