Releases: openhealthcare/opal
0.18.0 (Major Release)
0.18.0 (Major Release)
Load lookuplist data format
Fixes a bug (1695) to ensure that the data keys inside a lookuplist data file are taken
from the value of .get_api_name()
.
Allow extract queries for 'falsy' values
Fixes a bug in extract. When querying against 0 or false the ui stated that no query had been entered. Also queries on multiple fields that included a filter against a field with 0 or false would have that portion of the query ignored.
Ment.io and Macro removal
The Macro feature and related Ment.io library have been removed. (No known applications used these features.)
Remove additional EpisodeCategories
The Outpatient and Liaison episode categories have been removed from opal.core.episodes
. Defining
these here rather than expecting applications to define them in application land means that overriding
templates can only be done via monkeypatching.
FindPatientStep removal
Removes the FindPatientStep
. Every known application with this functionality has required custom logic
and re-written this step. (If there is a common case, we don't know what it is yet.)
Profile can_see_pid removal
The can_see_pid
method of profiles on both the front and back end was tied to hard-coded roles which
were impossible to override.
Micro test removals
A large number of microbiology specific models and lookuplists have been removed from this version of
Opal along with the Investigation model. This code was rarely used and turned out to be incompatible
wiht subsequent LIMS system integration. We would advise anyone using it to incorporate these models
into their own applications, but consider moving away.
Line Lookuplist removals
Removes line removal reason, complication, site and type lookuplists. These are rarely if used and
would be better placed at present in an application rather than the core framework.
Javascript API removals
Removes the undocumented EditItemCtrl.prepopulate
method. Custom Pathway controllers are recommended
for complex form interactions.
Also removes a series of Angular filters which were deemed of limited re-use potential. Applications may
add such filters themselves trivially.
- microresult
- boxed
- plural
Removes the undocumented UserProfile.can_edit
method. This made assumptions about specific named roles
which were unconfigurable and was thus unlikely to be useful.
Flow based controllers removed
Removes the HospitalNumberCtrl and AddEpisodeCtrl along with related tests and templates. Pathways
can perform thse operations significantly more flexibly.
This has also resulted in removing the undocumented Episode method findByHospitalNumber
which was
used by the flow controllers.
Allergies sidebar
Removed an undocumented template modals/_allergies_sidebar.html
which was rarely used and more suited
to being included in individual applications than the framework itself.
Stories
The Stories functionality is not clearly more useful than simply having an html template file in an
individual application. The pattern of having them as individual feature files which are not executalbe
by e.g. Cucumber adds complexity but no value. Explicit acceptance tests are encouraged for applications,
but no longer live as part of Opal core.
Design Patterns
Removes the design patterns library as this is incompatible with the new 'skinability' approach. Such
patterns pages are encouraged for large applications or standalone themes.
Plugin/Application stylesheet media atribute
Style sheets loaded via Opal Applicatin or Plugin objects are now included with the attribute media="all"
rather than `media="screen".
Minor Bugfixes
- For some types, e.g. decimal the core serilizer would return
None
. This is now resolved. - Deletes a directory previously left as an artifact of scaffolding at ../../js/app/ (1554)
Updates to the Dependency Graph
- DjangoRESTFramework 3.7.4 -> 3.10.2
- python-dateutil 2.7.5 -> 2.8.0
0.16.1 (Minor Release)
A minor release due to pypi upload issues, functionally the same as 0.16.0
0.17.1 (Minor Release)
A minor release that removes a now removed file from the default list of application javascripts. This would have caused collect static to fail.
0.17.0 (Major Release)
0.17.0 (Major Release)
Javascript API removals
Removes the function Episode.isDischarged() (This was rarely if ever used,
and no longer an accurate represenation of dischargedness.)
Removes the Episode.getNumberOfItems method which is rarely used.
Removes the methods PatientDetailCtrl.dischargeEpisode() and PatientListCtrl.dischargeEpisode()
(However you're discharging episodes as of 0.17 it would be strongly unadvisable to do it this way.)
Removes PatientList.removeFromMine()
(The special casing of the 'Mine' list is strongly unadvised and set for complete removal.)
Removes the front end Flow service
Miscelanious changes
Bumps Flake8 version to 3.7.8 - new code will now be required to pass flake8 v3.7.8
Updates to the Dependency Graph
- Jinja2: 2.10 -> 2.10.1
- Psycopg2: 2.7.6.1 -> 2.8.3
- Requests: 2.20.1 -> 2.22.0
python3
Opal now only supports python 3.5 - python 3.7
0.16.2 (Minor release)
A minor release due to pypi upload issues, functionally the same as 0.16.0
0.16.0 (Major Release)
Adds serialize_date, serialize_datetime, serialize_time utility functions to serialize date/datetime/time to
strings.
Diagnosis.details is now a text field.
Changes the requirements.txt files that get created when we create an opal application or plugin to use python-dateutil==2.7.5
0.15.0 (Major Release)
Adds an optional setting OPAL_DEFAULT_SEARCH_FIELDS that specifies the fields used to
search in when a criteria isn't specified.
0.14.2 (Minor Release)
A minor release for a documentation fix.
0.14.1 (Minor Release)
The search plugin was not excluding search strings from analytics.
This change makes it so that it does.
0.14.0 (Major Release)
v0.14.0 A major release changes.
A User's UserProfile is now automatically created when you create a user in a post save signal.
RecordEditor.editItem, RecordEditor.editItem and RecordEditor.openEditItemModal to take a url argument.
This is the url of the template that should be opened with the edit item controller.
RecordEditor.editItem also will now take an item or an index rather than just an index.
Taking an index has been deprecated and will be removed in v0.15.0
The PatientListCtrl now does the logic of whether to create a new item or edit an item within the
controller before it calls the record editor.