Skip to main content

core.parameterstoordersetsyncresponse

Home > @medplum/core > parametersToOrderSetSyncResponse

parametersToOrderSetSyncResponse() function

Decodes the Parameters response from the $sync-orderset custom operation into a typed OrderSetSyncResponse, including the repeating per-action results rows the server previously dropped.

Signature:

export declare function parametersToOrderSetSyncResponse(params: Parameters): OrderSetSyncResponse;

Parameters

Parameter

Type

Description

params

Parameters

The Parameters resource returned by the operation.

Returns:

OrderSetSyncResponse

A vendor-neutral OrderSetSyncResponse.