Patching
Constructing a Patch
<Patch xmlns="http://santedb.org/model">
<appliesTo type="Patient|Place|Entity...">
<id>9fdb557d-2e2f-4fe5-a193-e1cf8cf49bc4</id>
</appliesTo>
<change op="Test|Replace|Remove|Add" path="pathInObject">
<value>
object
</value>
</change>
</Patch><Patch xmlns="http://santedb.org/model">
<appliesTo type="Patient">
<id>1c8c9aa3-abb8-48ee-992d-8f0c524ce40c</id>
</appliesTo>
<!-- Remove existing Legal Name -->
<change op="Remove" path="name">
<value>
<EntityName>
<use>effe122d-8d30-491d-805d-addcb4466c35</use>
</EntityName>
</value>
</change>
<change op="Add" path="name">
<value>
<EntityName>
<use>effe122d-8d30-491d-805d-addcb4466c35</use>
<component>
<value>Jim</value>
</component>
</EntityName>
</change>
</Patch>Dealing with Conflicts
Difference Operation
Last updated
Was this helpful?