# getRetractedSampleIds

> Returns the ids of every water sample retracted by another sample's corrects field (.well v2.3 ledger corrections). A corrected lab report or a data revalidation is a new sample; the retracted one stays in the file but is excluded from every derivation.

> **getRetractedSampleIds**(`well`): `Set`\<`string`\>

Returns the ids of every water sample retracted by another sample's
`corrects` field (.well v2.3 ledger corrections). A corrected lab report or
a data revalidation is a new sample; the retracted one stays in the file
but is excluded from every derivation.

## Parameters

### well

`Well`

## Returns

`Set`\<`string`\>
