- departments
- medical_records
- patients
- sessions
- users
- appointments
- doctors
获取就诊人列表
GET
/api/patients/{user_id}
patients
Request
Path Params
user_id
integer
required
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/patients/'
Responses
🟢200OK
application/json
Body
array of:
age
integer
required
allergy_history
enum<string>
optional
Allowed values:
YesNo
allergy_history_detail
string
optional
card_number
string
required
card_type
enum<string>
required
Allowed value:
ID_Card
created_time
string
optional
gender
enum<string>
required
Allowed values:
MaleFemaleOther
guardian_card_number
string
optional
guardian_card_type
enum<string>
optional
Allowed value:
ID_Card
guardian_name
string
optional
height
integer
optional
id
integer
optional
is_default
boolean
optional
liver_function
enum<string>
optional
Allowed values:
NormalAbnormal
liver_function_detail
string
optional
medical_history
enum<string>
optional
Allowed values:
YesNo
medical_history_detail
string
optional
name
string
required
pregnancy_status
enum<string>
optional
Allowed values:
NonePregnantBreastfeeding
relation
enum<string>
required
Allowed values:
SelfParentChildSpouseSiblingOther
renal_function
enum<string>
optional
Allowed values:
NormalAbnormal
renal_function_detail
string
optional
updated_time
string
optional
user_id
integer
optional
weight
integer
optional
Example
[
{
"age": 0,
"allergy_history": "Yes",
"allergy_history_detail": "string",
"card_number": "string",
"card_type": "ID_Card",
"created_time": "string",
"gender": "Male",
"guardian_card_number": "string",
"guardian_card_type": "ID_Card",
"guardian_name": "string",
"height": 0,
"id": 0,
"is_default": true,
"liver_function": "Normal",
"liver_function_detail": "string",
"medical_history": "Yes",
"medical_history_detail": "string",
"name": "string",
"pregnancy_status": "None",
"relation": "Self",
"renal_function": "Normal",
"renal_function_detail": "string",
"updated_time": "string",
"user_id": 0,
"weight": 0
}
]
🔴500Server Error