1.9.1 • Published 23 days ago

@modernsoftwares/adhi-research-platform v1.9.1

Weekly downloads
-
License
LGPL-2.1
Repository
github
Last release
23 days ago

Components

  • ParticipantAddForm
  • ParticipantEditForm
  • ConsentAddForm
  • ConsentEditForm
  • InterviewStartForm
  • InterviewConsentForm
  • InterviewCategoryConsentForm
  • InterviewParticipantContactForm
  • NotificationsRemindersAlertsForm
  • PhlebotomyStartForm
  • PhlebotomyAddForm
  • PhlebotomyEditForm
  • PhlebotomyChecklistForm
  • InstrumentQuestionsList
  • InstrumentQuestionsAddForm
  • InstrumentQuestionsEditForm
  • InstrumentQuestionOptionsList
  • InterviewAddForm
  • InterviewEditForm
  • InterviewParticipantAddForm,
  • InterviewParticipantEditForm
  • PhlebotomyInterviewParticipantAddForm
  • PhlebotomyInterviewParticipantEditForm
  • ParticipantSearch
  • EmailInterviewStartForm
  • EmailInterviewConsentForm
  • EditParticipantGiftCardForm
  • EmailGiftCardMain
  • GiftCardFormModal
  • GiftCardSettingsForm
  • ViewParticipantGiftCardMain
  • RoleForm
  • UserAddForm
  • UserEditForm
  • MyProfileForm
  • ParticipantFamilyTree
  • InstrumentQuestionsDuplicateForm
  • KidsStudyInterviewAddForm
  • KidsStudyInterviewEditForm
  • KidsStudyInterviewParticipantContactForm
  • ContactAddEditForm
  • KidsStudyEmailInterviewConsentForm
  • KidsStudyParticipantAddForm
  • KidsStudyParticipantEditForm
  • KidsStudyInstrumentQuestionsAddForm
  • KidsStudyInstrumentQuestionsEditForm
  • KidsStudyInstrumentQuestionsDuplicateForm
  • KidsStudyEmailInterviewStartForm
  • KidsStudyInterviewStartForm
  • MediaViewer

Installation

# install library
$ npm install @modernsoftwares/adhi-research-platform

# view all components
$ npm start

Usage

import { ConsentAddForm, ConsentEditForm, InstrumentQuestionsAddForm, InstrumentQuestionsEditForm, InstrumentQuestionsList, InterviewCategoryConsentForm, InterviewConsentForm, InterviewParticipantContactForm, InterviewStartForm, NotificationsRemindersAlertsForm, ParticipantAddForm, ParticipantEditForm, PhlebotomyAddForm, PhlebotomyChecklistForm, PhlebotomyEditForm, PhlebotomyStartForm, InstrumentQuestionOptionsList, InterviewAddForm, InterviewEditForm, InterviewParticipantAddForm, InterviewParticipantEditForm, PhlebotomyInterviewParticipantAddForm, PhlebotomyInterviewParticipantEditForm, ParticipantSearch, EmailInterviewConsentForm, EmailInterviewStartForm, EditParticipantGiftCardForm, EmailGiftCardMain, GiftCardFormModal, GiftCardSettingsForm, ViewParticipantGiftCardMain, RoleForm, UserAddForm, UserEditForm, MyProfileForm, ParticipantFamilyTree, InstrumentQuestionsDuplicateForm, KidsStudyInterviewAddForm, KidsStudyInterviewEditForm, KidsStudyInterviewParticipantContactForm, ContactAddEditForm, KidsStudyEmailInterviewConsentForm,
KidsStudyParticipantAddForm, KidsStudyParticipantEditForm, KidsStudyInstrumentQuestionsAddForm, KidsStudyInstrumentQuestionsEditForm, KidsStudyInstrumentQuestionsDuplicateForm, KidsStudyEmailInterviewStartForm, KidsStudyInterviewStartForm, MediaViewer } from 'adhi-research-platform';


<ParticipantAddForm study_status={'study_status(0,1)'} is_transfer={'is_transfer(0,1)'} backend_url={'backend_url'} history={'useHistory'} getFormIsEdited={('isEdited') => {'showPrompt'}} />

<ParticipantEditForm id={'id'} backend_url={'backend_url'} history={'useHistory'} getFormIsEdited={('isEdited') => {'showPrompt'}}/>

