- Details
- Written by: medilog
- Category: Darwin2
- Hits: 545
In this article we look at the workflow of a Uploader-Scanlab configuration...
On the uploader side:
- A recording is being performed: The uploader starts RecConfig, types in patient data, configures a recorder, applies the recorder to the patient, the patient leaves and comes back a week later. The recording is imported into Darwin and shows up in the "Uploaded" section of the database.
- Uploading the recording to Liberty: On the database screen, the uploader selects one or more recordings and clicks the "Liberty upload" button. The recording is transferred to the ScanLab. Uploaded recordings will have a special icon (an earth ball) in the "Liberty" column of the database.
On the ScanLab side:
In the ScanLab people will also work using Darwin.
- EMail-notification: If "Send upload notification mails" is set to true, the Admin user should receive a notification mail from Liberty.
- Analyzing the new recording: In the "uploaded" section of the database screen, the new recording appears. It has an "earth" icon indicating that it was sent via Liberty. An analyst opens the recording and performs an analysis.
- Releasing the recording: When the analyst is finished with his work, he clicks on "Release".
On the uploader side:
- EMail-notification: If "Send release notification mails" is activated (on the ScanLab server), the uploader is informed about the newly available report.
- Downloading reports: In the database view the user clicks "Liberty Sync". All outstanding new reports are downloaded to the uploaders PC and can be reviewed here.
- Details
- Written by: medilog
- Category: Darwin2
- Hits: 419
For scientists that want to perform analysises that are not provided directly by medilog Darwin, exporting the data into Matlab format often solves the problem. Darwin exports the data in Matlab V4.0 file format. Users that don't have (or don't want to buy) Matlab, can use Octave instead, which is a compatible freeware alternative.
Available values
A Matlab file that has been generated using medilog Darwin may contain the following variables:
List of possible variables:
| Name | Type | Description |
|---|---|---|
| Name | Char array (String) | Patient name |
| PatientBirthday | Double array | d.m.yyyy == birthday |
| RecDuration | Double array | hh.mm.ss == length of recording |
| Starttime | Double array | d.m.yyyy - hh.mm.ss date and starttime of recording |
| ECG_1 ... ECG_x | Double array | ECG data of channel 1..x |
| ECG_?_SRate | Double array | Recording rate of channel ? (1,2,3...) |
| XYZ_1 ... XYZ_3 | Double array | Accelerometer data X (1), Y (2), Z (3) |
| apnoe | 2 dimensional double array | Begin and length of a potential apnoea in seconds |
| beatpos | Double array | Position of detected beats in seconds (ATT: also artefacts and inhibitions) |
| beats | Double array | Beat type of every detected beat |
| index | Double array | Uncorrected (unedited) beat positions in seconds |
| key | Double array | Positions of key events in seconds |
| noise | Double array | ECG signal noise level |
| resp | Double array | EDR signal (ECG derived respiration) |
Values of Matlab variable 'beats':
| Type | Value |
|---|---|
| UNDEFINED | 1 |
| SUPRAVENTRICULAR | 2 |
| VENTRICULAR | 3 |
| ATRIAL_PACED | 4 |
| VETRICULAR_PACED | 5 |
| DUAL_CHAMBER_PACED | 6 |
| BUNDLE_BRANCH_BLOCK | 7 |
| JUNCTIONAL | 8 |
| FUSION | 9 |
| ARTEFACT | 10 |
| USER_DEFINED | 64 and above |
The availability of some variables depends on the used recorder type and recorder configuration (e.g. the variable ‘resp’ is only available when the recording has been done with a medilog AR12plus recorder).
Configure which data to export
To configure which data to export, select the recording(s) in the database browser, click Export and switch to the Matlab tab. If you now click on "...more...", a text editor opens. Here you can configure what to export. Lines with a semicolon (";") in front are deactivated. Remove the semicolon to activate such a line.
In most of the cases it is not necessary to export the ECG signals. As exporting the ECG data would result in VERY large data files, the export is disabled by the semicolon before the line "ECG[*]=*". Let's say you want to export the 1st ECG channel. Remove the semicolon before the line "ECG[1]=*". When you now generate a Matlab-format it will also contain the ECG-data of channel 1.
Quickstart in Matlab
- load e:\Temp\MyTestfile.mat
- whos % lists available values/signals
- Starttime % shows starttime-array
- ECG_1_SRate
- plot(ECG_1) % display ECG-signal
- ShortECG=ECG_1(1:200) % get a short portion of the long signal
- ShortECG=shiftdim(ShortECG, 1) % rotate the values-matrix, so that values are stored in separate lines instead of columns
- csvwrite('e:\out.csv', ShortECG) % export data to csv-file
- clear % Clear memory
- Load ...
See also Matlab Open Data
- Details
- Written by: medilog
- Category: Darwin2
- Hits: 911
If you want to move a Darwin-installation to a new PC you have to:
- Maintain nobody is working on the old Darwin system while you are performing the transfer. Tell all clients to shut down Darwin and Observer-instances. Close a potentially running DConnect (HL7 interface) service. After that shut down the database on the server.
- Copy the old RAW data folder to the new location. This will take some time as you might have TONS of data.
- Activate firebird again. Generate a backup of the database (e.g. run the AdminTool and click on Backup / "Recording database" / "Backup" -> untick "Reports".
- Stop the firebird service again and rename the database (e.g. to "Evolution2Inactive.dfb") so nobody can accidentally connect to it anymore.
- Install Darwin on the new PC. Let the AdminTool create database on the desired location. Click on "Backup" / "recording database" / "Restore ". Select the backup you just created.
- Correct the raw data path (first page of the AdminTool)
- Correct the license server path (first page of the AdminTool)
- If you are using a hardware dongle, then unplug it from the old system and plug it onto the new system. If you are using a SoftLicense go to http://lic.schiller.ch/SPM/ and use "transfer license by key" to get a new license key.
- Open a recording and verify everything works as expected.
- On the clients you will need to type in the new database location.
Thant's it, have fun!
- Details
- Written by: medilog
- Category: Darwin2
- Hits: 296
Darwin separates the data into 2 parts:
- The ECG-curves are kept in the Darwin Raw data folder.
- The patient demographics and findings typed in by an analyst are stored in the firebird database
So if you set up a system it makes sense to secure these 2 parts, where the database is more important, as raw-data is useless without the database. Also the backup of the database is tiny compared to the backup of the raw data (a db will have a couple of megabytes, where a raw data folder can hold some Terabytes of data).
Automatic database backups: To secure the database, it's recommended to perform a regular (e.g. daily or weekly) backup task. On the installation disc you can find a file (\Admin\Backup\RotatingBackup.bat) that demonstrates how to perform alternating backups. The script can be run automatically by the Windows scheduler e.g. every day at night, and generates 2 alternating backup files. The backup needs to be adapted for you system. The database path, firebird path and target path may need to be corrected. You can use Microsoft Windows Task scheduler to generate an automated backup.
Reliable raw data storage: That's really up to you. You may want to use a RAID-1 harddisk setup in the PC or store the data on a NAS drive that makes backups for you, or choose a totally different approach. Just as you like
- Details
- Written by: medilog
- Category: Darwin2
- Hits: 167
Some users want to implement a 2-step approach to analyze recordings:
- Technicians do the analysis and mark a recording as "reviewed" when they are ready. They don't have the permission to directly release a recording.
- Doctors with full permissions open these recordings and verify that the findings of the reviewer are correct. If everything is correct they release the recording.
To accomplish that, you only need to assign the technicians to the user group "Technician" in the admin tool. For this group the permission "Release recordings" is turned off. Members of this group can not release a recording, but they can mark the recording as "reviewed". (The "Release"-button is labelled "Reviewed" then. ) These recordings are then displayed in the section "Reviewed" in the database browser.
The doctors remain part of the group "Default".