# Delete/Retire

## Delete Property Definitions

Property definitions can be deleted on the ***Schema*** page by clicking the <img src="https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/b92ryRo4HIWsg5kYQ7oC/delete_icon.svg" alt="" data-size="line"> button.&#x20;

{% hint style="warning" %}
To confirm the action, press Delete in the danger zone again.
{% endhint %}

![Delete Code System Property Definition](https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/LyeX9cVpVNI0nStZcbPN/delete_property_definition.png)

{% hint style="danger" %}
If you delete a property definition, existing values will also be removed from the ***Content*** page.
{% endhint %}

## Delete Properties

Properties can be removed on the ***Content*** page by clicking the <img src="https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/6xN4rjPSkj6m8YErjtxV/context_menu_dropdown_icon.svg" alt="" data-size="line"> button and selecting *Delete* from the context menu options.

{% hint style="warning" %}
To confirm the action, press Delete in the danger zone again.
{% endhint %}

## Delete or Retire Code System

Code Systems that are in [draft](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/..#lifecycle) status can be deleted, while resources in [active](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/..#lifecycle) status can only be retired. The action can be performed from the resource's ***Settings*** tab by pressing the retire/delete resource button.

{% hint style="warning" %}
To confirm the action, press Retire/Delete in the danger zone again.
{% endhint %}

![Retire Code System](https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/MPVahJUCWozs6PafeN9a/confirm_retire.png)

{% hint style="info" %}
Read more about resource lifecycle by visiting the following page: [Resources](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/..#lifecycle).
{% endhint %}

## Delete or Retire Concept

Concepts in Code Systems that are in [draft](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/..#lifecycle) status can be deleted, while concepts in [active](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/..#lifecycle) Code Systems can only be retired.

{% hint style="info" %}
To delete (<img src="https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/l9p42xxuyi4qt0s0m6R0/delete_concept_icon.svg" alt="" data-size="line">) or retire (<img src="https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/nc7USHloVwt2SFlkM8Ri/retire_concept_icon.svg" alt="" data-size="line">) a concept, press the corresponding icons and confirm your action in the danger zone again.
{% endhint %}

Retired concepts can also be re-activated using the <img src="https://content.gitbook.com/content/cbgd8l03Uymjs4x5j6vT/blobs/nc7USHloVwt2SFlkM8Ri/retire_concept_icon.svg" alt="" data-size="line"> icon.

{% hint style="info" %}
To find inactive concepts, you can use the Status filter in the Code System's [Advanced Search](https://docs.b2ihealthcare.com/snowray/v3.3/reference/resources/codesystems/custom-code-systems/advanced-search).
{% endhint %}
