# Administration | Rules , after creating new rule is there any possible delete?

**URL:** <https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814>\
**Category:** Day-to-Day Users\
**Created:** [September 11, 2019, 8:28am UTC](https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814 "2019-09-11T08:28:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![siva](https://community.open-emr.org/user_avatar/community.open-emr.org/siva/32/13961_2.png) [@siva](https://community.open-emr.org/u/siva)\
**Post date:** [September 11, 2019, 8:28am UTC](https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814/1 "2019-09-11T08:28:01Z")

</div>

I created the new rules at Administration | Rules section , but there is no delete option,how to delete created rule

regards,  
siva shankar.G

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [September 12, 2019, 5:33am UTC](https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814/2 "2019-09-12T05:33:44Z")

</div>

@siva,  
Have you tried the below option?

1. Go to Administration-\>Lists
2. Search for **Clinical rule** in drop down.
3. All the rules will be displayed. Inactive the rule that you wish to delete.

Thanks,  
[ViSolve](http://www.visolve.com/hc)

---

<div class="post-metadata">

**Author:** ![siva](https://community.open-emr.org/user_avatar/community.open-emr.org/siva/32/13961_2.png) [@siva](https://community.open-emr.org/u/siva)\
**Post date:** [September 12, 2019, 5:45am UTC](https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814/3 "2019-09-12T05:45:43Z")

</div>

thanx for replay,

eventhough i inactive the rules , it shows their Rule ID numbers in Administration | Rules

---

<div class="post-metadata">

**Author:** ![visolveemr](https://community.open-emr.org/user_avatar/community.open-emr.org/visolveemr/32/10974_2.png) [@visolveemr](https://community.open-emr.org/u/visolveemr)\
**Post date:** [October 22, 2019, 6:29am UTC](https://community.open-emr.org/t/administration-rules-after-creating-new-rule-is-there-any-possible-delete/12814/4 "2019-10-22T06:29:27Z")

</div>

@siva,  
Could you please try by modifying the below code?

1. File Name : interface/super/rules/include/ui.php  
Under the function getLabel, comment the line return $value.

> function getLabel($value, $list\_id){  
> // Don’t disturb any existing codes.  
> **// return $value;**  
> }

1. File Name : interface/super/rules/controllers/browse/controller.php  
Under the function \_action\_getrows, include the condition as highlighted below.

> function \_action\_getrows(){  
> //Don’t disturb existing codes  
> **if($title!=‘’ ){**  
> $row = array(  
> “title” =\> $title, “type” =\> $type, “id” =\> $rowRule[‘id’]  
> );  
> $rows = $row;  
> **}**  
> }

Check and let us know if it helps.

Thanks,  
[ViSolve](http://www.visolve.com/hc)
