createPatient
Generate a new patient record in Medplum FHIR servers by providing first name, last name, and birth date, with optional gender details.
Instructions
Creates a new patient resource. Requires first name, last name, and birth date.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"firstName": "<firstName>",
"lastName": "<lastName>",
"birthDate": "<birthDate>"
},
"name": "createPatient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| birthDate | Yes | The patient's birth date in YYYY-MM-DD format. | |
| firstName | Yes | The patient's first name. | |
| gender | No | The patient's gender (male, female, other, unknown). Optional. | |
| lastName | Yes | The patient's last name. |