Skip to content

UI components and backend web services to upload, view and manage attachments within OpenMRS.

License

Notifications You must be signed in to change notification settings

openmrs/openmrs-module-attachments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenMRS Attachments Module (backend)

The Attachments module brings a dedicated Java and web API to manage patient file attachments in OpenMRS.
It encompasses files uploaded elsewhere within OpenMRS as long as they are saved as complex obs.

In a nutshell the Attachments module is a 'complex obs management API module' whose Java API is designed to be extended, through new version of the module, to support further content types and concept complex coded obs.

Content is handled based on its MIME type

The Attachments module is designed to handle content (or MIME) types on an ad-hoc basis. For example images (files with image/* content types) are provided a custom handler that saves them alongside their thumbnails. This is intended for frontend implementations that need to load many images efficiently (in galleries for instance).

Not-yet-handled content types

When a content type is not provided a bespoke handling mechanism, it can still be accessed generically as it would be on any 'drive' or storage.

How to try it out?

Build the master branch and install the built OMOD to your instance running the OpenMRS with the REST web-services module installed.

git clone https://github.com/openmrs/openmrs-module-attachments/tree/master
cd openmrs-module-attachments
mvn clean package
Runtime requirements & compatibility

Releases notes

Version 3.0.0

⚠️ Breaking changes ⚠️

  • This module no longer supports the 2.x UI Framework functionalities. I.e. it has become headless with only REST endpoints for the management of attachments. For support of the removed features please use versions 2.6.0 version and below.

About

UI components and backend web services to upload, view and manage attachments within OpenMRS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published