You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
* updated the logic for constructing the visit type for meds input
* changed a few attributes to properties in patient_block
* added logic for disassociating the problem list records from the visit because they could occur years before
* updated the logic to infer whether the visit should have a discharge facility code associated with it
* provide a list of features to the data generator to convert meds to cehrbert patients
* use the smaller integers to represent the meds generated data
* removed unused import
* updated hf_dataset_mapping.py to work with event generator
* updated hf_dataset_mapping for backward compatibility
* updated the type of visit_end_datetime
* set all timestamps to timestamp[us] when converting meds to cehrbert patient
* fixed a bug where the inferred_visit_type() was called at the wrong place
* added a function in patient_block.py to merge the patient block that is subsumed by another
* fixed the merging visit logging information
* disassociate records from the visits if they occur outside the visit
* added newline to the debug_log in merge_patient_blocks
* added a default none value to visit_complete_event_time
* added E-I visit type update in patient block merging
* removed a newline char
* swap the patient blocks if the the longer visit is an outpatient visit and the shorter visit (being subsumed) is an inpatient or emergency visit
* added one more check on the end attribute in the event
* only extract the end datetime of the record corresponding to the visit table
* remove the visit_type and discharge_facility events in patient block merging
* updated patient_block_merge test
* manually clean up the cached files generated from Dataset.from_generator when meds format is used
* collect additional cached files from the downstream datasets derived from the generator based Dataset
* use CacheFileCollector to remove all the cached files generated from the dataset mapping functions
* moved CacheFileCollector to a separate python module
* updated the logic for identifiying the visit start and visit end when using the meds data
* updated cache_util to handle Dataset and DatasetDict accordingly
* removed the logic for bounding the event time stamps
* updated cahce file collection logic for fine-tuning
* fixed type checking in add_cache_files