POST api/Mobile/ExportInPatientInfos
批量导入患者信息
Request Information
URI Parameters
None.
Body Parameters
Collection of PatientInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
主键 |
string |
None. |
| OpenId |
用户openid |
string |
None. |
| OfficeAccount |
公众号Id |
string |
None. |
| Name |
姓名 |
string |
None. |
| Gender |
性别(0-男 1-女) |
integer |
None. |
| IsMarried |
婚否 |
boolean |
None. |
| IDCard |
身份证号 |
string |
None. |
| Birthday |
出生日期 |
date |
None. |
| Mobile |
手机号码 |
string |
None. |
| Tel |
固定电话 |
string |
None. |
| Weight |
体重 |
decimal number |
None. |
| FollowMedical |
病史列表 |
string |
None. |
| OtherInfo |
其他病史 |
string |
None. |
| CreateTime | date |
None. |
|
| SourceType |
来源(10:公众号;20:小程序;30:PC端,10-100为云谷系统) |
integer |
None. |
| Status |
状态(1:启用 99:禁用) |
integer |
None. |
| CorpCode |
药店编号 |
string |
None. |
| CorpName |
药店名称 |
string |
None. |
| PrimaryDiagnosis |
初步诊断 |
string |
None. |
| IsAllergy |
是否过敏(10-过敏) |
integer |
None. |
| Allergy |
过敏史 |
string |
None. |
| MedicalHistory |
既往史 |
string |
None. |
| Age |
年龄 |
integer |
None. |
| PreDiagnosis |
预诊断 |
string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": "sample string 1",
"OpenId": "sample string 2",
"OfficeAccount": "sample string 3",
"Name": "sample string 4",
"Gender": 1,
"IsMarried": true,
"IDCard": "sample string 5",
"Birthday": "2025-12-11T23:15:59.8231031+08:00",
"Mobile": "sample string 6",
"Tel": "sample string 7",
"Weight": 1.0,
"FollowMedical": "sample string 8",
"OtherInfo": "sample string 9",
"CreateTime": "2025-12-11T23:15:59.8231031+08:00",
"SourceType": 1,
"Status": 1,
"CorpCode": "sample string 10",
"CorpName": "sample string 11",
"PrimaryDiagnosis": "sample string 12",
"IsAllergy": 1,
"Allergy": "sample string 13",
"MedicalHistory": "sample string 14",
"Age": 1,
"PreDiagnosis": "sample string 15"
},
{
"Id": "sample string 1",
"OpenId": "sample string 2",
"OfficeAccount": "sample string 3",
"Name": "sample string 4",
"Gender": 1,
"IsMarried": true,
"IDCard": "sample string 5",
"Birthday": "2025-12-11T23:15:59.8231031+08:00",
"Mobile": "sample string 6",
"Tel": "sample string 7",
"Weight": 1.0,
"FollowMedical": "sample string 8",
"OtherInfo": "sample string 9",
"CreateTime": "2025-12-11T23:15:59.8231031+08:00",
"SourceType": 1,
"Status": 1,
"CorpCode": "sample string 10",
"CorpName": "sample string 11",
"PrimaryDiagnosis": "sample string 12",
"IsAllergy": 1,
"Allergy": "sample string 13",
"MedicalHistory": "sample string 14",
"Age": 1,
"PreDiagnosis": "sample string 15"
}
]
application/xml, text/xml
Sample:
<ArrayOfPatientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.RcpWeb">
<PatientInfo>
<Age>1</Age>
<Allergy>sample string 13</Allergy>
<Birthday>2025-12-11T23:15:59.8231031+08:00</Birthday>
<CorpCode>sample string 10</CorpCode>
<CorpName>sample string 11</CorpName>
<CreateTime>2025-12-11T23:15:59.8231031+08:00</CreateTime>
<FollowMedical>sample string 8</FollowMedical>
<Gender>1</Gender>
<IDCard>sample string 5</IDCard>
<Id>sample string 1</Id>
<IsAllergy>1</IsAllergy>
<IsMarried>true</IsMarried>
<MedicalHistory>sample string 14</MedicalHistory>
<Mobile>sample string 6</Mobile>
<Name>sample string 4</Name>
<OfficeAccount>sample string 3</OfficeAccount>
<OpenId>sample string 2</OpenId>
<OtherInfo>sample string 9</OtherInfo>
<PreDiagnosis>sample string 15</PreDiagnosis>
<PrimaryDiagnosis>sample string 12</PrimaryDiagnosis>
<SourceType>1</SourceType>
<Status>1</Status>
<Tel>sample string 7</Tel>
<Weight>1</Weight>
</PatientInfo>
<PatientInfo>
<Age>1</Age>
<Allergy>sample string 13</Allergy>
<Birthday>2025-12-11T23:15:59.8231031+08:00</Birthday>
<CorpCode>sample string 10</CorpCode>
<CorpName>sample string 11</CorpName>
<CreateTime>2025-12-11T23:15:59.8231031+08:00</CreateTime>
<FollowMedical>sample string 8</FollowMedical>
<Gender>1</Gender>
<IDCard>sample string 5</IDCard>
<Id>sample string 1</Id>
<IsAllergy>1</IsAllergy>
<IsMarried>true</IsMarried>
<MedicalHistory>sample string 14</MedicalHistory>
<Mobile>sample string 6</Mobile>
<Name>sample string 4</Name>
<OfficeAccount>sample string 3</OfficeAccount>
<OpenId>sample string 2</OpenId>
<OtherInfo>sample string 9</OtherInfo>
<PreDiagnosis>sample string 15</PreDiagnosis>
<PrimaryDiagnosis>sample string 12</PrimaryDiagnosis>
<SourceType>1</SourceType>
<Status>1</Status>
<Tel>sample string 7</Tel>
<Weight>1</Weight>
</PatientInfo>
</ArrayOfPatientInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
批量导入患者信息
ResponseModelOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| rows | boolean |
None. |
|
| total | integer |
None. |
|
| errorMsg | string |
None. |
|
| errorCode | string |
None. |
|
| records | integer |
None. |
|
| page | integer |
None. |
|
| extend | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"rows": true,
"total": 2,
"errorMsg": "sample string 3",
"errorCode": "sample string 4",
"records": 5,
"page": 1,
"extend": {}
}
application/xml, text/xml
Sample:
<ResponseModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YCloud.Rcp.Entity.WebResponse"> <errorCode>sample string 4</errorCode> <errorMsg>sample string 3</errorMsg> <extend /> <page>1</page> <records>5</records> <rows>true</rows> <total>2</total> </ResponseModelOfboolean>