...
- Manage Flags and Manage Tags require "Manage Flags" privilege
- Find Flagged Patients requires "Test Flags" privilege
Download
- Download the Patient Flags module
- View/download the source code from svnGitHub: httphttps://svngithub.com/openmrs.org/openmrs-module-modules/patientflags/trunk/
REST endpoints
Method | URL | Parameters / Body | Description | Rep Default | Rep Full |
---|---|---|---|---|---|
Priority | |||||
GET | /ws/rest/v1/patientflags/priority/{uuid or name} | Fetches unique priority by name or uuid |
|
| |
GET | /ws/rest/v1/patientflags/priority | none | Fetches all priorities | ||
GET | /ws/rest/v1/patientflags/priority | q | Searches priority by name | ||
POST | /ws/rest/v1/patientflags/priority | name, rank style | Create with properties in request | ||
POST | /ws/rest/v1/patientflags/priority/{uuid or name} | name, rank style | Update with properties in request | ||
DELETE | /ws/rest/v1/patientflags/priority/{uuid}?purge | Deletes the record | |||
Flag | |||||
GET | /ws/rest/v1/patientflags/flag/{uuid or name} | Fetches unique flag by uuid or name |
|
| |
GET | /ws/rest/v1/patientflags/flag | none | Fetches all flags | ||
GET | /ws/rest/v1/patientflags/flag |
| Searches data by specified filters. | ||
POST | /ws/rest/v1/patientflags/flag | name, criteria, evaluator, message, priority, enabled, tags (comma separated) | Create with properties in request | ||
POST | /ws/rest/v1/patientflags/flag/{uuid} | name, criteria, evaluator, message, priority, enabled, tags (comma separated) | Update given uuid with properties in request | ||
DELETE | /ws/rest/v1/patientflags/flag/{uuid}?purge | Delete from database | |||
Tag | |||||
GET | /ws/rest/v1/patientflags/tag/{uuid or name} | Fetches unique tag by uuid or name |
|
| |
GET | /ws/rest/v1/patientflags/tag | none | Fetches all tags | ||
GET | /ws/rest/v1/patientflags/tag |
| Fetches tag by name | ||
POST | /ws/rest/v1/patientflags/tag | name, roles, displayPoints | Create with properties in request | ||
POST | /ws/rest/v1/patientflags/tag/{uuid} | name, roles, displayPoints | Update given uuid with properties in request | ||
DELETE | /ws/rest/v1/patientflags/tag/{uuid}?purge | Delete from database |
...