5 years agofix a bug when narrative text has trailing whitespace gmEncounterEditPlugin_rel-1-0
Jerzy Luszawski [Sat, 18 May 2013 11:17:23 +0000 (13:17 +0200)]
fix a bug when narrative text has trailing whitespace

5 years agoFix gmEncounterEdit plugin - handling l10n encounter types
Jerzy Luszawski [Sun, 12 May 2013 02:43:59 +0000 (04:43 +0200)]
Fix gmEncounterEdit plugin - handling l10n encounter types

5 years agopreserve sorting of Waiting List
Jerzy Luszawski [Sun, 12 May 2013 02:15:52 +0000 (04:15 +0200)]
preserve sorting of Waiting List

5 years agoMerge branch 'sorting_list' into jl-gui
Jerzy Luszawski [Wed, 8 May 2013 23:49:49 +0000 (01:49 +0200)]
Merge branch 'sorting_list' into jl-gui

5 years agofix cReportListCtrl tooltip synchronization with sortied items sorting_list
Jerzy Luszawski [Wed, 8 May 2013 23:46:58 +0000 (01:46 +0200)]
fix cReportListCtrl tooltip synchronization with sortied items

5 years agoMerge branch 'sorting_list' into jl-gui
Jerzy Luszawski [Sat, 4 May 2013 03:53:08 +0000 (05:53 +0200)]
Merge branch 'sorting_list' into jl-gui

5 years agoadd EncounterEdit plugin
Jerzy Luszawski [Fri, 3 May 2013 14:43:45 +0000 (16:43 +0200)]
add EncounterEdit plugin
requires database modification!

5 years agoadded column 'registered' to waiting list plugin
Jerzy Luszawski [Fri, 3 May 2013 09:53:24 +0000 (11:53 +0200)]
added column 'registered' to waiting list plugin

5 years agoadd sorting on column header click in gmListWidgets.cReportListCtrl class
Jerzy Luszawski [Thu, 2 May 2013 19:10:44 +0000 (21:10 +0200)]
add sorting on column header click in gmListWidgets.cReportListCtrl class
with necessary modification in gmDataMiningWidgets

5 years agoUpdated translations for LP
Karsten Hilbert [Wed, 1 May 2013 18:06:41 +0000 (20:06 +0200)]
Updated translations for LP

5 years agoVerbosely format .duration in $<current_meds_list>$
Karsten Hilbert [Wed, 1 May 2013 17:29:46 +0000 (19:29 +0200)]
Verbosely format .duration in $<current_meds_list>$

A user reported the pharmacist requests to see "2 weeks"
rather than "2w". Enhanced gmDateTime.format_interval()
to output verbose tags for units of time. Then use that
in gmMedication.format_substance_intakes() which, in turn,
is used in $<current_meds_list>$.

5 years agoFix exception on down-arrow in person search box
Karsten Hilbert [Wed, 1 May 2013 16:27:29 +0000 (18:27 +0200)]
Fix exception on down-arrow in person search box

In that case, GNUmed attempted to access the "match_type"
column which resulted in an exception because cIdentity
instances don't have such, which resulted the attributes
for cIdentity being logged, one of which happened to be
.export_tray which in turn accessed gmExportTray, which
itself isn't imported (and distributed just yet). Turn
.export_tray property getter into NOOP.

5 years agoFix missing constraint on clin.encounter.started vs .last_affirmed
Karsten Hilbert [Mon, 29 Apr 2013 12:09:31 +0000 (14:09 +0200)]
Fix missing constraint on clin.encounter.started vs .last_affirmed

We never had a constraint assuring that an
encounter started before it ended :-)

