Delete a clinical reference
ClinicalReference AutoScribe.ClinicalReferences.Delete(ClinicalReferenceDeleteParamsparameters, CancellationTokencancellationToken = default)
POST/v1/autoScribe/clinicalReferences/{clinicalReferenceId}/delete
Soft-deletes a clinical reference by setting isActive to false and suffixing the name to free the unique constraint.
Delete a clinical reference
ClinicalReferenceDeleteParams parameters = new()
{
ClinicalReferenceID = "ref_1234567890abcdef1234567890abcdef"
};
var clinicalReference = await client.AutoScribe.ClinicalReferences.Delete(parameters);
Console.WriteLine(clinicalReference);{
"clinicalReferenceId": "ref_1234567890abcdef1234567890abcdef",
"createdAt": "2024-01-15T09:00:00Z",
"isActive": true,
"name": "City Medical Center",
"type": "facility",
"updatedAt": "2024-03-15T14:20:00Z",
"expressCustomer": {
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center"
},
"externalReferenceId": "FAC-001",
"metadata": {
"region": "northeast"
}
}Returns Examples
{
"clinicalReferenceId": "ref_1234567890abcdef1234567890abcdef",
"createdAt": "2024-01-15T09:00:00Z",
"isActive": true,
"name": "City Medical Center",
"type": "facility",
"updatedAt": "2024-03-15T14:20:00Z",
"expressCustomer": {
"expressCustomerId": "cus_1234567890abcdef1234567890abcdef",
"expressCustomerName": "City Medical Center"
},
"externalReferenceId": "FAC-001",
"metadata": {
"region": "northeast"
}
}