lp:gnumed

Created by shilbert on 2015-11-19 and last modified on 2019-11-10
Get this branch:
bzr branch lp:gnumed

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
shilbert
Project:
GNUmed
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://github.com/ncqgm/gnumed.git.

The next import is scheduled to run as soon as possible.

Last successful import was 6 hours ago.

Import started 6 hours ago on alnitak and finished 6 hours ago taking 30 seconds — see the log
Import started 12 hours ago on izar and finished 12 hours ago taking 25 seconds — see the log
Import started 18 hours ago on alnitak and finished 18 hours ago taking 25 seconds — see the log
Import started on 2019-11-18 on izar and finished on 2019-11-18 taking 25 seconds — see the log
Import started on 2019-11-17 on alnitak and finished on 2019-11-17 taking 25 seconds — see the log
Import started on 2019-11-17 on alnitak and finished on 2019-11-17 taking 25 seconds — see the log
Import started on 2019-11-17 on alnitak and finished on 2019-11-17 taking 25 seconds — see the log
Import started on 2019-11-17 on izar and finished on 2019-11-17 taking 25 seconds — see the log
Import started on 2019-11-16 on izar and finished on 2019-11-16 taking 25 seconds — see the log
Import started on 2019-11-16 on alnitak and finished on 2019-11-16 taking 25 seconds — see the log

Recent revisions

12694. By ncq on 2019-11-10

Update wiki backup location :-(

12693. By ncq on 2019-11-10

Fix typo/add attribution in CHANGELOG

12692. By ncq on 2019-11-08

Update to Timeline 2.0.0 code

12691. By ncq on 2019-11-05

Fix searching currently active EMR

 The view clin.v_narrative4search went missing in v22
 which makes searching fail. This had been fixed before as
 far as the database wide search was concerned but that
 fix failed to consider other places that might use the
 missing view. Now fix the one other place found, which is
 when searching across the EMR of the currently active
 patient.
 Reported by Eberhard.

12690. By ncq on 2019-11-03

Robustify Orthanc interface

 __run_GET():
  - return HTTP status code if requested
  - use charset from content-type for fallback decoding application/json as text
 - add .get_patient(), evaluating HTTP status 404 and 200
 - improved logging in .modify_patient_id()
 - factor out _connect() from tests

12689. By ncq on 2019-11-03

Improve cOrthancServer API

 Add external facing run_GET() which forces URLs to base
 off self.__server_url.

 Add .server_url property.

12688. By ncq on 2019-10-31

Improve Orthanc connection robustness

 GNUmed threw a http.client.RemoteDisconnected while
 attempting to GET an image preview while Orthanc shut
 down and restarted during its backup procedure.

  2019-10-30 11:37:43 ERROR gm.dicom [3082645184 MainThread] (/home/ncq/Projekte/gm/git/gnumed/gnumed/Gnumed/business/gmDICOM.py::__run_GET() #1020): exception in GET
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1216, in _conn_request
      response = conn.getresponse()
    File "/usr/lib/python3.7/http/client.py", line 1321, in getresponse
      response.begin()
    File "/usr/lib/python3.7/http/client.py", line 296, in begin
      version, status, reason = self._read_status()
    File "/usr/lib/python3.7/http/client.py", line 265, in _read_status
      raise RemoteDisconnected("Remote end closed connection without"
  http.client.RemoteDisconnected: Remote end closed connection without response

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/ncq/Projekte/gm/git/gnumed/gnumed/Gnumed/business/gmDICOM.py", line 1018, in __run_GET
      response, content = self.__conn.request(url_with_params, 'GET', headers = headers)
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1483, in request
      (response, new_content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1263, in _request
      (response, content) = self._conn_request(conn, request_uri, method, body, headers)
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1225, in _conn_request
      conn.connect()
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 952, in connect
      raise socket_err
    File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 936, in connect
      self.sock.connect((self.host, self.port) + sa[2:])
  ConnectionRefusedError: [Errno 111] Connection refused
  2019-10-30 11:37:43 DEBUG gm.dicom [3082645184 MainThread] (/home/ncq/Projekte/gm/git/gnumed/gnumed/Gnumed/business/gmDICOM.py::__run_GET() #1021): url: http://pireus:8042/instances/70b90ea0-b918ce5a-b7f403df-abe6e967-202d4420/preview
  2019-10-30 11:37:43 DEBUG gm.dicom [3082645184 MainThread] (/home/ncq/Projekte/gm/git/gnumed/gnumed/Gnumed/business/gmDICOM.py::__run_GET() #1022): headers: {}

 Check for that exception and handle gracefully.

12687. By ncq on 2019-10-28

Fix exception on loading top pane lab panel setting

 The configuration option horstspace.top_panel.lab_panel
 stores the test panel PK to be used for displaying lab
 tests in the top panel of the main frame. When that test
 panel is removed from GNUmed the configuration points to
 a non-existing panel which will throw an exception on
 load. Fix by detecting that and showing a warning.
 Reported by Jelle Mous.

12686. By ncq on 2019-10-23

Cleanup

12685. By ncq on 2019-10-19

Improve string translation code

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers