11 February 2024

Changed

  • Now requires minimum AMR v2.0.0.
  • Updated function calls and documentation following deprecation of AMR::as.rsi().

19 November 2023

Changed

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

11 April 2023

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.

23 October 2022

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.

13 September 2022

Improvements

30 August 2022

Bug fix

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

27 August 2022

Improvements

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.

22 August 2022

Improvements

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

2 August 2022

Improvements

Bug fixes

28 January 2022

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")

5 August 2021

Improvements

7 July 2021

Improvements

  • faster implementation of prescription linkage using igraph dependency
  • TherapyEpisode class now supporting multiple therapy episodes
  • support for integer *_id variables
  • updated schema of drug prescriptions and administrations: drug_id refactored into drug_code; ATC_group retired in favour of drug_group
  • updated schema of microbiology isolates and susceptibilities: isolates are now identified by isolate_id rather than organism_id
  • updated schema of microbiology susceptibilities: drug_id, drug_name and drug_display_name refactored into agent_code, agent_name and agent_display_name
  • faster execution of clinical_feature_*() functions on PostgreSQL
  • uniform handling of prescription_status: therapy episodes and bridge table records will not be generated for prescriptions with status "draft", "entered-in-error", "cancelled", or "unknown".
  • update reference_loinc to version 2.70 and expand to 10 new concepts

Bug fixes

17 March 2021

Bug fix

  • fix bug in handling data.table objects in arrange_variables() and validate_*()

26 February 2021

Features

Improvements

  • remove dependencies
  • improve handling of time data types by SQLite
  • upgrade to units package version >=0.7-0

Documentation

  • new ramses-objects vignette
  • new therapy-episodes vignette

8 February 2021

Bug fixes

  • Corrected incorrect transitive closure settings
  • Corrected prescription edge classification

Improvements

  • Complete verification of prescription edge classification
  • therapy_id now always set to the id of the first prescription in the episode

25 January 2021

  • Support PostgreSQL
  • Introduce standalone patients table and dataset

8 January 2021

  • First minor version