[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] important bug: invoice PDFs can get assigned to the w

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] important bug: invoice PDFs can get assigned to the wrong patient
Date: Wed, 12 Sep 2012 15:44:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

GNUmed now has a trigger preventing invoice PDF documents of
one patient from being linked to a bill of another patient.
While this, in itself, does not prevent *creation* of the
invoice from the bill in the first place this is another
piece in the puzzle.

The underlying problem is that invoice templates employ
placeholders related to the current patient. When an
all-bills list is browsed and an invoice is generated from a
bill which does not relate to the active patient then the
invoice will contain the wrong patient data (that of the
active patient rather than that of the patient to bill).

Said faulty invoice cannot now be linked to the bill anymore
courtesy of the abovementioned trigger. Faulty invoice
creation cannot be prevented by said trigger, however. That
is achieved by client code checking for potential patient
mismatches before creating an invoice from a bill. It the
offers to activate the proper patient if desired.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]