core.codingmatchestoken | Medplum

codingMatchesToken() function

Checks if a Coding matches a token search string https://build.fhir.org/search.html#token

Signature:

export declare function codingMatchesToken(coding: Coding, token: string): boolean;

Parameters

Parameter Type Description
coding Coding The Coding to test
token string The token string to test

Returns:

boolean

True if the Coding matches the token