def METHOD_NAME(self, *args, **kwargs):
    if "data" in kwargs:
        kwargs["data"]["consultation"] = PatientConsultation.objects.get(
            external_id=self.kwargs["consultation_external_id"]
        ).id
    return super().METHOD_NAME(*args, **kwargs)