> For the complete documentation index, see [llms.txt](https://mets-programme.gitbook.io/ugandaemr-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mets-programme.gitbook.io/ugandaemr-documentation/configuring-your-installation.md).

# Configuring your installation

## Enabling ART Number Patient Identifier

Ministry of Health policy dictates that the patient's preART number has to be carried on into ART treatement, as the ART number. However there are circumstances where this is not the case, so a separate ART number identifier is needed.

To enable this identifier:

1. Login as a user with administrator privileges

   <img src="/files/WjQgTIdSBeLEmwn6gJjG" alt="Login" data-size="original">
2. Click legacy administration link as circled in the image below

   <img src="/files/-MNbrf6BKI7kbp4klYcr" alt="Legacy System Adminstration Link" data-size="original">
3. Under Maintenance in the middle column, select Settings ![Settings Link](/files/OQFmxJ5BOOFbv4sfxjst)
4. On the Settings page, select UgandaEMR from the left hand side
5. Change the value of the RT Patient Identifier to true, then click the Save button ![ART Patient Identifier Global Property](/files/-M4y-QxypZ0O9WWE7WyH)
6. Restart your computer and the new identifier will be enabled.

## Tomcat Configurations

1. Go to Windows Startup Menu
2. Search for Configure Tomcat and click on it
3. On the Configuration Select Java Tab
4. Delete values in the Initial memory pool and Maximum memory pool
5. Click okay
6. Restart Tomcat

## MySQL

1. Open the file my.cnf in C:\Program Files\MySQL Server\MySQL Server 5.5
2. In the section that starts with \[mysqld] add the line `innodb_buffer_pool_size=2G`
3. Restart the computer


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mets-programme.gitbook.io/ugandaemr-documentation/configuring-your-installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
