core.typescriptgeneratoroptions.getvaluesetvalues
Home > @medplum/core > TypeScriptGeneratorOptions > getValueSetValues
TypeScriptGeneratorOptions.getValueSetValues property
Returns the codes in a ValueSet, used to narrow bound string properties to a union of string literals. If not provided, or if no codes are returned, bound properties are typed as string.
Signature:
getValueSetValues?: (url: string) => string[] | undefined;