WEBSOCKET
patient_created · patient_updated · patient_deletedPacientes
Avisos do cadastro de pacientes.
O que chega
{
"patient": {
"id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
...{
"patient": {
"id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
"name": "MARIA DA SILVA",
"birth_date": "1990-03-15",
"sexo": "F",
"phone": "(81) 99999-0000",
"cpf": "12345678909",
"email": "maria@exemplo.com",
"notes": null,
"address": {
"street": "RUA DAS FLORES",
"number": "123",
"complement": "APTO 101",
"district": "CENTRO",
"city": "RECIFE",
"state": "PE",
"zip": "50000-000",
"country": "BRASIL"
},
"created_at": "2026-10-13T09:12:45.120000-03:00",
"updated_at": "2026-10-13T09:12:45.120000-03:00",
"deleted_at": null
},
"message": "Paciente MARIA DA SILVA foi criado"
}{
"patient": {
"id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
...{
"patient": {
"id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
"name": "MARIA DA SILVA",
"birth_date": "1990-03-15",
"sexo": "F",
"phone": "(81) 99999-0000",
"cpf": "12345678909",
"email": "maria@exemplo.com",
"notes": null,
"address": {
"street": "RUA DAS FLORES",
"number": "123",
"complement": "APTO 101",
"district": "CENTRO",
"city": "RECIFE",
"state": "PE",
"zip": "50000-000",
"country": "BRASIL"
},
"created_at": "2026-10-13T09:12:45.120000-03:00",
"updated_at": "2026-10-13T09:12:45.120000-03:00",
"deleted_at": null
},
"message": "Paciente MARIA DA SILVA foi atualizado"
}{
"patient_id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
"patient_name": "MARIA DA SILVA",
...{
"patient_id": "9d3f1c2a-6b7e-4a8d-9f01-23456789abcd",
"patient_name": "MARIA DA SILVA",
"message": "Paciente MARIA DA SILVA foi removido"
}