Releases: ramses-antibiotics/ramses-package
Releases · ramses-antibiotics/ramses-package
Ramses v0.7.1
Changed
- Now requires minimum
dbplyr
v2.4.0. - Unit test maintenance required by
dbplyr
v2.4.0.
Ramses v0.7.0
Changed
- Now requires minimum R v4.0.0,
dplyr
v1.1.0,dbplyr
v2.3.2 andtidyselect
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 intomicrobiology_isolates
or not (#108).
The timeline will now show specimens without an isolate record at the time of collection.
Ramses v0.6.0
Improvements
- Changed
validate_inpatient_diagnoses()
to accept two optional fieldsdiagnosis_start
anddiagnosis_end
and take advantage of clinical systems such as problem lists - Changed
therapy_timeline()
to take advantage ofdiagnosis_start
anddiagnosis_end
variables if present - Changed the
inpatient_diagnoses
mock dataset to removed episode start and end fields #103 which
duplicated information ininpatient_episodes
- Changed
bridge_*()
functions to add a fieldantiinfective_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
Improvements
validate_investigations()
now expectsobservation_code
values to be associated with uniqueobservation_name
andobservation_display
values- improvements to namespace handling in
validate_microbiology()
Ramses v0.5.1
Bug fix
- Fix bug affecting
TherapyEpisode
instances created for more than 3 therapy episodes (id
with length > 3) #100
Ramses v0.5.0
Improvements
- Local databases (
connect_local_database()
andcreate_mock_database()
) are now powered by DuckDB rather than SQLite, bringing support for datetime variable types and increased performance. Ramses now depends on theduckdb
library - Added new S4 class
Encounter
#92 to manipulate hospitalisations (admissions) with associated methods forshow()
,compute()
,collect()
,Patient()
,longitudinal_table()
,clinical_feature_*()
,therapy_timeline()
TherapyEpisode()
andEncounter()
have a new optionalextend_table_start
input controlling their longitudinal table's start. This allows the creation of longitudinal tables starting before thetherapy_start
oradmission_date
, respectively. More detail is available fromvignette("therapy-episodes")
- Added
Patient()
function to create aPatient
object from any other object of classRamsesObject
- Improved documentation and export of S4 methods
compute()
andcollect()
.
Breaking changes
therapy_table()
is now deprecated: uselongitudinal_table()
instead #86bridge_spell_therapy_overlap()
is now deprecated : usebridge_encounter_therapy_overlap()
instead #86- Database table
inpatient_episodes
and documentation now refer to 'encounters' rather than 'spells'. Variablespell_id
is now known asencounter_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 tox
, except forshow(object)
. - Support for SQLite databases is withdrawn.
Ramses v0.4.4
Improvements
clinical_feature_*()
functions trigger a warning rather than an error if
no value matchingobservation_code
is found in theinpatient_investigations
table.
Ramses v0.4.3
Improvements
- upgrade dependency on packages
dplyr
version >= 1.0.1 anddbplyr
version >= 2.1.0 - improve
validate_inpatient_episodes()
#85
Bug fixes
Ramses v0.4.2
Improvements
- upgrade dependency on
AMR
package version >= 1.8.0 - better error messages in
clinical_feature_*()
functions #80 spell_id
is no longer required byvalidate_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
Improvements
- clarifications on
vignette("load-data")
- corrections to
antibiotic_icd_indications