Skip to main content

core.medplumclient.startnewpatient

Home > @medplum/core > MedplumClient > startNewPatient

MedplumClient.startNewPatient() method

Initiates a new patient flow.

This requires a partial login from startNewUser or startNewGoogleUser.

Signature:

startNewPatient(newPatientRequest: NewPatientRequest, options?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;

Parameters

Parameter

Type

Description

newPatientRequest

NewPatientRequest

Register request including email and password.

options

MedplumRequestOptions

(Optional) Optional fetch options.

Returns:

Promise<LoginAuthenticationResponse>

Promise to the authentication response.