Feegow Clinic icon

Feegow Clinic

Integração com a API Feegow

Overview

This node integrates with the Feegow Clinic API, allowing users to manage patient data and other clinic-related resources. Specifically, for the "Paciente" resource and the "Editar Paciente" operation, it enables updating existing patient information such as name and phone number by specifying the patient's unique ID.

Common scenarios where this node is beneficial include:

  • Updating patient contact details after they have changed.
  • Correcting or adding missing patient information in the clinic's system.
  • Automating patient data maintenance workflows within a healthcare management process.

Practical example:

  • A clinic receives updated phone numbers from patients and uses this node to automatically update their records in Feegow without manual entry.

Properties

Name Meaning
Nome Patient's name (optional).
Paciente ID Unique identifier of the patient to be edited (required).
Telefone Patient's phone number (optional).

Output

The node outputs a JSON object containing the response from the Feegow API after attempting to edit the patient. This typically includes confirmation of the update or details about the modified patient record.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Feegow Clinic API.
  • The node makes HTTP requests to Feegow endpoints, specifically /api/patient/edit for editing patient data.
  • Proper configuration of the API credential in n8n is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Missing or invalid Paciente ID: Since this is required, omitting it or providing an incorrect ID will cause errors.
    • Network or authentication failures due to misconfigured API credentials.
    • Providing invalid data types (e.g., non-numeric ID) may result in request rejection.
  • Error messages:

    • Errors are thrown with messages like:
      Erro na operação editPatient para patient: <error message>
      This indicates a failure during the edit patient operation, with the specific error message from the API or network layer.
  • Resolutions:

    • Ensure the Paciente ID is correctly set and corresponds to an existing patient.
    • Verify that the API key credential is valid and has proper permissions.
    • Check network connectivity and endpoint availability.
    • Validate input data types and formats before execution.

Links and References

Discussion