Prontuário Verde icon

Prontuário Verde

Integração com a API Prontuário Verde

Actions20

Overview

This node integrates with the Prontuário Verde API to manage healthcare-related data, specifically focusing on agendas (appointments). The 'Listar Agendas por Paciente' operation allows users to retrieve a list of appointments filtered by a patient's phone number and an optional start date. This is useful for healthcare providers or administrative staff who need to access patient appointment schedules based on contact information. For example, a clinic receptionist can use this node to quickly find all upcoming appointments for a patient by entering their phone number and a starting date filter.

Use Case Examples

  1. Retrieve all appointments for a patient with phone number '555136897321' starting from '2025-09-01 08:00'.
  2. Filter patient appointments by phone number without a date filter to get all records.

Properties

Name Meaning
Data Início Filter for the initial date and time to list appointments starting from this date (e.g., '2025-09-01 08:00').
Telefone do Paciente Phone number of the patient used as a filter to list their appointments.

Output

JSON

  • json - The JSON response from the Prontuário Verde API containing the list of appointments matching the filter criteria.

Dependencies

  • Requires an API key credential for the Prontuário Verde API to authenticate requests.

Troubleshooting

  • Ensure the 'Telefone do Paciente' is provided and correctly formatted; missing or invalid phone numbers will result in no data or errors.
  • The 'Data Início' filter must be in a valid date-time string format (e.g., 'YYYY-MM-DD HH:mm'). Incorrect formats may cause the API to reject the request.
  • API errors related to authentication indicate issues with the provided API key credential; verify that the credential is correctly configured and active.
  • If the node throws an error about missing or invalid parameters, check that required fields like 'Telefone do Paciente' are set and valid.

Links

Discussion