2009 Implementers Group Meeting Program Imaging in OpenMRS

Options available for imaging in OpenMRS

  • Google Maps Imaging Module

    • Currently doesn't work on OpenMRS 1.5. Requires complex obs branch. Has tickets already, and Mike says can can probably fix them.

    • Allows annotations on the image

OpenMRS includes Complex Obs support now

We looked at how to setup a complex observation and then store an image in it.

  1. Verify "Complex" exists under Administration, Manage Concept Datatypes

  2. Create a concept, of Complex datatype. Choose a Handler of ImageHandler.

  3. Create an observation

    1. Click Administration

    2. Manage Observations

    3. Add Observation

  4. Fill out the form to create a new observation

    1. Select a concept that is of complex datatype (maybe the one you just created/edited).

    2. Browse to upload the image

Final Notes / Concerns

  • The files are stored in a directory in the file system

  • Images are saved with their original name.

  • If an image of the same file name exists, it adds a 01 to the end of the file name. For example, mypicture.jpg then mypicture01.jpg

  • What are the file system limitations? Is there any structure to the files?

  • Remember to backup the images.

  • Synchronization

  • Thanks Mike and Ben for sharing your knowledge!