<ConsentAddForm backend_url={'backend_url'} history={'useHistory'} />

<ConsentEditForm id={'id'} backend_url={'backend_url'} history={'useHistory'} />

<InterviewStartForm aid={'aid'} pid={'pid'} eid={'eid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<InterviewConsentForm aid={'aid'} pid={'pid'} eid={'eid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<InterviewCategoryConsentForm aid={'aid'} pid={'pid'} eid={'eid'} ceid={'ceid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<InterviewParticipantContactForm interview_id={'interview_id'} participant_id={'participant_id'} contact_id={'contact_id'} id={'id'}
backend_url={'backend_url'} history={'useHistory'} />

<NotificationsRemindersAlertsForm errorObj={'errorsOBJ'} setAlertValues={('values') => { 'setValuesFunction'}}/>

<PhlebotomyStartForm aid={'aid'} pid={'id'} eid={'id'} ansid={'ansid'} backend_url={'backend_url'} onDismiss={'props.onDismiss'} history={'useHistory'} />

<PhlebotomyAddForm backend_url={'backend_url'} history={'useHistory'} />

<PhlebotomyEditForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<PhlebotomyChecklistForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<InstrumentQuestionsList aid={'aid'} id={'id'} backend_url={'backend_url'} onDismiss={'props.onDismiss'} history={'useHistory'} />

<InstrumentQuestionsAddForm aid={'aid'} id={'id'} backend_url={'backend_url'} history={'useHistory'} />

<InstrumentQuestionsEditForm aid={'aid'} id={'id'} qid="qid" backend_url={'backend_url'} history={'useHistory'} />

<InstrumentQuestionOptionsList aid={'aid'} ins_id={'ins_id'} que_id={'que_id'} backend_url={'backend_url'} onDismiss={'props.onDismiss'}
history={'useHistory'} />

<InterviewAddForm backend_url={'backend_url'} history={'useHistory'} />

<InterviewEditForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<InterviewParticipantAddForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<InterviewParticipantEditForm interview_id="interview_id" staff_id="staff_id" backend_url={'backend_url'} urlmail="urlmail" consentMailUrl="consentMailUrl" history={'useHistory'} />

<PhlebotomyInterviewParticipantAddForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<PhlebotomyInterviewParticipantEditForm interview_id="interview_id" staff_id="staff_id" backend_url={'backend_url'} urlmail="urlmail"
history={'useHistory'} />

<ParticipantSearch makeHttpRequest={'makeHttpRequest'} handleClear={'handleClear'} handleFind={'handleFind'} interviews={'interviews'}
completion_report={'completion_report(T/F)'}  partial_completion_report={'partial_completion_report(T/F)'} />

<EmailInterviewStartForm aid={'aid'} pid={'pid'} eid={'eid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<EmailInterviewConsentForm aid={'aid'} pid={'pid'} eid={'eid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<EditParticipantGiftCardForm gift_card_id="gift_card_id" backend_url={'backend_url'} giftCardMailUrl="giftCardMailUrl" history={'useHistory'} />

<EmailGiftCardMain language_id={'language_id'} gift_card_id="gift_card_id" backend_url={'backend_url'} history={{}} />

<GiftCardFormModal interviews_arr={'interviews_arr'} handleModal={() => {'handleModal' }} isOpen={'open(T/F)'} participant_id="participant_id"
backend_url={'backend_url'} giftCardMailUrl="giftCardMailUrl" />

<GiftCardSettingsForm backend_url={'backend_url'} />

<ViewParticipantGiftCardMain gift_card_id="gift_card_id" backend_url={'backend_url'} />

<RoleForm id={'id'} backend_url={'backend_url'} history={'useHistory'} />

<UserAddForm backend_url={'backend_url'} history={'useHistory'} />

<UserEditForm id={'id'} backend_url={'backend_url'} history={'useHistory'} />

<MyProfileForm backend_url={'backend_url'} history={'useHistory'} />

<ParticipantFamilyTree backend_url={'backend_url'} history={'useHistory'} fam_id={'fam_id'} />

<InstrumentQuestionsDuplicateForm aid={'aid'} id={'id'} qid="qid" backend_url={'backend_url'} history={'useHistory'} />

<KidsStudyInterviewAddForm backend_url={'backend_url'} history={'useHistory'} />

<KidsStudyInterviewEditForm id="id" backend_url={'backend_url'} history={'useHistory'} />

<KidsStudyInterviewParticipantContactForm interview_id={'interview_id'} participant_id={'participant_id'} contact_id={'contact_id'} id={'id'}
backend_url={'backend_url'} history={'useHistory'} />

<ContactAddEditForm contact_id={'contact_id'} backend_url={'backend_url'} history={'useHistory'} />

<KidsStudyEmailInterviewConsentForm aid={'aid'} pid={'pid'} eid={'eid'} mid={'mid'} backend_url={'backend_url'} history={'useHistory'} />

<KidsStudyParticipantAddForm study_status={'study_status(0,1)'} is_transfer={'is_transfer(0,1)'} backend_url={'backend_url'} history={'useHistory'} getFormIsEdited={('isEdited') => {'showPrompt'}} />

<KidsStudyParticipantEditForm id={'id'} backend_url={'backend_url'} history={'useHistory'} getFormIsEdited={('isEdited') => {'showPrompt'}}/>

<KidsStudyInstrumentQuestionsAddForm aid={'2121'} id={'2121'} backend_url={'http://localhost/api/'} history={{}} />

<KidsStudyInstrumentQuestionsEditForm aid={'2121'} id={'2121'} qid="2121" backend_url={'http://localhost/api/'} history={{}} />

<KidsStudyInstrumentQuestionsDuplicateForm aid={'2121'} id={'2121'} qid="2121" backend_url={'http://localhost/api/'} history={{}} />

<KidsStudyEmailInterviewStartForm aid={'2121'} pid={'2121'} eid={'3222'} mid={'3222'} backend_url={'http://localhost/api/'} history={{}} />

<KidsStudyInterviewStartForm aid={'2121'} pid={'2121'} eid={'3222'} mid={'3222'} backend_url={'http://localhost/api/'} history={{}} />

<MediaViewer question={'question'} url={'url'} onAudioVideoProgress={'onAudioVideoProgress'} onAudioVideoEnded={'onAudioVideoEnded'} />
1.9.1

23 days ago

1.9.0

23 days ago

1.8.9

26 days ago

1.8.8

1 month ago

1.8.7

1 month ago

1.8.6

1 month ago

1.8.5

1 month ago

1.8.4

2 months ago

1.8.3

2 months ago

1.8.2

2 months ago

1.8.1

2 months ago

1.8.0

2 months ago

1.7.9

3 months ago

1.7.8

3 months ago

1.7.7

3 months ago

1.7.6

3 months ago

1.7.5

3 months ago

1.7.4

3 months ago

1.7.3

3 months ago

1.7.2

3 months ago

1.7.1

3 months ago

1.7.0

3 months ago

1.6.9

3 months ago

1.6.8

4 months ago

1.6.7

4 months ago

1.6.6

5 months ago

1.2.0

10 months ago

1.6.4

5 months ago

1.4.6

8 months ago

1.2.8

9 months ago

1.6.3

5 months ago

1.2.7

10 months ago

1.6.2

5 months ago

1.4.4

8 months ago

1.2.6

10 months ago

1.6.1

6 months ago

1.4.3

8 months ago

1.2.5

10 months ago

1.6.0

6 months ago

1.4.2

8 months ago

1.4.1

8 months ago

1.2.3

10 months ago

1.4.0

8 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.5.9

6 months ago

1.5.8

6 months ago

1.5.7

6 months ago

1.3.9

8 months ago

1.5.6

7 months ago

1.3.8

8 months ago

1.5.5

7 months ago

1.1.9

10 months ago

1.5.4

7 months ago

1.3.6

9 months ago

1.1.8

10 months ago

1.5.3

7 months ago

1.3.5

9 months ago

1.1.7

10 months ago

1.5.2

7 months ago

1.3.4

9 months ago

1.1.6

10 months ago

1.5.1

8 months ago

1.3.3

9 months ago

1.1.5

10 months ago

1.5.0

8 months ago

1.3.2

9 months ago

1.1.4

10 months ago

1.3.1

9 months ago

1.1.3

10 months ago

1.3.0

9 months ago

1.1.2

10 months ago

1.4.9

8 months ago

1.4.8

8 months ago

1.6.5

5 months ago

1.4.7

8 months ago

1.2.9

9 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.9

10 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago