PS: in order to insert the node, you’ll need to either specify a prefix or use a wildcard. Next, I would suggest to use db:open() instead of doc(); otherwise, the query processor will additionally try to locate your document in the local file system:
insert node <patient> </patient> into db:open('TEST01', '58745896522DFEF.xml')/*:vmr