Skip to main content

Function: codeMeaningEquals()

codeMeaningEquals(codeMeaningName): (contentItem) => boolean

Returns a function that checks if a given content item's ConceptNameCodeSequence.CodeMeaning matches the provided codeMeaningName.

Parameters​

• codeMeaningName: string

The CodeMeaning to match against.

Returns​

Function

A function that takes a content item and returns a boolean indicating whether the content item's CodeMeaning matches the provided codeMeaningName.

Parameters​

• contentItem: any

Returns​

boolean

Defined in​

adapters/src/adapters/helpers/codeMeaningEquals.ts:8