# Create

Users can add Custom Code Systems to the system in two different ways: either by creating a new one from scratch or by importing one.

## Create New Code System

Selecting the Code System option from the ![](/files/pbj4A4OBOIC1cY1kuQrh)resource button reveals the New Code System creation section in place of the Details section. Once the required fields are populated, users can proceed with generating the Code System by pressing the ![](/files/-MgF2GD2NiTeBCuCxmEP)button.

![Code System Creation](/files/fcQkXloLXPwnnwOgWDRw)

| Field     | Description                                                                                                                         |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| **ID**    | The identifier of the Code System. If you leave this field empty, the system will automatically generate an ID for your Code System |
| **Title** | The title of the Code System (mandatory)                                                                                            |

{% hint style="info" %}
After pressing the ![](/files/-MgF2GD2NiTeBCuCxmEP) button, you will be taken to the ***Overview*** tab of your new resource.
{% endhint %}

## Import Code System

Code Systems can be also created through import.

{% hint style="info" %}
Snowray supports Excel file format for Code System import.
{% endhint %}

The import functionality can be accessed from the Resources page by pressing the ![](/files/7lW3yfMKRtl72m2RUykO)button located in the header area.

Users have two options to specify the import file in the import wizard: either by clicking in the import area and using the selector, or by drag and dropping it to the designated area.

![Code System import Wizard](/files/uGkM1ibsOnRotj7sxIGd)

{% hint style="success" %}
After clicking the Next button, the import will be performed to the selected Code System.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.b2ihealthcare.com/snowray/v2.7-1/reference/resources/codesystems/custom-code-systems/create.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
