Currently there is an API Endpoint to create a care note; /genericapi/insertcarenote.
However, if there was a duplicate error, incorrect information or just an amendment, mCare doesn't allow the developer to edit or delete the care note.
This seems a little odd because currently this means an external integration can insert something to mCare Care Notes, and not edit or delete it when corrections are made, leading to permenant records that noone can delete (even Managers cannot edit or delete since mCare says it's created by an Integration).
We really need to allow 3rd parties the ability to Edit and Delete care notes that they only created. A simple solution would be;
External integration submited a care note
mCare API responds with a "CareNoteUUID"
If you want to edit this, then you POST to the same endpoint, insert parameter "CareNoteUUID" and then add the new data you want to update.
mCare checks your DevApiKey and GenericApi match as the author of that CareNoteUUID, and if so, you can edit it with the latest values.
To delete, similar approach but a separate endpoint, such as;
/genericapi/deletecarenote
again, mCare checks your DevApiKey and genericApi match as the author of that careNoteUUID, and if so, you can delete it.