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?: RequestInit): Promise<LoginAuthenticationResponse>;
Parameters
Parameter | Type | Description |
---|---|---|
newPatientRequest | NewPatientRequest | Register request including email and password. |
options | RequestInit | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.