import AvailableStrategy from 'clinical6/src/helpers/consent/AvailableStrategy.js'AvailableStrategy
Mixin Extends:
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
Constructor Summary
| Public Constructor | ||
| public |
constructor(json: Object) 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 |
|
|
Public Constructors
public constructor(json: Object) source
Constructor for helper class representing a Consent Form
Override:
AvailableStrategyModel#constructorParams:
| Name | Type | Attribute | Description |
| json | Object | json api response from server |
Manual
Reference
Source
Test
