Skip to main content
GET
/
exames
/
{exame_id}
curl -X GET https://api.vidaplus.com/exames/1 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "id": 1,
  "paciente_id": 1,
  "data": "2025-04-28",
  "tipo": "Eletrocardiograma",
  "status": "Aguardando",
  "resultado": null,
  "observacao": "Exame de rotina"
}
Retrieves detailed information about a specific exam. Patients can only access their own exams, while healthcare professionals can access any exam.

Authentication

This endpoint requires authentication with a valid JWT token.

Path Parameters

exame_id
integer
required
The unique identifier of the exam to retrieve.

Response

id
integer
The unique identifier of the exam.
paciente_id
integer
The ID of the patient.
data
date
The date of the exam in ISO format.
tipo
string
The type of exam. Possible values:
  • Hemograma
  • Raio-X
  • Ultrassom
  • Tomografia
  • Ressonância
  • Eletrocardiograma
  • Glicemia
  • Colesterol
status
string
The current status of the exam. Possible values:
  • Aguardando - Waiting to be performed
  • Realizado - Performed
  • Concluído - Completed
  • Cancelado - Cancelled
resultado
string
The result of the exam (may be null).
observacao
string
Additional observations about the exam (may be null).
curl -X GET https://api.vidaplus.com/exames/1 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "id": 1,
  "paciente_id": 1,
  "data": "2025-04-28",
  "tipo": "Eletrocardiograma",
  "status": "Aguardando",
  "resultado": null,
  "observacao": "Exame de rotina"
}

Error Responses

Access Control

  • Healthcare Professionals (superusers): Can access any exam in the system
  • Patients: Can only access their own exams (where paciente_id matches their user ID)

Build docs developers (and LLMs) love