Patch operation for extension

Hi, I have extension in resource, that I want to update. How can I update using patch operation
“extension”: [{

    "url": "https://xxxxx/CodeSystem/task-enabled",

    "valueBoolean": true

}],

I need to update valueBoolean

Hi, Talwinder.singh.
I think it’s common problem for implementers and developers. We also faced with this problem. You should update all array of extensions every time when you doing PATCH. As alternative you could apply this merge on a application-level before FHIR Server. e.g. merge current values + updated values.
There is also impossible to define in Structure Definition which extensions could be or not updated.