The Flag Tags subfolder contains CSV import files for saving Tag entities which are used to categorize and filter patient flags. Below is a possible example of its content:
flagtags/
├──tags.csv
└── ...Here are the possible headers with a sample data set:
| Uuid | name | roles | display points | description |
|---|---|---|---|---|
| 526bf278-ba81-4436-b867-c2f6641d060a | HIV | Clinician;Nurse | Patient Summary | Tags for HIV-related flags |
| 627bf278-ba81-4436-b867-c2f6641d060b | Clinical | Patient Summary;Patient Dashboard | General clinical flags |
Let's review the headers as below
This unique identifier represents the different tags.
This is the descriptive name of the tag.
A semi-colon separated list of Role identifiers (UUID or name). Flags associated with this tag will be visible to users with these roles.
A description of the tag.
LEGACY: Only used for RefApp 2.x. A semi-colon separated list of DisplayPoint identifiers (UUID or name). Flags associated with this tag will be displayed at these display points in RefApp 2.x. In OpenMRS 3+, this is configured on the frontend.
- The patientflags module version 3.0 or higher must be installed
- The OpenMRS version must be 2.2 or higher
Please look at the test configuration folder for sample import files for all domains, see here.