Skip to main content
GET
/
prescricoes
/
{prescricao_id}
curl -X GET https://api.vidaplus.com/prescricoes/1 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "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 detailed information about a specific prescription. Users can only access prescriptions where they are either the patient or the healthcare professional (unless they are a superuser).

Authentication

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

Path Parameters

prescricao_id
integer
required
The unique identifier of the prescription to retrieve

Response

id
integer
Unique identifier for the prescription
data
date
Prescription date in ISO format
paciente_id
integer
ID of the patient receiving the prescription
profissional_id
integer
ID of the healthcare professional who issued the prescription
tipo_prescricao
string
Type of prescription. Possible values:
  • MEDICACAO_CONTINUA - Continuous Medication
  • MEDICACAO_TEMPORARIA - Temporary Medication
  • ANTIBIOTICO - Antibiotic
  • ANALGESICO - Analgesic
  • RECEITA_ESPECIAL - Special Prescription
medicamentos
string
List of prescribed medications with dosage instructions
observacao
string
Additional observations or instructions for the prescription
curl -X GET https://api.vidaplus.com/prescricoes/1 \
  -H "Authorization: Bearer YOUR_TOKEN"
{
  "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"
}

Error Codes

Status CodeDescription
200Prescription retrieved successfully
401Unauthorized - Invalid or missing token
403User does not have permission to access this prescription
404Prescription not found

Access Control

  • Patients: Can only view their own prescriptions
  • Healthcare Professionals: Can only view prescriptions they issued or for their patients
  • Superusers: Can view any prescription

Build docs developers (and LLMs) love