查看病例详情 - JianCongwen/Interface GitHub Wiki
- 接口地址:/api/v2/customer/cases/{id}
- 接口参数: id: payRecordId
- 请求方式: GET
- 返回:
{
"errcode":0,
"errmsg":"OK",
"result":{
"communication":[{
"fromName":"我",
"toName":"医生",
"type":"TEXT",
"context":"医生你好",
"dateTime":"2015-09-06 15:06:33"
},
{
"fromName":"医生",
"toName":"我",
"type":"PICTURE",
"context":"https://nim.nosdn.127.net/NTMyNjQ0Nw==/bmltYV82MTI2MTQwNTg2XzE1NDUwMzk1NTcyODRfODA5M2Q2NWQtZDhiNS00YzI3LWI2ZTgtNzI1NWQ2NjZiZWUy",
"dateTime":"2015-09-06 15:16:33"
}],
"doctor":{
"department":"内科",
"doctorId":700,
"hospitalName":"北京大爱惠民医院",
"name":"李瑞杰",
"title":"副主任医师"
},
"patient":{
"age":"26",
"allergic":0,
"anamnesic":0,
"anamnesis":" ",
"anaphylaxis":" ",
"describes":"早上起来头晕目眩,平时饮食习惯很好,睡眠也不错",
"drinked":0,
"drinking":" ",
"familc":0,
"familyHistory":" ",
"hasOthers":0,
"idCard":"14042919890803481X",
"imageList":[
{
"url":"illDescriptionImage/20190710/2019071015410002475001.png"
},
{
"url":"illDescriptionImage/20190710/2019071015410002425939.png"
},
{
"url":"illDescriptionImage/20190710/2019071015410002410117.png"
},
{
"url":"illDescriptionImage/20190710/2019071015410002454867.png"
},
{
"url":"illDescriptionImage/20190710/2019071015410002482777.png"
},
{
"url":"illDescriptionImage/20190710/2019071015410002447752.png"
}
],
"longTermDrugs":" ",
"name":"李瑞杰",
"others":" ",
"phoneNumber":"18634546467",
"relationship":"本人",
"sex":"男",
"smoked":0,
"smoking":" "
}
}
}
- 返回值意义:
doctor: 医生信息
doctorId: 医生Id
name: 医生姓名
photoUrl: 医生头像
title: 医生职称
hospitalName: 医生医院
department: 医生科室
patient: 就诊者信息,查看就诊者详情接口
communication: 聊天信息
fromName: 消息发送者
type: 消息类型 "TEXT","AUDIO","PICTURE","VIDEO"
context: 消息内容或消息内容url
dateTime: 消息发送时间