Skip to content

Releases: ramses-antibiotics/ramses-package

Ramses v0.7.1

19 Nov 16:48
Compare
Choose a tag to compare

Changed

  • Now requires minimum dbplyr v2.4.0.
  • Unit test maintenance required by dbplyr v2.4.0.

Ramses v0.7.0

12 Apr 07:04
ebd423f
Compare
Choose a tag to compare

Changed

  • Now requires minimum R v4.0.0, dplyr v1.1.0, dbplyr v2.3.2 and tidyselect v1.2.0.
  • Internal code maintenance in line with new tidy programming practice.
  • Tolerance built into the timeline for handling of no growth results. Ramses does not
    currently prescribe whether no growth should be loaded into microbiology_isolates or not (#108).
    The timeline will now show specimens without an isolate record at the time of collection.

Ramses v0.6.0

23 Oct 22:02
e15bf24
Compare
Choose a tag to compare

Improvements

  • Changed validate_inpatient_diagnoses() to accept two optional fields diagnosis_start
    and diagnosis_end and take advantage of clinical systems such as problem lists
  • Changed therapy_timeline() to take advantage of diagnosis_start and diagnosis_end
    variables if present
  • Changed the inpatient_diagnoses mock dataset to removed episode start and end fields #103 which
    duplicated information in inpatient_episodes
  • Changed bridge_*() functions to add a field antiinfective_type to bridge tables #76 and prevent
    unrelated generation issues #104
  • General code maintenance and adaptation to ongoing changes to the dplyr data masking
    approach #105.

Ramses v0.5.2

13 Sep 12:25
0aa1c48
Compare
Choose a tag to compare

Improvements

  • validate_investigations() now expects observation_code values to be associated with unique observation_name and observation_display values
  • improvements to namespace handling in validate_microbiology()

Ramses v0.5.1

30 Aug 17:19
d2bf166
Compare
Choose a tag to compare

Bug fix

  • Fix bug affecting TherapyEpisode instances created for more than 3 therapy episodes (id with length > 3) #100

Ramses v0.5.0

29 Aug 06:23
b152a5a
Compare
Choose a tag to compare

Improvements

  • Local databases (connect_local_database() and create_mock_database()) are now powered by DuckDB rather than SQLite, bringing support for datetime variable types and increased performance. Ramses now depends on the duckdb library
  • Added new S4 class Encounter #92 to manipulate hospitalisations (admissions) with associated methods for show(), compute(), collect(), Patient(), longitudinal_table(), clinical_feature_*(), therapy_timeline()
  • TherapyEpisode() and Encounter() have a new optional extend_table_start input controlling their longitudinal table's start. This allows the creation of longitudinal tables starting before the therapy_start or admission_date, respectively. More detail is available from vignette("therapy-episodes")
  • Added Patient() function to create a Patient object from any other object of class RamsesObject
  • Improved documentation and export of S4 methods compute() and collect().

Breaking changes

  • therapy_table() is now deprecated: use longitudinal_table() instead #86
  • bridge_spell_therapy_overlap() is now deprecated : use bridge_encounter_therapy_overlap() instead #86
  • Database table inpatient_episodes and documentation now refer to 'encounters' rather than 'spells'. Variable spell_id is now known as encounter_id #86. Databases built with previous versions of Ramses will not work with Ramses 0.5.0
  • Function signatures for all methods are standardised: function arguments object are now changed to x, except for show(object).
  • Support for SQLite databases is withdrawn.

Ramses v0.4.4

22 Aug 08:24
c32bec1
Compare
Choose a tag to compare

Improvements

  • clinical_feature_*() functions trigger a warning rather than an error if
    no value matching observation_code is found in theinpatient_investigations table.

Ramses v0.4.3

02 Aug 14:48
10c0814
Compare
Choose a tag to compare

Improvements

  • upgrade dependency on packages dplyr version >= 1.0.1 and dbplyr version >= 2.1.0
  • improve validate_inpatient_episodes() #85

Bug fixes

  • fix bug in map_charlson_comorbidities() with tbl_df objects #84
  • fix bug in compute() with TherapyEpisode objects #83
  • fix uncommon bug in clinical_feature_*() functions with PostgreSQL #88

Ramses v0.4.2

28 Jan 18:59
Compare
Choose a tag to compare

Improvements

  • upgrade dependency on AMR package version >= 1.8.0
  • better error messages in clinical_feature_*() functions #80
  • spell_id is no longer required by validate_investigations() #77
  • bridge tables will be generated by bridge_tables() even in the absence of defined daily doses (DDDs) in drug prescription and administration records
  • improve vignette("Ramses")

Ramses v0.4.1

06 Aug 07:10
Compare
Choose a tag to compare

Improvements

  • clarifications on vignette("load-data")
  • corrections to antibiotic_icd_indications