ebq-ja

食行動質問票 eating behavior questionnaire

Usage no npm install needed!

<script type="module">
  import ebqJa from 'https://cdn.skypack.dev/ebq-ja';
</script>

README

ebq-ja

食行動質問票 eating behavior questionnaire

install

npm install ebq-ja

usage

import Ebq from 'ebq-ja'

質問一覧を取得

Ebq.getQuestions()

質問の選択肢を取得

Ebq.getChoices()

スコアを計算

Ebq.calculate(0, [
    3, 2, 1, 0, 3,
    2, 1, 0, 3, 2,
    1, 0, 3, 2, 2,
    0, 3, 2, 2, 0,
    3, 2, 1, 0, 3,
    2, 1, 0, 3, 2,
    1, 0, 3, 2, 2,
    0, 3, 2, 2, 0,
    3, 2, 1, 0, 3,
    2, 1, 0, 3, 2,
    1, 0, 3, 2, 2,
])
/*
{
    cognitionsForConstitution: 16,
    foodingIncentive: 22,
    delegateFeeding: 9,
    emptynessFeeling: 19,
    eatingManner: 16,
    contentOfMeals: 17,
    eatingPattern: 19,
}
*/

各スコアの説明を取得

Ebq.getJapaneseKeys()
/*
{
    cognitionsForConstitution: '体質や体重に関する認識',
    foodingIncentive: '食動機',
    delegateFeeding: '代理摂食',
    emptynessFeeling: '空腹・満腹感覚',
    eatingManner: '食べ方',
    contentOfMeals: '食事内容',
    eatingPattern: '食生活の規則性',
}
*/