@cactus-technologies/lab100-constants

1.1.0 • Public • Published

@cactus-technologies/lab100-constants

Shared Enumerations between the lab100 ecosystem

Installation

npm install --save @cactus-technologies/lab100-constants

Enumerations

/* General */
CONSTANTS.other = -1
CONSTANTS.notSet = 0

/* Rating */
CONSTANTS.rating.notSet = -2
CONSTANTS.rating.min = -2
CONSTANTS.rating.max = 10

/* Surveys */
CONSTANTS.surveys.true = 'Yes'
CONSTANTS.surveys.false = 'No'

/* booleans */
CONSTANTS.yes = 1
CONSTANTS.true = 1
CONSTANTS.no = 2
CONSTANTS.false = 2

/* BiologicalSex */
CONSTANTS.male = 1
CONSTANTS.female = 2

/* Handeness */
CONSTANTS.left = 1
CONSTANTS.right = 2

/* Ethinicity */
CONSTANTS.hispanic = 1
CONSTANTS.nonHispanic = 2

/* Race */
CONSTANTS.americanIndian = 1
CONSTANTS.asian = 2
CONSTANTS.africanAmerican = 3
CONSTANTS.pacificIslander = 4
CONSTANTS.white = 5

/* Education */
CONSTANTS.highSchool = 16
CONSTANTS.someCollege = 18
CONSTANTS.incomplete2YearDegree = 25
CONSTANTS.oneYearCollege = 26
CONSTANTS.twoYearCollege = 27
CONSTANTS.threeYearCollege = 28
CONSTANTS.associatesDegree = 20
CONSTANTS.bachelorsDegree = 21
CONSTANTS.mastersDegree = 22
CONSTANTS.professionalDegree = 23
CONSTANTS.doctorateDegree = 24

/* Family Members */
CONSTANTS.familyMembers.mother = 'mother'
CONSTANTS.familyMembers.father = 'father'
CONSTANTS.familyMembers.maternalGrandMother = 'maternal grandmother'
CONSTANTS.familyMembers.maternalGrandFather = 'maternal grandfather'
CONSTANTS.familyMembers.paternalGrandMother = 'paternal grandmother'
CONSTANTS.familyMembers.paternalGrandFather = 'paternal grandfather'
CONSTANTS.familyMembers.sibling = 'sibling'

/* User levels */
CONSTANTS.admin = 0
CONSTANTS.support = 1
CONSTANTS.patient = 2

/* Patient Types */
CONSTANTS.daveVip = 0
CONSTANTS.vip = 1
CONSTANTS.partner = 2
CONSTANTS.superVip = 98
CONSTANTS.regular = 99

/* Application Types */
CONSTANTS.admin = 0
CONSTANTS.webApp = 1
CONSTANTS.clinicServer = 2
CONSTANTS.adminTool = 3
CONSTANTS.researchTool = 4

/* Auth methods */
CONSTANTS.application = 'Application'
CONSTANTS.authToken = 'Authorization Token'
CONSTANTS.cookie = 'Session Cookie'

/* Sources */
CONSTANTS.sources.webApp = 'webApp'
CONSTANTS.sources.suveyMonkey = 'SurveyMonkey'

License

UNLICENCED © Cactus Technologies, LLC

Readme

Keywords

none

Package Sidebar

Install

npm i @cactus-technologies/lab100-constants

Weekly Downloads

2

Version

1.1.0

License

UNLICENCED

Unpacked Size

6.65 kB

Total Files

11

Last publish

Collaborators