Database

LabPipe Server works with MongoDB.

Required collections

Collection

Description

Access tokens

Roles

To provide parameter list for the client

API endpoint roles

Operators, can be used for login on the client

Research studies

Dynamic form templates to be retrieved on the client

Report html templates for record notification email

Instruments

Devices attached to instruments for collection

Sample types

Locations

Email groups for notification email

ACCESS_TOKENS

Parameter

Format

Required

token

string

Yes

keyhash

string

Yes

roles

string[]

No

Example

ROLES

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

Example

CLIENT_SETTINGS

Parameter

Format

Required

Value

identifier

string

Yes

client_init

name

string

Yes

value

string[]

No

Example

API_ACCESS_ROLES

Parameter

Format

Required

url

string

Yes

roles

string[]

Yes

Example

OPERATORS

Parameter

Format

Required

name

string

Yes

passwordHash

string

Yes

username

string

Yes

email

string

Yes

active

boolean

Yes

projects

string[]

No

notificationGroup

string[]

No

roles

string[]

No

Example

STUDIES

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

config

object

Yes

Example

FORMS

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

studyIdentifier

string

Yes

instrumentIdentifier

string

Yes

template

object

Yes

url

string

Yes

notificationStyle

string

Yes

Example

REPORT_TEMPLATES

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

formIdentifier

string

Yes

text

string

No

html

object[]

Yes

active

boolean

Yes

Example

INSTRUMENTS

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

realtime

boolean

Yes

fileType

string[]

Yes

Example

COLLECTORS

TBA.

SAMPLE_TYPES

TBA.

LOCATIONS

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

type

string[]

No

Example

EMAIL_GROUPS

Parameter

Format

Required

identifier

string

Yes

name

string

Yes

studyIdentifier

string

Yes

formIdentifier

string

Yes

admin

string[]

No

member

string[]

No

Example

Last updated

Was this helpful?