Manual Reference Source Test
import FlowStepModel from 'clinical6/src/models/flow/FlowStep.js'
public class | source

FlowStepModel

Model representing a step in a flow process.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a step

response.id Number

The id of the step

response.title Object

The title of the step

response.description Object

Description, if any, that explain how to answer the step

response.content_type String

The format of the step (e.g. single choice, multiple choice)

response.image String

An image

response.inputs Array

Array of inputs

response.paths Array

An array of next steps available to the user

response.send_on_capture Boolean

Save now or later

Public Members

public content_type: String source

public description: Object source

public flowProcessId: Number source

public id: Number source

public image: Object source

public inputs: Array source

public paths: Array source

public sendOnCapture: Boolean source

public title: Object source