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

ParameterTypeDescription
newPatientRequestNewPatientRequestRegister request including email and password.
optionsMedplumRequestOptions(Optional) Optional fetch options.

Returns:

Promise<LoginAuthenticationResponse>

Promise to the authentication response.