Intake Flow
An intake flow is a series of forms that the patient takes when they register for the patient portal.
The intake flow model
Properties
- Name
id
- Type
- string
- Description
Unique identifier for the intake flow.
- Name
object
- Type
- string
- Description
Always 'intake_flow'.
- Name
name
- Type
- string
- Description
Name of intake flow.
- Name
description
- Type
- string
- Description
Description of intake flow.
- Name
default
- Type
- boolean
- Description
Whether this is the default intake flow.
- Name
forms
- Type
- array of stringd
- Description
List of form ids that are part of the intake flow.
- Name
usable_by
- Type
- object
- Description
- Only applies if not the default intake flow. Who can use this form.
- Name
created_by
- Type
- string
- Description
Creator of the intake flow.
- Name
created_at
- Type
- date-time
- Description
Timestamp (in Unix epoch time) of when the intake flow was created.
- Name
last_updated_at
- Type
- date-time
- Description
Timestamp (in Unix epoch time) of when the intake flow was last updated.
Response
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "form",
"name": "Default Intake Flow",
"description": "This is the default intake flow.",
"default": true,
"forms": ["form_NOIYLBGOBNhSwTWCUzfu", "form_OBNhSwTWNOIYLBGCUzfu"],
"usable_by": {
"usable_by_all": true,
"usable_by": {
"medical_centers":[],
"specializations": [],
"peer_groups": [],
"individuals": []
}
},
"created_by": "user_xeDpGyt67wTor93qKtS7",
"created_at": "2024-04-10T13:20:21.724Z",
"last_updated_at": "2024-04-10T13:20:21.724Z"
}
Create an intake flow
Creates a new intake flow.
Required attributes
- Name
name
- Type
- string
- Description
Name of intake flow.
- Name
default
- Type
- boolean
- Description
Whether this is the default intake flow.
- Name
forms
- Type
- array of stringd
- Description
List of form ids that are part of the intake flow.
- Name
usable_by
- Type
- object
- Description
- Only applies if not the default intake flow. Who can use this form.
Optional attributes
- Name
description
- Type
- string
- Description
Description of intake flow.
Response
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "form",
"name": "Default Intake Flow",
"description": "This is the default intake flow.",
"default": true,
"forms": ["form_NOIYLBGOBNhSwTWCUzfu", "form_OBNhSwTWNOIYLBGCUzfu"],
"usable_by": {
"usable_by_all": true,
"usable_by": {
"medical_centers":[],
"specializations": [],
"peer_groups": [],
"individuals": []
}
},
"created_by": "user_xeDpGyt67wTor93qKtS7",
"created_at": "2024-04-10T13:20:21.724Z",
"last_updated_at": "2024-04-10T13:20:21.724Z"
}
Retrieve a form
Retrieves the specified form.
Response
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "form",
"name": "Default Intake Flow",
"description": "This is the default intake flow.",
"default": true,
"forms": ["form_NOIYLBGOBNhSwTWCUzfu", "form_OBNhSwTWNOIYLBGCUzfu"],
"usable_by": {
"usable_by_all": true,
"usable_by": {
"medical_centers":[],
"specializations": [],
"peer_groups": [],
"individuals": []
}
},
"created_by": "user_xeDpGyt67wTor93qKtS7",
"created_at": "2024-04-10T13:20:21.724Z",
"last_updated_at": "2024-04-10T13:20:21.724Z"
}
Update a form
Updates the specified form object by setting the values of the parameters passed. Any other parameters not provided will not be modified.
Required attributes
- Name
updated_by
- Type
- string
- Description
Updates to the form made by.
Optional attributes
- Name
name
- Type
- string
- Description
Name of intake flow.
- Name
description
- Type
- string
- Description
Description of intake flow.
- Name
default
- Type
- boolean
- Description
Whether this is the default intake flow.
- Name
forms
- Type
- array of stringd
- Description
List of form ids that are part of the intake flow.
- Name
usable_by
- Type
- object
- Description
- Only applies if not the default intake flow. Who can use this form.
Response
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "form",
"name": "Default Intake Flow",
"description": "This is the default intake flow.",
"default": true,
"forms": ["form_NOIYLBGOBNhSwTWCUzfu", "form_OBNhSwTWNOIYLBGCUzfu"],
"usable_by": {
"usable_by_all": true,
"usable_by": {
"medical_centers":[],
"specializations": [],
"peer_groups": [],
"individuals": []
}
},
"created_by": "user_xeDpGyt67wTor93qKtS7",
"created_at": "2024-04-10T13:20:21.724Z",
"last_updated_at": "2024-04-10T13:20:21.724Z"
}
List all intake flows
Returns a list of all intake flows.
Response
{
"object": "list",
"data": [
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "form",
"name": "Default Intake Flow",
"description": "This is the default intake flow.",
"default": true,
"forms": ["form_NOIYLBGOBNhSwTWCUzfu", "form_OBNhSwTWNOIYLBGCUzfu"],
"usable_by": {
"usable_by_all": true,
"usable_by": {
"medical_centers":[],
"specializations": [],
"peer_groups": [],
"individuals": []
}
},
"created_by": "user_xeDpGyt67wTor93qKtS7",
"created_at": "2024-04-10T13:20:21.724Z",
"last_updated_at": "2024-04-10T13:20:21.724Z"
},
]
}
Delete an intake flow
Deletes the specified intake flow.
Required attributes
Optional attributes
Response
{
"id": "iflw_NOIYLBGOBNhSwTWCUzfu",
"object": "intake_flow",
"delete": true
}