Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get current member’s Account data. Each member is mapped to Account which contains some general settings.

It includes schema for Intake forms, Signup form.

Account.code is also used for starting visits.

Intake wizard flow:

Patient should go through all steps defined in 2 arrays: Account.intake_steps and Account.post_intake_steps *

  • Create / update Intake object

...

  • When Account.intake_steps are all passed, create a visit

...

  • Go through Account.post_intake_steps at which the patient may update existing intake and do other things (take survey, pick pharmacy, etc)

Each step has a "code" field which defines the type of content of the step. See the description below

Parameters

Parameter

Type

Description

code

String

Account’s code or dash (-) for current account

...