Search the patients a SMART sign-in may pick
- Sandbox: available
- On your own host? Choose https://{host} in the playground.
Lists up to 20 patients a SMART sign-in may pick, when its step is patient.
Behaviour
- The store answers as the chosen profile itself, so its access policy decides who is listed.
namematches part of the name; empty lists the first page.
application/json- body
session*stringThe sign-in handle the previous step answered.
32 <= length <= 64name?stringPart of the name; empty lists the first page.
length <= 100""Up to 20 patients the chosen profile may read.
application/json- response
patients*array<>curl -X POST 'https://api.sandbox.ovok.com/v1/smart/sign-in/patients' \ -H 'Content-Type: application/json' \ -d '{ "session": "stringstringstringstringstringst"}'{ "patients": [ { "id": "string", "name": "string", "birthDate": "string", "gender": "string" } ]}Choose the profile of a SMART sign-in POST
Chooses which of the user's profiles a SMART sign-in uses, when its step is `profile`, and answers the next step. ## Behaviour - `membership` must be one of the `profiles` the previous step listed. - A Patient profile goes to `done`; any other picks a patient next.
Pick the patient of a SMART sign-in POST
Picks the patient of a SMART sign-in whose step is `patient`, and answers `done` with the app's redirect. ## Behaviour - The chosen profile must be able to read the patient; otherwise 404. - Ovok stores a `SmartAppLaunch` of that patient, authored by the profile, so the app's token names the patient and its `patient/` scopes reach that patient's data only.