📄Prescriptions
A prescription is used to allow the user/patient to start to measure for a certain period.
Activating a prescription
The sdk.activatePrescription
method will link the prescription to the user and activate it.
This method takes the prescription'shash
as a parameter.
Keep in mind that this function can throw 2 errors:
NotPaidError
: This error is thrown when a paying prescription has not yet been paidAlreadyActivatedError
: This error is thrown when this prescription has already been used
Last updated