自动思维工作表
事件列表 /automaticThoughtEvents GET
参数名称 |
示例值 |
类型 |
必须 |
说明 |
expand |
'statisticByBackstage' |
string |
N |
指定扩展属性字段,statisticByMoods: 事件列表统计 |
attributes |
"name,eventTime" |
string |
N |
指定子属性字段 |
memberId |
1 |
number |
Y |
患者 id |
createdAt |
"[1680192000, 1680623999]" |
string |
N |
填写时间 |
page |
1 |
number |
N |
当前页数 |
pageSize |
10 |
number |
N |
每页条数 |
sort |
-createdAt |
string |
N |
排序。多个排序字段用,号隔开。sort=-a,b |
字段名称 |
示例值 |
类型 |
说明 |
data |
{} |
object |
数据详情 |
字段名称 |
示例值 |
类型 |
说明 |
items |
[{}] |
object[] |
事件详情 |
page |
1 |
number |
当前页数 |
pageSize |
10 |
number |
每页条数 |
limit |
10 |
number |
同 pageSize |
offset |
2 |
number |
起始条数 |
total |
10 |
number |
总条数 |
字段名称 |
示例值 |
类型 |
说明 |
id |
1 |
number |
事件 id |
memberId |
1 |
number |
患者 id |
organizationId |
1 |
number |
机构 id |
name |
“爬山” |
string |
事件名称 |
time |
1680192000 |
number |
事件发生时间 |
content |
"不小心摔了一跤" |
string |
事件描述 |
physiology |
xxx |
string |
生理反应 |
participator |
"张三、李四" |
string |
相关人员 |
place |
"深圳" |
string |
事件发生地点 |
behavior |
xxx |
string |
行为 |
submitStatus |
1 |
number |
提交状态:1:已提交,0:未提交 |
statisticByBackstage |
{} |
object |
事件列表统计 |
status |
1 |
number |
事件状态, 0:未开始 1:已识别 2:已评价 3:已修正 |
createdAt |
1680192000 |
number |
创建时间 |
updatedAt |
1680192000 |
number |
更新时间 |
字段名称 |
示例值 |
类型 |
说明 |
positiveMoodsNum |
1 |
number |
正性情绪数量 |
negativeMoodsNum |
1 |
number |
负性情绪数量 |
finishedThoughtNum |
1 |
number |
已完成思维想法 |
thoughtCount |
1 |
number |
思维总数量 |
isThruthNum |
1 |
number |
事实 |
isNotThruthNum |
1 |
number |
非事实 |
{
"items": [
{
"createdAt": 1686900607,
"updatedAt": 1686900672,
"id": 1,
"memberId": 1,
"organizationId": 1,
"name": "上班",
"content": "忘记关空调",
"time": 12312,
"place": "家",
"behavior": "坐地铁",
"physiology": "皱眉",
"participator": "我",
"submitStatus": 1,
"status": 1,
"statisticByBackstage": {
"positiveMoodsNum": 1,
"negativeMoodsNum": 1,
"finishedThoughtNum": 0,
"thoughtCount": 5,
"isThruthNum": 0,
"isNotThruthNum": 5
}
}
],
"limit": 10,
"offset": 0,
"page": 1,
"pageSize": 10,
"total": 1
}
事件详情 /automaticThoughtEvents/:id GET
参数名称 |
示例值 |
类型 |
必须 |
说明 |
id |
1 |
number |
Y |
事件 id |
expand |
'thoughts.moods' |
string |
N |
指定扩展属性字段,thoughts:自动思维 |
attributes |
"name,time" |
string |
N |
指定子属性字段 |
字段名称 |
示例值 |
类型 |
说明 |
organizationId |
1 |
number |
机构 id |
memberId |
1 |
number |
患者 id |
name |
"爬山" |
string |
事件名称 |
time |
1680192000 |
number |
发生时间 |
place |
“梧桐山” |
string |
发生地点 |
content |
"一群人爬山" |
string |
事件描述 |
participator |
“张三、李四” |
string |
相关人员 |
physiology |
xxx |
string |
生理反应 |
behavior |
xxx |
string |
行为 |
submitStatus |
1 |
number |
提交状态:1:已提交,0:未提交 |
thoughts |
[] |
object[] |
想法(情绪及自动思维) |
字段名称 |
示例值 |
类型 |
说明 |
id |
1 |
number |
想法 id |
eventId |
1 |
number |
事件 id |
content |
"我认为同事 A 在嘲笑我汇报的 PPT 内容。" |
string |
内容 |
identifiedStrength |
50 |
number |
识别时的相信程度 |
appraisedStrength |
40 |
number |
评估后的相信程度 |
amendmentStrength |
20 |
number |
修正后的相信程度 |
trap |
xxx |
string |
思维陷阱 |
isTruth |
1 |
number |
是否是事实 1:接受(是事实)2:不接受(不是事实) |
status |
1 |
number |
自动思维的状态(0:未识别,1:待评价, 2:待应对, 3:已完成) |
support |
{} |
object |
支持证据 |
objection |
{} |
object |
反对证据 |
derivatives |
{} |
object |
想法衍生物 |
moods |
[] |
object[] |
情绪详情 |
字段名称 |
示例值 |
类型 |
说明 |
fact |
['xxx', 'xxx'] |
[]string |
事实 |
summary |
xxx |
string |
总结 |
strength |
60 |
number |
相信程度 |
字段名称 |
示例值 |
类型 |
说明 |
fact |
['xxx', 'xxx'] |
[]string |
事实 |
summary |
xxx |
string |
总结 |
strength |
60 |
number |
相信程度 |
字段名称 |
示例值 |
类型 |
说明 |
behavior |
xxx |
string |
行为 |
physiology |
xxx |
string |
生理反应 |
thought |
{'content': 'xxx','strength': 80} |
object |
想法 |
字段名称 |
示例值 |
类型 |
说明 |
id |
1 |
number |
|
organizationId |
1 |
number |
机构 id |
memberId |
1 |
number |
患者 id |
eventId |
1 |
number |
事件 id |
thoughtId |
1 |
number |
想法 id |
name |
"狂喜" |
string |
情绪名称 |
firstStrength |
50 |
number |
初始的情绪强度 |
lastStrength |
20 |
number |
修正后的情绪强度 |
identifiedStrength |
80 |
number |
识别时的思维相信程度 |
type |
1 |
number |
情绪类型一级 |
amendmentStatus |
1 |
number |
(0:修正前添加的情绪,1:修正后添加的情绪) |
property |
1 |
number |
情绪特性: 0:正性,1:负性及不清楚 |
{
"createdAt": 1686900607,
"updatedAt": 1686900672,
"id": 1,
"memberId": 1,
"organizationId": 1,
"name": "上班",
"content": "忘记关空调",
"time": 12312,
"place": "家",
"behavior": "坐地铁",
"physiology": "皱眉",
"participator": "我",
"submitStatus": 1,
"status": 1,
"thoughts": [
{
"createdAt": 1686885330,
"updatedAt": 1686917790,
"id": 1,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"content": "",
"support": {
"fact": ["1", "2"],
"summary": "12",
"strength": 70
},
"objection": {
"fact": ["1", "2"],
"summary": "12",
"strength": 70
},
"identifiedStrength": 0,
"appraisedStrength": 0,
"amendmentStrength": 0,
"trap": "",
"isTruth": 0,
"property": 0,
"isImportant": 0,
"status": 4,
"derivatives": {
"thought": {
"content": "早点回去",
"strength": 50
},
"behavior": "难受",
"physiology": "心疼"
},
"moods": [
{
"createdAt": 1686815270,
"updatedAt": 1686815270,
"id": 1,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 1,
"name": "新天气",
"type": 1,
"amendmentStatus": 0,
"property": 1,
"firstStrength": 50,
"lastStrength": 0,
"identifiedStrength": 80,
"deletedAt": null
},
{
"createdAt": 1686886134,
"updatedAt": 1686886134,
"id": 121,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 1,
"name": "天",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 50,
"lastStrength": 0,
"identifiedStrength": 80,
"deletedAt": null
},
{
"createdAt": 1686815270,
"updatedAt": 1686815270,
"id": 43,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 1,
"name": "天气",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 40,
"lastStrength": 0,
"identifiedStrength": 80,
"deletedAt": null
},
{
"createdAt": 1686993760,
"updatedAt": 1686997331,
"id": 129,
"memberId": 2,
"organizationId": 1,
"eventId": 1,
"thoughtId": 1,
"name": "阿斯达斯哦都会",
"type": 1,
"amendmentStatus": 0,
"property": 0,
"firstStrength": 0,
"lastStrength": 80,
"identifiedStrength": 0,
"deletedAt": null
}
]
},
{
"createdAt": 1686885330,
"updatedAt": 1686886347,
"id": 2,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"content": "下雪",
"support": {},
"objection": {},
"identifiedStrength": 90,
"appraisedStrength": 0,
"amendmentStrength": 0,
"trap": "",
"isTruth": 0,
"property": 1,
"isImportant": 1,
"status": 0,
"derivatives": {},
"moods": [
{
"createdAt": 1686886134,
"updatedAt": 1686886134,
"id": 122,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 2,
"name": "天",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 50,
"lastStrength": 0,
"identifiedStrength": 90,
"deletedAt": null
},
{
"createdAt": 1686815270,
"updatedAt": 1686815270,
"id": 2,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 2,
"name": "新天气",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 40,
"lastStrength": 0,
"identifiedStrength": 80,
"deletedAt": null
},
{
"createdAt": 1686815270,
"updatedAt": 1686815270,
"id": 44,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"thoughtId": 2,
"name": "天气",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 40,
"lastStrength": 0,
"identifiedStrength": 80,
"deletedAt": null
}
]
},
{
"createdAt": 1686885330,
"updatedAt": 1686898668,
"id": 3,
"memberId": 1,
"organizationId": 1,
"eventId": 1,
"content": "",
"support": {},
"objection": {},
"identifiedStrength": 0,
"appraisedStrength": 0,
"amendmentStrength": 0,
"trap": "",
"isTruth": 0,
"property": 0,
"isImportant": 0,
"status": 5,
"derivatives": {},
"moods": []
},
{
"createdAt": 1686993760,
"updatedAt": 1686993760,
"id": 9,
"memberId": 2,
"organizationId": 1,
"eventId": 1,
"content": "下雨",
"support": {},
"objection": {},
"identifiedStrength": 80,
"appraisedStrength": 0,
"amendmentStrength": 0,
"trap": "",
"isTruth": 0,
"property": 1,
"isImportant": 0,
"status": 0,
"derivatives": {},
"moods": [
{
"createdAt": 1686993760,
"updatedAt": 1686997331,
"id": 127,
"memberId": 2,
"organizationId": 1,
"eventId": 1,
"thoughtId": 9,
"name": "阿斯达斯哦都会",
"type": 1,
"amendmentStatus": 0,
"property": 0,
"firstStrength": 0,
"lastStrength": 80,
"identifiedStrength": 0,
"deletedAt": null
}
]
},
{
"createdAt": 1686993760,
"updatedAt": 1686994862,
"id": 10,
"memberId": 2,
"organizationId": 1,
"eventId": 1,
"content": "下雪",
"support": {
"fact": ["1", "2"],
"summary": "12",
"strength": 70
},
"objection": {
"fact": ["1", "2"],
"summary": "12",
"strength": 70
},
"identifiedStrength": 90,
"appraisedStrength": 0,
"amendmentStrength": 0,
"trap": "",
"isTruth": 0,
"property": 1,
"isImportant": 1,
"status": 1,
"derivatives": {
"thought": {
"content": "早点回去",
"strength": 50
},
"behavior": "难受",
"physiology": "心疼"
},
"moods": [
{
"createdAt": 1686993760,
"updatedAt": 1686993760,
"id": 128,
"memberId": 2,
"organizationId": 1,
"eventId": 1,
"thoughtId": 10,
"name": "天",
"type": 1,
"amendmentStatus": 1,
"property": 1,
"firstStrength": 50,
"lastStrength": 0,
"identifiedStrength": 90,
"deletedAt": null
}
]
}
]
}