Skip to main content

core.codeableconceptmatchestoken

Home > @medplum/core > codeableConceptMatchesToken

codeableConceptMatchesToken() function

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

Signature:

export declare function codeableConceptMatchesToken(codeableConcept: CodeableConcept, token: string): boolean;

Parameters

Parameter

Type

Description

codeableConcept

CodeableConcept

The CodeableConcept to test

token

string

The token string to test

Returns:

boolean

True if the CodeableConcept matches the token