Page tree
Skip to end of metadata
Go to start of metadata

This module contains higher-level Java and REST APIs for building an EMR, built on top of OpenMRS's low-level data APIs.

What this module does

Documentation / How-To

Global Property Configuration

This module can be configured with a number of global properties

  1. emrapi.EmrApiVisitAssignmentHandler.encounterTypeToNewVisitTypeMap (since 1.21) - defines the mapping between encounter types and visit types. When defined leads to the creation of a new visit whose visit type is obtained from the defined mapping. The following mappings are accepted:
    1. encounterTypeId:visitId - numeric identifiers e.g., 2:1
    2. encounterTypeUuid:visitTypeUuid - uuid identifiers e.g ca3aed11-1aa4-42a1-b85c-8332fc8001fc:7b0f5697-27e3-40c4-8bae-f4049abfb4ed (Check-in encounter type to Facility visit type)
    3. encounterTypeUuid:visitTypeId - mixing of uuids and numeric identifiers 
    4. default:visitTypeId - mapping all encounter types to a specific visit type (either numeric identifier or uuid works for the visit type)
    5. default:visitTypeId, encounterTypeId:visitTypeId - overriding the default mapping for all encounter types for a specific encounter type e.g. default:1, 2:2 will create visit type 2 for encounters with encounter type 2 and visit type 1 for all other encounters. 



Release Notes


This module was developer by ____ for ____.

  • No labels

1 Comment

  1. Darius Jazayeri is there a documentation for this module somewhere (I mean other than this (smile))? We are trying to adapt visits at AMPATH and a few days ago we had a discussion with Burke Mamlinwho suggested that may be what we are trying to build is already provided by this module.