core.medplumclient.startnewproject | Medplum

MedplumClient.startNewProject() method

Initiates a new project flow.

This requires a partial login from startNewUser or startNewGoogleUser.

Signature:

startNewProject(newProjectRequest: NewProjectRequest, options?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;

Parameters

Parameter Type Description
newProjectRequest NewProjectRequest Register request including email and password.
options MedplumRequestOptions (Optional) Optional fetch options.

Returns:

Promise< LoginAuthenticationResponse >

Promise to the authentication response.