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.
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.
A description is optional and will populate the queue description
This is a reference (UUID, same as mapping or name) to an existing concept that defines the service associated with this queue.
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.
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.
This is a reference (UUID or name) to an existing location that defines the location associated with this queue.
- The queue module version 2.1 or higher must be installed
- The OpenMRS version must be 2.3 or higher
Please look at the test configuration folder for sample import files for all domains, see here.