Skip to main content
GET
/
prescricoes
curl -X GET "https://api.vidaplus.com/prescricoes/?offset=0&limit=20" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "prescricoes": [
    {
      "id": 2,
      "data": "2025-04-29",
      "paciente_id": 1,
      "profissional_id": 2,
      "tipo_prescricao": "MEDICACAO_CONTINUA",
      "medicamentos": "Losartana 50mg, 1x ao dia",
      "observacao": "Uso contínuo para hipertensão"
    },
    {
      "id": 1,
      "data": "2025-04-28",
      "paciente_id": 1,
      "profissional_id": 2,
      "tipo_prescricao": "ANTIBIOTICO",
      "medicamentos": "Amoxicilina 500mg, 3x ao dia por 7 dias",
      "observacao": "Tomar após as refeições"
    }
  ]
}
Retrieves a list of prescriptions ordered by date (most recent first). Non-superuser users will only see prescriptions where they are either the patient or the healthcare professional.

Authentication

This endpoint requires authentication via JWT Bearer token.
Authorization
string
required
Bearer token for authentication

Query Parameters

offset
integer
default:"0"
Number of records to skip for pagination
limit
integer
default:"100"
Maximum number of records to return

Response

prescricoes
array
Array of prescription objects
curl -X GET "https://api.vidaplus.com/prescricoes/?offset=0&limit=20" \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "prescricoes": [
    {
      "id": 2,
      "data": "2025-04-29",
      "paciente_id": 1,
      "profissional_id": 2,
      "tipo_prescricao": "MEDICACAO_CONTINUA",
      "medicamentos": "Losartana 50mg, 1x ao dia",
      "observacao": "Uso contínuo para hipertensão"
    },
    {
      "id": 1,
      "data": "2025-04-28",
      "paciente_id": 1,
      "profissional_id": 2,
      "tipo_prescricao": "ANTIBIOTICO",
      "medicamentos": "Amoxicilina 500mg, 3x ao dia por 7 dias",
      "observacao": "Tomar após as refeições"
    }
  ]
}

Notes

  • Prescriptions are ordered by date in descending order (most recent first)
  • Non-superuser users only see prescriptions where they are the patient or the prescribing professional
  • Superusers can see all prescriptions
  • Use offset and limit parameters for pagination

Build docs developers (and LLMs) love