Manual Reference Source Test
import CohortModel from 'clinical6/src/models/cohort/Cohort.js'
public class | source

CohortModel

Direct Subclass:

Cohort

Model representing a cohort.

Constructor Summary

Public Constructor
public

constructor(response: Object)

Member Summary

Public Members
public
public
public
public
public

Public Constructors

public constructor(response: Object) source

Params:

NameTypeAttributeDescription
response Object

JSON formatted response of a cohort.

response.id Number

The user role ID value

response.name String

Name of the cohort

response.cohort_type String

Cohort type - must be either 'dynamic' or 'static'

response.created_at Boolean

The date when the cohort was created

response.updated_at Boolean

The date when the cohort was last updated

Public Members

public cohortType: String source

public createdAt: String source

public id: Number source

public name: String source

public updatedAt: String source