## MedplumClient.readVersion() method

Reads a specific version of a resource by resource type, ID, and version ID.

**Signature:**

```typescript
readVersion<RT extends ResourceType>(resourceType: RT, id: string, vid: string, options?: MedplumRequestOptions): ReadablePromise<WithId<ExtractResource<RT>>>;
```

## Parameters

| Parameter      | Type                           | Description                           |
|----------------|--------------------------------|---------------------------------------|
| resourceType   | RT                             | The FHIR resource type.              |
| id             | string                         | The resource ID.                     |
| vid            | string                         | The version ID.                      |
| options        | [MedplumRequestOptions](/content/docs/sdk/core.medplumrequestoptions) | _(Optional)_ Optional fetch options. |

**Returns:**

[ReadablePromise](/content/docs/sdk/core.readablepromise) < [WithId](/content/docs/sdk/core.withid) <ExtractResource<RT>>>

The resource if available.

## Example

Example:

```typescript
const version = await medplum.readVersion('Patient', '123', '456');

console.log(version);
```

See the [FHIR "vread" operation](https://www.hl7.org/fhir/http.html#vread) for full details.
