Skip to main content

core.medplumclient.callcdsservice

Home > @medplum/core > MedplumClient > callCdsService

MedplumClient.callCdsService() method

Calls a CDS service by ID.

Signature:

callCdsService(id: string, body: CdsRequest, options?: MedplumRequestOptions): Promise<CdsResponse>;

Parameters

Parameter

Type

Description

id

string

The CDS service ID.

body

CdsRequest

The CDS request body.

options

MedplumRequestOptions

(Optional) Optional fetch options.

Returns:

Promise<CdsResponse>

The CDS response.