# Organization

<mark style="color:green;">**Path: AC User Management > Organization**</mark>

digiRunner adopts organizational hierarchy to manage API visual authorizations, and achieves comprehensive management of data permissions and function permissions based on the controls over role functions; the principle is that the upper-level personnel may only view the API of the lower-level personnel under their organization.

![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/JcLhPZqIioilApWK614F/0.png)

Take the figure below for example.

Personnel A belongs to the organization unit *Department of Health*, so personnel A can view the information of lower-level *Physician* and *Administrative Assistant*.

![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/y0i7WIXtk0DJ7u7Erb1C/1.png)

Personnel B belongs to the organization unit *Department of IT* > *System Development Center*, therefore, personnel B cannot see the information of the parallel organization *Data Govemance Center*, and cannot see the information of the upper-level organization *Department of IT*.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/h1QJC0evM7Rc17HBj4JJ/2.png" alt="" width="470"></div>

{% hint style="info" %}
The ![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/xQ3QEaLYPDrWDFM6UqIE/3.png)![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/TEvhlRNo5ghDasMMhn5k/4.png) can be used to expand / collapse the sub-organizations under them.
{% endhint %}

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/NOmpDujAvnytX6CXKIfL/5.png" alt="" width="383"></div>

{% hint style="info" %}
If external personnel has the need to use the system console, another organization for external personnel can also be created and accounts can be created.
{% endhint %}

### Create Organizations <a href="#toc169185974" id="toc169185974"></a>

In this section, you can find instructions on how to create an organization list.

1. Click **Create** to access the organization creation page.

![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/jDCD1yDGRv6VJByX85N7/6.png)

2. Fill in the data or make selections as instructed below. The fields marked with “<mark style="color:red;">\*</mark>” are required.

* **Dept. name**<mark style="color:red;">\*</mark>**:** Name that can identify the organization.
* **Contacts name**<mark style="color:red;">\*</mark>**:** Person responsible for this organization.
* **Belonged dept.**<mark style="color:red;">\*</mark>**:** Select the upper-level organization.
* **Contacts telephone**<mark style="color:red;">\*</mark>**:** Phone number of the person responsible for this organization.
* **Dept. code:** Code to help identify the organization; limited to alphanumeric characters, underscore (\_) and hyphen (-).
* **Contacts email**<mark style="color:red;">\*</mark>**:** E-mail of the person responsible for this organization.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/ffvy2XchPUfbfdZUqE4j/7.png" alt="" width="486"></div>

3. Click on the ![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/DzsaHPpw2tQH6Lra6IsB/8.png) icon in the **Belonged dept.**<mark style="color:red;">\*</mark> field to access the **Organization chart** page, select the department the organization belongs to, and click **Confirm** to proceed.
4. When done adding the organization, click **Add** to save and exit.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/geKCJsQH42JF8QmPSYib/9.png" alt=""></div>

![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/aJdOdYKgomXI4TcfZnqZ/10.png)

### Manage Organizations

In this section, you can find instructions on how to view, update and delete this organization list.

1. Click on the desired organization to view the details of this organization, and click **Update** to access the update page.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/49vpdU1Q7mi0kfyyvmsX/11.png" alt="" width="488"></div>

2. Modify the desired fields, and click **Update** to save and exit.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/TaUhuEerIW3gEc4tGFKC/12.png" alt="" width="487"></div>

3. To delete this organization, click **Delete** and a system prompt will pop up. Click **Confirm** to delete the organization.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/5wtyizAnw0WkRhU14o5P/13.png" alt="" width="491"></div>

{% hint style="warning" %}
Organizations cannot be deleted if:

* The organization contains undeleted sub-organizations. The sub-organizations must be deleted first before the current organization can be deleted. Failure to do so will prevent the organization from being deleted, and a warning prompt will pop up.
* The organization contains undeleted users. The users must be deleted or moved to another organization before the current organiztion can be deleted. Failure to do so will prevent the organization from being deleted, and a warning prompt will pop up.
* The organization contains undeleted APIs. If a user within the organization has an API created, the user must be deleted or moved to another organization before the current organization can be deleted. Failure to do so will prevent the organization from being deleted, and a warning prompt will pop up.
  {% endhint %}

<figure><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/Fb9VbX8aOONZbWFJtj2P/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/BjkzF5c8TumEugepOfuo/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/b6NJWnjbFHC5yibXHOr9/image.png" alt=""><figcaption></figcaption></figure>

### Modify Parent Organization Name

In this section, you can find instructions on how to change the name of the parent organization.

1. Click on the parent organization to be modified to view the details of this parent organization.

![](https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/MhmwkO7U1P1mhDDvSYHV/17.png)

2. Click **Update** to access the **Update** page.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/NjBioxo5WPiGjbFvpUdQ/18.png" alt="" width="487"></div>

3. Modify the desired fields, and click **Update** to save and exit.

<div align="left"><img src="https://content.gitbook.com/content/0choIC1BbdPOkKWOYGgk/blobs/9BlVNmSAoynkY1H6MVWc/19.png" alt="" width="491"></div>
