Skip to main content

core.medplumclient.requestprofileschema

Home > @medplum/core > MedplumClient > requestProfileSchema

MedplumClient.requestProfileSchema() method

Requests the schema for a profile. If the schema is already cached, the promise is resolved immediately.

Signature:

requestProfileSchema(profileUrl: string, options?: RequestProfileSchemaOptions): Promise<string[]>;

Parameters

ParameterTypeDescription
profileUrlstringThe FHIR URL of the profile
optionsRequestProfileSchemaOptions(Optional) (optional) Additional options

Returns:

Promise<string[]>

Promise with an array of URLs of the profile(s) loaded.