in src/common/backend/StubbedBackend.ts [117:143]
async delete(resourceType: string, id: string): Promise<ApiResponse> {
const response = {
resourceType: "OperationOutcome",
text: {
status: "generated",
div:
'<div xmlns="http://www.w3.org/1999/xhtml"><h1>Operation Outcome</h1><table border="0"><tr><td style="font-weight: bold;">INFORMATION</td><td>[]</td><td><pre>Successfully deleted 1 resource</pre></td></tr></table></div>',
},
issue: [
{
severity: "information",
code: "informational",
diagnostics: "Successfully deleted 1 resource",
},
],
};
return Promise.resolve({
body: response,
headers: {
"content-length": "438",
"content-type": "application/json; charset=utf-8",
"last-modified": new Date().toISOString(),
},
statusCode: 200,
});
}