Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 2.53 KB

queues.md

File metadata and controls

42 lines (31 loc) · 2.53 KB

Domain 'queues'

The queues subfolder contains CSV import files for saving queues in bulk. This is a possible example of its content:

queues/
  ├──queues.csv
  └── ...

There is currently only one format for the queue CSV line, here are the possible headers with a sample data set:

Uuid Void/Retire Name Description Service Status Concept Set Priority Concept Set Location
32176576-1652-4835-8736-826eb0237482 Clinical Consultation Queue Consult Queue Outpatient Service Queue entry statuses Queue entry priorities Outpatient Clinic

Headers that start with an underscore such as _order:1000 are metadata headers. The values in the columns under those headers are never read by the CSV parser.

Let's review some important headers.

Header Name (mandatory)

This is not a localized header.
The name is not a secondary identifier to access a queue type. A UUID must be provided for each queue.

Header Description

A description is optional and will populate the queue description

Header Service

This is a reference (UUID, same as mapping or name) to an existing concept that defines the service associated with this queue.

Header Status Concept Set

This is a reference (UUID, same as mapping or name) to an existing concept set that defines the queue statuses that could be assigned to the entries in this queue.

Header Priority Concept Set

This is a reference (UUID, same as mapping or name) to an existing concept set that defines the queue priorities that could be assigned to the entries in this queue.

Header Location

This is a reference (UUID or name) to an existing location that defines the location associated with this queue.

Requirements

  • The queue module version 2.1 or higher must be installed
  • The OpenMRS version must be 2.3 or higher

Further examples:

Please look at the test configuration folder for sample import files for all domains, see here.