delete

abstract suspend fun delete(type: ResourceType, id: String)

Removes a FHIR resource given its ResourceType and logical ID.

Parameters

type

The type of the resource to delete.

id

The logical ID of the resource.