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 the 'Agenda' resource for listing schedules. It allows users to list agendas with various filters such as date range, unit ID, professional ID, specialty ID, and insurance ID. This is useful for healthcare providers or administrators who need to retrieve appointment schedules based on specific criteria. For example, a clinic can use this node to fetch all appointments for a particular professional within a given date range.

Use Case Examples

  1. List all agendas for a specific unit and professional between two dates.
  2. Retrieve agendas filtered by specialty and insurance.
  3. Fetch agendas for a patient by their phone number and start date.

Properties

Name Meaning
Data Início Filter for the start date and time of the agenda list (e.g., 2025-09-01 08:00).
Data Término Filter for the end date and time of the agenda list (e.g., 2025-09-02 18:00).
ID Unidade Filter by the unit ID to list agendas for a specific healthcare unit.
ID Profissional Filter by the professional ID to list agendas for a specific healthcare professional.
ID Especialidade Filter by the specialty ID to list agendas related to a specific medical specialty.
ID Convênio Filter by the insurance ID to list agendas associated with a specific insurance provider.

Output

JSON

  • json - The JSON response from the Prontuário Verde API containing the list of agendas matching the specified filters.

Dependencies

  • Prontuário Verde API

Troubleshooting

  • Ensure that the date filters are in the correct format (e.g., 'YYYY-MM-DD HH:mm').
  • Verify that numeric IDs (unit, professional, specialty, insurance) are greater than zero if used as filters.
  • If the API returns an error, check the API credentials and network connectivity.
  • Common error: 'ID do agendamento é obrigatório e deve ser maior que zero.' means the appointment ID is required and must be greater than zero when updating an agenda.

Links

Discussion