8007-患者端API
  1. medical_records
8007-患者端API
  • departments
    • 获取所有科室
      GET
    • 根据科室ID获取医生
      GET
  • medical_records
    • 获取所有病历
      GET
    • 创建医疗记录
      POST
    • 根据病历ID获取病历详情
      GET
  • patients
    • 添加或更新就诊人
      POST
    • 更新默认就诊人
      POST
    • 编辑就诊人信息
      PUT
    • 删除就诊人
      DELETE
    • 获取就诊人列表
      GET
  • sessions
    • 获取所有会话
      GET
    • 获取问诊信息
      POST
    • 获取会话消息
      GET
    • 获取会话详情
      POST
  • users
    • 注册用户
      POST
  • appointments
    • 创建挂号
      POST
  • doctors
    • 注册医生
      POST
  1. medical_records

获取所有病历

GET
/api/medical_records
medical_records
返回所有病历的信息,支持分页

Request

Query Params
page
integer 
optional
页码
Default:
1
limit
integer 
optional
每页数量
Default:
10
patient_id
integer 
optional
患者 ID

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/medical_records'

Responses

🟢200OK
application/json
病历列表和总数
Body
medical_records
array[object (models.FormattedMedicalRecord) {10}] 
optional
diagnosis
string 
optional
id
integer 
optional
inspection_examination
string 
optional
medical_history
object (models.MedicalHistory) 
optional
patient_basic_info
object (models.PatientBasicInfo) 
optional
physical_examination
string 
optional
prescription
string 
optional
processing_opinion
string 
optional
session_id
integer 
optional
signature_info
object (models.SignatureInfo) 
optional
total
integer 
optional
Example
{
    "medical_records": [
        {
            "diagnosis": "string",
            "id": 0,
            "inspection_examination": "string",
            "medical_history": {
                "allergy_history": "string",
                "current_history": "string",
                "family_history": "string",
                "main_complaint": "string",
                "past_history": "string"
            },
            "patient_basic_info": {
                "age": 0,
                "card_number": "string",
                "card_type": "string",
                "consult_time": "string",
                "department_name": "string",
                "doctor_name": "string",
                "gender": "string",
                "name": "string"
            },
            "physical_examination": "string",
            "prescription": "string",
            "processing_opinion": "string",
            "session_id": 0,
            "signature_info": {
                "signature": "string",
                "signature_url": "string",
                "signed_time": "string"
            }
        }
    ],
    "total": 0
}
🔴500Server Error
Previous
根据科室ID获取医生
Next
创建医疗记录
Built with