Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.
/ mpss-test-ja Public archive

日本語のMPSSの質問票の文言と点数計算

License

Notifications You must be signed in to change notification settings

CureApp/mpss-test-ja

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpss-test-ja

日本語のMPSS (The Mood and Physical Symptom Scale) の質問票の文言と点数計算

install

npm install mpss-test-ja

usage

var MPSS = require('mpss-test-ja');

質問一覧を取得

MPSS.getQuestions();

質問の選択肢を取得

MPSS.getChoices(0); // Q1の選択肢の配列
MPSS.getChoices(4); // Q5の選択肢の配列

点数を計算

// 引数はQ1~Q7 の回答の配列. getChoices で得られた配列のインデックスの値の列を渡す
MPSS.calculate([4,3,2,1,0,5,4]); // 16 を返す。

LICENSE

MIT

About

日本語のMPSSの質問票の文言と点数計算

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published