Skip to main content

core.setcodebysystem

Home > @medplum/core > setCodeBySystem

setCodeBySystem() function

Sets a code for a given system within a given codeable concept.

Signature:

export declare function setCodeBySystem(concept: CodeableConcept, system: string, code: string): void;

Parameters

Parameter

Type

Description

concept

CodeableConcept

The codeable concept.

system

string

The system string.

code

string

The code value.

Returns:

void