Update patient
feegow_update_patientWRITE: changes a patient's registration data. Only the fields you pass are sent; they overwrite stored values. CPF can only be set when absent, never replaced after registration (vendor rejects a different existing CPF). Health data (LGPD). Feegow caches reads for 5 minutes (use fresh=true in feegow_get_patient to see the change). POST /patient/edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpf | No | CPF, 11 digits, numbers only. | |
| zip | No | CEP (max 9 characters). | |
| city | No | City. | |
| No | E-mail. | ||
| phone | No | Phone, digits only. | |
| state | No | State, two letters (e.g. RJ). | |
| gender | No | M or F. | |
| mobile | No | Mobile phone, digits only. | |
| number | No | Street number. | |
| phone2 | No | Second phone, digits only. | |
| address | No | Street. | |
| mobile2 | No | Second mobile phone, digits only. | |
| district | No | District (bairro). | |
| full_name | No | Full name (max 200 characters). | |
| birth_date | No | Birth date, yyyy-mm-dd. | |
| complement | No | Address complement. | |
| patient_id | Yes | ||
| price_table_id | No | Private price table id. |