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
Parameter | Type | Description |
---|---|---|
profileUrl | string | The FHIR URL of the profile |
options | (Optional) (optional) Additional options |
Returns:
Promise<string[]>
Promise with an array of URLs of the profile(s) loaded.