5 years agoFix exception on inability to parse timeline file
Karsten Hilbert [Mon, 29 Apr 2013 10:33:04 +0000 (12:33 +0200)]
Fix exception on inability to parse timeline file

 This threw an unhandled exception despite us trying
 to catch it. So we now catch more generically (and log)
 and display a *fake* timeline (because clear_timeline()
 doesn't properly work either !)

5 years agoPrepare for changes in FreeDiams XML interface
Karsten Hilbert [Thu, 25 Apr 2013 09:50:50 +0000 (11:50 +0200)]
Prepare for changes in FreeDiams XML interface

5 years agoAdd v18 fixups before bootstrapping v19
Karsten Hilbert [Mon, 22 Apr 2013 18:15:54 +0000 (20:15 +0200)]
Add v18 fixups before bootstrapping v19

5 years agoRemove support for depreciated static placeholders
Karsten Hilbert [Mon, 22 Apr 2013 18:10:27 +0000 (20:10 +0200)]
Remove support for depreciated static placeholders

5 years agoRun script to convert depreciated placeholders last
Karsten Hilbert [Mon, 22 Apr 2013 17:50:38 +0000 (19:50 +0200)]
Run script to convert depreciated placeholders last

That way we make sure that even newly-inserted document
templates (which might contain depreciated placeholders)
get converted.

5 years agoPrepare for static placeholder depreciation
Karsten Hilbert [Mon, 22 Apr 2013 17:45:37 +0000 (19:45 +0200)]
Prepare for static placeholder depreciation

Add _variant_* methods for all existing static
placeholders such that the static variety can be removed
later on and such that already converted document
templates continue to work.

5 years agoMerge branch 'master' into ph
Karsten Hilbert [Mon, 22 Apr 2013 17:06:50 +0000 (19:06 +0200)]
Merge branch 'master' into ph

Merge v18 conversion of depreciated placeholders

5 years agoConvert depreciated placeholders
Karsten Hilbert [Mon, 22 Apr 2013 17:04:16 +0000 (19:04 +0200)]
Convert depreciated placeholders

5 years agoImproved wording of vars
Karsten Hilbert [Mon, 22 Apr 2013 11:57:33 +0000 (13:57 +0200)]
Improved wording of vars

5 years agoRobustify printing via IE DDE against exceptions
Karsten Hilbert [Mon, 22 Apr 2013 09:01:45 +0000 (11:01 +0200)]
Robustify printing via IE DDE against exceptions

5 years agoFix failure to generate bills
Karsten Hilbert [Mon, 15 Apr 2013 10:27:29 +0000 (12:27 +0200)]
Fix failure to generate bills

A user reported on Windows that creating bills was no
longer possible due to trf_prevent_empty_bills()
thinking GNUmed wants to empty out a bill when actually
the bill item was updated from .fk_bill=NULL to Since this used to work it must
have to do with the "IS NOT DISTINCT FROM" check being
done on .fk_bill. The Windows package switched to PG 9.2
so that could have to do with it. Anyways, we now
explicitely check for NULLs as appropriate.
Reported by S.Urbanek.

5 years agoFix printing problem with some Windows installations
Karsten Hilbert [Mon, 15 Apr 2013 09:29:37 +0000 (11:29 +0200)]
Fix printing problem with some Windows installations

A user reported that between 1.3.1 and 1.3.2 printing
PDFs stopped working showing access permission problems
when GNUmed tells Acrobat Reader to open them. Turns out
that access rights of PDFs generated by *tex.exe don't
seem quite sufficient for Acrobat Reader to subsequently
open them. Previously, we shutil.move()d the generated
PDF before handing them over which according to the
Python docs may or may not have changed the target
file's permissions. At least on the reporting user's
system it apparently did so resulting in the PDF being
accessible to the PDF reader. So, do that again, except
we are now using shutil.copy2() directly (as opposed to
it being used by shutil.move() internally) since keeping
a copy of the everything in the *TeX sandbox dir was the
whole point of changing the sandbox directory usage
pattern (the 1.3.1 -> 1.3.2 change) in the first place.

5 years agoAdding a waiting list entry did not use current patient
Karsten Hilbert [Sun, 14 Apr 2013 16:47:04 +0000 (18:47 +0200)]
Adding a waiting list entry did not use current patient

GNUmed forgot to pre-seed the waiting list edit area
with the current patient on adding a new entry.
Reported by S.Hilbert

5 years agoIn EMR browser hack around infamous wx._core.PyAssertion
Karsten Hilbert [Sun, 14 Apr 2013 15:30:20 +0000 (17:30 +0200)]
In EMR browser hack around infamous wx._core.PyAssertion

On Windows GetPyData() can raise this exception despite
to the best of our knowledge the tree item carrying
PyData indeed. Log, log, and log more. Fake PyData to
None as needed which pretends it being the root node.

5 years agoTest files for readability before trying to print them
Karsten Hilbert [Sun, 14 Apr 2013 13:39:58 +0000 (15:39 +0200)]
Test files for readability before trying to print them

- also abort os.startfile()ing and return False
  when an exception occurs

5 years agoMerge branch 'search-list'
Karsten Hilbert [Sun, 14 Apr 2013 13:19:42 +0000 (15:19 +0200)]
Merge branch 'search-list'

5 years agoAdd generic searching to lists
Karsten Hilbert [Sun, 14 Apr 2013 13:19:01 +0000 (15:19 +0200)]
Add generic searching to lists

5 years agoImprove FreeDiams interface logging
Karsten Hilbert [Sat, 13 Apr 2013 13:58:48 +0000 (15:58 +0200)]
Improve FreeDiams interface logging

5 years agoAdd recalls document template
Karsten Hilbert [Thu, 11 Apr 2013 17:15:08 +0000 (19:15 +0200)]
Add recalls document template

5 years agoUse gnumed_v19
Karsten Hilbert [Thu, 11 Apr 2013 16:43:06 +0000 (18:43 +0200)]
Use gnumed_v19

5 years agoCode cleanup
Karsten Hilbert [Thu, 11 Apr 2013 16:39:11 +0000 (18:39 +0200)]
Code cleanup

- remove
- remove *GenericEditAreaDlg()

5 years agoAdd simplistic HL7 formatting
Karsten Hilbert [Wed, 10 Apr 2013 13:42:34 +0000 (15:42 +0200)]
Add simplistic HL7 formatting

5 years agoAdd dem.v_persons
Karsten Hilbert [Mon, 8 Apr 2013 19:17:49 +0000 (21:17 +0200)]
Add dem.v_persons

5 years agotimelinelib/ now under client/
Karsten Hilbert [Mon, 8 Apr 2013 11:36:53 +0000 (13:36 +0200)]
timelinelib/ now under client/

5 years agoUpdate translations from Launchpad
Karsten Hilbert [Sun, 7 Apr 2013 11:56:26 +0000 (13:56 +0200)]
Update translations from Launchpad

5 years agoEnable to save intra-day hospital stays
Karsten Hilbert [Sun, 7 Apr 2013 10:55:25 +0000 (12:55 +0200)]
Enable to save intra-day hospital stays

While the database corrently only constrained to
discharge > admission the GUI would only check the date
part which would make same-day discharges NOT >
admission thus failing to be able to safe such.
Stipulated by S.Hilbert

5 years agoAdd .duration to $<current_meds_table>$, improved MELD score
Karsten Hilbert [Sat, 6 Apr 2013 16:40:32 +0000 (18:40 +0200)]
Add .duration to $<current_meds_table>$, improved MELD score

5 years agoFix saving of duration of substance intake
Karsten Hilbert [Thu, 4 Apr 2013 21:35:32 +0000 (23:35 +0200)]
Fix saving of duration of substance intake

When editing a substance intake any duration interval that
would not convert to a re-parseable string would prevent
saving of the edits until modified to be re-parseable. Fix
by turning into IntervalPhraseWheel and properly using its
data accessors. Reported by S.Hilbert.

5 years agoAdd MELD score
Karsten Hilbert [Wed, 3 Apr 2013 15:18:26 +0000 (17:18 +0200)]
Add MELD score

5 years agoEditing a non-brand substance intake would not show the preparation
Karsten Hilbert [Wed, 3 Apr 2013 11:30:57 +0000 (13:30 +0200)]
Editing a non-brand substance intake would not show the preparation

Reported by S.Hilbert

5 years agoFix use of test results formatting
Karsten Hilbert [Wed, 3 Apr 2013 10:31:40 +0000 (12:31 +0200)]
Fix use of test results formatting

cTestResult.format() now returns multi-line string rather than
list so account for that.
Add Vabhav BANAIT to contributors.

5 years agoFix a few things around database translations
Karsten Hilbert [Tue, 2 Apr 2013 16:53:05 +0000 (18:53 +0200)]
Fix a few things around database translations

- add user contributed fr translations
- fix translations with extraneous single quotes
- remove quote_literal() from translation exporter

5 years agoKeep copies when printing current meds lists
Karsten Hilbert [Tue, 2 Apr 2013 14:37:14 +0000 (16:37 +0200)]
Keep copies when printing current meds lists

Liz suggested that since GNUmed does not currently
explicitely facilitate keeping track of the *history* of
substance intake it should at least keep copies of
current medication lists printed for the patient.

5 years agoFix naive months advancement in timeline file creation
Karsten Hilbert [Tue, 2 Apr 2013 13:47:06 +0000 (15:47 +0200)]
Fix naive months advancement in timeline file creation

When the target month features fewer days than the
current day-of-month is that will fail in naive
months advancement because the target month does
not have the equivalent of today's day number.
Reported by S.Hilbert.

5 years agoFix exception on substance discontinuation in the future
Karsten Hilbert [Tue, 2 Apr 2013 13:21:45 +0000 (15:21 +0200)]
Fix exception on substance discontinuation in the future

GNUmed sticks to its current plan of recording "state of affair"
with regard to substance intake. Respectively, one cannot
document discontinuation before it has happened.
Reported by S.Hilbert

5 years agoFix collision of placeholders and active text expansions
Karsten Hilbert [Tue, 2 Apr 2013 12:18:20 +0000 (14:18 +0200)]
Fix collision of placeholders and active text expansions

Both placeholders and text expansions used $<.*>$
for detection. That led to form placeholders being
offered for text expansion fillin which only
manifested itself when text expansion contained
snippets to be placed in forms containing form
placeholders... Fixed by using $[.*]$ in text
expansions. There's likely plenty of document
templates out in the wild as opposed to active
text expansions.

5 years agoFix formatting error in current substance intake listing
Karsten Hilbert [Tue, 2 Apr 2013 11:49:43 +0000 (13:49 +0200)]
Fix formatting error in current substance intake listing

When formatting the items to display a schedule containing
"%" would result in a formatting exception because the way
strings were passed to Python resulted in the data being
misinterpreted as a formatting-%.

5 years agoFix failure to properly escape % for Xe(La)Tex
Karsten Hilbert [Tue, 2 Apr 2013 10:21:33 +0000 (12:21 +0200)]
Fix failure to properly escape % for Xe(La)Tex

5 years agoClean up latex/xelatex handling
Karsten Hilbert [Wed, 27 Mar 2013 14:15:07 +0000 (15:15 +0100)]
Clean up latex/xelatex handling

- run everything re latex/xelatex documents in a
  sandbox directory per printout, makes it a lot
  easier to debug - just grab the sandbox dir and
  everything's there

5 years agoMove timelinelib/ and icons/ thereof into client/
Karsten Hilbert [Mon, 25 Mar 2013 19:53:01 +0000 (20:53 +0100)]
Move timelinelib/ and icons/ thereof into client/

5 years agoCreate recalls directly from vaccinations manager
Karsten Hilbert [Mon, 25 Mar 2013 18:18:42 +0000 (19:18 +0100)]
Create recalls directly from vaccinations manager

- add tooltip to vaccinations listing
- add recall button to vaccinations listing

5 years agoRecord deletion of inbox messages in EMR
Karsten Hilbert [Mon, 25 Mar 2013 13:34:10 +0000 (14:34 +0100)]
Record deletion of inbox messages in EMR

For that we needed allow_user_interaction=yes/no in
cClinicalRecord.__init__() so add that. "Clinical"
messages will be soapU while others will be "Admin".
Only applies to messages with pk_patient != None.

5 years agoFix exception on editing provider inbox messages
Karsten Hilbert [Mon, 25 Mar 2013 13:21:02 +0000 (14:21 +0100)]
Fix exception on editing provider inbox messages

Inbox messages with fake .due_date/.expiry_date would have
those set to be DATE and thusly lacking a time zone. That
would not bode well with saving them back to the DB after

5 years agoFix failure to bootstrap early DBs on PG w/ cs_CZ locale
Karsten Hilbert [Thu, 21 Mar 2013 14:33:53 +0000 (15:33 +0100)]
Fix failure to bootstrap early DBs on PG w/ cs_CZ locale

Early versions of gm_concat_table_structure() did not
locale-independantly sort their output leading to
unexpected MD5 sums of the database schema. Subsequently,
upgrading a v2 database to v3 would fail. Observed by
S.Laczi under cs_CZ.UTF8.

Also, it would trigger an unrelated bug in
get_schema_revision_history() which would look for
table gm.schema_revsion while early DBs only had
public.gm_schema_revision, so fix that in passing.

5 years agoImprove patient overview waiting list hint tooltip
Karsten Hilbert [Thu, 21 Mar 2013 09:53:01 +0000 (10:53 +0100)]
Improve patient overview waiting list hint tooltip

Ultimately, it is of no use displaying the waiting
list position when it'll rarely apply to the
current waiting list display.

5 years agoFix failure to merge patients w/ same-URL comm channels
Karsten Hilbert [Wed, 20 Mar 2013 12:23:00 +0000 (13:23 +0100)]
Fix failure to merge patients w/ same-URL comm channels

On patient merge comm channels with identical URLs would
trigger a UNIQUE constraint violation in the database.
Solved by appending a disambiguation string to such URLs.
Reported by Slappin' John.

5 years agoFix exception on formatting external IDs in patient overview
Karsten Hilbert [Tue, 19 Mar 2013 18:04:19 +0000 (19:04 +0100)]
Fix exception on formatting external IDs in patient overview

Under unknown circumstances psycopg2 would return rows
in a way that wasn't acceptable to %(key)s style string
formatting so avoid using that in the patient overview
where it was observed to sometimes fail in the wild.

Reported by S.Hilbert

5 years agoFix faulty creation of new staff
Karsten Hilbert [Tue, 19 Mar 2013 16:43:27 +0000 (17:43 +0100)]
Fix faulty creation of new staff

- fk_role was still referenced despite being removed from the DB
Reported by J.Luszawski
- role gm-doctors needs to be member of role gm-public

5 years agoFix exception on searching across EMRs
Karsten Hilbert [Tue, 19 Mar 2013 14:21:44 +0000 (15:21 +0100)]
Fix exception on searching across EMRs

I managed to screw up syntactically correct code
due to it being badly formatted.

Reported by V.Banait.

5 years agoHandle exception when timeline attempts to load XML it doesn't like
Karsten Hilbert [Tue, 19 Mar 2013 14:07:42 +0000 (15:07 +0100)]
Handle exception when timeline attempts to load XML it doesn't like

Also enhance timeline to be able to explicitely
clear the display.

Reported by S.Hilbert

5 years agoMake hl7 import optional
Karsten Hilbert [Tue, 19 Mar 2013 12:37:59 +0000 (13:37 +0100)]
Make hl7 import optional

It is not supported functionality anyways so only
import on demand.

Reported by A.Tille and J.Luszkawski

5 years agoProperly include timeline code in tarball
Karsten Hilbert [Tue, 19 Mar 2013 12:06:59 +0000 (13:06 +0100)]
Properly include timeline code in tarball

5 years agoRemove a "."
Karsten Hilbert [Wed, 13 Mar 2013 12:42:28 +0000 (13:42 +0100)]
Remove a "."

5 years agoWhen using %b we also need to use pydt_strftime or else we risk exceptions
Karsten Hilbert [Mon, 11 Mar 2013 21:27:43 +0000 (22:27 +0100)]
When using %b we also need to use pydt_strftime or else we risk exceptions

5 years agoPrepare 1.3.0/18.0 release
Karsten Hilbert [Mon, 11 Mar 2013 18:40:49 +0000 (19:40 +0100)]
Prepare 1.3.0/18.0 release

5 years agoAdd latest strings and languages from Launchpad
Karsten Hilbert [Mon, 11 Mar 2013 10:52:07 +0000 (11:52 +0100)]
Add latest strings and languages from Launchpad

5 years agoLatest strings finetuning provider inbox wording
Karsten Hilbert [Sun, 10 Mar 2013 19:00:58 +0000 (20:00 +0100)]
Latest strings finetuning provider inbox wording

5 years agoAllergy-state EMR journal pseudo entries need to fake .clin_when when .last_asked...
Karsten Hilbert [Sun, 10 Mar 2013 16:18:50 +0000 (17:18 +0100)]
Allergy-state EMR journal pseudo entries need to fake .clin_when when .last_asked is null

5 years agoLatest release notes in DB
Karsten Hilbert [Sun, 10 Mar 2013 15:51:54 +0000 (16:51 +0100)]
Latest release notes in DB

5 years agoLatest strings
Karsten Hilbert [Sun, 10 Mar 2013 15:48:14 +0000 (16:48 +0100)]
Latest strings

5 years agoUpdate changelog
Karsten Hilbert [Sun, 10 Mar 2013 13:50:50 +0000 (14:50 +0100)]
Update changelog

5 years agoVaibhav found yet another silly SetItemPyData() issue
Karsten Hilbert [Sun, 10 Mar 2013 11:11:06 +0000 (12:11 +0100)]
Vaibhav found yet another silly SetItemPyData() issue

SetItemPyData() checks whether the tree item already has
data which it would then update rather than newly set.
However, it uses GetItemPyData() to do so - which raises
a PyAssertion on Windows. Duh.

5 years agoMuch improved provider inbox workflow
Karsten Hilbert [Sun, 10 Mar 2013 10:09:50 +0000 (11:09 +0100)]
Much improved provider inbox workflow

- filtering by active patient/provider
- restricting to due/overdue/expired/unscheduled/all-but-expired

5 years agoImproved notice of waiting list status of current patient in overview
Karsten Hilbert [Thu, 7 Mar 2013 19:02:10 +0000 (20:02 +0100)]
Improved notice of waiting list status of current patient in overview

- overview shows how many times patient is in waiting list if so
- tooltip goes into more detail

Suggested by J.Busser

5 years agoDisambiguate overdue from future-due
Karsten Hilbert [Thu, 7 Mar 2013 10:14:20 +0000 (11:14 +0100)]
Disambiguate overdue from future-due

- rename uses of "due where due_date < now" to "overdue"

5 years agoAdd $<reminders>$ placeholder
Karsten Hilbert [Mon, 4 Mar 2013 21:43:11 +0000 (22:43 +0100)]
Add $<reminders>$ placeholder

This allows for exporting a selection of the current
patient's inbox messages having a due date. This in
turn enables doctors to hand reminder sheets to

5 years agoClean up tmp file/xsanerc handling in scanning backend
Karsten Hilbert [Mon, 4 Mar 2013 12:44:39 +0000 (13:44 +0100)]
Clean up tmp file/xsanerc handling in scanning backend

5 years agoStaging of HL7/XML into clin.incoming*unmatched and browsing therof.
Karsten Hilbert [Mon, 4 Mar 2013 00:54:04 +0000 (01:54 +0100)]
Staging of HL7/XML into clin.incoming*unmatched and browsing therof.

- also add gmTools.fname_stem()

5 years agoImproved business object docs.
Karsten Hilbert [Sat, 2 Mar 2013 22:56:47 +0000 (23:56 +0100)]
Improved business object docs.

Add a few more HL7 things. This state of affairs
can take Excelleris XML wrapped HL7 and create
clin.incoming_data_unmatched rows from it.

5 years agoDo not fail if not editor cmd found for LaTeX or XeTeX documents.
Karsten Hilbert [Thu, 28 Feb 2013 22:08:35 +0000 (23:08 +0100)]
Do not fail if not editor cmd found for LaTeX or XeTeX documents.

5 years agoTweak display of due/overdue reminders in patient overview
Karsten Hilbert [Thu, 28 Feb 2013 20:46:47 +0000 (21:46 +0100)]
Tweak display of due/overdue reminders in patient overview

- say "due for" for overdue ones
- say "due in" for not yet due ones
- calculate .interval_due right in message inbox view

5 years agoShow comm channel comment in patient overview directly
Karsten Hilbert [Thu, 28 Feb 2013 20:20:19 +0000 (21:20 +0100)]
Show comm channel comment in patient overview directly

5 years agoFix failure to capitalize('')
Karsten Hilbert [Thu, 28 Feb 2013 19:44:14 +0000 (20:44 +0100)]
Fix failure to capitalize('')

When a KOrganizer entry only contains "Lastname, " (lacking a
first name after the comma) GNUmed still attempted to treat
the space as a name part when searching for a patient. That in
itself would at most have produced lots of matches but during
capitalization of name parts to search for a bug in that code
was hit - it did not know how to deal with empty strings.
Reported by Marc Angermann.

5 years agoFix changelog
Karsten Hilbert [Wed, 27 Feb 2013 13:20:35 +0000 (14:20 +0100)]
Fix changelog


5 years agoBetter display non-overdue recalls in patient overview
Karsten Hilbert [Wed, 27 Feb 2013 13:16:35 +0000 (14:16 +0100)]
Better display non-overdue recalls in patient overview

Show due date rather than type on messages which are
not yet overdue but do have a due date.

5 years agoDefault to gnumed_v18
Karsten Hilbert [Wed, 27 Feb 2013 12:51:09 +0000 (13:51 +0100)]
Default to gnumed_v18

5 years agoVerify lab/test type existence in HL7 import
Karsten Hilbert [Wed, 27 Feb 2013 12:38:53 +0000 (13:38 +0100)]
Verify lab/test type existence in HL7 import

5 years agoSome cleanup
Karsten Hilbert [Mon, 25 Feb 2013 17:06:05 +0000 (18:06 +0100)]
Some cleanup

5 years agoAdd a bit of HL7 code.
Karsten Hilbert [Mon, 25 Feb 2013 16:54:21 +0000 (17:54 +0100)]
Add a bit of HL7 code.

5 years agoNew German
Karsten Hilbert [Mon, 25 Feb 2013 15:41:10 +0000 (16:41 +0100)]
New German

5 years agoDo not match across name part boundaries when searching patients.
Karsten Hilbert [Mon, 25 Feb 2013 15:33:06 +0000 (16:33 +0100)]
Do not match across name part boundaries when searching patients.

When desperately trying to find patients from what the
user provided as search term GNUmed would get a little
overzealous in that it would find "Anderson Steve" when
the user typed "sons" rather than only when the user typed
"son" (or "son s", or "ve an" at any rate).

Reported and mainly diagnosed by J.Busser.

5 years agoRoot out %c %X %x in date/time formatting. Missing self in _set_escape_function().
Karsten Hilbert [Sun, 24 Feb 2013 15:00:08 +0000 (16:00 +0100)]
Root out %c %X %x in date/time formatting. Missing self in _set_escape_function().

While they seem nice (as they produce locale specific
output) such formats typically are ambigous. Regarding
patient safety, however, it is preferable to use
non-ambigous formats such as "%Y %b %d" and %H:%M".

The definitions of _set_escape_function/_set_escape_style
where lacking the (self, ...) part thus failing when used.
Reported by Jim.

Slightly streamline logging when exporting BYTEA fields.

5 years agoUser-friendly protection against faulty provider inbox message data access
Karsten Hilbert [Wed, 13 Feb 2013 13:34:06 +0000 (14:34 +0100)]
User-friendly protection against faulty provider inbox message data access

In cReportListCtrl loop up to 3 times of 300ms each in
the hope of emptying the control of items. If that doesn't
work hope for the best. In the provider inbox detect
exceptions when data of fake (duplicate) items is accessed,
tell the user about it and effect a provider inbox reload.

This does not solve the underlying bug of why the inbox
sometimes gets filled with double the items but it makes
GNUmed gracefully - and user-presentably - recover from it.

Thanks to Marc and Jim for providing data for debugging.

5 years agoAdd v18 to bootstrap-latest.conf
Karsten Hilbert [Mon, 11 Feb 2013 13:54:28 +0000 (14:54 +0100)]
Add v18 to bootstrap-latest.conf

5 years agoUpdate 1.3.rc4 release notes
Karsten Hilbert [Mon, 11 Feb 2013 13:31:24 +0000 (14:31 +0100)]
Update 1.3.rc4 release notes

5 years agoMerge in LP translations
Karsten Hilbert [Mon, 11 Feb 2013 13:28:31 +0000 (14:28 +0100)]
Merge in LP translations

5 years agoImproved help in login dialog
Karsten Hilbert [Mon, 11 Feb 2013 12:33:00 +0000 (13:33 +0100)]
Improved help in login dialog

updated translations, too