- Getting Started
- Flow Between Lab and API
- Initial Biomarkers and Biomarker Groups Setup
- Optional: Using LOINC IDs from LOINC.org
- Limitations
- Patient
- Visit
- Lab Test
- Biomarker Group
- Biomarker
- Webhooks
Create a patient
POST
/patients
Patient
Last modified:2025-03-04 07:32:18
Maintainer:fr44lancer
Request
Body Params application/json
patient_id
string
required
Example:
Patient ID
date_of_birth
string
required
Example:
2000-01-25
sex
enum<string>
required
Allowed values:
malefemale
Example:
male
pregnant
boolean
required
Example:
false
note
string
required
Example:
Medical conditions etc.
Example
{
"patient_id": "12056",
"date_of_birth": "2000-01-25",
"sex": "male",
"pregnant": false,
"note": "Medical conditions etc."
}
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 POST '/patients' \
--header 'Content-Type: application/json' \
--data-raw '{
"patient_id": "12056",
"date_of_birth": "2000-01-25",
"sex": "male",
"pregnant": false,
"note": "Medical conditions etc."
}'
Responses
🟢201Created
This response does not have a body.
Modified at 2025-03-04 07:32:18