@medic/cht-datasource
    Preparing search index...

    @medic/cht-datasource

    The API for interacting with the CHT data model. See the Datasource interface for details about the available functionality. These APIs are guaranteed to be stable. Non-passive changes will only be released in major versions of the CHT platform.

    Note that most data model functions (aside from v1.hasPermissions and v1.hasAnyPermission) are asynchronous and should NOT be used in a synchronous context (such as Tasks, Targets, Contact Summary, and Purge configuration).

    Namespaces

    Contact
    Input
    Person
    Place
    Qualifier
    Report
    Target

    Classes

    InvalidArgumentError
    ResourceNotFoundError

    Interfaces

    DataContext
    DataObject
    Datasource
    Doc
    NormalizedParent
    Page

    Type Aliases

    DataArray
    DataPrimitive
    DataValue
    NonEmptyArray
    Nullable
    SettingsService
    SourceDatabases

    Functions

    getDatasource
    getLocalDataContext
    getRemoteDataContext