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 | Register request including email and password. | |
options | (Optional) Optional fetch options. |
Returns:
Promise<LoginAuthenticationResponse>
Promise to the authentication response.