Manual Reference Source Test
public class | source

AvailableStrategy

Helper class representing a Consent Available Strategy.

Example:

// To get a list of Available Strategies you must have a user first, then get it based on this user
import { clinical6, AvailableStrategy } from 'clinical6';
const user = new User({...}); // get the user in some way
user.getAvailableStrategies().then(a => console.log(a)); // use getAvailableStrategies
clinical6.getChildren(user, AvailableStrategy).then(a => console.log(a)); // or using get children

Static Member Summary

Static Public Members
public static get

Constructor Summary

Public Constructor
public

Constructor for helper class representing a Consent Form

Member Summary

Public Members
public get
public set
public get
public set

Inherited Summary

From class AvailableStrategyModel
public

Static Public Members

public static get type: String source

Public Constructors

public constructor(json: Object) source

Constructor for helper class representing a Consent Form

Override:

AvailableStrategyModel#constructor

Params:

NameTypeAttributeDescription
json Object

json api response from server

Public Members

public get consentForms: ConsentForm[] source

public set consentForms: ConsentForm[] source

public get consentStrategy: ConsentStrategy source

public set consentStrategy: ConsentStrategy source